Share My Creation MQTT ,ESP8266 and Internet of Things

Discussion in 'Share Your Creations' started by alexhi, Jun 6, 2015.

  1. alexhi

    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.
    [​IMG]


    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:
    [​IMG]
     

    Attached Files:

    Last edited: Jun 8, 2015
  2. freedom2000

    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
     
  3. alexhi

    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 likes this.
  4. freedom2000

    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 ?
     
  5. alexhi

    alexhi Member Licensed User

  6. freedom2000

    freedom2000 Well-Known Member Licensed User

  7. freedom2000

    freedom2000 Well-Known Member Licensed User

    Oups...I don't have powershell for windows install...
     
  8. Beja

    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.
    [​IMG]

    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?
     
  9. freedom2000

    freedom2000 Well-Known Member Licensed User

  10. alexhi

    alexhi Member Licensed User

  11. Toley

    Toley Active Member Licensed User

  12. freedom2000

    freedom2000 Well-Known Member Licensed User

    This is the one that I use. And, you are right it's simple and effeicient (but no OTA for the moment)
     
  13. Danbicky

    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
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice