Hi Arduinoers.
I am a novice Arduino enthusiast. I find that if you know what to ask for in a search, you can usually find some pretty good code as a basis to get me going.
My project. bladder of air will inflate and deflate based on a pressure sensor on the outside of the bladder which presses against a weight. This iwll happen from an air compressor attached to a solenoid valve so that it will maintain a small amount of pressure no matter what the position of the weight.
secondly, when a giro tilts to one side, it will increase the pressure of the bladder by allowing more air in, so the sensor would effectively have a higher threshold before it either shuts of the air in, and/or deflates the bladder. This will give the impression of higher pressure and when the giro is back to flat, it would go back to the original sensor setting... and everywhere in between.
Even some sort of guidance on the code would be great guys. I am really stuck.
Thanks.