Share My Creation MQTT ,ESP8266 and Internet of Things

alexhi

Member
Licensed User
Hi,All!
I wrote a small application on the basis of the library
http://www.b4x.com/android/forum/threads/jg-mqtt-library.51842/#post-325524
It is made in the ESP8266 chip.



The application can:
-Transfer temperature DS18b20 chip -40 + 120C
-On/Off relay 220V/5A
-Read Sensor Alarm
-Send and Read Message and Command of topic MQTT
-Timer work relay
-broker MQTT iot.eclipse.org

I can receive data and control the relay via the Internet on my smartphone 2G/3G,WIFI.
(no real IP)
This hardware:
 

Attachments

Last edited:

freedom2000

Well-Known Member
Licensed User
Hi Alexhi,

Glad to see that my Mqtt lib is useful :)

Thanks to your help I have discovered ESP8266 stuff ...and I like it !

After testing (successfully) nodeMCU with lua, I have now jumped to th excellent Arduino firmware.

JP
 

alexhi

Member
Licensed User
Hi,JP !
I also tried Arduino firmware for ESP, but it's much better. IMHO :)
https://github.com/anakod/Sming
  • Fast & user friendly development
  • Work with GPIO in Arduino style
  • High effective in perfomance and memory usage (this is native firmware!)
  • Compatible with standard Arduino libraries - use any popular hardware in few lines of code
  • OTA (cloud) firmware updating !!!!!!!!!!!!!!!!!
  • Build-in file system: spiffs !!!!!!!!!!!!!!!!!!!!!
  • Build-in powerfull network and wireless modules
  • Build-in great JSON library: ArduinoJson !!!!!!!!!!!!!!!!!!
  • MQTT protocol based on libemqtt
  • Open source LWIP stack
  • Simple and powerfull hardware API wrappers
  • Based on Espressif SDK v1.0.1b1

Now I use this modul ESP-12E
http://ru.aliexpress.com/item/1-pcs...al-Transceiver-Module-REMOTE/32336161197.html

Alex Shipov
 

freedom2000

Well-Known Member
Licensed User
yes for the module I have the same :)

OTA --> impressive (i will try it)

Do you have HSpi example working with Sming ?
 

Beja

Expert
Licensed User
@alex,

Thanks for sharing this information and I have a couple of questions:

1- Is there any English documentation for the module below? all hits from Google returned information in Russian language.


2- Is the small communication module with embedded antenna, is it a Bluetooth module or WiFi chip?

Thanks again

Edit:
How can I buy it?
 

Danbicky

Member
Licensed User
Hi Alexhi,

Love this project, I have been playing with ESP for quite a long time, just getting myself back in to B4a, any chance of a copy of the
B4A project code. Will allow me to learn and create my own MQTT application.

Brilliant work, well done buddy. PS: What version of B4A did you use?

Regards

Dans
 
Top