Skip to content
Snippets Groups Projects
Commit 1f771819 authored by Mina Mayo-Smith's avatar Mina Mayo-Smith
Browse files

Update file 02-process.md

parent 022df56f
No related branches found
No related tags found
No related merge requests found
Pipeline #434918 passed
......@@ -190,29 +190,29 @@ My first experiment with kantan mapping actually started early in October when R
## PART THREE: ELECTRONICS
### step 1: set up
### **step 1**: set up
I knew i would need at least three aspects to create **my circuit**:
1. an **input sensor**: heart rate, microphone, or body temperature sensor
2. a **microcontroller unit** such as an arduino uno
3. an **output** = projected animations
!!! example "I need the following"
- Projector
- Screen (Scaffolds)
- Animation (Touch Designer)
- MCU (preferably bluetooth)
- MCU (arduino uno, ESP32, XIAO ESP32-C3)
- Microphone sensor
- Computer
- Speakers
I knew i would need at least three aspects to create **my circuit**:
1. **input sensor**: heart rate, microphone, or body temperature sensor
2. a **microcontroller unit** such as an arduino uno
3. **output** = projection animations
a draft of my ideation for embedding electronics into my garment:
here a draft of my ideation for embedding electronics into my garment:
![Alt text](<../images/FINAL PROJ/ELECTRONICS_plan01.jpg>)
I also came up with the idea during this phase that I wanted to **trigger different animations with my voice**.
I thought it would be fun to make **a scream** my trigger. When I scream into the microphone, the mcu would inform TouchDesigner to play chaotic animations to mirror the scream. Adversely, when I'm quiet and the mcu does not register a loud sound, it contiously informs the computer to play serene, calm animations.
I thought it would be fun to make **screams** my trigger. When I scream into the microphone, the mcu would inform TouchDesigner to play chaotic animations to mirror the scream. Adversely, when I'm quiet and the mcu does not register a loud sound, it contiously informs the computer to play serene, calm animations.
a second draft of my circuit:
![Alt text](<../images/FINAL PROJ/ELECTRONICS_plan02.jpg>)
......@@ -221,7 +221,7 @@ sketch of microphone sensor generating different outputs:
![Alt text](<../images/FINAL PROJ/LOUD_SOFT01.jpg>)
### **spiral one**: test microphone sensor
### **step 2**: test microphone sensor
Goals:
- connect microphone sensor to Arduino IDE
......@@ -251,11 +251,12 @@ Finally, i wanted to make sure my serial monitor works and that it would print t
<iframe width="1058" height="595" src="https://www.youtube.com/embed/YiCNezor1aI" title="serial monitor testing with scream" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
### **spiral two**: bluetooth mcu
### **step 3**: test bluetooth mcus
Goals:
- Test that each board is functioning properly. Run the generic blink code and make sure that I can get each of the **TX** and **RX** ESP32 boards to blink an LED.
- Get 2 ESP32 boards to communicate wirelessly using the ESP NOW protocol
- Test that each board is functioning properly.
- Run the generic blink code on each of the TX and RX ESP32 boards to blink an LED.
- Get 2 ESP32 boards to communicate wirelessly using the ESP NOW protocol.
After research on which MCUs to use, I am choosing to work with two variants of ESP32 boards, both with bluetooth capabilities, so that one can be connected to the computer for projections **(RX, receiver)** and the other can be attached to the garment along with the microphone sensor **(TX, transmitter)**.
......@@ -268,7 +269,7 @@ Boards:
![Alt text](<../images/FINAL PROJ/diagrams01.jpg>)
Testing the ESP32 Board
### ESP32 board set up
!!! example "**ESP32** Information"
......@@ -276,20 +277,24 @@ Boards:
- [The Newbie’s Guide to Programming an ESP32 on the Arduino IDE](https://www.iottechtrends.com/program-esp32-on-arduino-ide/?fbclid=IwAR1W8dblx-idwUIDvSSKgXqxPp-xUp5z3Nx4CDEQd2OLjUCn-G3ag2rRusU)
- [Boot Mode Selection](https://docs.espressif.com/projects/esptool/en/latest/esp32/advanced-topics/boot-mode-selection.html)
Download ESP32 Board in Arduino IDE Library
Download Files
Download Driver
Upload Code to ESP32
ESP-WROOM-32 is a Wi-Fi module equipped with a chip called ESP32 provided by **Espressif Systems** and capable of Wi-Fi and Bluetooth (BLE) communication. It is slightly larger than ESP-WROOM-02, but it still is small. The module also has the advantage that Arduino programs can be written (that is, the module can be used as part of Arduino), and Wi-Fi communication is supported. Read more on the ESP32 board by checking out the links above.
Steps:
1. Download ESP32 Board in Arduino IDE Library
2. Download Files
3. Download Driver
4. Upload Code to ESP32
### XIAO-ESP32-C3 board set up
Testing the Xiao Board
!!! example "**XIAO ESP32-C3** Information"
- [Getting Started with Seeed Studio XIAO ESP32C3](https://wiki.seeedstudio.com/XIAO_ESP32C3_Getting_Started/)
- [Seeed Studio XIAO ESP32C3 - RISC-V tiny MCU board with Wi-Fi and Bluetooth5.0, battery charge supported, power efficiency and rich Interface](https://www.seeedstudio.com/Seeed-XIAO-ESP32C3-p-5431.html)
xxxx
Test Connection between the 2 boards
### communication between the two boards
!!! example "Communication Between **two ESP32 mcus**"
......@@ -298,6 +303,15 @@ xxxx
TX: Microphone and Xiao on Garment
RX: ESP32 connected to Computer Arduino IDE and TD
The two boards will communivate via a program called ESP-NOW. Tutorial above.
You will end up running 3 pieces of code...
1. Configuring and uploading the Transmitter Code to the TX board
2. Running the Mac Address code on the RX board > to get it's unique wireless communication ID
3. Configuring and uploading the Receiver Code to the RX board
![Alt text](<../images/FINAL PROJ/diagrams04.jpg>)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment