I am trying to build robot car using BX24
chaitu0409
Posts: 1
Hi every one
I am new to this forum
I am trying to build robot car using BX24 which turns on the basis of a potentiometer reading
potentiometer is on the transmitting side and the receiving side is the robot which responds to the potentiometer readings.
My problem here is that, as I ma working with this stuff for the first time I am unable to figure out the code for transmitting and receiving
I tried the some code but it didn't work
Could any one of you please post the code for transmitting and receiving the potentiometer readings.
My transmitter is 433 MHz RF Transmitter
My receiver is 433 MHz RF Receiver
It is ok if the code is foe Basic stamp
Thanking you
Hoping for the best
Post Edited By Moderator (Chris Savage (Parallax)) : 11/8/2007 4:11:10 PM GMT
I am new to this forum
I am trying to build robot car using BX24 which turns on the basis of a potentiometer reading
potentiometer is on the transmitting side and the receiving side is the robot which responds to the potentiometer readings.
My problem here is that, as I ma working with this stuff for the first time I am unable to figure out the code for transmitting and receiving
I tried the some code but it didn't work
Could any one of you please post the code for transmitting and receiving the potentiometer readings.
My transmitter is 433 MHz RF Transmitter
My receiver is 433 MHz RF Receiver
It is ok if the code is foe Basic stamp
Thanking you
Hoping for the best
Post Edited By Moderator (Chris Savage (Parallax)) : 11/8/2007 4:11:10 PM GMT
Comments
I would suggest looking at "What's a Microcontroller" ; specifically Chapter 5, dealing with potentiometers.
http://www.parallax.com/Portals/0/Downloads/docs/books/edu/wamv2_2.pdf
For the RF modules, there is plenty of documentation that explains how to send serial data...
http://www.parallax.com/Portals/0/Downloads/docs/prod/rf/27981-ParallaxRFReceive-v1.0.pdf
Now, you didn't say exactly how "the robot which responds to the potentiometer readings" uses a potentiometer, but Chapter 4 from "What's a Microcontroller" might also be beneficial ; dealing with servo's
The Idea here is to...
1) read the pot and convert the analog value into a digital number
2) send the digital value via the SEROUT command to an RF transmitter
3) read data from the RF receiver via the SERIN command
4) send data value to control robot (via a servo??? using the PULSOUT command)
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Beau Schwabe
IC Layout Engineer
Parallax, Inc.
This forum is for support of the BASIC Stamp and related products. As the BX24 is not a Parallax product I would recommend getting assistance with it from a support forum for the BX24.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support