@reboot My setup will be as follows: I will have a CAN bus connecting all the things together.
On the bus will be four things:
- the ESP32, which will solely serve as a Bluetooth gateway and data aggregator
- the first Arduino Pro Micro which forms the upper body controller, which handles headlights, brake lever positions, blinker switch, throttle, blinkers and a speed display
- the second Arduino Pro Micro, which serves as the lower body controller, and handles all the relays for the various voltage converters, the rear blinkers, rear and brake light, as well as the ESC and the battery lock.
- the battery, which will have to be enabled via CAN and have its battery state read out.
Hey, so I've been away from the internet for a bit (or a few months, many apologies), but, I have a thing to show you!
Introducing: OpenScooter; a mod and companion app for, er, *legally* reclaimed E-Scooters. I'm currently handling the app and (hopefully) the firmware for the ESP32 handling BLE (and maybe a few other things). App is written using React-Native (and `expo prebuild`, because custom libs and PanicKit support on android via a new lib) and ESP32 fimware will use the Arduino framework? build-system? something-or-other.
At the moment, nothing is ready for any sort of riding as we, or way more accurately, @bugfish03 has made awesome progress on reversing the B.M.S. for the guinea pig, but it's not done yet due to "rome wasn't built in a day" (a.k.a. production STM32's fighting debug efforts and a mild fluke involving decomp for the wrong ARM core, *sigh*).
Anyways, you should be able to see some not-so-great screenshots provided by a certain *tempermental* AVD of the OpenScooter companion app (the home screen is next on the list of stuff to work on I just don't feel like spining the AVD up right now); oh and some of my, also probably not-so-great, translation work (blame GTranslate, and i18next for not working and forcing me to write my own translation lib).
I just found what is perhaps the cutest picture in the open internet
From Dorlotons Degooglisons by David Revoy
https://commons.wikimedia.org/wiki/File:2023-05-20_Dorlotons-Degooglisons_by-David-Revoy.jpg
they/them
Computer science nerd. Furry. I like software engineering. I know Java, Lua, Python, and enough of C/C++ to hate them. I am currently learning Rust, and I am loving every minute of it so far.