Pseudo-Medical Monitor Device Design: Difference between revisions

From LVL1
Jump to navigation Jump to search
 
(127 intermediate revisions by the same user not shown)
Line 1: Line 1:
= Design =
[[File:JAC MED MON ENHANCED.jpg]]
 
== Pseudo-Medical Monitor ==


This Amazing, Affordable, Earth Changing Device, for which no endorsement is to be inferred, is designed as a collection of layers.   
This Amazing, Affordable, Earth Changing Device, for which no endorsement is to be inferred, is designed as a collection of layers.   


=== Main Unit Sensor Layer ===
== Main Unit Sensor Layer ==


==== Components ====
=== Components ===


{|class="wikitable"
{|class="wikitable"
Line 24: Line 22:
|-
|-
|[[File:JAC MED MON TFT.jpg|left|thumbnail]]
|[[File:JAC MED MON TFT.jpg|left|thumbnail]]
|* 160x128 LCD TFT SPI 1.8" Module with SD Socket Generic Clone (alternative: Heyaodz111208)
|* 160x128 LCD TFT SPI 1.8" Module with SD Socket (Heyaodz111208)
|
|
Display and SD Card Socket
|-
|-
|
|
Line 33: Line 32:
|}
|}


==== Sensors ====
=== Sensors ===


{|class="wikitable"
{|class="wikitable"
Line 70: Line 69:
|}
|}


==== Shield Wiring ====
=== Shield Wiring ===


{|class="wikitable"
{|class="wikitable"
Line 81: Line 80:
!colspan="11"|Pin Mapping
!colspan="11"|Pin Mapping
|-
|-
|Due Pin  
|Due Shield Pin  
|Function  
|Function  
|MLX90614  
|MLX90614  
Line 311: Line 310:
|}
|}


==== Assembled ====
=== Assembly ===


[[File:JAC MED MON PROTO SHIELD POPULATED.jpg|none]]
[[File:JAC MED MON PROTO SHIELD POPULATED.jpg|none]]
Line 317: Line 316:
----
----


=== Control Panel End ===
== Control Panel ==
 
==== Components ====


{|class="wikitable"
{|class="wikitable"
Line 343: Line 344:
|
|
[[File:JAC MED MON PCF8574 PART.jpg|left|thumbnail|x200px]]
[[File:JAC MED MON PCF8574 PART.jpg|left|thumbnail|x200px]]
|
| PCF8574 Remote 8-Bit I/O Expander
|
| Monitor Rotary Encoders and Set LED Condition
|-
|-
|
|
[[File:JAC MED MON LED PART.jpg|left|thumbnail|x200px]]
[[File:JAC MED MON LED PART.jpg|left|thumbnail|x200px]]
|
| LEDs
|
| Provide visual ques to user
|-
|-
|
|
[[File:JAC MED MON ROTARY ENCODER PART.jpg|left|thumbnail|x200px]]
[[File:JAC MED MON ROTARY ENCODER PART.jpg|left|thumbnail|x200px]]
|
| Rotary Encoder
|
| User interface device
|-
|-
|
|
[[File:JAC_MED_MON_CONTROL_PANEL_BRACKETS.jpg|left|thumbnail|x200px]]
[[File:JAC_MED_MON_CONTROL_PANEL_BRACKETS.jpg|left|thumbnail|x200px]]
|
| Mounting Brackets
|
| Control Panel mounting brackets to Main Sensor Layer
|}
|}


=== Control Panel End ===
==== Control Panel Wiring ====
 
=== Control Panel End ===
 
=== Audio Layer ===
 
=== Ports Layer ===
 
=== Processor Layer ===
 
* Layers
** Main Unit Sensor Layer
** Audio Layer
** Port Unit Layer
** Processor Layer
 
The device is flanked by two sets of two RJ45 Socket Units.  A Controls Unit is placed at one end.
 
== Parts List ==
 
=== Electronics ===


