Hobby servo harness tensioners driven by Arduino and SimHub 7.3.14 Custom serial device
Based on your original code I made several extensions, uploaded HERE
1. Modified Arduino sketch to be uploaded directly to Arduino Nano clone
2. Modified SimHub Profile to use AccelerationSway;GlobalAccelerationG (tested in Dirt Rally 2, Forza Horizon series, WRC series, Asseto Corsa)
3. Added function to check if game is running to release servo tension when not in game
4. Extended project with 3D printed parts, designed by me, as follows:
4.1 Universal belt roller - can be mounted on any seat belt guides
4.2 Supercapacitor + control box - containing 3 supercaps in series + Ardiuno Nano + 16mm reset button
Just a quick question, you mentioned you've modified the custom serial to detect game not running to release the tension, but I can't see that in the file and I've built up the device, all working other than the tension remains when the game is quit (assetto corsa)... Is the github file the latest you have?
"3. Added function to check if game is running to release servo tension when not in game"
Maybe i'm missing something as I am not that savvy with the Simhub NCALC stuff.
This is a great little addition BTW!
@jager07 Sorry, did not see this on time 🙂
Most probably it is not the latest. Two weeks ago I also modified it to check if WRC10 is running (accelaration value is positive there, servos are running backwards). Used to have two profiles for different games, but now just embedded it in the same code. Will upload when I get home.