Esp8266 blog. Learn how to compile, how to work with the wireless chip esp8266. ESP-01 ESP-03, ESP-07, ESP-12, ESP201 all are here
Showing posts with label android.. Show all posts
Showing posts with label android.. Show all posts
Monday, August 3, 2015
ESP8266 conclusions after 8 month
After 8 month of working with ESP8266 I think I made an impression on this tiny wireless chip.
- It is robust ( no crashes, disconnects etc)
- can be put in low power mode ( ~100 days on three AA with reading a value a every 10 minutes and publish it on a remote server)
- the chip producer, EspressIf, is very involved in adding more features and correcting small bugs ( documentation is still on ice age, but I hope that they will makeit more clear)
- can be interconnected with various sensors
- run in non demanding conditions ( I have one module that is running in 70% humidity and 50 to 60 Celsius )
Until now I have ESP8266 modules that are connected with temperature and humidity sensors and relays. Next devices: barometric pressure, scale, IR LED.
The modules are sending MQTT to my broker ( hosted on a PogoPlug and some time on Raspberry Pi) that is connected to my cloudMQTT.com (they run a great MQTTservice) account were I have another MQTT broker. ( they are bridged).
In this way, from my mobile application, I can control and see my modules anywhere in the word.
If I am not at home, my application connects to my cloud broker that is connecting to my home broker where are connected my devices. In this way I can monitor and send them commands.
If I am at home my application is connecting to my local broker ( to avoid high RTD - which are not so high, something like 500 ms).
In conclusion, ESP8266EX is doing a great job, you can invest money and time in it.
Happy coding !!!
Monday, April 20, 2015
First IoT device - Plug
Because was raining outside and I couldn't work in the backyard, I've made rapidly an IoT plug with ESP8266 .
Donor for the case was a timer plug that was in the house. After I've removed its content, I've added my stuff.
Inside the case I have:
Donor for the case was a timer plug that was in the house. After I've removed its content, I've added my stuff.
![]() |
| IoT plug |
- power supply (220V-3v3 1A)
- 5V relay ( is working fine on 3.3 V)
- ESP-01 covered in blue tape
And the final IoT plug:
![]() |
| IoT final plug |
The ESP-01 is accepting JSON over MQTT from my mosquitto broker.
To control the plug from my phone, I've created an android application that connects over
websockets to mosquitto broker and is sending commands.
Plug is sending status every 15 seconds to its subscribers and a status after every command its receiving.
Cool.....now I can turn on or off my lamp with my IoT device.
For Android application I've used for rapid development a template, but I am planning to build a totally new application that will discover the IoT devices and add them automatically to the control screen.
Subscribe to:
Posts (Atom)



