

- #Python mac address based server how to#
- #Python mac address based server install#
- #Python mac address based server serial#
Create and activate a new conda virtual environment and install esptool into the environment. bin firmware file is called something like esp8266-20171101-v1.9.3.bin. On a local computer (not the server), open the Anaconda Prompt or a terminal and cd into the directory with the.

It often comes up as (COM4) but it may be different on your computer.
#Python mac address based server serial#
CP210x refers to the chip that handles serial communication on the Feather Huzzah, not the ESP8266 chip itself. The USB to UART bridge is the Feather Huzzah ESP8266 microcontroller board. Look for something like Silicon Labs CP210x USB to UART Bridge (COM4) in the Ports (COM & LPT) menu. We'll need the serial port as one of the parameters when we upload the. Use Windows Device Manager to determine which serial port the Feather Huzzah board is connected to. Determine which serial port the Feather Huzzah is connected to I had trouble getting the Feather Huzzah to work, and it turned out the reason was my micro-USB cable was only a charging cable. Make sure that the micro-USB cable is a full USB data cable and not just a simple power cable. Use a micro-USB cable (the same kind of cable that charges many mobile phones) to connect the Feather Huzzah to the computer. For my Windows 10 laptop to see the Adafruit Feather Huzzah board, the CP210x USB to UART Bridge VCP driver needs to be downloaded from SiLabs and installed.Ĭonnect the Adafruit Feather Huzzah ESP8266 board to the laptop Install the SiLabs driver for the Adafruit Feather Huzzah ESP8266īefore we can connect the Adafruit Feather Huzzah to the computer, we need a specific driver installed. bin firmware file is the version of Micropython that runs on the Adafruit Feather Huzzah ESP8266. bin firmware file to a new micropython directory. Download the latest Micropython firmware.
#Python mac address based server how to#
In case the Feather Huzzah ESP8266 microcontroller doesn't have an up-to-date version of Micropython on it, below are instructions detailing how to upload the Micropython firmware to the board. If you are following along with this series, you might remember the ESP8266-based WiFi weather station hardware and software setup in the first post of the series. The schematic shows an ESP8266 microcontroller (an Adafruit Feather Huzzah ESP8266) connected to a temperature sensor ( MCP9808) with jumper wires. Below is a schematic of the ESP8266-based weather stations. Hardware Setupīefore we upload any new code to the ESP8266-based weather stations, let's review the hardware setup. py files enable the ESP8266-based WiFi weather stations to measure the temperature, then post the temperature to our flask IoT server. py files to the ESP8266-based WiFi weather stations. In this post, we are going to create a couple new. The posted temperature is pulled from the sqlite3 database.

Each time we browse to the main page of the flask IoT server site, we see the most recent temperature posted. Each time our flask IoT server web API is hit with a valid URL, the data contained in the URL is saved as a record in a sqlite3 database on the server. In the last post, we added a database to our flask IoT server. Determine which serial port the Feather Huzzah is connected to.Connect the Adafruit Feather Huzzah ESP8266 board to the laptop.Install the SiLabs driver for the Adafruit Feather Huzzah ESP8266.Download the latest Micropython firmware.
