Support and General Use > Hardware

Iriver HXX0: remote control

(1/4) > >>

bonusbartus:
Hi,
Im using rockbox for a time and I like it :D
I was reading through the hardware specs for the two irivers i own, the h120 and h340 and I found out how the remote control works, now I am trying to build a IR-receiver so I can use my player at home without always having to walk to it to change a song ( lazy me)
But there are 2 things left I need to know:

1. How does the player check if a remote controll is available, I saw the gpio 30 pin was used for that, but how does it actualy do that, a switch in one of the connectors?
2. How does the original/rockbox firmware check which remote is connected? can I manualy set it somewhere?

Thanks in advance,

Bonusbartus

PS when it's working I'll post the specs for it

bluebrother:
I have looked into the code a bit and think it works like that:

The remote type is detected through an ADC value. Just have a look into "View IO Ports" in the Debug menu (try connecting / disconnecting the remote and look at the ADC_REMOTE value). If that ADC value is read from GPIO30 (which I guess but haven't checked) this looks to me like you need to put a voltage divider to create the correct value. This also sets the remote type AFAIK. No idea how the OF handles this.

When you manage to build an IR receiver I'd also be interested in the result -- I thought about building up something myself some time ago but I wasn't able to find the time looking into it. Maybe you want to show up on irc to discuss this. Good luck!

brenzi:
Hi

I'd be very interested in this project. I was browsing around to find a working solution or at least work in progress.
Are you still working on this? I'd be happy to contribute.
I'm new to iriver and rockbox, but I'm somewhat experienced with electronics and programming....

cheers
Alain

brenzi:
Just had a few more thoughts about it.

As far as I understand, the remote's resistor-network goes to channel 1 of TLV08341. The datasheet says this is a 8bit 41kSPS ADC

IR remotes work with different kinds of pulse-modulation on a ~40kHz signal. So the pulse-frequency will be well below 40kHz (needs more research)

Now that we have a 41kSPS ADC we could just connect a TSOP17XX IR demodulator directly to this input and do the pulse-processing in rockbox firmware. No more external electronics needed (maybe a little sth to convert the signal to a resistance.

As I said, I'm new to rockbox so I don't know about its abilities. Is there an expert to comment on this idea?

Llorean:
Just as a reminder, please type out whole words for things like "something" so that translation software can actually work well.

Navigation

[0] Message Index

[#] Next page

Go to full version