View Single Post
Old 20-08-08, 07:27 PM   #35
skumlerud
Guest
 
Posts: n/a
Default Re: Electrical mods - ideas wanted

Quote:
Originally Posted by carsounds_dan View Post
you could make an alarm into it also? 12v waterproof sirens are cheap, all you'd need is a tilt sensor, which basically require 12v input, ground and then the last wire connets to earth when tilted. you could then use things like the ignition on input as a signal etc..
That would be pretty easy, as long as there's enough available inputs on the microcontroller. It has 14 digital inputs/outputs and 6 analog inputs, and so far I'm using 19 pins. So there's one left, which I guess isn't enough for an alarm. I'm investigating another way of interfacing with the LCD which might free up two pins though.

An alarm would make an interesting stand-alone project though. It's possible to monitor tilt angle, G-forces, battery voltage, sound, movement and even if someone just touch your bike. I know very little about alarms though, and you might even be able to purchase such an alarm for little money. Building it using a Freeduino and some sensors would probably cost about £40-50.
  Reply With Quote