Posted by lornetw While exploring your web site, I found your article on using infrared with the picaxe chips. This is exactly what I need - I don't want my robot to freeze while it's waiting for a signal from the remote control (when using the 'infrain' function). I wonder if I could ask you a few questions. I am using the Picaxe-28x (with the project board), the Panasonic PNA4602M infrared receiver and a RadioShack universal remote. I know this all works together because I got it working with the 'infrain' function and I can read the 'infra' value. Question 1: Have you ever used the Panasonic PNA4602 IR receiver? I cannot buy the same receiver offered for sale in the UK (the one shown in the Picaxe manuals) because the dealer in Canada (http://hvwtech.com/) has decided not to stock all the items available in the UK (I would have to pay a lot just to have one item imported from the UK). Question 2 and 3: After typing in your program for bit-banging the infrared signal, I have 2 problems - 1) I have to press the buttons twice to get a reading on the screen (using Debug) and 2) the values are garbled. For instance, if I press the '5'(twice), I get some value on the Debug screen for all the b0, b1, variables, etc - but when I press another key twice and then come back and press the '5' key twice again, I don't get the same values I got the first time. Is there any way to eliminate the double button pressing and get the values of the key being pressed on the remote control? I just want to read the value of what button is pressed just like the 'infrain' function for use with my robot. Maybe I will have to play with parameters like min_pulsin, pause_time, bit_time, etc until I get the right combination. I get the impression that the communications parameters are not correct and the receiver is reading bits and pieces of each burst sent by the remote control . Do you know of any quick way to find the proper values? Any help you could give me would be greatly appreciated. Regards, Lorne Wilkins
![]()
on January 30, 2007, 6:06 pm
205.151.163.28
I want to thank you for the material you have made available for us users that are starting out with Picaxes.
Message Thread:
![]()
« Back to thread
Please note that only the last 200 messages are stored; spam will therefore be deleted.