Search the Community
Showing results for tags 'ultrasonic sensor'.
Found 3 results
Hey, so I'm trying to pass an arduino uno project to my launchpad msp430FR2433. I already programed the right pins for the servo and sensor and I succesfully uploaded the program to the board but I can't get it to work correctly. The only thing that it does is that puts the servo in position 0. is there a problem with programming or should I have an issue with the connections?? I'm also curious to know if the Launchpad supports both of these components such as arduino does. This is my program: (I'm using energia) #include <Servo.h> Servo servo1; // create servo object
Hello! So I'm building a robot that is eventually supposed to implement an autonomous functionality, which means obstacle avoidance. I'll be using the HC-SR04 as the ultrasonic sensor of choice. I started out by verifying that the sensor works by running it using Energia, which is the standard "loop infinitely and take a measurement every so many microseconds". In my actual application, however, I want to send out a pulse on command. So when I say so, the ultrasonic will do a measurement (or an average of a few measurements) to tell me if an object is in the path of my robot or not. My act
Ultrasonic sensor backpackWould anybody be interested in a "backpack" for the cheap ultrasonic sensors? I've got several of the HC-SR04 sensors from ebay, as well as a couple other kids. They're not too difficult to use - but they require timers to figure out rise time. Having an external backpack would allow that processing to be offloaded to another chip. My first idea was a serial backpack - distance would be sent on regular intervals. Another option would be to add a trigger pin that would be pulled high under certain circumstances (object too close, etc). I2C and SPI would be another option - similar to a