Apple IR Controller?
Has anyone ever gotten the Apple IR controller that comes with an iMac to work using the IR code for the propeller?
I've tried all the examples that I can find and 7 different IR units and cant get any to work..
k.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
I always have someone watching my back.
I've tried all the examples that I can find and 7 different IR units and cant get any to work..
k.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
I always have someone watching my back.
Comments
Do you mean the remote controller ?. Which IR receiver are you using ?. Have you had a look at the pulse train that comes from your IR receiver ?. If you do not have an oscilloscope, you can get the propeller to act as a logic analyzer. I think cluso or heater have developed some hardware/soft combination for that.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Visit some of my articles at Propeller Wiki:
MATH on the propeller propeller.wikispaces.com/MATH
pPropQL: propeller.wikispaces.com/pPropQL
pPropQL020: propeller.wikispaces.com/pPropQL020
OMU for the pPropQL/020 propeller.wikispaces.com/OMU
pPropellerSim - A propeller simulator for ASM development sourceforge.net/projects/ppropellersim
Do you want to read the IR sent by the IR controller with a propeller or do you want the propeller to generate the same IR code? What's your setup? Do you have a IR diode for input or do you have a IR receiver which already removes the carrier signal?
When I get a chance I'm going to wire up another test unit using my proto board so I can have serial out to debug using the code in OBEX from JonnyMac..
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
I always have someone watching my back.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon McPhalen
Hollywood, CA
Basically I have tried every remote in my house to get any type of info out of into my prop .. My Apple one, 4 different universals, and even my controller from sony for my Trinitron TV ( plus any others I found.. ) .. and I get nothing.. So I am going to pick up a usb to serial programmer for my prop so I have the serial terminal to debug with and start there..
I gotta dig out the manual for my universal controller and config it for sony as well and maybe that will work..
Thanks for the code help Jonny..
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
I always have someone watching my back.
http://wiki.altium.com/display/ADOH/NEC+Infrared+Transmission+Protocol
So you would have to get the correct IR reciever to decode the button presses
Never mind, its just the protocall you need. NEC is 38 kHz too
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Shawn Lowe
When all else fails.....procrastinate!
I've used that a bunch of times to figure out remotes and it's got some great discussion of IR in the code and directions.
Jim-
obex.parallax.com/objects/37/
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Signature space for rent!
Send $1 to CannibalRobotics.com.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
I always have someone watching my back.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
I always have someone watching my back.
problem.
Do a google to prove me wrong
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"She may not be very pretty now, but she was somebody's baby once." Bugs Bunny
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Shawn Lowe
When all else fails.....procrastinate!
So I trudge on.. I may just rewrite the ir_view code to suite my purpose.. I need more time..
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
I always have someone watching my back.