Zorba wants to know if you can add Bluetooth compatibility and develop an app for that.
@jscherb time to grab an esp32 or uno r4 wifi.
Zorba wants to know if you can add Bluetooth compatibility and develop an app for that.
Embedded systems engineer, specializing in the CAN bus. I eat, sleep and breathe microcontrollers, Where hardware and software come together has always interested me. Andy
There are many "learning programming/electronics with the Arduino" books available but some experience with coding and electronics really helps. I wouldn't have been able to make this project work without my prior coding experience and my prior electronics design experience - when it comes to interfacing to real world devices there are often challenges that are beyond what you'll find in the beginner books.
But it doesn't cost much to get started - you can pick up Ardiuno microprocessor starter books for a few bucks at places like Thriftbooks (https://www.thriftbooks.com/browse/?b.search=arduino) and there are hardware starter kits for $25-40 which will provide all you need for a range of starter projects (https://www.microcenter.com/product...arter-v2-kit-for-arduino-uno-16mhz-clock-rate). Once you've gotten some experience with the basics, you could explore things like an ELM327 Bluetooth OBD2 Adapter (to interface to the OBDII port) and experiment with that. There are lots of code examples on line. Once you got that figured, you could get a MicroSD card interface, connect it to the microprocessor and do the logging you want. It goes on from there, you can start simple and add devices and capabilities as you gain experience.
I work in tech (currently in data streaming) and my b.s. is in physics so I probably have close to the right background. The closest I get to hardware is in receiving data from an IoT system...or more accurately talking to you about how you should buy our software to assist you in your IoT journey, at which point I hand off to post-sales. LOL
I guess I probably just need to buy a starter kit and start working through the lessons. I don't really know C, but I know python. I haven't even googled to see if that will work but I can't imagine it won't.
I get it, build a setup to target a lower price point, which is needed considering the cost of other well established companies like RideTech.
Zorba wants to know if you can add Bluetooth compatibility and develop an app for that.
I usually apply a bit of hysteresis, just like a household thermostat. There's a target/setpoint, and then differentials above or below the setpoint. I might have a valve open if the pressure falls below 30, but don't close it until the pressure rises above something like 32, so once it crosses the threshold it latches in and wobble doesn't matter, as long as the amplitude of the wobble isn't as big as my differential. I also can apply filters to the measurement so it settles smoothly into the new reading.
I was reading the original post thinking maybe it was going in the direction of realtime, independent control of each corner to maintain a level height over terrain, using some accelerometers to read roll and pitch.
Not sure it would pay off with any increased capability but it would be fun to watch and listen to air bags being filled and emptied as a TJ floated perfectly level over some boulders or ruts.
When you have the sides plumbed together when one side goes down wouldn't it just transfer air to the other side and not provide the same resistance if they were separate?I put together a test fixture so I could experiment with the air bag hardware at my workbench. It's got only one air bag because that's enough to test the system for now and it simulates what's in my Jeeps because in all 3 Jeeps both rear air bags are plumbed together.
I was near a Micro Center the other day so I stopped in to pick up some additional components for further microprocessor experiments, but their stock was so disorganized I didn't buy anything. Afterwards I placed an order with one of my favorite electronics places and among the things I ordered was a 3-axis Gravity/Acceleration Sensor.
View attachment 442295
It's a less than $3 part and it can tell the microprocessor about its angular orientation in three dimensions, and it can also report on how fast the orientation is changing. There are several interesting things I could do with this.
1. With different air bags (see below for more about types of air bags), it could be used to automatically level the Jeep. I should say "automatically level the Jeep to some degree" because sometimes we get our Jeeps in crazy orientations on the trail that no air bags expand far enough to compensate for, but within the limits of airbag travel the Jeep could be leveled. And by also reading the acceleration of the change, the microprocessor could determine how fast the Jeep was changing attitude and perhaps could adjust the speed of leveling accordingly.
2. As a first test, I'll prototype a simple inclinometer, which with an appropriate display, could show you the current angles of the Jeep and perhaps let you know when you're too far off-camber for your particular Jeep to remain stable. How about a warning light or sound when you get close to the off-camber angle you've set as a danger level?
I also ordered a MicroSD card R/W module (a $1.95 component), so as a second phase of the inclinometer prototype maybe I'll log the angles and vertical acceleration of the Jeep on the trail so the data can be reviewed later if desired. It's way bigger than real life in this photo (as is the photo above):
View attachment 442296
I'll report on these further experiments and prototypes as I get time to write the code and test them.
I've also sent the compressor company information on a few product ideas based on the air pressure management code I've already written, if they express any interest in going further with the ideas I'll report on that too.
Ok this looks fun. Gotta find out how to do this with Python.
