Society of Robots - Robot Forum

Software => Software => Topic started by: tobee11 on September 01, 2011, 09:40:13 AM

Title: Brainstem GP2.0 programming
Post by: tobee11 on September 01, 2011, 09:40:13 AM
Hello - I have an Acroname Brainstem GP2.0 controller hooked up to (2) SRF04 ultrasonic distance measuring sensors. I need help programming the controller so that I can get distance readings from both sensors. I have the programming for one sensor, but am not sure what to do with two. Please help! I am so close to being finished and having a viable product. Just this final item remaining.

Thanks!  ;D
Title: Re: Brainstem GP2.0 programming
Post by: teoxan on September 27, 2011, 05:52:43 AM

I have a Brainstem collecting dust somewhere in my room... Anyway, go here http://www.acroname.com/examples/10010/10010.html (http://www.acroname.com/examples/10010/10010.html). You will find an example code and schematics on how to connect it.
Brainstem has a ready library for it.

http://www.acroname.com/examples/10010/10010.html (http://www.acroname.com/examples/10010/10010.html)

Theo