ESP8266 controlled with Android app (MIT App Inventor)




In this project, you’re going to build an Android app using the MIT App Inventor software that allows you to control the ESP8266 GPIOs.

ESP8266 controlled with Android app (MIT App Inventor)




First, watch the video demonstration

To learn more about the ESP8266 use the following tutorials as a reference:

If you like the ESP and you want to do more projects you can download my eBook Home Automation using ESP8266 here.

Let’s get started!

Parts List

Here’s the hardware that you need to complete this project:

You can use the preceding links or go directly to MakerAdvisor.com/tools to find all the parts for your projects at the best price!

Flashing Your ESP with NodeMCU

In this tutorial we are going to use the NodeMCU firmware. You have to flash your ESP with NodeMCU firmare.

Downloading ESPlorer IDE

I recommend using the ESPlorer IDE which is a program created by 4refr0nt to send commands to your ESP8266.

Follow these instructions to download and install ESPlorer IDE:

  1. Click here to download ESPlorer
  2. Unzip that folder
  3. Go to the main folder
  4. Run “ESPlorer.jar” file
  5. Open the ESPlorer IDE

Schematics (3.3V FTDI Programmer)

The schematics for this project are very straight forward. You only need to establish a serial communication between your FTDI programmer and your ESP8266. You can buy one FTDI programmer on eBay.

Wiring:

  • RX -> TX
  • TX -> RX
  • CH_PD -> 3.3V
  • VCC -> 3.3V
  • GND -> GND
READ  ESP8266 – Wireless Weather Station with Data Logging to Excel

Uploading Code

You should see a window similar to the preceding Figure, follow these instructions to upload a Lua file:

  1. Connect your FTDI programmer to your computer
  2. Select your FTDI programmer port
  3. Press Open/Close
  4. Select NodeMCU+MicroPtyhon tab
  5. Create a new file called init.lua
  6. Press Save to ESP

Everything that you need to worry about or change is highlighted in red box.

Read more: ESP8266 controlled with Android app (MIT App Inventor)




This Post / Project can also be found using search terms:

  • search792
  • app inventor 8266
  • app inventor esp 32
  • app inventor esp32 wifi

Leave a Comment

*
= 4 + 1

(Spamcheck Enabled)

Read previous post:
Multiple mode Environmental Sensor Deck with MKR1000
Multiple mode Environmental Sensor Deck with MKR1000

Many fun environmental sensors need a hardware interrupt. With the MKR1000, you no longer need to choose! You get I2C,...

Close
Scroll to top