Hello all;
to excuse me for my English I am French
I would like to know how to make to connect and program a remotecontrol IR on MiniBot with uBasicAtom28
I would like to make a program which according to the keys launches me the macros ex:
Movement Commands
* $80 - turn right (on left side of remote)
* $81 - right arm up (upper left button on remote)
* $82 - right arm out
* $83 - tilt body right
* $84 - right arm down
etc…
there in lynx or others exists a solution remotecontrol (approximately 60 function)??? or
I have a telecomande which functions like that:
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).
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.
Can you please give an example of code
on which pin I connect the led IR ??
declaration of the variables for parameter the reception
and example when I receive instruction $80 = turn right macro
What are you remotely connecting the microcontroller to?
Your computer?
Is the IR connection functioning as a virtual COM port?
No I want simply to order my sequences of motion with a remotecontrol IR ex: joypad or TVremotecontrol PRONTO Philips;
( a little as a telecomande RC except that it is in infra-red (see Robosapien ))
I’m using the WiPort (an 802.11b Ad-Hoc Wireless Module) to do the same thing.
You could remotely control a microcontroller with it.
This says interressed me also your system wiport say moreover, its for BasicAtom&BotBoard ?? which software uses you on your PC ???If you have an examples ??? hardware & soft, how much ?? etc…
I’m sorry, but I don’t know anything about IR control.
But, I can tell you what I know about the WiPort.
Well, right now, I’m working in baby steps.
First, I’m going to get it working with the SSC-32 alone.
It will wirelessly replace the serial cable that I’m connecting the the servo controller, now.
There’s no programming required for that step.
There’s two pieces of software that you would need to download from wibotics.com/ to do this: the Device Installer and the COMPort Redirector (both are free).
After I finish getting that running, I’ll focus on getting my microcontroller (either a Basic Stamp2.px or a Basic Atom 28) and Bot Board to control the SSC-32.
To do that, you will need the software from whatever site you buy your microcontroller from.
Once that is running, I’m going to switch the WiPort to connecting to the Bot Board, instead of the SSC-32.
Again, it will just be a virtual COM port, so no extra software is required.
Once that’s done, the chain will be Laptop --> Botboard --> Microcontroller --> SSC-32.
Then, I’ll be writing my own control program, using Visual Basic.
That’s not needed to control the bot, though.
You can find a bunch of sofware examples for writing your own programs on the wibotics site.
I’ll also be posting whatever I come up with, once I’m done (which should be in a very long time).