GithubHelp home page GithubHelp logo

esp32-s3's Introduction

Moody esp32-s3

Code and resources for esp32-s3 implementation of Moody

Wiring:

Neopixel din to IO42

Temp SCL to IO2 SDA to IO1

scheme

Flashing ESP:

All steps below with python3 environment (tested with python3.9)

Install esptool:

pip install esptool

(https://github.com/espressif/esptool)

Use micropython image in git or download newer: https://micropython.org/download/GENERIC_S3/

Install ampy:

pip install adafruit-ampy

(https://github.com/scientifichackers/ampy)

Connect esp

Script steps:

./flash.sh \<port\> \<moodyID\>

Manual steps:

Delete everything from flash mem:

esptool.py --chip esp32s3 --port /dev/cu.usbserial-016570EF erase_flash (replace /dev/cu.usbserial-016570EF by whatever port it's connected to)

Flash micropython:

esptool.py --chip esp32s3 --port /dev/cu.usbserial-016570EF write_flash -z 0 GENERIC_S3-20220618-v1.19.1.bin (replace /dev/cu.usbserial-016570EF by whatever port it's connected to and image path by wherever it is)

Copy files:

ampy --port /dev/cu.usbserial-016570EF --baud 115200 put mlx90615.py

ampy --port /dev/cu.usbserial-016570EF --baud 115200 put webrepl_cfg.py

ampy --port /dev/cu.usbserial-016570EF --baud 115200 put ble_advertising.py

ampy --port /dev/cu.usbserial-016570EF --baud 115200 put main.py

Connect to REPL:

screen /dev/cu.usbserial-016570EF 115200

You should see a promt now.

to run code type demo() (will be adapted to launch automatically)

TODO: ESP IDs & wifi connection (Done)

ESP behaviour

When booted EPS neopixel will turn green.

When a bluetooth connection is established neopixel will turn blue.

ESPs Only try to connect to wifi when booting they flash pink if successful. They connect to:

  • SSID: Moody-net
  • Pass: ExcitingResearch

esp32-s3's People

Contributors

nversbra avatar omiacoj avatar

Watchers

Pieter Steyaert avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.