Connecting Basic Stamp to....
Hi, sorry if I post this question on the incorrect part of the forum, Im looking to connect a Basic Stamp to a Robosapien body to explode the potential of the humanoid shape... are some one do this here and how you connect the Basic Stamp to the internal controler of robosapiend to send the signals to triger the reactions on the robot?
Again Im sorry if Im posting on the incorrect one, its just Im not sure if post on the robots part, due the fact im not·using my boe-bot on the project, im going to use a extra·Board of Education that i have...
Thanks
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Mr Fus
>
Panama City Beach, FL
http://microbots.tripod.com.mx
<
Again Im sorry if Im posting on the incorrect one, its just Im not sure if post on the robots part, due the fact im not·using my boe-bot on the project, im going to use a extra·Board of Education that i have...
Thanks
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Mr Fus
>
Panama City Beach, FL
http://microbots.tripod.com.mx
<
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
My computer, http://forums.parallax.com/showthread.php?p=630466
I will research the URL that you give to me and I hope found more information... if the project start I will post my advances and the results here.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Mr Fus
>
Panama City Beach, FL
http://microbots.tripod.com.mx
<
question to the the ones that dominate the world of electronics and programing... Im on correct track to interconnect the homework board·to the main module of Robosapien or Im lost on the reality·of how to do it?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Mr Fus
>
Panama City Beach, FL
http://microbots.tripod.com.mx
<
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- Stephen
"The IR Carrier is 39.2kHz. Data is modulated using a space coded signal with 8 data bits (data clock is 1200Hz, but actual data rate varies depending on the data).
You can skip the IR and IR modulation by wiring directly into the main PCBoard. This can be encoded easily by almost any small microprocessor. For modulating the signals yourself, the signal looks something like this:
Timing based on 1/1200 second clock (~.833ms)Signal is normally high (idle, no IR).Start: signal goes low for 8/1200 sec.Data bits: for each of 8 data bits, space encoded signal depending on bit value Sends the most significant data bit first If the data bit is 0: signal goes high for 1/1200 sec, and low for 1/1200 sec. If the data bit is 1: signal goes high for 4/1200 sec, and low for 1/1200 sec. BTW: The first bit (msb) is always 1 (valid codes are from $80 to $FF)When completed, signal goes high again.No explicit stop bit. Minimal between signals is not known."And from a old forum get this kind of explanation on how to work the programing... " The IR from the remote is a series of pulses. What you want to do with the microcontroller is mimic these pulses. Thandley
has connection details on the Basic-X topic in the Technical forum. What you need to do is send an 8/1200sec low pulse
(0v) followed by 1/1200sec high (VCC) this is the start pulse alerting the robosapien that a command is being sent. The 8
bits which make up the command
(e.g. walk forward is 86(hex), which is 134 in decimal and 10000110 in binary) are then sent with the most significant bit
first (i.e. the left hand digit/bit).
To send a 1 to the robosapien you first send a 4/1200sec low pulse followed by a 1/1200sec high pulse
To send a 0 you send a 1/1200sec low pulse followed by a 1/1200sec high pulse.
Send the 8 bits one at a time and the robosapien should start walking forwards.
For the walk forward the pulse train would look like this:
sending 10000110
S 1 0 0 0 0 1 1 0
__________ _ _ _ _ _ _ _ _ __________
!________! !____! !_! !_! !_! !_! !____! !____! !_!
<
> <----> <-> <->
8/1200 4/12000 1/1200 1/1200
low low low high"
on a twisted turn of the destiny on he same follow-up posts on the forum I see this...
"Ok, after talking with Parallax, it seems the overhead with a single command is over 1 ms, so the BS2 is not equipped to
handle IR control for the RS. So it's either the SX or another controller or a hardware timer."
So this come to kill my espectations to add the basic stamp to the Robot
add a basic stamp to his Robosapien...
Post Edited By Moderator (Chris Savage (Parallax)) : 7/11/2007 12:20:46 AM GMT