Giter Site home page Giter Site logo

sussyboiiii / vesc_lcd_display Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 698 KB

This repository contains Arduino code for displaying real-time statistics from a VESC on an I2C LCD screen. Inspired by Tom Stanton's VESC E-bike, it includes a Python-based LCD emulator for testing.

C++ 27.75% Python 72.25%

vesc_lcd_display's Introduction

About

This repository hosts the code for an Arduino-based project that enables you to view statistics from your VESC (Vedder Electronic Speed Controller) on an I2C LCD screen. The project is designed for electric bikes (E-bikes) and is inspired by Tom Stanton's VESC E-bike.

The code allows you to monitor various stats about your E-bike in real-time, including speed, power, current, temperature, and more. It's a great tool for E-bike enthusiasts who want to keep track of their bike's performance and health.

The project uses a VESC 6 to control the E-bike and an I2C 4x20 LCD screen to display the stats. It also includes an optional Python-based LCD emulator for testing the LCD display functions without needing an actual Arduino or LCD screen.

Components

The project requires the following components:

Optional components include (adjustments to Ebike.ino may be required):

Schematic

This is the circuit schematic I am using, feel free to use it and modify the way it works! Complete assembly of all components

Main Arduino Sketch

The main Arduino sketch for the project is Ebike.ino. This sketch controls the behavior of the E-Bike, including reading data from the VESC and displaying it on the LCD screen.

LCD Emulator for testing

The lcdem directory contains a Python-based LCD emulator. This emulator can be used to test the LCD display functions without needing an actual Arduino or LCD screen. The main scripts for the emulator are Ebike_good.py and lcd.py.

Ebike_good.py is a script that simulates the data that would be sent from the Arduino to the LCD screen. It sends data to lcd.py, which emulates the LCD screen and displays the data.

Contributing

If you encounter any bugs, please feel free to open an issue or make a pull request. Thanks!

vesc_lcd_display's People

Contributors

sussyboiiii avatar

Stargazers

 avatar  avatar

Watchers

 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.