Skip to content

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.

Notifications You must be signed in to change notification settings

sussyboiiii/VESC_LCD_DISPLAY

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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!

About

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.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published