I already got my ArduinoBT communicating with my phone and the phone sends the GPS speed over to Arduino to control a dozen LEDs. I also control some relays to turn on my engine of my motorcycle. I was thinking about making an anti-hijack function, if my phone disconnects from the BT module then I want to switch off the engine. (I can ofcourse overwrite this with a key switch in case my phone runs out of battery or something)
- I saw some extensions of the libary serial, including the function list(). What is the best practice to get feature done? Using that extended libary, or send a command over to my arduino every 3 seconds to see if their connected? (like trains do?)
- I also made a PCB but totally forgot that PIN13 is used for the LED, is it harmful to use this PIN to control a relay? like if the LED dies, can I still use that PIN?