vamsi1994 0 Posted February 26, 2015 Share Posted February 26, 2015 Dear all, I am working with HC SR04(ultrasonic sensor).,MSP430G2553 and TLC5940nt. I want to display a message using TLC5940nt when the HC SR04 detects an object. P2.1 to VCC P2.2to GND P2.4 to trigger P2.1 to echo For TLC5940nt, P1.0 to XLAT P1.1 to BLANK P1.3 to DCPRG P1.4 to GSCLK P1.5 to SCLK P1.6 to SOUT P1.7 to SIN P2.6 to XERR P2.7 to VPRG As I am a beginner please help me out with the connections and also with energia code..Thank you in advance. Regards, Vamsi Krishna.R Quote Link to post Share on other sites
icserny 9 Posted February 27, 2015 Share Posted February 27, 2015 Note that the HC-SR04 ultrasonic sensor requires 5 V power supply.Sent from my Xiaomi Redmi 1s with Tapatalk Quote Link to post Share on other sites
vamsi1994 0 Posted February 28, 2015 Author Share Posted February 28, 2015 yeah I have taken care of that issue. I am in need of energia code. Quote Link to post Share on other sites
icserny 9 Posted February 28, 2015 Share Posted February 28, 2015 I am in need of energia code. You can adopt Arduino projects or libraries. Look for these for example: http://arduinobasics.blogspot.hu/2012/11/arduinobasics-hc-sr04-ultrasonic-sensor.html http://playground.arduino.cc/Learning/TLC5940 Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.