From: jimmy Date: Tue, 25 Jun 2024 00:42:56 +0000 (-0500) Subject: LifeScape sensory wall projects X-Git-Url: https://vault307.fbx.one/gitweb/Sensory_Wall.git/commitdiff_plain/4f2661a48a227c4ae660130b50149c481f1e9c0c?ds=sidebyside LifeScape sensory wall projects --- 4f2661a48a227c4ae660130b50149c481f1e9c0c diff --git a/diary.txt b/diary.txt new file mode 100644 index 0000000..789e50d --- /dev/null +++ b/diary.txt @@ -0,0 +1,10 @@ +6/24/23 +decided to start with ultra-sonic distance sensor. need it to read +distance, at distance<=x, pull pin low (trigger as button press) + --this can then activate LED strip animations, sound on Sound Board +*found micropyton library (https://github.com/kfricke/micropython-us100) +that will use. +downloaded into /home/pi/Desktop/microPythonProjects/sensorLib +created directory inside microPythonProjects>sensoryWall +have us100 test script to print distance and verify it works. IT DOES!! + diff --git a/distanceTest.py b/distanceTest.py new file mode 100644 index 0000000..1a3909f --- /dev/null +++ b/distanceTest.py @@ -0,0 +1,11 @@ +import machine +import utime +import us100 + +uart = machine.UART(0) +sensor = us100.US100UART(uart) + +Ygem=machine.Pin(10,machine.Pin.OUT) +Bgem=machine.Pin(16,machine.Pin.OUT) +plant=machine.Pin(18,machne.Pin.OUT) + diff --git a/overview.txt b/overview.txt new file mode 100644 index 0000000..50fbba0 --- /dev/null +++ b/overview.txt @@ -0,0 +1,97 @@ +Sensory Wall + +Overview: +create interactive wall with multiple ways of interacting with items, besides just buttons (buttons are included!) + +wall will have lights, as well as sound. At this time, no moving parts. + +ease of design: create features in modular sections, control with MCU without wifi/bluetooth (need to be HIPPA compliant) + +all fixtures will have power toggle (need lights/sound to be turned off for quite time) + +**all materials from adafruit.com (product number after name/description) + + +Fixtures: +-Traffic Light + --can be used as indicator throughout the day/night. + --can play Red Light/Green Light + --button for manual mode (switch red/green in Game mode, switch Red/Green/Yellow in indicator mode) + --toggle for game/indicator mode + --inside game mode, toggle for manual or automatic +materials: +Tower Light (2993) (red/yellow/green/buzzer led tower light) NO BUZZER CONNECTION!! +NPN transistor (756) x3 +MCU (using Raspberry Pi Pico) +toggle (3221) x3 +Arcade button (either 1191, 4187, etc, depending on availability/color/shape preference) x1 +TPS jack (36925) [to allow adaptive device to plug in to button and activate from adaptive switch] + +-RGB LED and pots + --RGB LED with potentiometer on each color line, allow individuals to play with colors of RGB +materials: +RGB LED (848), 10mm, 10 pack +10k potentiometer (3391), 3 per RGB LED +toggle (3221), 1 per RGB LED (put on ground, disconnecting ground will break circuit, turning off LED) + +-Twinkling Lights (have 2 strands) + --addressable RGB LED strands, can program animations/color change onto strip + --activate with button/ultra-sonic distance sensor + --any button gets TPS jack +materials: +MCU (Raspberry Pi Pico) (possibly 1 per strand, or may run both strands from 1) +mini RGB Neon flex (4310) +RGB Neon strip (3869) +US-100 ultra-sonic distance sensor (4019) [1 per strand] +Arcade button (either 1191, 4187, etc, depending on availability/color/shape preference) x1 +TPS jack (36925) [to allow adaptive device to plug in to button and activate from adaptive switch] +female DC power supply adapter (368) +Power supply (5v, 2A) (276) + +-Noods Web (will create 2 boxes) + --create frame to stretch n00ds across, allowing individuals to access with fingers and feel/pull. Need to ensure (as best as possible) that n00ds are secured against hard pulls/aggressive grabbing, but still allow individuals to feel/manipulate with fingers + --n00ds light up, let’s GLOW! +Materials: +MCU (Raspberry Pi Pico) x2 +red n00ds (5506) x2 +warm white n00ds (5503) x2 +lime green n00ds (5507) x2 +blue n00ds (5508) x2 +yellow n00ds (5509) x2 +pink n00ds (5510) x2 +resistors: if 3v -50 ohm (4293), 1 per n00d + if 5v -220 ohm (2780) 1 per n00d + +n00ds light up, not sure if want to have blink/pulse/try to have PWM breath mode + +-LEDs on other MCU pins + --have more buttons/sensors and LEDs (fancy ones even) + --each LED needs resistor suited to it + --power supply to LED or MCU to turn off? +Materials: +green succulent LED (5481) +yellow crystal LED (5428) +RGB cat (color changing, not addressable) (5482) +blue crystal LED (5455) +Arcade button (either 1191, 4187, etc, depending on availability/color/shape preference) x1 +TPS jack (36925) [to allow adaptive device to plug in to button and activate from adaptive switch] + +-LED Audio Matrix + --using microphone connected to MCU, analyze ambient volume and display on LED matrix as visualization +materials: +PWM RGB LED matrix (5201) +PDM MEMS microphone (3492) +MCU (Raspberry Pi Pico) + +-Sound Board + --include sounds into design + --board allows for up to 11 sounds to triggered via pulling pin low + --different options for trigger type once pin pulled low (random sound, play only on button press, play full sound/repeat until released…) + +materials: +US-100 ultra-sonic distance sensor (4019) +Adafruit Audio FX Sound Bar + 2x2W Amp 16MB (2217) x1 +speaker 3”,4 Ohm 3 Watt (1314) x2 +Arcade button (either 1191, 4187, etc, depending on availability/color/shape preference) x1 +TPS jack (36925) [to allow adaptive device to plug in to button and activate from adaptive switch] +toggle (3221) [power toggle] diff --git a/us100Test.py b/us100Test.py new file mode 100644 index 0000000..b2fc91e --- /dev/null +++ b/us100Test.py @@ -0,0 +1,10 @@ +import machine +import utime +import us100 + +uart = machine.UART(0) +sensor = us100.US100UART(uart) + +while True: + print(sensor.distance()) + utime.sleep_ms(50) \ No newline at end of file