Tuesday, June 29, 2021

try Adafruit Feather Huzzah32 on Arduino IDE, mx-linux

A feather (optional with wing) is like an arduino (optional with shield) but toward a different direction - a feather is like an abstracted hardware layer, not big problem with the underneath physical chipsets, that codes can theoretically run fine even if in a project, swapping a feather with another one, for power or feature upgrade.

Choosing Huzzah32 for its supporting to MQTT server, Arduino IO.

The chipset ESP32 is the "big sister" of the popular ESP8266 with WIFI built-in, in addition, bluetooth too.

The official guide said ESP32 is better with Arduino IDE, although the installation configs is slightly different from likely due to the changes in the latest version of tools, as below:

0. if not yet, linux needs pyserial module for serial port communication.

    a. if not yet have pip, 

            $ sudo apt install python-pip

    b. get the serial module

            $ pip install pyserial

1. The guide recommends IDE 1.6.  Some other lines said recent version stock IDE releases support loading thiry-party board definitions.   I use 1.8.15 on site from arduino.cc.

2. to add Huzzah32 board definition, menu  File > Preference

        add Espressif URL, not from Adafruit

3. (after connecting usb to the board and select port ttyusb0)  

    select board - menu tools > board manager...

    select "contributed" category, search for "esp32" from Expressif, install.


    

Labels: , , , ,