United Kingdom
Asked — Edited
Resolved Resolved by Dunning-Kruger!

Temperature And Smoke Detection Senors With Ez-B V4

User-inserted image

Hi guys.

I need a little advice on some additional sensors I was thinking of adding to my bot, and as I am still waiting for my dev kit and extras to arrive, I am unable to test what I am thinking of doing so I'm hoping someone can point me in the right direction.

I had an idea of adding a smoke detection sensor and maybe a temperature sensor as well. The idea being that if I ask the bot what the current temperature is, or if the bot detects smoke or Co2 fumes, the bot would respond with verbally with a pre-recorded MP3 file of the Cepstral voice I have, or one better, have my bot tell me what room the smoke or gas is detected in. Here are a couple of links to what I am thinking of adding.

Smoke detection sensor

Temperature sensor

Would these sensors be compatible with the EZ-B v4 and 7.4 LiPo battery? I see that the temperature sensor is compatible with Arduino so I am hoping that both of these sensors will play nice with the v4. Also, has anyone tried something similar to what I am thinking of doing? As always, any help or advice anyone can offer would be greatly appreciated.

Cheers,

Steve.;)


ARC Pro

Upgrade to ARC Pro

Experience the transformation – subscribe to Synthiam ARC Pro and watch your robot evolve into a marvel of innovation and intelligence.

United Kingdom
#41  

@Richard.

I just tried the peripheral example. No joy. I tried every configuration, port 0, port 1, port 2, and used RX and TX. The byte rate never changed. :(

#42  

Another option...which I have not tried so I have no idea if it will even work... Is to use the EZB4 Serial terminal control and the GetControlValue( ) command to see if you can read the sensor data sent from the temp sensor... Again, no idea if this will work and I am not even sure if the sensor itself needs a send command instruction from the ezb in order for it to spit back data...

or... get an arduino example code for the temp sensor and port it to ezb scripting....

#43  

.... Well, you might be SOL unless DJ and maybe Rich can help you then with this....

United Kingdom
#44  

It does sound like I have bitten off a little more than I can chew right now using UART. I will see if I can find an Arduino example and port it, but I don't think my scripting skills are up to the task just yet.