DIY project of WiFi device communicating with smartphone

  • Thread starter Thread starter yungman
  • Start date Start date
Click For Summary
SUMMARY

The discussion focuses on creating a DIY WiFi device using the ESP32 microcontroller to control home appliances via a smartphone, specifically a Samsung Android device. The user, with a background in RF/analog engineering and recent experience with Arduino, seeks to replace traditional IR remotes with a WiFi solution for controlling lights and other devices. The recommended approach involves setting up a simple HTTP server on the ESP32, allowing the Android smartphone to communicate with the device through a web browser. Key resources include the Adafruit ESP32 Feather board and a tutorial on building a web server with the Arduino IDE.

PREREQUISITES
  • Understanding of microcontroller programming, specifically with Arduino IDE.
  • Familiarity with the ESP32 microcontroller and its capabilities.
  • Basic knowledge of HTTP protocols and web server functionality.
  • Experience with Android app development or web-based applications.
NEXT STEPS
  • Research the Adafruit ESP32 Feather board and its specifications.
  • Learn how to set up an HTTP server on the ESP32 using Arduino IDE.
  • Explore Android web development to create a simple interface for controlling the ESP32.
  • Investigate additional libraries for enhancing ESP32 functionality, such as WiFiManager.
USEFUL FOR

This discussion is beneficial for hobbyists, DIY electronics enthusiasts, and developers interested in home automation projects using microcontrollers and mobile applications.

yungman
Messages
5,741
Reaction score
291
TL;DR
Some crazy thought about doing something interesting in my retirement.
Hi

I was more of a RF/analog engineer before. I did assembly programming in the early 80s. I learn C++ lately and got into playing a little with Elegoo kit using Arduino ATmega328.

I want to control stuffs in the house like dimming lights etc through the smart phone(not through calling, but just WiFi or bluetooth). All simple stuffs. I am thinking of playing with something like this at home, that instead using an IR remote to control dimming of lights etc. I want to use my smart phone(Samsung android) as remote control. The important thing is I can control without having to have line-of-sight like IR remote, that I can control stuffs upstairs in the house.

Any WiFi controller with MPU that I can program like Arduino and can communicate with Android smart phone that acts like a remote control?

Sorry if I said something funny, it's just an idea. I am playing with the Arduino UNO R3 with Elegoo kit, I gone through 10 little projects, it's not that challenging. So I am thinking about instead of spending more time on this, might as well start on something more interesting if I can do it.

Just want to hear a little more. This is the first day I think about this, excuse me of my ignorance.

Thanks
 
Last edited:
Computer science news on Phys.org
yungman said:
Any WiFi controller with MPU that I can program like Arduino
The most popular consumer MPU with WiFi currently is the ESP32 and there are a number of development boards available with this being my favourite example: https://www.adafruit.com/product/5364.

yungman said:
and can communicate with Android smart phone that acts like a remote control?
The difficulty here is in creating an Android app that can access the WiFi controller.

Because of this the easiest solution to implement is to create a simple http server on the ESP32 which you can navigate to from the Android's web browser. Here is an example project: https://randomnerdtutorials.com/esp32-web-server-arduino-ide/
 
pbuk said:
The most popular consumer MPU with WiFi currently is the ESP32 and there are a number of development boards available with this being my favourite example: https://www.adafruit.com/product/5364.
Oops, linked the wrong board in translating from my UK supplier to the US: I meant this one: https://www.adafruit.com/product/5477

(I prefer the Feather boards because of their built-in power management).
 

Similar threads

  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 6 ·
Replies
6
Views
4K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 13 ·
Replies
13
Views
4K