Jump to content
43oh

MSP430G2553 and HC SR04 ultrasonic sensor


Recommended Posts

You can adopt an Arduino project. For example this: http://arduinobasics.blogspot.hu/2012/11/arduinobasics-hc-sr04-ultrasonic-sensor.html

 

Notes:

1. The HC-SR04 module requres +5V supply.

2. A voltage divider or a current limiter resistor may be required to receive the ECHO signal since the MSP430G2553 does not tolerate the 5V signal.

Link to post
Share on other sites
  • 2 weeks later...
  • 3 weeks later...

I am doing a project in texas instruments,so the MSP430 launchpad is must.Is there any other alternative.??

 

I did this some time ago, but AFAIR it was done like this - power up the HC-SR04 by 5V from the launchpad. It can be triggered directly by MSP430, however to not damage the MCU the receiving pin of the MCU has to be connected to 2/3 voltage divider, Works like a charm.

 

As last resort you can power the sensor by the 3.3V bus, but the range will be limited to about half a meter (5V powered sensor was giving me exact readings up to 4 meters).

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...