Skip to content

Latest commit

 

History

History
36 lines (29 loc) · 1.19 KB

install.md

File metadata and controls

36 lines (29 loc) · 1.19 KB

instalation script

Install dependencies and flash micropython

git clone https://github.com/o-murphy/infiray-lrf
cd infiray-lrf
pip install -r esp32/requirements.txt
esptool --chip esp32 --port /dev/ttyUSB0 erase_flash
esptool --chip esp32 --port /dev/ttyUSB0 --baud 460800 write_flash -z 0x1000 esp32-20190125-v1.10.bin

Load the project to the board

ampy --port /dev/ttyUSB0 --baud 115200 put src
ampy --port /dev/ttyUSB0 --baud 115200 put boot.py
ampy --port /dev/ttyUSB0 --baud 115200 put run.py
ampy --port /dev/ttyUSB0 --baud 115200 put main.py

Update controller firmware

  • Run controller with button0 pressed
  • With button0 select "WebREPL" option
  • Accept "WebREPL" option with button1
  • Connect your PC to Access point with requisites displayed on the OLED
  • Run in terminal: python -m esp_ota

Run an emulator

  • Run controller with button0 pressed
  • With button0 select "emulator" option
  • Accept "emulator" option with button1

Usefull links