{|class="wikitable"
{|class="wikitable"
!colspan="4"|MAIN DEVICE PARTS
!colspan="3"|  
|-
|Device
|Name
|-
|-
|[[File:JAC MED MON ARDUINO DUE.jpg|left|thumbnail|x200px]]
| Device
|* Arduino Due Generic Clone (alternative: ITEADUINO DUE)
|[[File:JAC MED MON MLX90614.jpg|left|thumbnail]]
|* MLX90614 Contactless Temperature Sensor Generic Clone (alternative: )
|-
|[[File:JAC MED MON AMG8833.jpg|left|thumbnail]]
|* AMG8833 Thermal Imager Sensor Generic Clone (alternative: TinyCircuits)
|[[File:JAC MED MON VL53L0X.jpg|left|thumbnail]]
|* VL53L0X TOF Laser Distance Sensor Generic Clone (alternative: Onyehn)
|-
|[[File:JAC MED MON MAX30102.jpg|left|thumbnail]]
|* MAX30102 Pulse and O2 Saturation Sensor Generic Clone (alternative: MH-ET Live)
|[[File:JAC MED MON FP SCANNER.jpg|left|thumbnail]]
|* Capacitive Touch Fingerprint Scanner Generic Clone (alternative: DFROBOT)
|-
|[[File:JAC MED MON TFT.jpg|left|thumbnail]]
|* 160x128 LCD TFT SPI 1.8" Module with SD Socket Generic Clone (alternative: Heyaodz111208)
|
|
|
| Schematic
|-
|-
|
|
[[File:JAC MED MON ENCODERS.jpg|left|thumbnail|x200px]]
|
|
|[[File:JAC MED MON VS1103 MODULE.jpg|left|thumbnail]]
|* VS1103 Audio Module (old module finally put to use)
|}
{|class="wikitable"
{|class="wikitable"
!colspan="4"|COMMON PARTS
!colspan="4"|Pin Mapping
|-
|-
|Device
|Device
|Name
|SIGNAL
|DUE Shield Pin
|Function
|-
|Controls
|Vin
|3.3V
|Power
|-
|-
|[[File:JAC MED MON RJ45 BOXES.jpg|left|thumbnail]]
|Controls
|* RJ45 Connection Boxes
|SDA
|}
|20
 
|SDA-I2C
{|class="wikitable"
!colspan="4"|ATTINY85 TOKEN/NEOPIXEL CONTROLLER/TONE CONTROLLER PARTS
|-
|-
|Device
|Controls
|Name
|SCL
|21
|SCL-I2C
|-
|-
|[[File:JAC_MED_MON_ATTINY85.jpg|left|thumbnail|x200px]]
|Controls
|* ATTiny85
|INT
|[[File:JAC_MED_MON_TACTILE_SWITCH.jpg|left|thumbnail|x200px]]
|2
|* Tactile Momentary Switch
|GPIO
|-
|-
|Controls
|GND
|GND
|Power
|}
|
|
[[File:JAC MED MON ATTINY85 TOKEN BOX PARTS.jpg|thumb]]
[[File:JAC MED MON CONTROL PANEL SCHEMATIC.jpg|left|thumbnail|x200px]]
| * Enclosure Parts
|}
|}


{|class="wikitable"
==== Assembly ====
!colspan="4"|EXTERNAL UNIT PARTS
 
|-
[[File:JAC MED MON CONTROL PANEL FACE.jpg]]
|Device
|Name
|-
|[[File:JAC MED MON TMP36 SENSOR.jpg|left|thumbnail|x200px]]
|* TMP36 Temperature Sensor
|[[File:JAC MED MON PULSE SENSOR.jpg|left|thumbnail|x200px]]
|* IR Pulse Sensor with incorrect Labelling (Qty. 2)
|-
|
[[File:JAC MED MON BNO055 PART.jpg|left|thumbnail|x200px]]
|
[[File:JAC MED MON NEOPIXEL PART.jpg|left|thumbnail|x200px]]
|
[[File:JAC MED MON MPU6050 PART.jpg|left|thumbnail|x200px]]
|
[[File:JAC MED MON PCF8574 PART.jpg|left|thumbnail|x200px]]
|
[[File:JAC MED MON PIEZO PART.jpg|left|thumbnail|x200px]]
|
[[File:JAC MED MON TCA9548A PART.jpg|left|thumbnail|x200px]]
|
[[File:JAC MED MON TCRT5000 PART.jpg|left|thumbnail|x200px]]
|
[[File:JAC MED MON LED PART.jpg|left|thumbnail|x200px]]
|
[[File:JAC MED MON MOMENTARY SWITCH PART.jpg|left|thumbnail|x200px]]
|
[[File:JAC MED MON ROTARY ENCODER PART.jpg|left|thumbnail|x200px]]
|
[[File:JAC MED MON VIBRATING MOTOR PART.jpg|left|thumbnail|x200px]]
|
[[File:JAC MED MON PROTOTYPE SHIELD PART.jpg|left|thumbnail|x200px]]
|
[[File:JAC_MED_MON_CONTROL_PANEL_BRACKETS.jpg|left|thumbnail|x200px]]
|
[[File:JAC_MED_MON_PORT_MOUNTING_BRACKETS.jpg|left|thumbnail|x200px]]
|}


=== 3D Print Elements ===
[[File:JAC MED MON CONTROL PANEL REVERSE.jpg]]


[[Pseudo Medical Monitor Device 3D Print]]
----


== Shield Levels And Panels ==
== Audio Layer ==


