SA-MP Forums Archive
Arduino Speedometer - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Other (https://sampforum.blast.hk/forumdisplay.php?fid=7)
+--- Forum: Everything and Nothing (https://sampforum.blast.hk/forumdisplay.php?fid=23)
+--- Thread: Arduino Speedometer (/showthread.php?tid=262253)



Arduino Speedometer - mascii - 17.06.2011

check out my arduino speedometer! i thought i'd share it

look at the bottom left!

[ame]http://www.youtube.com/watch?v=uXo6vIQNZg0[/ame]

this is how it works:
1. a filterscript saves the speed (in km/h) to a text file
2. a batch file is repeatedly run to send the text file through a serial port to my arduino
3. my arduino then displays it on its two seven segment displays!



future improvements: more digits!


Re: Arduino Speedometer - Miralem - 17.06.2011

I big WOW Nicely made...


Re: Arduino Speedometer - Michael@Belgium - 17.06.2011

say wooot xD Awesome work dude :d


Re: Arduino Speedometer - tjying95 - 17.06.2011

Pretty neat project there!
TBH, I have no idea of what shall I do with my arduino... :X


Re: Arduino Speedometer - Mike Garber - 17.06.2011

Accessing a file that many times per second (to make it smoother then it is) could lag the server.
If you know how to make this be sent to the serial port ( i don't) you could try using some tool to see what
memory part the speed (in SA) is stored in, and make an .exe send that to ur serial port instead.


Re: Arduino Speedometer - SkizzoTrick - 17.06.2011

First i thought you don't know how to use a GameRecorder so your recording your gameplay with a cellphone ,lol ).
A BIG NICE FROM ME !


Re: Arduino Speedometer - shadowdog - 17.06.2011

Quote:
Originally Posted by SkizzoTrick
Посмотреть сообщение
First i thought you don't know how to use a GameRecorder so your recording your gameplay with a cellphone ,lol ).
A BIG NICE FROM ME !
Same took me a while to notice the arduino

Although it's nicely done


Re: Arduino Speedometer - [L3th4l] - 17.06.2011

Very nice work. Now make me a virtual robot chick?


Re: Arduino Speedometer - mascii - 18.06.2011

thanks for all your feedback!
yeah im sorry about that poor video, i made a new one, check out the first post. hopefully it is more obvious now. i also managed to get the numeric value to increase and decrease by intervals of 1.

Quote:
Originally Posted by Mike Garber
Посмотреть сообщение
Accessing a file that many times per second (to make it smoother then it is) could lag the server.
If you know how to make this be sent to the serial port ( i don't) you could try using some tool to see what
memory part the speed (in SA) is stored in, and make an .exe send that to ur serial port instead.
sounds interesting. however (in the latest video) the speed is only being saved/updated twice per second! the arduino handles the +1 and -1 increments.

let me know what you guys think, and any cool ideas you have


Re: Arduino Speedometer - Mark_Weston - 18.06.2011

Very nice.
I have a suggestion for you.

If you own your own server, anyway.
If a player cheats, it displays the message on the screen with ip addres, player nickname, and how did he cheat?
So looks like this:

214.6.124.64 || Mark_Weston || Money Hacking

suggestion, only if you have a big server ;p