SX28 Keypad used as a slave to a BS2px ?
In the Help section of the SX-Key editor v3.1 software, there is an example program showing how to use an SX-28 with a 4x4 matrix keypad. I would like to use this as a modified program (no 7 seg display needed as my current design will use a serial LCD anyway).
What I want to do is use the SX28 as a driver IC or slave to a BS2px being the master.
Has anyone done this?
I take it that I will have to use SEROUT and SERIN commands to a pin on the SX-28 and BS2px to receive the keypad strokes on the BS2px.
Comments?
Thanks,
Timothy Gilmore
Post Edited (tdg8934) : 1/5/2006 9:22:42 PM GMT
What I want to do is use the SX28 as a driver IC or slave to a BS2px being the master.
Has anyone done this?
I take it that I will have to use SEROUT and SERIN commands to a pin on the SX-28 and BS2px to receive the keypad strokes on the BS2px.
Comments?
Thanks,
Timothy Gilmore
Post Edited (tdg8934) : 1/5/2006 9:22:42 PM GMT

Comments
I just did a connection between an SX28 and an SX52. You may want to go through my thread, SX to SX communication SX/B. I have a couple of very basic programs, if you have any questions about it I could try to help.
Ray
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
What does "Open Baud Mode" mean?
19.2K ?
Timothy Gilmore
RoboGeek
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
There are·3 kinds of people in the world,
the dreamers, the do-ers, and the "Oh, what's this button do"-ers.
Formerly bugg.
www.parallax.com
www.goldmine-elec.com
www.expresspcb.com
www.startrek.com
·
This is an old article but will give you an idea: http://www.parallax.com/dl/docs/cols/nv/vol5/col/nv116.pdf
The article will show you how to user serial commands with an external device; just ignore the old SX/B syntax -- we've come quite a long way with SX/B since I wrote this column.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Thanks for the clarification.
Timothy Gilmore
I learned from the RC-4 code and the NV article to correctly interface the SX-Key Help (SX-28 matrix keyboard example) to my BS2px.
It works great using Open Baud "True" 9600.
I went from using 10 BS2px pins for individual pushbuttons to 1 BS2px pin as a serial input for the SX28 matrix Keypad driver circuit.
When my matrix keypad comes in next week, I will be able to truely test it (other than using some wires and resistors for the time being).
You are a wealth of knowlege and resources.
Thanks so much!
Timothy Gilmore
·
Thanks.