{|class="wikitable"
=== Components ===
!colspan="3"|SHIELDS
|-
| Shield
| Name
| Pinouts
|-
|[[File:JAC MED MON PROTO SHIELD.jpg|left|thumbnail|x200px]]
|* Arduino Mega Prototype Shield Generic Clone (alternative: KEYESTUDIO) (Analog Testing connector added after photo)
|


{|class="wikitable"
{|class="wikitable"
!colspan="10"|Pin Mapping
!colspan="3"|General Components
|-
|-
|Due Pin
|Device
|Function
|Name
|MLX90614
|Use
|AMG8833
|VL53L0X
|MAX30102
|FP Scan
|TFT
|SD Socket
|Analog Test Socket
|-
|-
|3
|Interrupt
|
|
|
|
|IRQ
|
|
|
|-
|4
|Interrupt
|
|
|
|INT
|
|
|
|
|-
|5
|Interrupt
|
|INT
|
|
|
|
|
|-
|6
|Digital I/O
|
|
|GPIO1
|
|
|
|
|
|-
|7
|Digital I/O
|
|
|XSHUT
|
|
|
|
|
|-
|8
|Digital I/O
|
|
|
|
|
|
|SD_CS
|
|-
|9
|Digital I/O
|
|
|
|
|
|RST
|
|
|-
|10
|Digital I/O
|
|
|
|
|
|CS
|
|
|-
|11
|Digital I/O
|
|
|
|
|
|AO
|
|
|-
|18
|TX_1
|
|
|
|
|RX
|
|
|
|-
|19
|RX_1
|
|
|
|
|TX
|
|
|
|-
|20
|SDA
|SDA
|SDA
|SDA
|SDA
|
|
|
[[File:JAC MED MON PROTOTYPE SHIELD PART.jpg|left|thumbnail|x200px]]
|
|
Arduino DUE Prototyping Shield
|
|
Base PCB for layer
|-
|-
|21
|SCL
|SCL
|SCL
|SCL
|SCL
|
|
|
|
|
[[File:JAC MED MON VS1103 MODULE.jpg|left|thumbnail|x200px]]
| Breakout Board for VS1103 MIDI Decoder
| Provide audio to user
|-
|-
|A0
|
|
|
|
|
|
|
|
|Signal
|-
|SPI
|MISO
|
|
|
|
|
|
|SD_MISO
|
|-
|SPI
|MOSI
|
|
|
|
|
|SDA
|SD_MOSI
|
|-
|SPI
|SCK
|
|
|
|
|
|SCK
|SD_SCK
|
|
[[File:JAC_MED_MON_STEREO_PHONO_JACK.jpg|left|thumbnail|x200px]]
| Stereo Phono Jack
| Audio output
|}
|}


=== Shield Wiring ===
{|class="wikitable"
!colspan="2"|
|-
|-
|[[File:JAC MED MON AUDIO SHIELD.jpg|left|thumbnail|x200px]]
|
|* Audio Shield with VS1103
[[File:JAC MED MON AUDIO SHIELD.jpg|left|thumbnail|x200px]]
|
|
{|class="wikitable"
{|class="wikitable"
Line 710: Line 462:
|Device
|Device
|SIGNAL
|SIGNAL
|DUE Pin
|DUE Shield Pin
|Function  
|Function  
|-
|-
Line 779: Line 531:
|}
|}


|}
=== Assembly ===
[[File:JAC MED MON AUDIO SHIELD.jpg]]
----
== Ports Layer ==
=== Components ===
{|class="wikitable"
!colspan="3"|General Components
|-
|Device
|Name
|Use
|-
|
[[File:JAC MED MON PROTOTYPE SHIELD PART.jpg|left|thumbnail|x200px]]
|
Arduino DUE Prototyping Shield
|
Base PCB for layer
|-
|
[[File:JAC MED MON TCA9548A PART.jpg|left|thumbnail|x200px]]
|
TCA9548A 1-to-8 I2C Multiplexer Breakout
|
* Provide separate I2C bus isolation for each port
* I2C Address 0x1E
|-
|
[[File:JAC_MED_MON_DUAL_RJ45_PORT_PART.jpg|left|thumbnail|x200px]]
|
Dual RJ45 Port Box
|
Provide External Unit connectivity to device
|}
=== Shield Wiring ===
{|class="wikitable"
!colspan="3"|
|-
| Device
|
| Notes
|-
|-
|[[File:JAC MED MON PORT SHIELDx.jpg|left|thumbnail|x200px]]
|
|* Ports Shield
[[File:JAC MED MON PORTS LAYER ISOLATED.jpg|left|thumbnail|x200px]]
|
|


Line 789: Line 591:
|Port #
|Port #
|Line #
|Line #
|DUE Pin
|DUE Shield Pin
|Function  
|Function  
|
|
|Port #
|Port #
|Line #
|Line #
|DUE Pin
|DUE Shield Pin
|Function  
|Function  
|
|
|Port #
|Port #
|Line #
|Line #
|DUE Pin
|DUE Shield Pin
|Function  
|Function  
|
|
|Port #
|Port #
|Line #
|Line #
|DUE Pin
|DUE Shield Pin
|Function  
|Function  
|-
|-
Line 849: Line 651:
|0
|0
|3
|3
|70
|
|I2C-SDA
|MUX-SD0
|
|
|1
|1
|3
|3
|70
|
|I2C-SDA
|MUX-SD1
|
|
|2
|2
|3
|3
|70
|
|I2C-SDA
|MUX-SD2
|
|
|3
|3
|3
|3
|70
|
|I2C-SDA
|MUX-SD3
|-
|-
|0
|0
|4
|4
|71
|
|I2C-SCL
|MUX-SC0
|
|
|1
|1
|4
|4
|71
|
|I2C-SCL
|MUX-SC1
|
|
|2
|2
|4
|4
|71
|
|I2C-SCL
|MUX-SC2
|
|
|3
|3
|4
|4
|71
|
|I2C-SCL
|MUX-SC3
|-
|-
|0
|0
Line 967: Line 769:
|Analog3
|Analog3
|}
|}
|
* Pull-Up Resistors added to second I2C bus on DUE Shield
* TCA9548A Module is the I2C-MUX
* I2C-MUX is connected to the second I2C bus on DUE Shield
* I2C-MUX Reset is connected to DUE Shield PIN D23
|}
=== Assembly ===
[[File:JAC MED MON PORTS LAYER.jpg]]
== Processor Layer ==
=== Components ===
{|class="wikitable"
!colspan="3"|Processor Layer
|-
|Device
|Name
|Use
|-
|[[File:JAC MED MON ARDUINO DUE.jpg|left|thumbnail|x200px]]
| Arduino Due Generic Clone (ITEADUINO DUE)
| Main Processor
|-
|-
|[[File:JAC MED MON ENCODERS.jpg|left|thumbnail|x200px]]
|
|
* Control Panel
[[File:JAC MED MON PORT MOUNTING BRACKETS.jpg|left|thumbnail|x200px]]
| Mounting Brackets
| Mounting brackets support RJ45 Dual Port Boxes from Ports Layer
|}
 
