talkingshoe
This is an old revision of the document!
Table of Contents
Talking Shoe
Micro Controller: Lolin32 Lite
- Has battery charger built in
- Amazon Reviewer says to use ESP32 Arduino → WEMOS LOLIN32 board
- Arduino ESP32 can be installed via the Board Manager
- does not contain Lolin Board
- esp32 by Espressif in the Board Manager is the right choice
- contains WEMOS Lolin32 Lite
- can be selected in Tools → Board
- get Board Info does not return anything useful?
On-Board LED Blinking works:
#define LED_PIN 22 // Pin number for your built-in LED void setup() { pinMode(LED_PIN, OUTPUT); // Set the LED pin as an output } void loop() { digitalWrite(LED_PIN, HIGH); // Turn the LED on delay(500); // Wait 500 milliseconds digitalWrite(LED_PIN, LOW); // Turn the LED off delay(500); // Wait 500 milliseconds }
MP3 Player: DFPlayer Mini
-
- We probably can connect our speaker directly to the SPK pins
- We can read the BUSY line to know if something is playing
- high = busy
- There are three modes.
- We probably want to use the Serial Mode to directly play a certain file
- this means we connect the UART pins between the ESP and the Player
- Theres sample code in the wiki
- Filenames:
/MP3/0001.mp3
- Github Repo for Arduino Lib
- Arduino IDE has “DFRobotDFPlayerMini” in the list of libraries
- alternatively one seems to be able to download the zip from github and simply add it via Sketch → Include Library → Add .ZIP library
- There are a whole bunch of other libraries when you search for DFPlayer…
- some of them seem to be newer than the original
- some of them might make handling other stuff while playing sound easier
Accelleration Sensor: ADXL345
talkingshoe.1754857129.txt.gz · Last modified: by andi