eb500
PVJohn
Posts: 60
Hi, has enyone tried to use eb500 module with propeller chip. I would like to buy one if it will work.
Regards,
PVJohn
Regards,
PVJohn
Comments
I have, it works just fine. I was having some of the issues posted in another thread using the BS2.object made by Martin, but the EB500 was no problem.
Jonthan
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
www.madlabs.info - Home of the Hydrogen Fuel Cell Robot
Thanks in advance!
PVJohn
·
Happy to share, but it is super simple. All this code assumes that you are using Martin's BS2.object, and have named the in/out and status pins. Here is a connect snippet:
pub connect ' Connects the EB500 to the dongle
repeat until ina[noparse][[/noparse]btStatus] == 1· ' Keep trying until connected
· BS2.Serout_Str(btOut,string("con 00:0C:41:E2:00:31",13),btBaud,btPar,btBits)
· bs2.Pause(500)
return
Here is a snippet that sends some data:
·BS2.Serout_Str(btOut,string(13, "CM :"),btBaud,btPar,btBits)
·BS2.Serout_Dec(btOut,cm,btBaud,btPar,btBits)
Hope this helps!
Jonathan
BTW, I also have code for a V2XE compass module, SR04 ultrasonic range finder, TLC2543 ADC, if ya need em.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
www.madlabs.info - Home of the Hydrogen Fuel Cell Robot
Is it possible for you to post the code for the TLC2543 ADC
Thanks
Paul
I don't seem to able to find the code. Weird, all my other prop code is here. I used Martin's BS2.Functions and it was easy to get going. If you still need a snip, let me know and I'll re-create it.
Jonathan
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
www.madlabs.info - Home of the Hydrogen Fuel Cell Robot
I spent some time on it and finally got it working. It was just a timing issue with BS@.functions.
Thanks
Paul