Share My Creation MQTT ,ESP8266 and Internet of Things

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



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:
mp3500.png
 

Attachments

  • mqtt.png
    mqtt.png
    62.7 KB · Views: 6,686
  • mqtt_2rele.apk
    367.8 KB · Views: 789
Last edited:

freedom2000

Well-Known Member
Licensed User
Longtime 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
Longtime 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
Longtime 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
Longtime 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.
mp3500.png


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
Longtime 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