Learn how to create a simple gear indicator for the manual transmission of the car. For that, we will use Arduino UNO with SSD1306 128x64px IIC OLED screen and 4 Hall Sensors to measure the magnetic field of the magnet placed on the shifter handle. All the images are drawn in Photopea and converted into C-style arrays using the Image2cpp utility. For a WOKWI simulation, potentiometers are used instead of Hall sensors for testing (since WOKWI does not support Hall sensors). We will also create a custom PCB in KiCad and get it manufactured by PCBWay. If you want to follow along, having some wires and a breadboard is helpful. Good luck with your project!
YouTube video: https://youtu.be/QixtxaAda18
WOKWI sketch: https://wokwi.com/projects/392232701520726017
Links from the video:
- Do you like this video? You can buy me a coffee: https://www.buymeacoffee.com/upir
- Order PCB from PCBWay: https://www.pcbway.com/project/shareproject/Arduino_UNO_Gear_Indicator_for_manual_transmission_PCB_85df5da0.html
- AH3503 Hall Sensor: https://s.click.aliexpress.com/e/_DEYCKSl
- Round magnets: https://s.click.aliexpress.com/e/_DEzBT9B
- Shifter handle: https://s.click.aliexpress.com/e/_DFFlMzr
- 128x64 SSD1306 OLED Display 1.54": https://s.click.aliexpress.com/e/_DCYdWXb
- 128x64 SSD1306 OLED Display 0.96": https://s.click.aliexpress.com/e/_DCKdvnh
- 128x64 SSD1306 OLED Display 2.42": https://s.click.aliexpress.com/e/_DFdMoTh
- Arduino UNO: https://s.click.aliexpress.com/e/_AXDw1h
- Arduino breadboard prototyping shield: https://s.click.aliexpress.com/e/_ApbCwx
- Breadboard wires: https://s.click.aliexpress.com/e/_DmMQcLB
- Arduino breadboard holder: https://github.com/LaskaKit/LaskaKit-Printed-Parts/tree/main/Arduino%20Uno%20Breadboard%20400%20Holder
- Image2cpp (convert array to image): https://javl.github.io/image2cpp/
- Photopea (online graphics editor like Photoshop): https://www.photopea.com/
- KiCad (for designing PCBs): https://www.kicad.org/
Related videos with Arduino UNO and 128x64 OLED screen:
- Arduino OLED menu: https://youtu.be/HVHVkKt-ldc
- U8g vs U8g2: https://youtu.be/K5e0lFRvZ2E
- Arduino Parking Sensor - https://youtu.be/sEWw087KOj0
- Turbo pressure gauge with Arduino and OLED display - https://youtu.be/JXmw1xOlBdk
- Arduino Car Cluster with OLED Display - https://youtu.be/El5SJelwV_0
- Knob over OLED Display - https://youtu.be/SmbcNx7tbX8
- Arduino + OLED = 3D ? - https://youtu.be/kBAcaA7NAlA
- Arduino OLED Gauge - https://youtu.be/xI6dXTA02UQ
- Smaller & Faster Arduino - https://youtu.be/4GfPQoIRqW8
- Save Image from OLED Display to PC - https://youtu.be/Ft2pRMVm44E
This video is sponsored by PCBWay. If you use this link, you can get 10PCBs for free and only pay for shipping. At the same time, you will support my YouTube channel and I will record more videos. https://www.pcbway.com/setinvite.aspx?inviteid=572577
Small Animation:
Screenshots from the video: