Skip to content

Source code of Lucía Rosselot's project: Evoluciones Sensibles. Pontificia Universidad Católica de Chile, Escuela de Diseño, 2020.

License

Notifications You must be signed in to change notification settings

RodrigoNazar/Evoluciones-Sensibles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Evoluciones-Sensibles

Source code of Lucía Rosselot's project: Evoluciones Sensibles.

Pontificia Universidad Católica de Chile, Escuela de Diseño, 2020.

drawing drawing

Core Resources

Useful Commands

  • esptool.py -p /dev/ttyUSB0 erase_flash

  • esptool.py --chip esp32 --port /dev/ttyUSB0 write_flash -z 0x1000 firmware/esp32-idf3-20200902-v1.13.bin

  • ampy --port /dev/ttyUSB0 ls

  • ampy --port /dev/ttyUSB0 get boot.py

  • cu -l /dev/ttyUSB0 -s 115200 ~.

Quick Routines

  • Quick board reflash:
esptool.py -p /dev/ttyUSB0 erase_flash
esptool.py --chip esp32 --port /dev/ttyUSB0 write_flash -z 0x1000 firmware/esp32-idf3-20200902-v1.13.bin
ampy --port /dev/ttyUSB0 ls

The final return of this routine should be

/boot.py
  • Quick project upload to board:
ampy --port /dev/ttyUSB0 mkdir grid
ampy --port /dev/ttyUSB0 put o_src/grid/Grid.txt grid/Grid.txt
ampy --port /dev/ttyUSB0 put o_src/lib
ampy --port /dev/ttyUSB0 put o_src/boot.py
ampy --port /dev/ttyUSB0 put o_src/main.py
ampy --port /dev/ttyUSB0 ls

The final return of this routine should be

/boot.py
/grid
/lib
/main.py

Important: This routine does not overwrite files of the lib directory that have been already uploaded.

To Do

  • Optimice and develop a lighter version of the code

Idealy work only with streams of states ands light transitions

Improvements:

  • Addition of args handling in set_state_element_by_num and set_state_element_by_pos methods in order to decrease the data_structures.py module length.

Maybe MicroPython does not handle args and kwargs

About

Source code of Lucía Rosselot's project: Evoluciones Sensibles. Pontificia Universidad Católica de Chile, Escuela de Diseño, 2020.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages