Hi Great info, I'm trying to convert this to VB.net for running on a PC. I've got the code assembling and running now with all the classes, but when I run it I get a very low frequency tone maybe 1kHz from the headphone port? The data I'm trying to send is basically the first xtml file:
When I changed the value of _bitPerSample in PCMWaveGen.cs to 16bit or 32bit, result is not similar to orginal 8bit in source code (I used Audacity to compare the results). I cant post images!
My question is, how to change the BitsPerSample of output file.
I have built my own dongle with two IR leds connected to audio right and left.
Then I connect the dongle to the speakers and I run the application on the PC.
It seems that it does not work. Can someone please tell me what do I do wrong?
The dongle seems to work, as when I play a sound, the leds emit light.
I'm using for testing a Canon camera and RC-5 remote control code: 0000 007e 0002 0000 0010 00b1 0010 00b1.
Not yet done, but it's a good starting point:
Here you find RapidQ BASIC sources to create a WAV file by sampling a remote control using your Windows PC.
RapidQ is quite compatible with Linux, so maybe you can easily port the SW.
If you cannot, try looking at file sky_SKY(on).zip file: it contains:
sky-SKY(on).wav - remote control sample
Provalirc.conf - resulting LIRC file
sky-SKY(on).bat - DOS batch files which creates the final WAV file using SOX program (which is available for Linux)
sky-SKY(on)_.wav - the final WAV file (to turn on Italian SKY Satellite receiver)
From this article I'm wondering if I can transmit stereo audio from another source via IR to the PDA. I would of course utilize the mic input on the PDA.
Do you see any issues with this...my bandwidth would be about 10kz and the only concern I have is the phase of the audio. They should be pretty close.
i'm rather new to this, but what about this method:
1) remote control
2) old headphones or another chord with a mono audio jack on one end
3) soldering iron
1. open the remote control and remove the infrared LED.
2. Clip the chord with the audio jack on it and then solder the piece of chord with the audio jack onto the remote control in place of the infrared LED.
3. open up a sound recording utility and hit record, then tap a button on the remote control.
4. desolder the wire from the remote control and solder it directly to the LED.
5. connect the audio jack to your line out and play the sound back.
Hey Guys, very-very nice article. And since the dongle has been discontinued (you still can buy Total Remote software though) I managed to build my own, it works fine. I didn't get good IR LEDs in time so i used generic once from Radio Shack (low power, but still got about 10 meters range). I must admit, without this article it wouldn't be possible to build it. Their idea to divide 40 KHz spectrum in two was just genius in its simplicity. So basically you have to connect two IR LEDs in opposite polarity between Left and Right Audio Out. Then one of them will transmit during positive audio cycle and another during negative, that's how you get 40 KHz on 20 KHz port and that's why you need two LEDs.
Specs to look for:
1) IR LEDs, wavelength 940 nm, Radiation intensity at least 40 mW/sr (there are very good LEDs
from Avago Tech, they emit 50 mW/sr, HSDL-4271. Another choice would be HSDL-4220, their
peak is at 875 nm, but they are powerful enough to provide you range of up to 50 feet.
They are typically available from Digi-Key and they are cheap).
Typical bias current for IR LEDs is about 100 mA. Viewing Angle at least 30 deg.
If you can't find 940 nm diodes, try to use 875 nm, they still should work fine.
IR receivers have wide range of reception.
Anyways your PDA uses 875 nm diodes (940 nm usually used for remote controls and 875 nm for
Pay attention that your LED should be able to withstand max Reversed Voltage between Left and
Right Outputs of Audio Port on your PDA (for my iPAQ 3850 it was 5 V).
2) Calculate bias resistor based on Forward Voltage of LED and Bias Current.
3) I used 3.5 mm stereo audio to regular plugs adaptor from Radio Shack to assemble my dongle.
Looks good, but of course not as pretty as the original one.
That's it, you are good to go. For some reason can't copy pictures in my answer.
1. How do I find the Reversed Voltage? my is a IPAQ H4150.
2. What is the resistor for ?
So is it
and ignore the ground?
I have a old remote can I take the LED from that remote, but i have no idea of the part number.
Apparently someone email to ask me the wiring...
goto a hardware shop, buy 2 IR transmitters LEDs or get it from an old remote control, u need two however. Buy or like me cut out from an old headset the jack. Then solder the LEDs directly to the jack.
The jack should have 3 parts. 1 ground, Left and right
Solder the LEDs to the Left and right make sure they of opposite direction. The LEDs should have 1 long and 1 short lead.
Ignore the ground
Use handphone camera to check, if it work u should see the LEDs flashing when u press a button.
BTW I have no luck with the codes.. so I bought the Griffin Software instead.
Can actually a PDA send enough current to the LEDs? I tried playing a wavefile through an IR led using PC audio card, but emitted light is barely visible (using a webcam), compared to really bright light emitted by a remote!
Finaly, this looks like what i have been after...
A Way to whilst working at my computer change TV channel, stereo volume, all that kind of stuff, which out having to hunt under books paper work for the remote, that i left the other side of my bedroom!!!!
My plan is. create wav files for each button.
save as wav file. Find a media player for windows, that allows you to select which sound card to output the sound from. install CHEEP second sound card in machine, with IR sending attached to it perminatnly.
Make pretty gui from static webpage. with Wav files linked. Click link wav file loads and plays in selected media player. and channel should change :P
this should also work well with my planned video streaming. i should be able to change channel on my digi box whilst im watching it streaming to my work pc :P Only kidding, about watching from work. but you ge the idea.
Last Visit: 31-Dec-99 19:00 Last Update: 27-Feb-24 9:41