Tilt Switch and Arduino - sending lighting signal

Thread Starter

sd12105

Joined Dec 5, 2019
3
Hi AAC,

Working on a light that will utilize a tilt switch to light/turn off LEDs. This will be my first time programming electronics to communicate with a phone/computer/other devise, so wanted to solicit some friendly opinions and ideas. I am planning on using an Arduino in this project as I think it meets my needs best. Basically, I want to turn on the LEDs by using the tilt switch, and to send a signal to a phone or computer then that switch is turned on or off. Do I have the right understanding that I can use code to communicate that the light is turned on or off?

Thanks in advance
 

SamR

Joined Mar 19, 2019
5,052
The same output signal to turn the LEDs on can be output to another digital out by the programming of the Arduino. Yes it is very easy to program it. Using the tilt/ON-OFF switch to a digital input to be used in the program as you wish.
 
Top