A simple question for expert guys but a more complex issue for a real beginner like me..
I would like to extend the project no. 5 found in the starter kit book.
The goal is to add three LEDs (green, yellow and red) to the breadboard and light one of them when moving the Servo to a position ("Come in", "Knock please" & "Stay out")
Something like what I already did in the project no. 3. Anode to digital input and cathode to GND through a 220 Ohm resistor.
Do you think this can be a problem? The project no. 5 adds capacitors and this device is very new for me..
Sorry for this silly question..
Thanks a lot for your collaboration
michele_mura:
The goal is to add three LEDs (green, yellow and red) to the breadboard and light one of them when moving the Servo to a position ("Come in", "Knock please" & "Stay out")
Clarify - are the LEDs to be on while the servo is actually in motion to the target position or, will the LEDs be on only when the servo arrives at the commanded position?
michele_mura:
I would like to extend the project no. 5 found in the starter kit book.
The problem here is the word "the".
The word "the" implies there is one specific thing. Albeit you have only one starter book, most of us here never had one but there are (presumably) quite a number in existence.
Please give a Web link for the (readable) version of the starter book you have. Seriously, it is your question so we should not have to go searching for all the information you yourself have to hand.
The book I mentioned in my first post is the one I found in the starter kit I bought from the official Arduino shop.
The project no. 5 contains a potentiometer which controls the angle of a Servo motor. Both are "under" a capacitor of 100uf.
The basic idea is to light a LED (put under a resistor of 220ohm connected to GND) right after invoking the method .write() of the Servo class. The best option is to have three different LEDs and choose which one light by processing the angle.
My concern was about the mix with resistors and capacitors.. I am a real rookie!
Thanks for all your answers and sorry if "broke" the forum rules.
An here's the thing: Virtually all of the "old hands" here who answer questions, never had or even saw the book that came with the official Arduino "starter kit" - simply because we were not "beginners" and did not need a "starter kit "- we were here before Arduino.
Attached to this post you can find the picture of the "famous" project no. 5 with its schematic.
The two capacitor (100uf) are already there. May I add three LEDs connected to three pins via three 220ohm resistors?
Thanks again for your time
I know for sure that many of you were here before Arduino but my field of competence is software design and this stuff for me is still something like black magic...
I only thought that Arduino starter kit was a good way for me to enter into this new world and I also thought the here in the Arduino forum the kit represented the first time for a lot of people.. Sorry again!
May I add three LEDs connected to three pins via three 220ohm resistors?
Yes, but it helps if you show on your schematic how you propose to connect them, that way we can be sure you are not doing anything wrong.
I only thought that Arduino starter kit was a good way for me to enter into this new world and I also thought the here in the Arduino forum the kit represented the first time for a lot of people.
An (not the) Arduino starter kit is a very good way to start if you are new to this stuff. Many, most, maybe even all of the people providing help here were not new to electronics or micro-controllers when they got involved with Arduino. I do have a starter kit as it happens, but only because a friend gave it to me. I have no idea what is in the accompanying book. My interest in electronics goes back to the age of about 5 or 6 when I built a 'lighthouse' with a large cardboard tube, a torch bulb and battery (or maybe my dad built it for me, I am not sure...)
I "succedeed" to extend the standard project and add LEDs which light upon different motor angles.
The picture attached shows the final result. All my concerns about the two capacitors (the one next to the potentiometer I think is optional) went away...
Thanks everybody for the patience and for the support.