Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.
plasma Guru Joined: 08/04/2012 Location: GermanyPosts: 437
Posted: 06:34am 12 Apr 2014
Copy link to clipboard
Print this post
have micromite no solution for sending ir commands ?
WhiteWizzard Guru Joined: 05/04/2013 Location: United KingdomPosts: 2932
Posted: 07:52am 12 Apr 2014
Copy link to clipboard
Print this post
Hi plasma,
Page 16 in the manual talks about sending IR commands:
Infrared Remote Control Transmitter
Using the IR SEND command you can transmit a Sony compatible infrared remote control signal. This could be used to control a Sony product or communicate with another Micromite.
The circuit on the right illustrates what is required. The transistor is used to drive the infrared LED because the output of the Micromite is limited to about 10mA. This circuit provides about 50mA to the LED.
To send a signal you use the command:
IR SEND pin, dev, cmd
Where pin is the I/O pin used, dev is the device code to send and key is the key code. Any I/O pin on the Micromite can be used and you do not have to set it up beforehand (the IR SEND command will automatically do that).
Note that the modulation frequency used is 38KHz and this matches the common IR receivers (described in the previous page) for maximum sensitivity when communicating between two Micromites.
plasma Guru Joined: 08/04/2012 Location: GermanyPosts: 437
Posted: 12:31pm 12 Apr 2014
Copy link to clipboard
Print this post
thanks whitewizzard , no its time to test .
thx again
Lou Senior Member Joined: 01/02/2014 Location: United StatesPosts: 229
Posted: 03:37pm 12 Apr 2014
Copy link to clipboard
Print this post
plasma,
I hooked the IR LED up directly to a port line in series with a 220 ohm resistor instead of using the transistor circuit. You may not get much range but if you're just testing that is quick and easy, and it does work. I had two uMites talking back and fourth right after Geoff put in the IR transmit function.