I built a basic obstacle avoiding robot with Raspberry Pi 2 and Arduino Uno.
Raspberry Pi controls the motors and an ultrasonic sensor. LIDAR (Lidar Lite v2 Blue Label) is hooked up to Arduino.
Raspberry Pi reads LIDAR data via a serial connection and “makes a decision” on where to go next. LIDAR takes a reading every 4 degrees of servo rotation.
The ultrasonic sensor along with LIDAR is used for obstacle avoidance as well as deciding on the direction.
I wrote the code in Python on the Pi and a C++ variant on the Arduino.
Each Friday is PiDay here at Adafruit! Be sure to check out our posts, tutorials and new Raspberry Pi related products. Adafruit has the largest and best selection of Raspberry Pi accessories and all the code & tutorials to get you up and running in no time!
Have an amazing project to share? Join the SHOW-AND-TELL every Wednesday night at 7:30pm ET on Google+ Hangouts.
Join us every Wednesday night at 8pm ET for Ask an Engineer!
Learn resistor values with Mho’s Resistance or get the best electronics calculator for engineers “Circuit Playground” – Adafruit’s Apps!
Maker Business — Lessons Learned Scaling Airbnb 100X
Wearables — Start with a sketch
Electronics — When do I use X10?
Biohacking — What I Learned from Weighing Myself 15 Times in a Day
No comments yet.
Sorry, the comment form is closed at this time.