KdUINO Turbidity Monitor
Sensor Testing/QC
Turbidity Challenges
The KdUINO Concept
Wiring Review
TCS34725 (light sensor)
Last Class: soldering headers to light sensors so they could be wired to the mux switches.
Quality Control Testing
Done Since We Met
Today’s Challenge:
Replicate Mr. O’Fo’s Testing
TODAY’S PLAN
Gather Test Materials
Component | Qty |
Arduino UNO + solderless breadboard | 1 |
TCS34725 Light Sensor | 1-3 |
Dupont Jumper Wires M x M | 5 |
Computer with Arduino IDE software | 1 |
USB cable to connect UNO to Computer | 1 |
Test Sketch -> Test_TCS34725_ForrestTech.ino | 1 |
Procedures Cheat Sheet | 1 |
Set Up for Testing
VIN (17)
GND
(18)
SCL (20)
SDA (21)
LED (23)
Set Up for Testing (cont.)
4. Cross-connect the UNO (MCU = microcontroller) pins to the Sensor pins using dupont terminated wires per the wiring plan 1st 4 pins only!
Wiring Plan | |
MCU | Sensor |
5V | VIN |
GND | GND |
SDA | SDA |
SCL | SCL |
GND | LED |
Don’t connect this one yet!!!!!!!!
Set Up for Testing (cont.)
Ready for software upload…
Set Up for Testing (cont.)
5. Open the Arduino IDE.
6. Open the Test Sketch: Test_TCS34725_ForrestTech.ino
7. Connect the USB between PC and the UNO – you should see lights on your UNO and a light on the sensor.
Set Up for Testing (cont.)
8. Ensure your settings are correct in the Arduino IDE:
Run the Test
9. Open the serial monitor
10. Upload the sketch!
Set baud rate to 115200
Select Autoscroll
Run the Test (cont.)
11. Cross-connect the last pin: GND to LED
Determine Test Results
PASS | FAIL | ||
LED illuminates steadily – prior to connecting LED to ground – the light does not flicker | The LED does not stay illuminated steadily - it flickers | ||
The serial monitor reports that the sensor is found | The serial monitor reports no sensor found | ||
LUX values are reported by the serial monitor | No lux values reported in the serial monitor | ||
LED goes off once connected to Ground | LED remains lit when connected to ground | ||
Lower LUX values are reported by the serial monitor when the LED is connected to ground | Lux values don’t change when the LED is not lit |
A sensor must pass ALL tests in order to PASS
Please alert us to any sensor you find that fails ANY of these tests.
Determine Test Results (cont.)
Place Sensors in Boxes
PASS | FAIL | ||
Sensors that pass testing will go on to the next step in the building process. Mr. O’Fo will attach wiring and encapsulate them in the potting resin. | Sensors that fail testing will be returned to Mr. O’Fo for troubleshooting. He will probably resolder and try again. | ||
A sensor must pass ALL tests in order to PASS
Please alert us to any sensor you find that fails ANY of these tests.
Overall Build Plan
✅ Assemble a solderless breadboard test of all the components