Code Monkey home page Code Monkey logo

arduino-racingdisplay's Introduction

Arduino Racing Display

This is a little hobbie electronics project I threw together and forms part of the Java SimConsole and GearIndicator on my GitHub page.

Using the DFRobot 8 Character 7 Segment SPI Module and 2x NeoPixel Stick - 8x RGB LED and an Arduino Uno, this device acts as a HUD for displaying the current car revs, speed, etc. To reduce current required, the 8 character 7 segement is multiplex to only allow 1 LED per character to display at once.

Protocol

Set pixel brightness

  • 1|<u_int8>

eg: 1|10 sets brightness to 10

Set pixel colour by index

  • 2|<u_int8>=<u_int8>,<u_int8>,<u_int8>

eg: 2|4=255,0,0 sets pixel at index 2 to the colour red

Display pixels based on an integer

  • 3|<u_int16>

eg: 3|49155 which will display the 2 outside pixels on either side as 49155 = 1100000000000011

Display text on segment display

  • 4|<char[8]>

eg: 4|hellowor will display hellowor on the LED display

Update gear indicator

  • 5|<u_int8>

eg: 5|3 will set the gear indicator to display 3


Prototyping some ideas

prototying some ideas

First iteration

first iteration

Updated for a better location

updated for a better location

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.