jean wrote:AFAIK, you have no simple low-level access to IR port....you can only feed and read IRDA or SIRCS....so you cannot simply output a square wave and detect it back when reflected/interrupted by a wheel. Play a little with pspsdk examples and you'll see.
then, May I have a suggestion???
IRDA is hard way to go, expecially if you're not into it.
Mic way is simpler and you can find ready-to-execute examples (provided you can understand them), and advices from Art. But i somehow feel it stinks.
No my friend, I didn't explain it very well ('cause my poor english), actually I don't need to decode the signal or send it and check if it is interrupted/reflected, why???
-1: I don't need the data that the signal brings, I just need to know that there is a signal. This is solved, right now I'm able to verify that a signal is present (thats why I don't need to decode the signal).
-2: I'm not using the IR port to send the signal (or sending nothing), I'm obtaining the signal from a TV remote control (of course this will be replaced by a circuit that send the signal) and it's working just right.
jean wrote:
The proper way would be to use a small microcontroller like those 2 euros, 8 pins PIC, to connect it to PSP through SIO and use it as an interface like in another Art's project or in my openKeyboard project. But this is far from your comprehension i guess. Feel free to choose whatever method you like the most, but i think you should go for Art's. So, you can use the search feature of this forum to retrieve all information you need about it.
jean
really is not so far from my comprehension but implementation, I'm not in Europe or USA, so here, to find a programmable IC is an epic adventure so the device programmer; and buy it via internet, no way, you can die waiting (the last item I bought took more than a month)
Maybe I can use the headphones controller, but I'm not sure if I want to lose it (here it cost about 45 dollars).
I'm going to follow your advice, parallel to what I'm doing, I'll try to get the PIC.
Thanks partner!!!