• 28
      Oct - 2017

      MicroPython | 5 min | 9056

      #Tutorial: Getting started with MicroPython

      MicroPython | 5 min | 9056


      atom.io
      esp32
      micropython
      tutorial
      visual studio code
      wemos
      wipy

      Another quick tutorial, this time for MicroPython on ESP32/ESP8266. You can find all the information that I'm writing in this post in different articles on the Internet but I've not found anything that summarizes all the topics. That is why I am writting this post. I included some links at the end of each topic to extend the info. Feel free to visit them if you want more info, or write a comment I will try to respond it.

      Python Code: https://github.com/lemariva/ESP32-MicroPython

      MicroPython & Board

      What's MicroPython?

      Quoting the official micropython page results in the following

      MicroP...

    • 15
      Jun - 2017

      MicroPython | 1 min | 1375

      #MicroPython: Vu meter using WS2812B and SPW2430

      MicroPython | 1 min | 1375


      esp32
      micropython
      SPW2430
      wipy
      ws2812b

      Hi everyone!

      As soon as I saw the WS2812B led strip, I thought: doing a vu-meter with these LEDs would be a nice thing!.

      I was looking for economical MEMS microphones with board (I didn't want to solder a board). I found two options: SPH0645LM4H and SPW2430.

      The SPH0645LM4H uses an I2S interface and the SPW2430 has an analog output. The second board (SPW2430) has two outputs: AC pin which has a capacitor in series to eliminate the DC output of the IC, and the output of the IC (DC pin).

      Preview

      Hardware

      I bought the MEMS mics from exp-tech, here some links (from adapfruit too):

      WIPY2.0WiPy 2.0 x...
    • 02
      Apr - 2017

      MicroPython | 1 min | 1405

      #MicroPython: Weather Report using NEO-M8N

      MicroPython | 1 min | 1405


      esp32
      gps
      micropython
      report
      st7735
      weather
      wipy

      Hi!

      I had two busy months, I've been writting my PhD-Thesis, and another publication and yeap... sorry! I forgot to update the blog!

      Python Code: https://goo.gl/v7NCkj

      Three weeks ago, I received a Ublox NEO-M8N GPS and I tested it with the code that I had. I said it should work, but as you know it always needs some modifications! The NEO-M8N supports GLONASS and GPS, so the $GP changes to $GN, e.g. $GPGGA (GPS) > $GNGGA (GPS+GLONASS).

      The following changes were added:

      # lines 604-606:
      if self.gps_segments[0][2:] in self.supported_sentences:
          # parse the Sentence Based on the message...
    • 29
      Jan - 2017

      MicroPython | 2 min | 1959

      #MicroPython: Weather Report Box

      MicroPython | 2 min | 1959


      esp32
      gps
      micropython
      st7735
      weather
      weather report
      wipy

      Hi again!... First of all:

      Happy Chinese New Year!!!

      I've just uploaded some code for the Wipy 2.0. I wanted to write some python code. That was why I took the Wipy 2.0 and programmed something like a weather report box. In this project the Wipy 2.0 reads the GPS coordinates via UART, then makes a web get request using the API of openweathermap, and after that the results are displayed on a LCD.

      If you like this, please leave a comment, share and/or like! It would be very much appreciated!

      Python Code: https://goo.gl/v7NCkj

      Things used in this project

      Hardware components

      Wipy 2.0Wipy 2.0 x 1
      NEO-6MUblox NEO-6...
    • 24
      Dec - 2016

      MicroPython | 1 min | 676

      #MicroPython: Christmas lights!

      MicroPython | 1 min | 676


      esp32
      leds
      merry christimas
      micropython
      wipy
      ws2812b

      I wish you a Merry Christmas!!! and to celebrate this evening I've just uploaded a new repository for the Wipy 2.0. Some Christmas lights using the WS2812B!

      Things used in this project

      Hardware components

      Wipy 2.0Wipy 2.0 x 1
      WS2812BWS2812B LED strip x 1

      Video


      Config

      boot.py: add your ssid, wlan password, and configure the ip address. You need this file if you want to connect the Wipy 2.0 to your router, otherwise you can avoid copying it and the Wipy remains as an wlan access point.

      main.py: you find some options here. The most important option is ledNumber. Set this value correctly.

      Options:

      • dimm...