Coder Social home page Coder Social logo

arduino-led-smiley-obstacle-robot's Introduction

Arduino-LED-smiley-obstacle-robot

This is the code of a arduino obstacle robot with the WS2812B LED strips

Happy obstacle avoid led robot robot Image 1

Summary:

This robot is a simple obstacle avoidance robot which uses an ultrasonic sensor and echo to detect an obstacle and change the path. There is additional 8 LED's in three different colors which can be changed from the code as well. In this code, it has a combination of 3 red, 2 green and 2 blue led.

The motor driver is the adafruit driver version 2. The code is configured for 4 wheels but if you are using 2 wheeled robot then use channel 1 and 3. Pin 2 is the data pin for the LED and the ultrasonic sensor is at A0 and A1.

Things to note:

Solder well

Please solder well the DC motor and the 3 Pin LED Strip. It is advised that you solder header pins than wires for the LED WS2812B. See pictures of the soldering for an idea.

Motors soldered Image 2

LED is soldered as below. If you are doing chains of LED then use both the ground. I have used one ground as I had only 8 LED's.

LED soldered Image 3

Power Source

I have used a USB 2S 800 mAh battery via the barrel jack. If you power by the usb you will draw less current and your motors will move slower and also the LED may not be bright.

3D print the servo neck - File name model3.stl

You may 3D print the servo neck with the files in this repo. Below is the image in 3D designer.

Servo neck in 3D Image 4

arduino-led-smiley-obstacle-robot's People

Contributors

mierobot avatar

Watchers

James Cloos avatar  avatar

Forkers

asiahlawa

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.