Control arduino lights wifi

Peter B's picture

Offline

Joined: Dec 04, 2019

Replies: 1
Control arduino lights wifi
December 4, 2019 - 8:27pm

Good day everyone!
I've built a quite multi layer ceiling light, which uses led strips relays and so on, but I have one huge problem with it. I would like to switch it on from a capacitive wall switch. The problem with it, is that this switch should not be wired to the ceiling lights, but work through wifi. An android app for the ceiling light is on the way, to control every single detail of the lamp, but a simple control has to be on the wall. My idea is to use capacitive screen to control the three functions of the lamp, which means 3 on/off with a brightness and a colour slide. Now this is where I lost my mind. Could somebody please point me to the right direction? This is a diy project, so on budget.

To conclude, I need an interface without moving parts, communicating with arduino mega through wifi router, and has slides and buttons. The buttons is not much of a problem, but the communication and the slides are.

Thank you very much!

Peter

Peter B's picture

Offline

Joined: Dec 04, 2019

Replies: 1
Nintendo ds
December 4, 2019 - 10:05pm

One possible solution I've found is the nintendo ds digitizer. Is that possible to take what this digitizer gives to a wemos board, (with some touch sensor for the on/off feature) then send it to the arduino mega, which controlls the lights? I do not need a screen, the finutuning will be done via a android app.

Bradyen's picture

Offline

Joined: Aug 14, 2018

Replies: 44
Use ESP8266 Node MCU board with Capacitive touch modules
December 5, 2019 - 11:20am

I believe your Arduino already has some kind of wifi module and is connected to your router. Now for your wireless switch, you can use something like Nodemcu, it can be programmed in the same way as Arduino using the Arduino IDE. Just connect the capacitive touch buttons (available as modules) sliders and other buttons to the GPIO pin of NodeMCU and program it to work with your router 

Debasis Parida's picture

Offline

Joined: Aug 22, 2019

Replies: 124
Use capacitive switch modules with ESP8266 nodeMCU
December 9, 2019 - 12:52am

I think a better solution for your problem is to use a capacitive touch sensor module, which is also available with slide switches and touch/toggle switches.Interface this module with ESP8266 and Connect it with your network and program accordingly so that, you can able to control the Lights through Wifi using capacitive wall switch and android application as well.Hope it helps!!!

Muhammad Umar's picture

Offline

Joined: Apr 09, 2020

Replies: 55
Wireless Controlled Appliances with Sensors
April 29, 2020 - 8:56pm

There is suitable solution you can use is to first setup communication between Arduino mega and the NodeMCU or any other esp8266 Wi-Fi module. After that interface the capacitive touch sensors, slide switches and on/off switches with Arduino mega and setup conditions for capacitive touch sensors, slide switches and on/off switches, and send conditions defined operations strings to ESP Wi-Fi module with which the actuators/relay modules connected. This way you can control the lights using hardware switches. And on the other side, for wireless control of lights, use your own created mobile app; place its API key in the firmware of ESP Wi-Fi module side. In short, the Arduino mega is for hardware switches and ESP Wi-Fi module is for wireless switching purposes. Here I suggest you to contact the support team of SSLA; they are working on various internet of things based professional projects. You can get more assistance from SSLA.