awarbler / SeniorProject

This is a place to keep my notes for my senior project
0 stars 0 forks source link

Task: Initial Hardware Setup #10

Closed awarbler closed 5 months ago

awarbler commented 5 months ago

Connect Arduino UNO R4 WIFI or whatever is on hand Connect the Arduino UNO R4 WIFI to your computer using a USB cable. Connect TMP102 Temperature Sensors: Connect HC-SR501 Motion Sensors:

Connect Other Components: If you have additional components (e.g., LCD display, relay module), connect them to the Arduino following their respective wiring diagrams.

Upload Test Sketches: Upload simple test sketches for each sensor to ensure they are working correctly. Use example sketches provided by the sensor libraries. Verify Sensor Readings: Monitor the Arduino IDE Serial Monitor to verify that all the sensors are providing accurate readings.

awarbler commented 5 months ago

Initial Hardware Setup

  1. Connect Arduino UNO R4 WIFI:

    • Connect the Arduino UNO R4 WIFI to your computer using a USB cable.
  2. Connect HC-SR501 Motion Sensors:

    • Connect three HC-SR501 motion sensors to the Arduino board. Connect each sensor's VCC to 5V, GND to GND, and the signal pins to different digital input pins on the Arduino.
  3. Connect TMP102 Temperature Sensors:

    • Connect three TMP102 temperature sensors to the Arduino. Connect each sensor's VCC to 5V, GND to GND, SDA to A4, and SCL to A5.
  4. Connect Other Components:

    • If you have additional components (e.g., LCD display, relay module), connect them to the Arduino following their respective wiring diagrams.
  5. Upload Test Sketches:

    • Upload simple test sketches for each sensor to ensure they are working correctly. Use example sketches provided by the sensor libraries.
  6. Verify Sensor Readings:

    • Monitor the Arduino IDE Serial Monitor to verify that all the sensors are providing accurate readings.
awarbler commented 5 months ago

Task 2: Initial Hardware Setup

    • [x] Gather Components:
    • Identify and gather all the hardware components you'll be using, including the Arduino board, sensors, and relay module.
    • [x] Connect Arduino to Computer:
    • Connect your Arduino board to your computer using a USB cable.
    • [x] Power Up Arduino:
    • Ensure your Arduino is powered either through the USB connection or an external power source.
    • [x] Connect Sensors:
    • Identify the appropriate pins on your sensors and connect them to the corresponding pins on the Arduino. Refer to the datasheets or documentation for your sensors.
    • [ ] Connect Relay Module:
    • If using a relay module, connect it to the Arduino. Typically, you'll need to connect control pins and power supply.
    • [ ] Test Individual Components:
    • Write a simple program to test each component separately. For sensors, read data and print it to the Serial Monitor. For the relay module, test switching it on and off.
    • [ ] Troubleshoot:
    • If any component isn't working as expected, double-check connections, wiring, and consult the component's datasheet.
    • [ ] Document:
    • Document your wiring connections, pin assignments, and any troubleshooting steps taken. This documentation will be useful for future reference.

By following these steps, you should be able to set up the Arduino development environment and perform the initial hardware setup for your senior project. If you encounter specific issues or have questions about the components you're using, feel free to ask for further assistance.

awarbler commented 5 months ago

fixed with commit 71e2363