=== Wiring ===
 
{| class="wikitable"
!colspan="3"|
|-
| Device
|colspan="2"|
|-
|rowspan="2"|
[[File:JAC MED MON ARDUINO DUE PROFILE.jpg|left|thumbnail|x200px]]
|
|
{|class="wikitable"
{| class="wikitable"
!colspan="4"|Pin Mapping
|-
! DUE Pin !! DUE Function !! Device !! DUE Pin !! DUE Function !! Device
|-
| 0 || RX_0 || Serial0 || 13 ||  ||
|-
| 1 || TX_0 || Serial0 || 14 || TX_3 ||
|-
| 2 ||  || CP_INT || 15 || RX_3 ||
|-
| 3 ||  || FP_IRQ || 16 || TX_2 || VS_RX
|-
| 4 ||  || HB_INT || 17 || RX_2 || VS_TX
|-
| 5 ||  || AMG_INT || 18 || TX_1 || FP_RX
|-
| 6 ||  || VL_GPIO01 || 19 || RX_1 || FP_TX
|-
| 7 ||  || VL_XSHUT || 20 || SDA || Multiple
|-
|-
|Device
| 8 || || SD_CS || 21 || SCL || Multiple
|SIGNAL
|DUE Pin
|Function
|-
|-
|Controls
| 9 || || TFT_RST || || SDA1 || I2C-MUX_SDA
|Vin
|3.3V
|Power
|-
|-
|Controls
| 10 || || TFT_CS || || SCL1 || I2C-MUX_SCL
|SDA
|20
|SDA-I2C
|-
|-
|Controls
| 11 || || TFT_A0 || || MISO || Multiple
|SCL
|21
|SCL-I2C
|-
|-
|Controls
| 12 || ||  || || MOSI || Multiple
|INT
|2
|GPIO
|-
|-
|Controls
|   || ||  || || SCLK || Multiple
|GND
|GND
|Power
|}
|}
 
|
{| class="wikitable"
|-
! DUE Pin !! DUE Function !! Device !! DUE Pin !! DUE Function !! Device
|-
| A0 || RX_0 ||  || A8 ||  || Port 2-A2
|-
| A1 || TX_0 ||  || A9 ||  || Port 2-A1
|-
| A2 ||  || Port 3-A3 || A10 ||  || Port 2-A0
|-
| A3 ||  || Port 3-A2 || A11 ||  || Port 1-A0
|-
| A4 ||  || Port 3-A1 || DAC0 || DAC ||
|-
| A5 ||  || Port 3-A0 || DAC1 || DAC ||
|-
| A6 ||  || Port 1-A0 || CANRX || CAN ||
|-
| A7 ||  || Port 2-A3 || CANTX || CAN ||
|}
|}


==Assemblies==
|-
|


