DIY cosplay LED from Detroit: Become human
DIY cosplay LED from Detroit: Become human
DIY LED indicator from Detroit: Become human: with piezo heart rate monitor to
determine the mood, nine addressable LEDs, bluetooth, and mobile app on flutter to control all features.
Features
- All effects copied from original video of gameplay. Timings and colors and sequence of effect exactly the same as in play
- Android app that allows control modes, pulse borders, and pick color. On ring side used HC-05 bluetooth uart.
- Automatic heart rate monitoring with help piezo sensor. To use this feature you need to locate ring on blood vessel. To defend arduino from voltage more than 5V from piezo used suppressor diode 5.5V
- Led ring use 9 sk6812, addressable led that can control separately and support ~16.7*10^9 colors
- Touch button on the top of ring allows to control ring without connect it to bluetooth. Used ttp223 as touch button controller IC
- All pcb one-layer so can be made by home tech.
Known limitations
- Pulse detection doesn't work if you move. Maybe optical pulse detection be better, but cheap chinese optical pulse detection module doesn't work on head.
More of useful info you can find in README in subfolders.
In folder video you can find video(russian language) about modes and work of the project and app
In /android/become human you can find APK for android installing
Effects
Low stress(slowly blue fade and round effect)
Medium stress (slowly yellow fade and round effect)
High stress(slowly red fade and round effect )
Very high stress(fast blinking red) When effects goes to previous used round effect(watch gif on readme in root directory, /img/effect.gif), when go forward this effect doesn't enabled
Hardware
This is hardware part of my project. All project consist of two board:
First big board
The first big board with arduino and hc-05 bluetooth module and suprressor It connects by grey six-wired cable to upper board-ring, by mini-usb to power source(powerbank, can be used something like 1x18650cell connected directly), hc-05 allows to connect to smartpohne by bluetooth, but it's not requiered. This board are "head" for all system. It uses arduino nano to controll all peripehal. Firmware for arduino can be found in folder sketch. Shematic can be found in subfolder schematic
Board for home fabricate - Arduino_pcb.jpg
Pcb components values can be found in schematic
Photos
Second small led ring board
Second board it's small round board that consist of 9 sk6812 addressable led, ttp223 touch button controller, and piezo sensor on bottom side. It's covered by transparent plastic, on bottom side it has small glued round piece of copper foil, that connects to ttp223 input. Led sk6812 used in 4020 bottom sided package, that solders in wrong way - side to up. Unfortunately, i can't found a common led's with package smaller than 3535, so you may have problem if you want to solder board with hot air. Schematic so simple, that not needed, board image for home fabricate - Round pcb.jpg
Pcb components values
C1 - capacitor for touch button - 22pF
U3 - ttp223
U23-u31 - sk6812
Photos
Software
Android app for become human
A my Flutter application to work with led ring
Features
- Pulse borders change, view graph from piezo
- Effect animation and change in mood mode
- Static color with pallete picker and brightness color
- Easy connect to device by list
- Fade and dir disable in mood mode
Known limitations
No drawing animations of effect in pulse mode
Modes
* Pulse
This mode let you to set pulse border and view graph. Graph need to make sure that led ring locate on the head in the right way.
Screenshots:
* Mood
This mode let you to manually set the mode and settings for mode. You can disable fade and space(round effect) in settings Watch the video(/video/main.mp4) to watch effects Efects
Low stress(slowly blue fade and round effect)
Medium stress (slowly yellow fade and round effect)
High stress(slowly red fade and round effect )
Very high stress(fast blinking red) When effects goes to previous used round effect(watch gif on readme in root directory, /img/effect.gif), when go forward this effect doesn't enabled
Screenshot
* Color
This mode let you to pick constant color from palette picker and set brightness
Screenshot
Bluetooth protocol
Send
1st symbol:
e
+ #next effect
- #previous effect# used in mood mode
c
rgb #r - red byte, g - green byte, b - blue byte#system goes in color mode automatically#used in color mode
s
1st char #'0'/'1' fade in medium effect on/off
2nd char #'0'/'1' spaces in medium effect on/off
# used in mood mode
g
0 #disable send data from piezo to phone by bluetooth1 #enable send data from piezo to phone by bluetooth# need to display graph in app for locate ring on head in right way# when you tap on graph sended g1, when you close graph sended g0
p
1st char #number of border: 0/1/22,3,4 char #value of pulse border.
#If next value lower than previous logic won't work
#used in pulse mode
Receive
System must work without smartphone, so all effect change logic on arduino side. Because of it, firmware must send nubmer of effect to app. It's need to correct animate the effect in app.
1st symbol
e x #x - number of effect#used in mood mode If graph activated by smartphone app we send g v #v - filtered value from piezo#used in graph
DIY cosplay LED from Detroit: Become human
*PCBWay community is a sharing platform. We are not responsible for any design issues and parameter issues (board thickness, surface finish, etc.) you choose.
- Comments(0)
- Likes(0)
- 0 USER VOTES
- YOUR VOTE 0.00 0.00
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
More by Vas
-
-
-
-
-
-
3D printed Enclosure Backplate for Riden RD60xx power supplies
154 1 1 -
-