• 12
      Apr - 2019

      MicroPython, Product Reviews | 5 min | 1402

      #MAiX Dock & MicroPython: Hands-On with low power AI at the edge

      MicroPython, Product Reviews | 5 min | 1402


      edge device
      low port ai
      low power ai
      maix dock
      micropython
      object classifier
      sipeed

      This week, I received from Seeed Studio a MAiX Dock to review it. The main board of the kit includes a Sipeed M1w which is a compact module like the ESP32 but based on the Kendryte K210 dual core RISC-V processor. It is designed for low power artificial intelligence workloads, such as face detection, object recognition, or audio processing. There are two type of modules: the Sipeed M1 and M1w, the last one includes WIFI connectivity.

      The main features of the MAiX Dock boards are:

      1. Display I/F – An FPC24P socket for 8-bit MCU LCD
      2. Camera I/F- An FPC24P socket for DVP camera
      3. Storage – micro SD s...
    • 20
      Mar - 2019

      MicroPython, Product Reviews | 3 min | 1150

      #Review: Meet the M5Stack FIRE

      MicroPython, Product Reviews | 3 min | 1150


      esp32
      m5stack
      m5stack fire
      micropython
      prototyping
      psram
      review

      This month, I received the M5Stack FIRE development kit with a PLC base kit from Banggood to review (see Fig. 1). After using it, I can affirm that the M5Stack takes an alternative approach to ESP32 prototyping, because the resulting projects are almost simultaneously finished products. This is possible because the board is housed in a stylish and robust hosing with graphics display, buttons, microSD card slot, USB-C port and speakers. I tested the M5Stack FIRE development kit, and the board includes also a MPU6050, MAG63110 (MPU9250 on the new versions), BSE3729 and a PSRAM to extend the ESP3...

    • 05
      Feb - 2019

      MicroPython | 2 min | 579

      #MicroPython: Home Automation using Blynk connected to a WiPy 3.0 / 2.0

      MicroPython | 2 min | 579


      android
      blynk
      esp32
      home assistant
      home automation
      ios
      micropython
      mqtt
      wipy 3.0

      This time a quick tutorial to control your WiPy 3.0 / 2.0 or an ESP32 using Blynk.

      Blynk is the most popular mobile app for the IOT. Works with anything: ESP8266, Arduino, Raspberry Pi, SparkFun and others.

      I found a library to connect MicroPython to Blynk but it is only compatible with the WiPy 1.0. Thus, I modified it and made it compatible with the WiPy 3.0 / 2.0 and with the ESP32 running MicroPython. If you do not have any idea about MicroPython, I recommend you to read this tutorial.

      This is what I will try to accomplish in this tutorial:

      1. Install MicroPython (if you are using an ESP3...
    • 19
      Jan - 2019

      MicroPython | 6 min | 871

      #MicroPython: Programming an ESP using Jupyter Notebook

      MicroPython | 6 min | 871


      access to data
      analytics
      esp32
      jupyter
      jupyter kernel
      sensors
      visual studio code

      I was looking at my last articles about MicroPython and my new articles about Jupyter and Docker, and I thought if it is possible to make a mix between Jupyter and the ESP boards. I use usually Visual Studio Code to program the ESP but for analytics I use Jupyter. I looked if it was possible to connect the Jupyter kernel to the ESP using the serial port and: Yes!, it is possible. This can be a great tool to teach kids to access data from connected sensors and analyze it using a browser with Jupyter.

      This is what I will try to accomplish in this tutorial:

      1. Install MicroPython
      2. Install the Jupyte...
    • 31
      Dec - 2018

      MicroPython | 1 min | 223

      Happy New Year!

      MicroPython | 1 min | 223


      esp32
      happy new year
      lora
      micropython
      wipy
      xmas
      xmas lights

      Out with the old, in with the new! Happy 2019!

      It's been a two years now since I started this blog. It's a hard job to maintain it up-to-date but I still have fun writing and coding for this purpose! I hope the next year will be better than this one! :)

      This post includes a new video for happy new year! The video combines some of the MicroPython code, that I've published this year. I'll be uploading the repo to GitHub in the next days. But, in the meantime enjoy the video, and check the MicroPython projects here!

    • 27
      Dec - 2018

      MicroPython | 2 min | 2173

      #MicroPython: Visual Studio Code as IDE

      MicroPython | 2 min | 2173


      atom
      esp32
      micropython
      pymakr
      visual studio code
      wemos
      wipy 3.0

      Quoting the official MicroPython's website:

      MicroPython is a lean and efficient implementation of the Python 3 programming language that includes a small subset of the Python standard library and is optimised to run on microcontrollers and in constrained environments.

      Besides C++ and C, I use MicroPython to program microcontrollers, especially the ESP32/ESP8266 types. These two microcontrollers are compatible with MicroPython and it is easy to integrate sensors and actors programming using this language. I wrote a tutorial about installing MicroPython on the ESPs, as well a lot of articles a...

    • 24
      Dec - 2018

      MicroPython | 1 min | 164

      Merry XMAS and Happy 2019!

      MicroPython | 1 min | 164


      esp32
      happy new year
      jupyter
      lights
      merry Christmas
      micropython
      video
      xmas

      LeMaRiva|tech wishes you a Merry Christmas and a Happy New Year! To celebrate I made a video using the Xmas-lights from last year, but this time I connected the ESP32 to a Jupyter kernel to control the lights. A new Jupyter-ESP32 tutorial is coming soon. In the meantime, you can track Santa and spend time with your family!

      Python Code: https://github.com/lemariva/Xmas-lights

    • 27
      Oct - 2018

      MicroPython | 2 min | 444

      #Zerynth: ESP32 & Google IoT Core - Part 2: Getting data from Smart Power Outlets

      MicroPython | 2 min | 444


      esp32
      google cloud platform
      micropython
      python
      smart power outlets
      zerynth

      This part 2 of the tutorial will allow you to get data from the smart power outlets and send it to the Google Cloud Platform (GCP) throught the Google IoT Core and using an ESP32 programmed with Zerynth (Python). This data is not usually available to the user (directly, you need to use the power outlet application), and it is sent to the company servers.

      If you want to check, if your power outlets are compatible for this tutorial, they should have the port 6668 opened. To check that:

      >>> nmap <<ip-address>> -p 6668
      [...]
      Host is up (0.13s latency).
      
      PORT     STATE SERVICE
      6668/tcp open  irc
      
      ...
    • 23
      Oct - 2018

      MicroPython | 5 min | 1767

      #MicroPython: Controlling Smart Power Outlets using an ESP32

      MicroPython | 5 min | 1767


      esp32
      home automation
      micropython
      smart power outlets
      tutorial

      Today there is a wide range of offer for home automation devices. A lot of sensors, actors etc. can be connected to the cloud and be controlled using Google Home, Amazon Alexa, your smartphone, etc. There are a lot of companies offering low cost devices, e.g. Sonoff, Tuya, Teckin etc. Most of these solutions are based on ESP32 or ESP8266, and all of them send data to cloud solutions usually deployed on Amazon services, and the data is only accessible using the Android/iOS applications. They can be also controlled using voice commands over Google Home or Amazon Alexa devices.

      Nice, but... my a...

    • 07
      Oct - 2018

      MicroPython | 3 min | 4287

      #MicroPython: ESP32 sending data using LoRa

      MicroPython | 3 min | 4287


      esp32
      lora
      lorawan
      micropython
      wireless communication

      LoRa (Long Range) is a patented digital wireless data communication technology. It was developed by Cycleo of Grenoble in France and then acquired by Semtech in 2012. Semtech defines the Lora Technology "as the DNA of IoT, which connects sensors to the Cloud and enables real-time communication of data and analytics that can be utilized to enhance efficiency and productivity".

      To sum up, LoRa is a wireless data communication technology that enables very-long-range transmissions (more than 10 km in rural areas) with low power consumption. It uses license-free sub-gigahertz radio frequency bands ...