Tilt Switch and Arduino - sending lighting signal

Thread Starter


Joined Dec 5, 2019

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


Joined Mar 19, 2019
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.