
charleybot
Hello,
I've been working with a few different types of sonar modules, the Parallax Ping, the SRF04 and the SRF05 and in ARC using either the radar scan, distance, or collision detection the "ping" interval can only be set from 100ms all the way up to 60000, is there a way to set it lower to say 20 or even 10?
I also noticed that the distance measurement is off as well, the sensors I have can detect as close as an inch away, but ARC does give an accurate distance. I have changed my wires and tried the sonar that came with the EZ-Robot kit, same issue.
Thank You
I've only been using your product for a few days, but I have to say you've got a really good product here, compared to writing code from scratch, I had taken one of my custom robots and replaced the controller (Parallax Propeller) with your controller and had it running in less than 5 minutes! This gives me more time to work on custom built robots instead of playing around for hours programming, so for someone like me who prototypes, this is great!
I'm still trying to figure out the sonar distance measurement problem I am having, where it's 12 inches away from a target, ARC says 18, I did change out the wires and they are less than 8 inches from sonar to controller, this includes the sonar that came with your kit. Is there anything else I can try?
Thank You
Thank you for the kind words. I appreciate them
I think I know what the problem may be with the Parallax Ping sensor is, according to the spec sheet for it:
Input trigger: positive TTL pulse, 2 s min, 5 s typ.
Echo pulse: positive TTL pulse, 115 s minimum to 18.5 ms maximum.
So if it takes the EZ-B 100ms to read a responce and the ping sensor is 18.5ms max it's taking too long and the responce is not accurate?
Let me know what you think.
Thanks again
@DJ - I understand what your saying with the issue of data being too fast over Bluetooth, which I was wondering about, I changed out the Bluetooth module with a Roving Networks RN-XV WiFly module (https://www.sparkfun.com/products/11047 ) simply because I have Wifi throughout my house and yard and the host data rate on the WiFly is 464kbps, so far connecting to the EZ-B is much quicker than with the Bluetooth module, but according to the specs for the BC417143 it's data rate can go up to 3Mbps, so I am wondering if there's going to be any issues using the WiFly module?
Thanks again..
The connection speed between the computer and EZ-B will automatically adjust based on the communication method used. The wifi module will be much faster
Before this little mis-adventure happened the only issue I had with the wifi controller was that it seemed to stutter when controlling the sonar servo using the sonar control, but when using the bluetooth it did not, the debug window did not show any errors either so I was trying to figure out what was causing the stuttering when using the wifly controller(I figured between the firmware update on the wifly and maybe fine tuning some settings, you know...).
Anyways i'll have replacement regs in a couple days and hopefully be back up and running.
Thanks again
PS - good thing ARC doesn't have an option to repeat what someone says, cause it would of had to work pretty hard on what I was saying today...
So... consider yourself lucky
I usually hang or raise my robots so they are off the ground while i configure them