Hi, can you help me to build Arduino coding with these info using Arduino IDE:
1. Inductive proximity sensor - pin A3
2. LED - pin 13
3. Light Dependent Resistor sensor (LDR) - pin A2
4. Servo motor 1 - pin 8
5. Servo motor 2 - pin 12
The object will be sensed by the proximity sensor (metal detecting). If it is a metal object, then servo motor 1 will rotate 90 degrees and servo motor 2 will incline 70 degrees.
If not, the LDR sensor will take part in sensing the object. If the LDR sensor reads 500 Lux, then servo motor 1 will rotate 50 degrees and servo motor 2 will incline 70 degrees.
If the LDR sensor reads more than 700 Lux, then servo motor 1 will rotate 5 degrees and servo motor 2 will incline 70 degrees.
For the LED, it is always switched on in the system.