PDA

View Full Version : 4wire resistive touch pad with Propeller



Gw
03-18-2009, 07:20 AM
If anyone interested in 3m sc400 4wire resistive touch controller, I have attached the code I used to read touch controller.

Timothy D. Swieter
03-18-2009, 09:05 AM
Cool - can you show code/pictures/schematics of how you used and implemented it?

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Timothy D. Swieter, E.I.
www.brilldea.com (http://www.brilldea.com) - Prop Blade, LED Painter, RGB LEDs, 3.0" LCD Composite video display, eProto for SunSPOT
www.tdswieter.com (http://www.tdswieter.com)

Oldbitcollector (Jeff)
03-18-2009, 09:06 AM
I'll second that!

OBC

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?

Check out: Protoboard Introduction (http://jeffledger.googlepages.com/Protoboard_Introduction.pdf) , Propeller Cookbook 1.4 (http://ucontroller.com/Propeller%20Protoboard%20Designs%20for%20the%20Beg inner.pdf) & Software Index (http://forums.parallax.com/showthread.php?p=770318)
Updates to the Cookbook are now posted to: Propeller.warrantyvoid.us (http://propeller.warrantyvoid.us)
Got an SD card connected? - PropDOS (http://www.orrtech.net/propdos/)

Gw
03-18-2009, 10:15 AM
I used the 3m sc400 touch controller and 4wire resistive touch pad from Digikey. search.digikey.com/scripts/DkSearch/dksus.dll?Detail&name=3M5542-ND (http://search.digikey.com/scripts/DkSearch/dksus.dll?Detail&name=3M5542-ND )
search.digikey.com/scripts/DkSearch/dksus.dll?Detail&name=BER273-ND (http://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
03-18-2009, 10:33 AM
Thanks for the parts links!

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Timothy D. Swieter, E.I.
www.brilldea.com (http://www.brilldea.com) - Prop Blade, LED Painter, RGB LEDs, 3.0" LCD Composite video display, eProto for SunSPOT
www.tdswieter.com (http://www.tdswieter.com)