During this phase, you should expose each reflectance sensor to the lightest and the LED built in to the Arduino on pin 13 while calibration is going on. The setup phase of this example calibrates the sensor for ten seconds and turns on or you can leave it disconnected and change the EMITTER_PIN #define below from 2 to The QTR-8A's emitter control pin (LEDON) can optionally be connected to digital pin 2, These reflectance sensors should be connected to analog inputs 0 to 5. This example is designed for use with six QTR-1A sensors or the first six sensors of a
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |