Arduino programming to send NEC IR codes.
- or -
Post a project like this1428
$30
- Posted:
- Proposals: 2
- Remote
- #3024125
- Awarded
Description
Experience Level: Entry
Estimated project duration: 1 day or less
I've soldered up a custom keyboard which I would like to program to send IR signals to control a Pioneer CD player. A programmer helped me make some code, but couldn't finish it. I'd like to use https://github.com/z3t0/Arduino-IRremote as the library if possible, as that is what I decoded the IR signals from.
I'll attach pictures of the board and the code thus far. Think you could help?
The Schematic is attached.
The LED is soldered to pin 3, with a resistor like this - https://imgur.com/a/rralAcj
45BA38C7 - On/Off (Power)
45BA6897 - Stop
659AEE11 - Play/pause
45BA52AD - Shuffle (random)
45BAA25D - Clear
45BA00FF - 0
45BA807F - 1
45BA40BF - 2
45BAC03F - 3
45BA20DF - 4
45BAA05F - 5
45BA609F - 6
45BAE01F - 7
45BA10EF - 8
45BA906F - 9
45BA08F7 - next track
45BA8877 - previous track
45BA827D - enter (disc)
Here is an example of full decoded IR with raw
Decoded NEC: 45BA38C7 (32 bits)
Raw (68): 8550 -4250 500 -600 500 -1600 500 -550 550 -500 550 -500 550 -1550 550 -550 500 -1600 550 -1600 500 -550 500 -1600 550 -1600 500 -1600 500 -600 500 -1600 500 -550 550 -550 500 -500 550 -1550 550 -1600 550 -1550 550 -550 500 -550 550 -550 500 -1600 500 -1600 500 -550 550 -500 500 -600 500 -1600 500 -1600 550 -1600 500
I had trouble with a different library where it sent random signals, or sometimes no signal at all, so I'd like for it to send the simple NEC codes above only.
Thank you!
I'll attach pictures of the board and the code thus far. Think you could help?
The Schematic is attached.
The LED is soldered to pin 3, with a resistor like this - https://imgur.com/a/rralAcj
45BA38C7 - On/Off (Power)
45BA6897 - Stop
659AEE11 - Play/pause
45BA52AD - Shuffle (random)
45BAA25D - Clear
45BA00FF - 0
45BA807F - 1
45BA40BF - 2
45BAC03F - 3
45BA20DF - 4
45BAA05F - 5
45BA609F - 6
45BAE01F - 7
45BA10EF - 8
45BA906F - 9
45BA08F7 - next track
45BA8877 - previous track
45BA827D - enter (disc)
Here is an example of full decoded IR with raw
Decoded NEC: 45BA38C7 (32 bits)
Raw (68): 8550 -4250 500 -600 500 -1600 500 -550 550 -500 550 -500 550 -1550 550 -550 500 -1600 550 -1600 500 -550 500 -1600 550 -1600 500 -1600 500 -600 500 -1600 500 -550 550 -550 500 -500 550 -1550 550 -1600 550 -1550 550 -550 500 -550 550 -550 500 -1600 500 -1600 500 -550 550 -500 500 -600 500 -1600 500 -1600 550 -1600 500
I had trouble with a different library where it sent random signals, or sometimes no signal at all, so I'd like for it to send the simple NEC codes above only.
Thank you!
Christopher C.
100% (2)Projects Completed
2
Freelancers worked with
2
Projects awarded
67%
Last project
9 Oct 2020
Japan
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
There are no clarification messages.
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies