Asked
— Edited
Hi guys.
I am currently looking at a Roomba IRobot 530 on a popular auction site I want to get. I don't wish to appear rude but I need some quick advice before I place a bid, as the clock is ticking. eek
Does the 530 have a comms port to connect the EZ-B4?
Is the 530 compatible with the EZ-B4?
I've never had a robot vac so it's all new to me. I know DJ does reference the iRobot but there's no mention on models.
Cheers.
@Richard.
Oops, I missed that. To busy mucking about with the sensor script. I'll give it another try tomorrow. Cheers.
@Richard.
Couldn't wait so just tested it again. Turns out it was a dodgy jumper wire causing the error (and my headache). I replaced it and it works great now, so thanks so much for that. On thing, the cliff sensor and wall sensor (slows down as it aproaches a wall and does a gentle bump) doesn't activate when the sensor script is running. Are they not part of the IR sensor array or do they come under something else?
Although they are classified as IR sensors, they are not cliff sensors but are called "Light touch" sensors and are not controlled by any of the Open Interface commands other than to ignore all sensor input. They are located behind the opaque plastic windows wrapped around the front bumper.
@Doc.
Okay thanks for confirming about the light touch sensor. I was referring to both that and the cliff sensor located underneath the Roomba as well. Can the cliff sensor be controlled by the open interface commands?
Similar to the Light touch sensor array, the sensors are either allowed or ignored.
Thanks doc. I gather from what you're saying is that no, they can't be used with IO? That's a real shame as the cliff sensors were one of the sensors I was hoping I could use. Funny, looking at the OI manual again I would have said it could be utilised with manual control, the same as the wall sensor can in the script Richard posted. But the couple of scripts I tried and failed with, and yourself saying they are the same as the light touch sensors and can't be used certianly say otherwise. Oh well, thanks for your help once again Doc. Much appreciated.
So what IR sensors is uartwrite(0,1,142,45) reading then if not the light touch and cliff sensors?
@Steve, packet 45 is the roomba's light touch sensor... it will return a single byte value indicating where the Roomba sees an object in front of it...
If you give me an hour (just woke up lol) I'll check out my scripts on my 530....
Great. Thanks Richard. Go have your coffee.