For those of you that subscribe to SERVO magazine keep an eye out for the new MAY issue that is starting to be mailed out now. I have an article in there on creating a small robot based on an in expensive trash can that I picked up at target. The robot body is approximately 12" tall. You can basically install the same brains and drive that many of you already have bolted onto a flat chassis. The article covers how you can take all that and install it in the can (under $8) to make a nice finished robot. I used the $2 sonar sensors and some a couple small 9G servos to control the servo pan and also automate the lid movement. The response has been good so far and I hope you enjoy it.
Robert
Hello Keith,
I am using the HC-SR04 modules. I made a pair of these robots and use a Propeller QuickStart as the brain for one and an Arduino as the brain of the other. I'm only using a single HC-SR04 module since I have a servo on the top for panning and also one on the lid that enabled tilting the sonar up and down. Eventually I may add some sharp IR or other sensors on the body.
There are examples out there for the Arduino. I started to modify the Ping object for the Propeller but found that someone on the forum already did it. The changes were pretty trivial and mainly consisted of separating the I/O pins (instead of sharing it) and you can leave out the code to toggle the direction of the I/O pin. I believe some people out there are multiplexing some of these to reduce overall pin count. For the projects where I've been using them it wasn't an issue so I didn't bother with that. If I had a lot of them then I would have looked into it. These sonars act similar to the SRF04 modules which I believe they named them close to get people to try the cheap ones. I also used this with the LEAF project board which was setup for sonars with separate trigger and echo pins. On my LEAF based robot I have two real SRF04 sonars (front and rear) and have four of the cheaper HC-SR04 modules (on each side and on the front at 45 degree angles)
As far as overhead there isn't much. Using the hacked PING object it doesn't even required a dedicated COG. Very easy to use. They seem to perform ok and I think the issues I ran into using them on the small trash can robot has more to do with where they were mounted. That is covered in the article.
Reliability varies. I've heard of people that had a couple modules DOA. So far I've gone through a bunch of them and had only one bad one. There was one other sensor that didn't work but I found that it was my fault. When I mounted it the screw knocked loose a surface mount cap. Once I resoldered it the module started working again. If you buy them in quantity 10 you can get them for around $1.70 so I can live with a small percentage of bad ones.
If you find a good way to multiplex a bunch so you could have a whole ring of them around your robot I'm sure everyone would be interested in that as well as an object for it.
Robert
--
You received this message because you are subscribed to the Google Groups "MiRobotClub" group.
To unsubscribe from this group and stop receiving emails from it, send an email to MiRobotClub...@googlegroups.com.
To post to this group, send email to MiRob...@googlegroups.com.
Visit this group at http://groups.google.com/group/MiRobotClub?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.