Follow the instructions on
Follow the instructions on this page, and you are home
Follow the instructions on
Follow the instructions on this page, and you are home
ok
so do I need to solder another pin or is readadc 1 for pin one not zero. sorry im being a pain.Â
Â
ya same thing happened to
ya same thing happened to me. good thing there cheap
just program the right pin number
If your sensor is on ADC pin #0 then use the number 0 in your readadc command.
If your sensor is on ADC pin #1 then use the number 1 in your readadc command.
Read the manual or node 75 to see which pin is which.
oh ok thanks I was wanderin,
oh ok thanks I was wanderin, thanks how do I know if my sensor is fried? it doesnât change values when I debug pin one. Is that normal?
If you hook it up correctly,
If you hook it up correctly, and it does not work, it is because it is broke.
oh, crap, oh well, is there
oh, crap, oh well, is there one like it but more durable?
Hi Servello,Thanks a lot for
Hi Servello,
Thanks a lot for the nice words
Not to be rude, but would you be able to make such a PDF? If would be great, and we could post it in here.
If you do so, you should keep it on the âmaterials neededâ, and everything below. In other words, all about the LMR bundle & prices etc could change, and it would be a shame to have that in the PDF - so make it âneutralâ regarding these things.
Thanks.
wil this work?
I was wondering if this sensor will work on this project.Â
Parallax PING))) Ultrasonic Sensor it is on
SRF05 code
since i burned out my ir sensor, i got a srf05. do you have to change the code in any way to get it working or just add the srf05 code in.
Yes, but you will have to do
Yes, but you will have to do what it takes to hook that up. And that is another story
It is a complete different
It is a complete different sensor, so that part of the code needs to be adapted. Read the manuals, and you will be fine
is it the same to program?
is it the same to program?
add or change
ive read the article but i still dont get it⊠do i have to add the bit of code in or add it in then change the rest. is this node the manual you are talking about??? also if you use the srf05 do you have to keep the shortening blocks on?
more problems
instead of the motors in the description i bought the tamiya double geared motor pack. when i connect them up they just make a sound, dont turn the wheels⊠what could be wrong?
I have no idea. You will
I have no idea. You will have to post pictures of what you are doing, if I am to help on that.
The shortening blocks are
The shortening blocks are only if you are using the analoge input, that is what the sharp is using.
if you are using the SRF05, you are hooking up something completely different.
The robot in this tutorial is made from several things. One is motor, makes it drive, another is distance sensor. You have chosen to replace the distance sensor with another.
The new distance sensor has a complete different way of working;
I send you the link to a page in which you can read how to hook it up, and how to program it.
However, this is not LEGO, you will have to adapt everything to your own setup.If you move a sensor from pin 1 to pin 3, you have to program it, so it is taking input from pin 3, etc.
You have thrown yourself into a little deep whater, and that is good, you will learn how to swim Here is how, and this is in general, and for everything, this is the most important of all:
Make one thing work at a time
So, first hook up the SRF05 up, and make your own program, so you can see that it is working. Not so the whole robot is driving, that is much later, just make the sensor work, and see what values it returns, when objects are close and far.
Then come back to me, or take it from there yourself
No. You will have to find
No. You will have to find out how to work with that, as a task of itâts own. As far as I remember (I may be wrong) Chris The Carpenter played some with Ping and Picaxe once.
It is always a new challenge if you hook up a new sensor to a microcontroller, you will have to find out how every time. After some time you have learned a lot of basics, and it getâs easier. but it is always something that one have to look at, and there is no general answer.
0k
0k