Since I can't write a line of software I wonder if there is some kind of inclinometer ready to be run in windows or a front end?
I have a 4x4 that I use a bit ofroad and it would be great if I had a full screen app that look something like this:
It has to be more then just me that actually use my 4x4 for what it's made for??
..so if any one could point me in the right direction, both on sw and hw it would be GREAT!
96' SLK 230 Kompressor
HR sprigs -> Done
19' wheels -> Done
Projector headlights -> Done
Carpc -> 85%
You probably not going to get out of this cheaply if you purchase a commercial sensor. One way to consider is to use an inverted joystick as a pendulum and attach a Digital to Analog converter to each axis. I would use an Arduino controller (see http://www.arduino.cc ) with some code embedded on it to do the analog conversion uising its built in analog conversion and send the readings back to the PC via a serial port.
You could also interface this chip http://www.vti.fi/en/products/inclinometers/
to the Arduino which would give you the readings. Either way, you are going to have to learn how to cut some code...
BTW, Inclinometers are a bit of a waste in my opinion. Eithe you are on 4 wheels or you aren't off road!
You might be interested in this soution which is pretty easy and elegant:
Build the hardware and attach it to the Arduino, use the Arduino program (sketch) on the link above and have the Arduino send the angles back over the USB serial port (which will also power the Arduino). Then you need a small application on the PC that monitors the serial port, reads the angles as they arrive and redraws the cars on the correct angle based on the data received. Who knows, I might even try this myself eventually but I still got a lot to do with the Arduino to get it in my car, Nearly finished the hardware I want to include.
I have not done anything about rotating images in code, but the quick and dirty way woulld be to create a number of images (say in 2 degree increments) and display the right one based on the angle received.
Should have looked for image rotation code. Here it is:
You's still have to do the same amount of coding for this hardware sensor for $350 or you could spend $15 for an Accelerometer (different brand to the one in my previous post, but you get the picture)
And $30 for the Arduino and a handful of electronic components
All up cost les than $50
A phidgets accelerometer will do the job. It's fairly inexpensive and there is a simple example VB program that is easy to understand and shows tilt.
Just a bump since I'm looking for the same deal. I off-road with my Xterra and I don't want to mount a cheezy mechanical clinometer, especially since I have a 7" LCD where most would mount theirs
I see that this thread has been dead for a few years now.
I am still working on just such a project if anyone is interested. I am using a basic 3 axis accelerometer/gyro board with an arduino to send data to my car pc. That for me at least is the easy part. I've always been more into hardware than software. I have been trying to write a program in VB which can be used stand alone or embedded in Centrafuse. Once I have a good working prototype, I intend to sell the hardware and software as an easily install-able package. I can rather easily write a program that simply displays the angle data but I want to create a graphical display similar to what is shown on typical mechanical clinometers. I have all of the graphics done but I'm still having issues writing the software.
Originally Posted by XSiveJeff
Ya, I know the feeling, myself I'm a hardware guy with limited programming skills. Sad there's so many apps out there for smartphones but nothing out there for PC. I haven't been seriously looking into this since the CarPC's been down (LCD digitizer is no good and the motherboard is dead) and I haven't had the money to replace it. Obviously I'm subscribed to the thread, so post it up as you've got progress.