GithubHelp home page GithubHelp logo

urlab / yolo-octo-robot Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jlzirani/yolo-octo-robot

0.0 20.0 0.0 220 KB

Defining the color of tri-color led from a joystick with an arduino

License: GNU General Public License v2.0

yolo-octo-robot's Introduction

yolo-octo-robot

Defining the color of tri-color led from a joystick. Project is done with an arduino

The code

The code is in the file joystick.ino.

The circuit

We use an arduino uno with a joystick and tri-color led.

The joystick

Connect the joystick in the correct pin:

  • GND: with the ground.
  • 5v: with the 5v pin of the arduino.
  • VRx: with the anolog pin 1
  • VRy: with the analog pin 0
  • SW: we don't use it.

The tri-color led

We use the pwm pin 9, 10 and 11 of digital output of the arduino. Here, we use the following mapping:

  • 9: red
  • 10: green
  • 11: blue

In order to decrease the high intensity of the led, we added a resistance after the led.

Image of the circuit

Video:

On youtube

Some Pictures :

yolo-octo-robot's People

Contributors

jlzirani avatar

Watchers

0xC4 avatar Florentin Hennecker avatar James Cloos avatar Loïs Postula avatar  avatar  avatar YannSpoeri avatar  avatar  avatar Bruno ROCHA PEREIRA avatar Perale Thomas avatar OKso avatar  avatar  avatar Schembri Julian avatar  avatar Pavel Polinetskyi avatar  avatar  avatar  avatar

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.