Vision system for emergency stop on vehicle objective
Program Arduino UNO to control analog
sensors´ readings by making decisions throu the conditional "IF" REQUIREMENTS ARDUINO SOFTWARE ARDUINO UNO COMPUTER USB CABLE RED LED 330 RESISTOR INFRARED PROXIMITY SENSOR PROTOBOARD 1. pROGRAM A STOP SIGNAL TO AWARE CONDUCTOR THAT AN OBJECT IS NEAR
2. DISTANCE SHOULD BE BETWEEN 12 AND 15 CM
3. RED LED WILL TELL CONDUCTOR TO STOP
4. DEFINE A NAME FOR SENSOR AND AN ANALOG
INPUT WHERE IT IS GOING TO BE
5. DECLARE THE CONSTANT FOR LED_RED
6. DECLARE THE USE OF THE SERIAL MONITOR
7. red_led is an output
8. add floating variable for voltage//
matching the reading of the sensor and multiplying by 0.0048828125. (it is the 5 vcc arduino can read divided by 1024)