Hi guys, i’m new here, and generally quite new to arduino.
I need some help with a project i’m doing:
It’s basically a servo-motor that’s connected to three light sensors.
The light sensors will be attatched to three lights on a toy, only one light will be active at one time.
Each light sensor will provide the servo-motor with a different funciton, the left sensor will make the servo turn clockwise, the right sensor will make the servo turn anti-clockwise, and the centre servo will make the servo stop moving. It’s fairly simple.
Like i said though, I’m really new to arduino, and i’m a bit lost when it comes to the coding aspect, so I could really use some help and guidance there.
I’ve also posted a diagram of how I’ve wired it, I think it’s right, but i’m quite unsure.
Anyway, thanks for reading, hope you can help