Is my ESP32 bricked again?

Posted on Sat 18 July 2020 in micropython • Tagged with IoT, micropython, python, esp32, minicom

I just returned to my IoT project. Pulled esp32 from box, connected with usb cable to raspberry pi, did minicom -D /dev/ttyUSB0 and .... nothing. No reaction to my input, help() doesn't work. No output.

Have I bricked another ESP32?

I thought so, then I started to play with options …


Continue reading

ESP32 for Pycopy (Pfalcon's Micropython)

Posted on Sat 29 June 2019 in micropython • Tagged with IoT, micropython, python

ESP32 for Pycopy (Pfalcon's Micropython) can be downloaded here.

More details


My new ESP32 is bricked?

Posted on Wed 17 April 2019 in micropython • Tagged with IoT, micropython, python, tipsNtricks

TL;DR: press 'boot' button when flashing ESP32. At least some of them.

I have connected newly bought ESP32 to usb cable and try to flash it with micropython image.

(micro) maho@dlaptop:~$ esptool.py --port=/dev/ttyUSB0 erase_flash
esptool.py v2.6
Serial port /dev/ttyUSB0
Connecting........_____....._____ …

Continue reading

Micropython fork wars

Posted on Fri 05 April 2019 in micropython • Tagged with IoT, micropython, python

UPDATE

Pycopy's ESP32 image can be downloaded here

If you ecounter following problem:

    TypeError: function takes 2 positional arguments but 3 were given

while trying to use uasyncio and micropython - then to save your time, learn a bit about current situation in project:

There is fork war between Micropython and …


Continue reading

Queryset repr trick

Posted on Thu 15 February 2018 in misc • Tagged with tipsNtricks, python

Sometimes, when I'm debugging something using pudb (probably it affects any interactive debugger), pudb is reflecting value of variables of QuerySet type, which makes unneccesary query to database. It makes debugging slow, and sometimes it breaks debugging context because of making changes in db.

To avoid that, add following code …


Continue reading