Converting HM10 Bluetooth to ESP32 | Arduino in Your Car Series

Опубликовано: 25 Март 2026
на канале: Garage Tinkering
945
25

In part five of this series, we take a dive into the code for our custom 350z brake and underglow light, look at improving the code's readability and functional re-usability, as well showing all of the changes you'd need to undertake in order to update the HM10 bluetooth code to an ESP32 with integrated bluetooth.

All coding is broken down a line at a time into simple terms so you should be able to follow as a complete beginner, especially if you've followed the previous parts of the series

🔗Download the Arduino IDE code from https://drive.google.com/drive/folder...

❤️Consider supporting our projects on Patreon -   / garagetinkering  

📹 Part 1: Making Arduino Lights for Your Car - A Guide for Complete Beginners -    • Making Arduino Lights for Your Car - A Gui...  
📹 Part 2: Controlling Your Car Lights - Arduino in your Car Series, pt2 -    • Controlling Car Lights with Arduino and a ...  
📹 Part 3: Can You Program an Arduino using AI - Arduino in your Car Series, pt2 -    • Can You Code an Arduino using Chat AI? | A...  
📹 Part 4: From Prototype to Production Ready - Arduino in Your Car Series, pt4 -    • Building a Prototype for Our Light Control...  

💡 Component List (Amazon Affiliate Links)
WROOM ESP32 Boards - https://amzn.to/3yzWC8U

🩵 Follow Valentine Autos Socials
Instagram:   / valentineautos  
Facebook:   / valentineautos  
TikTok:   / valentineautos  

00:00 Intro
01:50 Recap
04:10 Removing repeating functions
09:00 New state management
14:42 Color validation helpers
22:05 Memory read
27:15 Memory write
27:52 Color consistency
32:40 ESP32 Bluetooth Servers
37:58 Custom Characteristics
40:07 Callbacks
50:00 String splitting
01:03:52 String concatenation
01:09:23 Recap
01:14:40 Roundup