Skip to content

Latest commit

 

History

History
42 lines (30 loc) · 2 KB

README.md

File metadata and controls

42 lines (30 loc) · 2 KB

esp32_tyranitar

The ESP32-Tyranitar project is centered around the widely-used and budget-friendly microcontroller, ESP32, aiming to breathe life into one of Generation 2's iconic Pokémon, Tyranitar. Upon activation through a simple tap on the model, Tyranitar unleashes its distinctive cry sound, accompanied by a dynamic display of intense flickering lights, showcasing the characteristic of this pokemon based on it's description.

The code is written in micropython.

demo.mp4

Features

  • ESP32 microcontroller: Versatile microcontroller for small IOT project that's perfect for controlling various hardware modules with saving power consumption with the deep sleep mode.

  • Sensor Integration: Utilize tap sensor for interactivity and is used to trigger to mode to wake up from deep sleep mode.

  • Lighting Effects: Intense flickering of multiple red LEDs upon waking up from deep sleep mode, followed by gentle breathing effect.

  • Sound Generation: Plays iconic cry of pokemon, Tyranitar upon waking up from deep sleep mode.

Hardwares

  1. ESP32
  2. Mini metal speaker
  3. Max98357 I2S Amplifier Breakout
  4. Tap sensor
  5. 3mm red LED diodes (x4)
  6. 100 ohm resistor (for red LEDs) . AA-3V junction box for battery
  7. wires
  8. 3D printed Tyranitar by 3dfux

GPIO Pins

ESP32 pin out is based on espressif page.

Usage PINs
tap sensor 36
LED 23
I2S: SCK 26
I2S: WS 25
I2S: SD 22

Resources

I2S implementation to play music is based on micropython-i2s-examples by @miketeachman.