{|class="wikitable"
{| class="wikitable"
!colspan="4"| ASSEMBLIES
|-
! DUE Pin !! DUE Function !! Device !! DUE Pin !! DUE Function !! Device
|-
| 22 ||  || VS_CS || 23 ||  || I2C-MUX_RST
|-
| 24 ||  || VS_DREQ || 25 ||  ||
|-
| 26 ||  || VS_XDCS || 27 ||  || Port 1-GPIO0
|-
| 28 ||  || VS_RST || 29 ||  || Port 1-GPIO1
|-
| 30 ||  || VS_GPIO0 || 31 ||  || Port 1-GPIO2
|-
|-
|Assembly
| 32 || || VS_GPIO1 || 33 ||  ||  
|Name
|Notes
|Schematics
|-
|-
|[[File:JAC MED MON ENCODERS.jpg|left|thumbnail|x200px]]
| 34 || || || 35 ||  ||  
| Control Panel
|
* PCA8574 I/O Expander
* Dual rotary Encoders
* Two LEDs
|
  [[File:JAC MED MON CONTROL PANEL SCHEMATIC.jpg|left|thumbnail|x200px]]
|-
|-
|[[File:JAC_MED_MON_HAND_HELD_UNIT_PCB.jpg|left|thumbnail|x200px]]
| 36 || || || 37 ||  ||  
|Hand Held Unit PCB
|
* MPU6050
* Vibrating Motor Circuit
|
  [[File:JAC MED MON VM SCHEMATIC.jpg|left|thumbnail|x200px]]
|-
|-
|[[File:JAC MED MON BioAmp EXG Pill.jpg|left|thumbnail|x200px]]
| 38 || || || 39 || ||  
| BioAmp EXG Pill
|  
* [https://hackaday.io/project/178997-bioamp-exg-pill Excellent Hackaday.io Project by Deepak Khatri]
|
[[File:JAC MED MON EXG BIO AMP SCHEMATIC.jpg|left|thumbnail|x200px]]
|-
|-
|[[File:JAC MED MON BioAmp EXG Pill EEG BOARD.jpg|left|thumbnail|x200px]]
| 40 || || || 41 || ||  
| BioAmp EXG Pill Modification for EEG
|  
* [https://hackaday.io/project/178997-bioamp-exg-pill Excellent Hackaday.io Project by Deepak Khatri]
|
[[File:JAC MED MON BioAmp EXG QUAD SCHEMATIC.jpg|left|thumbnail|x200px]]
|-
|-
|[[File:JAC_MED_MON_EKG_BREATHING_DETECTOR_SIGNAL_AMP.jpg|left|thumbnail|x200px]]
| 42 || || || 43 || ||  
| Breathing Detector Signal Amplifier
|
* Basic Op-Amp
|[[File:JAC MED MON RESPIRATORY SENSOR SCHEMATIC.jpg|left|thumbnail|x200px]]
|-
|-
|[[File:JAC MED MON GSR CIRCUIT.jpg|left|thumbnail|x200px]]
| 44 || || || 45 || ||  
| GSR
|  
* TL074 Op-Amp
* PCB acts as central wiring hub for External Unit
|[[File:JAC MED MON GSR SCHEMATIC.jpg|left|thumbnail|x200px]]
|-
|-
|[[File:JAC MED MON NeoPixel ATTINY85.jpg|left|thumbnail|x200px]]
| 46 || || || 47 || ||  
| NeoPixel I2C Controller
|
* ATTINY85
* TinyWireS Library
* Single NeoPixel
* Local Reset Button
|
[[File:JAC_MED_MON_ATTINY85_NEOPIXEL_UNIT_SCHEMATIC.jpg|left|thumbnail|x200px]]
|-
|-
|[[File:JAC MED MON TONE ATTINY85.jpg|left|thumbnail|x200px]]
| 48 || || || 49 || || Port 0-GPIO2
| Tone I2C Controller
|
* ATTINY85 (Specific Core Selection Needed)
* TinyWireS Library
* Single Piezo Speaker
* Local Reset Button
|
[[File:JAC MED MON ATTINY85 TONE UNIT SCHEMATIC.jpg|left|thumbnail|x200px]]
|-
|-
|[[File:JAC MED MON GOGGLES 7.jpg|left|thumbnail|x200px]]
| 50 || || || 51 || || Port 0-GPIO1
| Eye Tracking Goggles
|
* Three IR Reflectance Sensors
* BNO055 IMU
* Semi-Reflective IR Reduction Filter
* Under Review Due To Blindness Hazard
|
[[File:JAC MED MON GOGGLES SIMPLE SCHEMATIC.jpg|left|thumbnail|x200px]]
|-
|-
|[[File:JAC_MED_MON_ATTINY85_TOKEN_BOX.jpg|left|thumbnail|x200px]]
| 52 || || || 53 || || Port 0-GPIO0
| ATTiny85 Token Box
|
* ATTiny85 Token
* Reset Switch
* PCB
Box/Case
|[[File:JAC_MED_MON_ATTINY85_TOKEN_SCHEMATIC.jpg|left|thumbnail|x200xp]]
|}
|}


==Units==
|


==Breakdowns==
{| class="wikitable"
|-
! Prefix !! Device !! Prefix !! Device !! Prefix !! Device
|-
| VS || VS1103 Breakout Board || VL || VL53L0X || HB || MAX30102
|-
| CP || PCF8574A Control Panel || FP || Fingerprint Scanner || AMG || AMG8833
|-
| TFT || ST7735 TFT Display || Port X || RJ45 Port || I2C-MUX || TCS9548A
|-
| SD || SD Card Socket || CT || MLX90614 ||  ||
|}


=== ATTiny85 Token ===
|}


[[File:JAC_MED_MON_ATTINY85_TOKEN_PARTS.jpg|left|thumbnail|x200px]]
=== Assembly ===
[[File:JAC_MED_MON_ATTINY85_TOKEN_BARE.jpg|left|thumbnail|x200px]]


[[File:JAC MED MON ATTINY85 TOKEN BOX_PARTS.jpg|left|thumbnail|x200px]]
[[File:JAC MED MON ARDUINO DUE ASSEMBLY.jpg]]
[[File:JAC_MED_MON_ATTINY85_TOKEN_BOX.jpg|left|thumbnail|x200px]]


=== External EKG-Respiration Unit ===
[[File:JAC MED MON ARDUINO DUE ASSEMBLY UNDERSIDE.jpg]]


[[File:JAC MED MON BioAmp EXG Pill.jpg|BioApm EXG Pill]]
----
EKG Circuit
[[File:JAC MED MON BioAmp EXG Pill BOXED.jpg]]
 
[[File:JAC MED MON NeoPixel ATTINY85.jpg]]
NeoPixel I2C Controller
[[File:JAC MED MON BioAmp EXG Pill BOXED WITH NEOPIXEL.jpg]]
 
[[File:JAC MED MON RESP MODEL RENDER.jpg]]
Respiration Detection Sensor Assembly Render
[[File:JAC MED MON RESPIRATORY SENSOR UNBOXED.jpg]]
Respiration Detector Signal Conditioner
 
[[File:JAC MED MON EKG RESP CHAIN.jpg]]
Assembly without Harness
[[File:JAC MED MON RESP MODEL 1.jpg]]
Respiration Detection Sensor Assembly Attached to Harness
 
===External Hand Held Unit===
 
[[File:JAC MED MON Hand Unit EXPLODED.jpg]]
[[File:JAC MED MON Hand Unit UNCOVERED.jpg]]
[[File:JAC MED MON Hand Unit COVERED.jpg]]
[[File:JAC MED MON GRIP UNIT.jpg]]
 
===External Poly-Liar Unit===
 
[[File:JAC MED MON RESP MODEL 2 RENDER.jpg]]
Respiration Detection Sensor Rendered Model
[[File:JAC MED MON RESP MODEL 2 TOP.jpg]]
Respiration Detection Sensor Attached to Harness
 
[[File:JAC MED MON GSR CIRCUIT.jpg]]
GSR Circuit
[[File:JAC MED MON POLY LIAR UNIT TONE.jpg]]
Tone I2C Controller
 
[[File:JAC MED MON POLY LIAR PULSE SENSOR.jpg]]
Pulse Sensor
[[File:JAC MED MON POLY LIAR TEMPERATURE SENSOR.jpg]]
TMP36 Temperature Sensor
 
[[File:JAC MED MON POLY LIAR GSR CONTACTS.jpg]]
GSR Finger Contacts
 
[[File:JAC MED MON POLY LIAR HAND HOOKUP.jpg]]
 
===Goggles Simple Unit===
 
[[File:JAC MED MON GOGGLES SIMPLE DRIVER.jpg]] Basic Driver Board
[[File:JAC MED MON GOGGLES SIMPLE DRIVER BOXED.jpg]] Boxed
 
[[File:JAC MED MON GOGGLES 1.jpg]]
[[File:JAC MED MON GOGGLES 2.jpg]]
 
[[File:JAC MED MON GOGGLES MPU.jpg]] MPU Replaced with IMU
[[File:JAC MED MON GOGGLES SIMPLE UNIT.jpg]] Prototype for Testing
 
[[File:JAC MED MON GOGGLES 3.jpg]]
[[File:JAC MED MON GOGGLES 4.jpg]]
 
[[File:JAC MED MON GOGGLES 5.jpg]]
[[File:JAC MED MON GOGGLES 6.jpg]]
 
[[File:JAC MED MON GOGGLES 7.jpg]]
 
===External EEG Simple Unit===
 
[[File:JAC MED MON BioAmp EXG Pill EEG BOARD.jpg]]
[[File:JAC MED MON EEG SIMPLE ENCASED.jpg]]
 
[[File:JAC MED MON EEG ENCASED.jpg]]
Under Construction
 
==Connections==
 
===Arduino DUE Pin Usage Baseline 1===
 
[[File:JAC MED MON PIN TABLE E BASELINE 1.jpg]]
 
[[File:JAC MED MON PIN TABLE D BASELINE 1.jpg]]
 
[[File:JAC MED MON PIN TABLE A BASELINE 1.jpg]]
 
[[File:JAC MED MON PIN TABLE B BASELINE 1.jpg]]
 
[[File:JAC MED MON PIN TABLE C BASELINE 1.jpg]]
 
=Code (Updated 11/16/2021)=
===Special Libraries===
<code>
<nowiki>#</nowiki>include <Adafruit_GFX.h>
 
<nowiki>#</nowiki>include <Adafruit_ST7735.h>
 
<nowiki>#</nowiki>include <Adafruit_VL53L0X.h>
 
<nowiki>#</nowiki>include <Adafruit_AMG88xx.h>
 
<nowiki>#</nowiki>include <MAX30105.h>
 
<nowiki>#</nowiki>include <SparkFunMLX90614.h>
 
<nowiki>#</nowiki>include <DFRobot_ID809.h>
 
<nowiki>#</nowiki>include "bmpHeader.h"
 
<nowiki>#</nowiki>include <SD.h>
 
<nowiki>#</nowiki>include <Adafruit_MPU6050.h>
 
<nowiki>#</nowiki>include <Adafruit_Sensor.h>
 
<nowiki>#</nowiki>include <pu2clr_pcf8574.h>
</code>
 
===Library Modification===
<nowiki>
// In this Library : #include <SparkFunMLX90614.h>
//Change the following line in the bool IRTherm::I2CReadWord(byte reg, int16_t * dest) routine.
//
//  I2C processing change needed for Arduino Due implementation
//
// Comment Out Line Below
// _i2cPort->requestFrom(_deviceAddress, (uint8_t) 3, (uint8_t) true);
 
// Add Line Below
      _i2cPort->requestFrom(_deviceAddress, (uint8_t) 3, (uint32_t)reg, (uint8_t)1, (uint8_t)true);
</nowiki>
 
===Code Listing===


[[Pseudo-Medical Monitor Code]]


= Main Pseudo-Medical Monitor Page =
= Main Pseudo-Medical Monitor Page =


  [[Pseudo-Medical Monitor]]
  [[Pseudo-Medical Monitor]]

Latest revision as of 17:01, 11 December 2021

This Amazing, Affordable, Earth Changing Device, for which no endorsement is to be inferred, is designed as a collection of layers.

Main Unit Sensor Layer

Components

General Components
Device Name Use

Arduino DUE Prototyping Shield

Base PCB for layer

* 160x128 LCD TFT SPI 1.8" Module with SD Socket (Heyaodz111208)

Display and SD Card Socket

Headers Divided into various length for mounting sensors and other devices

Sensors

Sensors
Device Name Description Interface
AMG8833 Thermal Imager Sensor (TinyCircuits) 8x8 thermal image sensor I2C Address 0x69
Capacitive Touch Fingerprint Scanner (DFROBOT) ID809 high-performance processor and semiconductor fingerprint sensor Serial UART
MAX30102 Pulse and O2 Saturation Sensor (MH-ET Live) IR and Visible Pulse and O2 Saturation Measurement I2C Address 0x57
MLX90614 Contactless Temperature Sensor Field and object temperature sensor I2C Address 0x5A
VL53L0X TOF Laser Distance Sensor (Onyehn) IR Laser time of flight distance sensor I2C Address 0x29

Shield Wiring

Pin Mapping
Due Shield Pin Function MLX90614 AMG8833 VL53L0X MAX30102 FP Scan TFT SD Socket Control Panel Analog Test Socket
2 Interrupt INT
3 Interrupt IRQ
4 Interrupt INT
5 Interrupt INT
6 Digital I/O GPIO1
7 Digital I/O XSHUT
8 Digital I/O SD_CS
9 Digital I/O RST
10 Digital I/O CS
11 Digital I/O AO
18 TX_1 RX
19 RX_1 TX
20 SDA SDA SDA SDA SDA SDA
21 SCL SCL SCL SCL SCL SCL
A0 Signal
SPI MISO SD_MISO
SPI MOSI SDA SD_MOSI
SPI SCK SCK SD_SCK

Assembly


Control Panel

Components

Control Panel Part
Device Name Use
RadioShack PCB 276-150 Control Panel PCB
Header Pins (various colors) Connector to Main Sensor Layer and configuration jumpers
Jumper/Short Configure Control Panel I2C Address
PCF8574 Remote 8-Bit I/O Expander Monitor Rotary Encoders and Set LED Condition
LEDs Provide visual ques to user
Rotary Encoder User interface device
Mounting Brackets Control Panel mounting brackets to Main Sensor Layer

Control Panel Wiring

Device Schematic
Pin Mapping
Device SIGNAL DUE Shield Pin Function
Controls Vin 3.3V Power
Controls SDA 20 SDA-I2C
Controls SCL 21 SCL-I2C
Controls INT 2 GPIO
Controls GND GND Power

Assembly


Audio Layer

Components

General Components
Device Name Use

Arduino DUE Prototyping Shield

Base PCB for layer

Breakout Board for VS1103 MIDI Decoder Provide audio to user
Stereo Phono Jack Audio output

Shield Wiring

Pin Mapping
Device SIGNAL DUE Shield Pin Function
VS1103 Vin 3.3V Power
VS1103 GND GND Power
VS1103 TX 17 RX-Serial2
VS1103 RX 16 TX-Serial2
VS1103 GPIO0 30 GPIO
VS1103 GPIO1 32 GPIO
VS1103 RST 28 GPIO
VS1103 DREQ 24 GPIO
VS1103 BSYNC 26 GPIO
VS1103 CS 22 GPIO
VS1103 SO SPI-HDR MISO
VS1103 SI SPI-HDR MOSI
VS1103 SCLK SPI-HDR SCK

Assembly


Ports Layer

Components

General Components
Device Name Use

Arduino DUE Prototyping Shield

Base PCB for layer

TCA9548A 1-to-8 I2C Multiplexer Breakout

  • Provide separate I2C bus isolation for each port
  • I2C Address 0x1E

Dual RJ45 Port Box

Provide External Unit connectivity to device

Shield Wiring

Device Notes
Pin Mapping
Port # Line # DUE Shield Pin Function Port # Line # DUE Shield Pin Function Port # Line # DUE Shield Pin Function Port # Line # DUE Shield Pin Function
0 1 3.3V Power 1 1 3.3V Power 2 1 3.3V Power 3 1 3.3V Power
0 2 GND Power 1 2 GND Power 2 2 GND Power 3 2 GND Power
0 3 MUX-SD0 1 3 MUX-SD1 2 3 MUX-SD2 3 3 MUX-SD3
0 4 MUX-SC0 1 4 MUX-SC1 2 4 MUX-SC2 3 4 MUX-SC3
0 5 53 GPIO0 1 5 27 GPIO0 2 5 A10/64 Analog0 3 5 A5/59 Analog0
0 6 51 GPIO1 1 6 29 GPIO1 2 6 A9/63 Analog1 3 6 A4/58 Analog1
0 7 49 GPIO2 1 7 31 GPIO2 2 7 A8/62 Analog2 3 7 A3/57 Analog2
0 8 A11/65 Analog0 1 8 A6/60 Analog0 2 8 A7/61 Analog3 3 8 A2/56 Analog3
  • Pull-Up Resistors added to second I2C bus on DUE Shield
  • TCA9548A Module is the I2C-MUX
  • I2C-MUX is connected to the second I2C bus on DUE Shield
  • I2C-MUX Reset is connected to DUE Shield PIN D23

Assembly

Processor Layer

Components

Processor Layer
Device Name Use
Arduino Due Generic Clone (ITEADUINO DUE) Main Processor
Mounting Brackets Mounting brackets support RJ45 Dual Port Boxes from Ports Layer

Wiring

Device
DUE Pin DUE Function Device DUE Pin DUE Function Device
0 RX_0 Serial0 13
1 TX_0 Serial0 14 TX_3
2 CP_INT 15 RX_3
3 FP_IRQ 16 TX_2 VS_RX
4 HB_INT 17 RX_2 VS_TX
5 AMG_INT 18 TX_1 FP_RX
6 VL_GPIO01 19 RX_1 FP_TX
7 VL_XSHUT 20 SDA Multiple
8 SD_CS 21 SCL Multiple
9 TFT_RST SDA1 I2C-MUX_SDA
10 TFT_CS SCL1 I2C-MUX_SCL
11 TFT_A0 MISO Multiple
12 MOSI Multiple
SCLK Multiple
DUE Pin DUE Function Device DUE Pin DUE Function Device
A0 RX_0 A8 Port 2-A2
A1 TX_0 A9 Port 2-A1
A2 Port 3-A3 A10 Port 2-A0
A3 Port 3-A2 A11 Port 1-A0
A4 Port 3-A1 DAC0 DAC
A5 Port 3-A0 DAC1 DAC
A6 Port 1-A0 CANRX CAN
A7 Port 2-A3 CANTX CAN
DUE Pin DUE Function Device DUE Pin DUE Function Device
22 VS_CS 23 I2C-MUX_RST
24 VS_DREQ 25
26 VS_XDCS 27 Port 1-GPIO0
28 VS_RST 29 Port 1-GPIO1
30 VS_GPIO0 31 Port 1-GPIO2
32 VS_GPIO1 33
34 35
36 37
38 39
40 41
42 43
44 45
46 47
48 49 Port 0-GPIO2
50 51 Port 0-GPIO1
52 53 Port 0-GPIO0
Prefix Device Prefix Device Prefix Device
VS VS1103 Breakout Board VL VL53L0X HB MAX30102
CP PCF8574A Control Panel FP Fingerprint Scanner AMG AMG8833
TFT ST7735 TFT Display Port X RJ45 Port I2C-MUX TCS9548A
SD SD Card Socket CT MLX90614

Assembly



Main Pseudo-Medical Monitor Page

Pseudo-Medical Monitor