well all, this is more likely my last project for work before I retire. (unless they want me to work from home which will be somewhere in Arizona and out of cold Utah.)
I'm thinking of using the Teensy 3.2(3.1 I have to play with) and or using the teensy 3.5 which we have in our current products and has worked since 2015 (3.2 2015 to 2017. 3.5 current) and still going strong.
The issue at hand is a wired remote that sends Manchester Code to the system. I'm not willing to bother much on using a library for the Manchester code, but it does have a preface to tell the system that it is a handset.
I have scoped the output and see the common signal that is sent and to the data (button function) is a total of 185 us. The signal repeats at 75 ms intervals.
20 possible codes are from 10011111 (no key) to 10000000 the 1st button action. Thus 20 different conditions (4 are spares)
Since the 1st 20 are binary, I'm thinking of using case then send the code somehow (still thinking on a way of doing) XOR or shift.
Usually when I type stuff out I start thinking I can do that, but can I..... (Brain Pause)
So I can maybe do the preamble 1st and then trail the key code and repeat 75 ms later.
Well actually about the retirement.. Work has put me into a semi retirement... But moving to Arizona in the very near future.. faster if they don't put me back into full time.. So I'm here Mon/Tues.
So ideas will help.
In the meantime I will do some timing stuff on my teensy 3.1 or 3.2.. And maybe try the 3.5 I have.. Scope in hand..
Thanks a head of time..
Wayne
I'm thinking of using the Teensy 3.2(3.1 I have to play with) and or using the teensy 3.5 which we have in our current products and has worked since 2015 (3.2 2015 to 2017. 3.5 current) and still going strong.
The issue at hand is a wired remote that sends Manchester Code to the system. I'm not willing to bother much on using a library for the Manchester code, but it does have a preface to tell the system that it is a handset.
I have scoped the output and see the common signal that is sent and to the data (button function) is a total of 185 us. The signal repeats at 75 ms intervals.
20 possible codes are from 10011111 (no key) to 10000000 the 1st button action. Thus 20 different conditions (4 are spares)
Since the 1st 20 are binary, I'm thinking of using case then send the code somehow (still thinking on a way of doing) XOR or shift.
Usually when I type stuff out I start thinking I can do that, but can I..... (Brain Pause)
So I can maybe do the preamble 1st and then trail the key code and repeat 75 ms later.
Well actually about the retirement.. Work has put me into a semi retirement... But moving to Arizona in the very near future.. faster if they don't put me back into full time.. So I'm here Mon/Tues.
So ideas will help.
In the meantime I will do some timing stuff on my teensy 3.1 or 3.2.. And maybe try the 3.5 I have.. Scope in hand..
Thanks a head of time..
Wayne