Difference: TheNopIoTNode (5 vs. 6)

Revision 62019-03-02 - UliRaich

Line: 1 to 1
 
META TOPICPARENT name="AFNOGWorkshop2019"

The IoT Node and its Processor

Line: 45 to 45
  flashProgramming.png
Changed:
<
<
I had to take the programmer out of the USB socket to reset the ESP01 after erase.
>
>
I had to take the programmer out in order to reset the ESP01 after each command I sent with esptool. This was true for erasing but also when getting the chip id with
esptool chip_id or reading the MAC address with esptool read_mac.
 
Changed:
<
<
Once the flash re-programmed I can now happily use the newly installed Python interpreter:
>
>
When flashing micro Python first insert the jumper at the back of programmer and insert the programmer into the PC'S USB slot with the ESP01 connected. Erase the flash as seen in the screen dump above. Take the programmer out of the USB socket, wait a few seconds and then pug it in again. Flash the micro Python code as shown above. Take the programmer out again and remove the jumper. Plug the programmer wit the ESP01 as piggy back in again.

Start minicom or another serial terminal emulator and press return. You should the the Python prompt and you can now happily use the newly installed Python interpreter:

  eps01python.png
Added:
>
>
To make things even simpler I wrote a Python script that automates the procedure.

https://iotworkshop.africa/pub/AFNOG/TheNopIoTNode/flashMicroPython

This should work for any of the ESP8266 or EPS32 boards (except the ESP01)

espNodeMCU.png esp8266Uno.png
esp32devkit.png esp32uno.png
Just type ./flashMicroPython and watch the magic!
 Accessing micro Python on the IoT node

-- Uli Raich - 2019-02-12

Line: 67 to 78
 
META FILEATTACHMENT attachment="eps01progmodif.png" attr="" comment="" date="1550068349" name="eps01progmodif.png" path="eps01progmodif.png" size="120517" user="UliRaich" version="1"
META FILEATTACHMENT attachment="firmware.bin" attr="" comment="" date="1551457939" name="firmware.bin" path="firmware.bin" size="1126768" user="UliRaich" version="1"
META FILEATTACHMENT attachment="flashProgramming.png" attr="" comment="" date="1551521456" name="flashProgramming.png" path="flashProgramming.png" size="146856" user="UliRaich" version="1"
Added:
>
>
META FILEATTACHMENT attachment="esp32devkit.png" attr="" comment="" date="1551547789" name="esp32devkit.png" path="esp32devkit.png" size="238970" user="UliRaich" version="1"
META FILEATTACHMENT attachment="esp32uno.png" attr="" comment="" date="1551547791" name="esp32uno.png" path="esp32uno.png" size="192660" user="UliRaich" version="1"
META FILEATTACHMENT attachment="esp8266Uno.png" attr="" comment="" date="1551547794" name="esp8266Uno.png" path="esp8266Uno.png" size="256464" user="UliRaich" version="1"
META FILEATTACHMENT attachment="espNodeMCU.png" attr="" comment="" date="1551547795" name="espNodeMCU.png" path="espNodeMCU.png" size="181723" user="UliRaich" version="1"
META FILEATTACHMENT attachment="flashMicroPython" attr="" comment="" date="1551547976" name="flashMicroPython" path="flashMicroPython" size="5680184" user="UliRaich" version="1"
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback