Let's Make Robots!

Too Scared to try :)


are my connections correct?



i read the manual...


im having doubts though...


sorry for the annoying question :)Question.jpg

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

THere are no stupid Questions, only stupid answers. and now for a stupid answer:


what year is that...lol

Succcess!!! this morning i tried wiring the switch to pin 1


pause 100
if pin1=1 then high 0
pause 100
else low 0
pause 100

end if
goto main



it works when i pressed the switch the LED turns on...



THANK YOU   ignoblegnome,ChrisTheCarpente,PeteHand maneuver....


now i have to figure out how to wire 2 power supply...


should i post it in this forum or another topic?

You have just taken your first steps into a larger world.

Since you raised the issue of the dual power connections on this post originally, we might as well solve it here. No need to post something new.

What I do for my dual power supply is wire up to the pins as you have shown in your diagram. The GND pin at the outer edge of the project board is connected to both batteries negative (-) connection. The middle pin is V1, which should be 4.5 to 5V. The inner pin is V2, which can be more than 5V. 

I have a picture of my set up, and I will update this reply in a few minutes with the image.

Be aware that if you are going to run an servos, most of them have a maximum voltage of 6V. 

Both of these are correct




so which one is correct?  in the picture above

That is a 'logic' or digital switch.  If the switch is off then then pin is pulled low by the 10k resistor, giving logic 0.  The 1k resistor limits the current draw when the switch is on.  When the switch is on you get a logic 1.








Which is correct?




About the Two Power Thing... i really want to use it because motors too slow...and easily drains battery if i only use 1 Power supply...


Thank you for staying with me...


why does the manual say this?



 Really men..Huge thanks

It looks like your switch has three contacts. Most likely, one terminal will be Common. It may be marked with a "C". The other two are probably marked "NO" for "Normally Open" and "NC" for Normally closed. You connect one wire to the Common pin. When the button is not pressed, the "NC" terminal will be connected to Common, and the "NO" terminal will not be connected to anything. When you press the button, the "NO" terminal gets connected to the Common, and the "NC" terminal is disconnect.

If you have a multimeter you can easily confirm how the switch works. If you don't you can use a battery, an LED and a resistor to make yourself a simple connectivity checker.

In the diagram from the manual above, the switch is in an open condition, and the input is pulled to a logical low through the 10k resistor and the 1k resistor. The 10k resistor ensures that the input doesn't "float" high when nothing is connected.

When the button is pressed, the 5V power will connect to the point between the two resistors. The input will see a logical high. The 1k resistor adds some protection to the input. The 10k resistor limits the current to GND.

so the picture above the way i wired it is ok?no need for resistors?im lookin at Frits Little 8...how he connected the bumper switch...on my bumper switch i dont see any C or NC...thank you for your time men