4wire resistive touch pad with Propeller
Gw
Posts: 2
If anyone interested in 3m sc400 4wire resistive touch controller, I have attached the code I used to read touch controller.
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Timothy D. Swieter, E.I.
www.brilldea.com - Prop Blade, LED Painter, RGB LEDs, 3.0" LCD Composite video display, eProto for SunSPOT
www.tdswieter.com
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Check out: Protoboard Introduction , Propeller Cookbook 1.4 & Software Index
Updates to the Cookbook are now posted to: Propeller.warrantyvoid.us
Got an SD card connected? - PropDOS
search.digikey.com/scripts/DkSearch/dksus.dll?Detail&name=BER273-ND
Both the touch pad and the controller cost was around US$80. Only used controller pin 2 Tx and 3 Rx and connected these two pin to Propeller. Use touchpad.spin and touch_test.spin. touch_test.spin will display the X and Y coordinate of the touch point on the TV. The values generally between 1K to 16K.
This controller does not need any extra command to initiate or terminate the data transfer. As long as the touch pad detects touches, controller will continues to send 5 byte data packet to Propeller. Sc400 data sheet has all the command you can sent to the controller, But I have not use those in my codes. I have attached both files again.
This is my first Propeller project. Any suggestions for improvement are welcome.
Post Edited (Guruge) : 3/18/2009 4:29:26 AM GMT
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Timothy D. Swieter, E.I.
www.brilldea.com - Prop Blade, LED Painter, RGB LEDs, 3.0" LCD Composite video display, eProto for SunSPOT
www.tdswieter.com