Cov txheej txheem:

HackerBox 0026: BioSense: 19 Cov Kauj Ruam
HackerBox 0026: BioSense: 19 Cov Kauj Ruam

Video: HackerBox 0026: BioSense: 19 Cov Kauj Ruam

Video: HackerBox 0026: BioSense: 19 Cov Kauj Ruam
Video: #27 HackerBox 0035 2024, Kaum ib hlis
Anonim
HackerBox 0026: BioSense
HackerBox 0026: BioSense

BioSense - Lub hlis no, HackerBox Hackers tab tom tshawb nrhiav lub zog ua haujlwm txuas rau ntsuas lub cev lub cev, lub hlwb, thiab cov leeg pob txha. Cov Lus Qhia no muaj cov ntaub ntawv rau ua haujlwm nrog HackerBox #0026, uas koj tuaj yeem khaws tau ntawm no thaum cov khoom siv kawg. Tsis tas li, yog tias koj xav tau txais HackerBox zoo li txoj cai no hauv koj lub mailbox txhua lub hlis, thov sau npe ntawm HackerBoxes.com thiab koom nrog kev tawm tsam!

Cov Ntsiab Lus thiab Kawm Lub Hom Phiaj rau HackerBox 0026:

  • Nkag siab qhov kev xav thiab kev siv ntawm op-amp circuits
  • Siv cov cuab yeej ntsuas ntsuas los ntsuas cov cim me me
  • Sib sau ua ke tshwj xeeb HackerBoxes BioSense Board
  • Ntsuas tib neeg cov ncauj lus rau ECG thiab EEG
  • Sau cov cim qhia cuam tshuam nrog tib neeg cov pob txha pob txha
  • Tsim hluav taws xob muaj kev nyab xeeb tib neeg cuam tshuam kev sib txuas
  • Pom pom cov cim sib piv dhau USB lossis ntawm OLED zaub

HackerBoxes yog lub npov muab kev pabcuam txhua hli rau DIY khoom siv hluav taws xob thiab tshuab computer. Peb yog cov nyiam ua haujlwm, tsim khoom, thiab sim ua. Peb yog cov neeg ua npau suav npau suav. HACK THE PLANET!

Kauj Ruam 1: HackerBox 0026: Cov Ntsiab Lus Box

HackerBox 0026: Cov Ntsiab Lus Box
HackerBox 0026: Cov Ntsiab Lus Box
HackerBox 0026: Cov Ntsiab Lus Box
HackerBox 0026: Cov Ntsiab Lus Box
HackerBox 0026: Cov Ntsiab Lus Box
HackerBox 0026: Cov Ntsiab Lus Box
  • HackerBoxes #0026 Daim Npav Siv Tau
  • Tshwj xeeb HackerBoxes BioSense PCB
  • OpAmp thiab Cov Khoom Siv rau BioSense PCB
  • Arduino Nano V3: 5V, 16MHz, MicroUSB
  • OLED Module 0.96 nti, 128x64, SSD1306
  • Pulse Sensor Module
  • Snap-Style Ua Tus Coj rau Lub Cev Lub Cev
  • Adhesive Gel, Snap-Style Electrode Pads
  • OpenEEG Electrode Pluaj Cov Khoom
  • Shrink Tubing - 50 Daim Ntau Yam
  • MicroUSB Cable
  • Tshwj xeeb WiredMind Decal

Qee qhov lwm yam uas yuav pab tau:

  • Soldering hlau, cov laug, thiab cov cuab yeej siv yooj yim
  • Khoos phis tawj rau kev khiav cov cuab yeej software
  • 9V Roj Teeb
  • Stranded nuv-up hlau

Qhov tseem ceeb tshaj, koj yuav xav tau kev nkag siab ntawm kev taug txuj kev nyuaj, DIY tus ntsuj plig, thiab xav paub xav paub hacker. Hardcore DIY cov khoom siv hluav taws xob tsis yog kev nrhiav tsis tseem ceeb, thiab peb tsis tso dej rau koj. Lub hom phiaj yog kev vam meej, tsis yog kev ua tiav. Thaum koj mob siab rau thiab txaus siab rau kev taug txuj kev nyuaj, kev txaus siab ntau tuaj yeem tau los ntawm kev kawm thev naus laus zis tshiab thiab vam tias yuav tau txais qee qhov haujlwm ua haujlwm. Peb hais kom ua txhua kauj ruam qeeb, mloog cov ntsiab lus, thiab tsis txhob ntshai thov kev pab.

Nco ntsoov tias muaj cov ntaub ntawv muaj txiaj ntsig rau tam sim no, thiab yav tom ntej, cov tswv cuab hauv HackerBox FAQ.

Kauj Ruam 2: Kev Ua Haujlwm Amplifiers

Kev Ua Haujlwm Amplifiers
Kev Ua Haujlwm Amplifiers

Lub tshuab ua haujlwm ua haujlwm (lossis op-amp) yog qhov ua kom muaj zog ntau ntxiv nrog rau qhov sib txawv. Ib qho op-amp tsim cov peev txheej tsim tawm uas feem ntau yog ntau pua txhiab lub sijhawm loj dua qhov muaj peev xwm sib txawv ntawm nws ob lub davhlau ya nyob twg. Cov tshuab ua haujlwm tau muaj lawv lub hauv paus hauv cov khoos phis tawj sib xws, qhov uas lawv tau siv los ua lej hauv ntau txoj kab, tsis yog kab tawm, thiab siv ntau zaus nyob ib puag ncig. Op-amps yog ib qho ntawm cov cuab yeej siv hluav taws xob uas siv ntau tshaj plaws niaj hnub no, tau siv ntau hauv cov neeg siv khoom, cov khoom lag luam, thiab cov khoom siv tshawb fawb.

Qhov zoo tshaj plaws op-amp feem ntau txiav txim siab kom muaj cov yam ntxwv hauv qab no:

  • Infinite qhib-voj nce G = vout / vin
  • Infinite input impedance Rin (yog li, xoom input tam sim no)
  • Zero input offset voltage
  • Infinite tso zis ntau yam
  • Kev siv bandwidth tsis kawg nrog xoom theem hloov pauv thiab tsis muaj qhov tua tus nqi
  • Zero tso zis impedance Txoj Kev
  • Zero suab nrov
  • Qhov tsis sib xws hom hom tsis lees paub (CMRR)
  • Cov hwj huam tsis muaj zog tsis lees paub piv.

Cov tswv yim no tuaj yeem suav nrog ob qhov "txoj cai kub":

  1. Hauv lub voj kaw kaw qhov kev tso tawm sim ua txhua yam uas tsim nyog los ua qhov sib txawv ntawm qhov nruab nrab ntawm cov khoom siv xoom.
  2. Cov tswv yim kos tsis muaj tam sim no.

[Wikipedia]

Cov peev txheej Op-Amp Ntxiv:

Cov vis dis aus qhia ntxaws ntxaws los ntawm EEVblog

Khan Academy

Tutorials Electronics

Kauj Ruam 3: Kev Ntsuas Kev Siv Hluav Taws Xob

Cov cuab yeej Amplifiers
Cov cuab yeej Amplifiers

Ib qho cuab yeej siv hluav taws xob yog ib hom kev sib txawv ntawm lub zog ua ke nrog cov khoom siv tsis nyob hauv lub zog. Qhov kev teeb tsa no tshem tawm qhov xav tau rau kev cuam tshuam kev cuam tshuam cuam tshuam thiab yog li ua rau lub suab nrov tshwj xeeb tsim rau siv hauv kev ntsuas thiab ntsuas cov cuab yeej. Cov cuab yeej siv hluav taws xob tau siv qhov twg qhov tseeb raug thiab ruaj khov ntawm lub Circuit Court xav tau. Cov cuab yeej siv suab paj nruag muaj qhov sib txawv ntau hom kev tsis lees paub ua rau lawv haum rau ntsuas ntsuas me me thaum muaj suab nrov.

Txawm hais tias qhov ntsuas qhov ntsuas qhov ntsuas feem ntau pom tau zoo raws li qhov zoo ib yam rau tus qauv op-amp, cov cuab yeej siv hluav taws xob yuav luag ib txwm nyob sab hauv ntawm THREE op-amps. Cov no tau teeb tsa kom muaj ib qho op-amp rau buffer txhua qhov tawm tswv yim (+,-), thiab ib qho los tsim cov txiaj ntsig xav tau nrog qhov cuam tshuam cuam tshuam txaus.

[Wikipedia]

Phau Ntawv PDF: Tus Tsim Qauv Phau Ntawv Qhia rau Cov Khoom Siv Ua Haujlwm

Kauj Ruam 4: HackerBoxes BioSense Board

HackerBoxes BioSense Board
HackerBoxes BioSense Board

HackerBoxes BioSense Board nta cov khoom siv ua haujlwm thiab ntsuas qhov ntsuas kom pom thiab ntsuas plaub lub cev lub cev qhia hauv qab no. Cov cim hluav taws xob me me tau ua tiav, ua kom nrov nrov thiab pub rau lub microcontroller uas lawv tuaj yeem xa mus rau lub khoos phis tawj ntawm USB, ua tiav, thiab tso tawm. Rau kev tswj hwm microcontroller, HackerBoxes BioSense Board ntiav tus Arduino Nano module. Nco ntsoov tias ob peb kauj ruam tom ntej tsom mus rau kev npaj Arduino Nano module rau siv nrog BioSense Board.

Pulse Sensor modules muaj lub teeb ci thiab lub teeb pom kev zoo. Thaum tus qauv tau ntsib nrog lub cev nqaij daim tawv, piv txwv li lub ntsis ntiv tes lossis pob ntseg, kev hloov pauv ntawm lub teeb pom kev raug ntsuas raws li cov ntshav tso los ntawm cov ntaub so ntswg.

ECG (Electrocardiography), tseem hu ua EKG, sau cov hluav taws xob ua haujlwm ntawm lub plawv dhau ib lub sijhawm siv cov hluav taws xob tso rau ntawm daim tawv nqaij. Cov hluav taws xob no kuaj pom qhov hloov pauv hluav taws xob me me ntawm daim tawv nqaij uas tshwm sim los ntawm lub plawv cov leeg cov electrophysiologic tus qauv ntawm kev tshem tawm thiab rov ua dua tshiab thaum lub plawv dhia. ECG yog qhov kev kuaj mob plawv ntau heev. [Wikipedia]

EEG (Electroencephalography) yog txheej txheem tshuaj xyuas hluav taws xob txhawm rau sau cov hluav taws xob ua haujlwm ntawm lub hlwb. Cov hluav taws xob tau muab tso rau ntawm cov tawv taub hau thaum EEG ntsuas qhov ntsuas hluav taws xob hloov pauv los ntawm ionic tam sim no hauv cov neurons ntawm lub hlwb. [Wikipedia]

EMG (Electromyography) ntsuas kev ua haujlwm hluav taws xob cuam tshuam nrog cov leeg pob txha. Ib qho hluav taws xob hluav taws xob pom lub peev xwm hluav taws xob tsim los ntawm cov leeg nqaij thaum lawv tau hluav taws xob lossis ua haujlwm rau lub paj hlwb. [Wikipedia]

Kauj Ruam 5: Arduino Nano Microcontroller Platform

Arduino Nano Microcontroller Platform
Arduino Nano Microcontroller Platform

Qhov suav nrog Arduino Nano module los nrog lub taub hau pins, tab sis lawv tsis muab muag rau cov qauv. Tso cov pins tawm tam sim no. Ua cov kev sim no thawj zaug ntawm Arduino Nano module sib cais los ntawm BioSense Board thiab PRIOR txhawm rau siv lub taub hau pins Arduino Nano. Txhua yam uas xav tau rau ob peb kauj ruam tom ntej yog microUSB cable thiab Nano module ib yam li nws tawm ntawm lub hnab.

Arduino Nano yog qhov ua kom zoo nkauj, ua tau zoo rau lub rooj noj mov, ua haujlwm me me Arduino board nrog USB ua ke. Nws yog amazingly puv-featured thiab yooj yim rau hack.

Nta:

  • Microcontroller: Atmel ATmega328P
  • Qhov Voltage: 5V
  • Digital I/O Pins: 14 (6 PWM)
  • Analog Input Pins: 8
  • DC Tam Sim No rau I/O Pin: 40 mA
  • Flash nco: 32 KB (2KB rau bootloader)
  • SIB: 2 KB
  • EEPROM: 1 KB
  • Moos Ceev: 16 MHz
  • Medidas: 17 mm x 43 mm

Qhov kev hloov pauv tshwj xeeb ntawm Arduino Nano yog xim dub Robotdyn tsim. Lub interface yog los ntawm lub nkoj MicroUSB chaw nres nkoj uas sib xws nrog tib lub MicroUSB cables siv nrog ntau lub xov tooj ntawm tes thiab ntsiav tshuaj.

Arduino Nanos muaj lub built-in USB/Serial choj nti. Ntawm qhov kev hloov pauv tshwj xeeb no, tus choj choj yog CH340G. Nco ntsoov tias muaj ntau yam lwm yam ntawm USB/Serial choj chips siv ntawm ntau hom Arduino cov laug cam. Cov chips no tso cai rau koj lub khoos phis tawj USB chaw nres nkoj sib txuas lus nrog cov lej txuas ntawm Arduino tus txheej txheem ua haujlwm.

Lub khoos phis tawj lub operating system xav tau Tus Tsav Tsheb Sib Txuas los sib tham nrog USB/Serial nti. Tus tsav tsheb tso cai rau IDE tham nrog Arduino board. Cov cuab yeej siv tshwj xeeb uas xav tau yog nyob ntawm ob qho OS version thiab tseem yog hom USB/Serial nti. Rau CH340 USB/Serial chips, muaj cov tsav tsheb muaj rau ntau lub tshuab ua haujlwm (UNIX, Mac OS X, lossis Windows). Tus tsim khoom ntawm CH340 muab cov tsav tsheb ntawm no.

Thaum koj xub ntsaws Arduino Nano rau hauv USB chaw nres nkoj ntawm koj lub khoos phis tawj, lub zog ntsuab yuav tsum tuaj thiab tsis ntev tom qab lub xiav LED yuav tsum pib ntsais muag qeeb. Qhov no tshwm sim vim tias Nano tau npaj ua ntej nrog BLINK qhov haujlwm, uas tau ua haujlwm ntawm lub npe tshiab Arduino Nano.

Kauj Ruam 6: Arduino Integrated Development Environment (IDE)

Arduino Integrated Development Environment (IDE)
Arduino Integrated Development Environment (IDE)

Yog tias koj tseem tsis tau teeb tsa Arduino IDE, koj tuaj yeem rub nws los ntawm Arduino.cc

Yog tias koj xav tau cov ntaub ntawv qhia ntxiv rau kev ua haujlwm hauv Arduino ecosystem, peb hais kom txheeb xyuas cov lus qhia rau HackerBoxes Starter Rhiav.

Txuas Nano mus rau hauv MicroUSB cable thiab lwm qhov kawg ntawm txoj hlua rau hauv USB chaw nres nkoj ntawm lub khoos phis tawj, tso tawm Arduino IDE software, xaiv qhov tsim nyog USB chaw nres nkoj hauv IDE hauv cov cuab yeej> chaw nres nkoj (yuav muaj lub npe nrog "wchusb" hauv nws). Kuj tseem xaiv "Arduino Nano" hauv IDE hauv cov cuab yeej> pawg thawj coj.

Thaum kawg, thauj khoom ib qho piv txwv code:

Cov ntaub ntawv-> Piv txwv-> Pib-> Blink

Qhov no yog qhov chaws uas tau tso ua ntej mus rau Nano thiab yuav tsum tau khiav tam sim no kom maj mam ntsais qhov xiav LED. Raws li, yog tias peb thauj tus lej piv txwv no, tsis muaj dab tsi yuav hloov pauv. Hloov chaw, cia hloov kho txoj cai me ntsis.

Saib ze, koj tuaj yeem pom tias qhov haujlwm qhib LED, tos 1000 milliseconds (ib pliag), tig LED tawm, tos lwm thib ob, thiab tom qab ntawd ua txhua yam ntxiv - mus ib txhis.

Hloov kho cov cai los ntawm kev hloov ob qho ntawm "ncua (1000)" nqe lus rau "ncua (100)". Qhov kev hloov kho no yuav ua rau LED ntsais kaum zaus sai dua, puas yog?

Cia peb thauj cov cai hloov pauv mus rau hauv Nano los ntawm nyem lub pob UPLOAD (lub cim xub) nyob saum koj li kev cai hloov kho. Saib hauv qab cov cai rau cov ntaub ntawv xwm txheej: "suav" thiab tom qab ntawd "xa tawm". Thaum kawg, IDE yuav tsum qhia "Uploading Complete" thiab koj cov LED yuav tsum ntsais muag sai dua.

Yog tias muaj, nrog koj zoo siab! Koj nyuam qhuav tau nyiag koj thawj daim ntawm cov lej kos.

Thaum koj cov ntawv ntsais ntsais tau rub thiab khiav, vim li cas ho tsis pom tias koj puas tuaj yeem hloov pauv txoj cai kom ua rau LED ntsais ntsais sai dua ob zaug thiab tom qab ntawd tos ob peb feeb ua ntej rov ua dua? Muab nws sim! Yuav ua li cas txog qee qhov qauv? Thaum koj ua tiav ntawm kev pom lub txiaj ntsig xav tau, coding nws, thiab saib xyuas nws kom ua haujlwm raws li tau npaj tseg, koj tau ua cov kauj ruam loj rau dhau los ua cov cuab yeej muaj peev xwm hacker.

Kauj Ruam 7: Arduino Nano Header Pins

Arduino Nano Header Pins
Arduino Nano Header Pins

Tam sim no koj lub khoos phis tawj txhim kho tau teeb tsa kom thauj cov lej mus rau Arduino Nano thiab Nano tau raug sim, tshem tawm USB cable los ntawm Nano thiab npaj tau los txhuam.

Yog tias koj tshiab rau soldering, muaj ntau txoj hauv kev zoo thiab cov vis dis aus online hais txog kev siv tshuaj yaj yeeb. Nov yog ib qho piv txwv. Yog tias koj xav tias koj xav tau kev pab ntxiv, sim nrhiav cov pab pawg hauv cheeb tsam lossis chaw hacker hauv koj thaj chaw. Tsis tas li, cov koom haum nyiam mloog xov tooj cua ib txwm yog cov khoom siv hluav taws xob zoo tshaj plaws.

Solder ob kab ib kab taub hau (kaum tsib tus pin) rau Arduino Nano module. Rau tus pin ICSP (hauv-Circuit ntu kev ua haujlwm txuas) yuav tsis siv rau hauv txoj haujlwm no, yog li cia li tso cov pins tawm.

Thaum cov txheej txheem ua tiav tiav, txheeb xyuas kom zoo rau cov choj txuas thiab/lossis cov khoom sib dhos txias. Thaum kawg, nqes Arduino Nano rov qab mus rau USB cable thiab txheeb xyuas tias txhua yam tseem ua haujlwm tau zoo.

Kauj Ruam 8: Cheebtsam rau BioSense PCB Kit

Cheebtsam rau BioSense PCB Cov Khoom
Cheebtsam rau BioSense PCB Cov Khoom

Nrog lub microcontroller module npaj mus, nws yog lub sijhawm los sib sau ua pawg BioSense.

Daim Ntawv Teev Npe:

  • U1:: 7805 Regulator 5V 0.5A TO-252 (cov ntawv)
  • U2:: MAX1044 Voltage Converter DIP8 (cov ntawv)
  • U3:: AD623N Cov Khoom Siv Ua Haujlwm DIP8 (cov ntawv)
  • U4:: TLC2272344P OpAmp DIP8 DIP8 (cov ntawv)
  • U5:: INA106 Qhov Sib Txawv Sib Txawv DIP8 (cov ntawv)
  • U6, U7, U8:: TL072 OpAmp DIP8 (cov ntawv)
  • D1, D2:: 1N4148 Hloov Diode Axial Lead
  • S1, S2:: SPDT Swb Hloov 2.54mm Suab
  • S3, S4, S5, S6:: Tactile Momentary Button 6mm X 6mm X 5mm
  • BZ1:: Passive Piezo Buzzer 6.5mm Suab
  • R1, R2, R6, R12, R16, R17, R18, R19, R20:: 10KOhm Resistor [BRN BLK ORG]
  • R3, R4:: 47KOhm Resistor [YEL VIO ORG]
  • R5:: 33KOhm Resistor [ORG ORG ORG]
  • R7:: 2.2MOhm Resistor [RED RED GRN]
  • R8, R23:: 1KOhm Resistor [BRN BLK RED]
  • R10, R11:: 1MOhm Resistor [BRN BLK GRN]
  • R13, R14, R15:: 150KOhm Resistor [BRN GRN YEL]
  • R21, R22:: 82KOhm Resistor [GRY RED ORG]
  • R9:: 10KOhm Trimmer Potentiometer “103”
  • R24:: 100KOhm Trimmer Potentiometer “104”
  • C1, C6, C11:: 1uF 50V Monolithic Cap 5mm Suab "105"
  • C2, C3, C4, C5, C7, C8:: 10uF 50V Monolithic Cap 5mm Suab "106"
  • C9:: 560pF 50V Monolithic Cap 5mm Suab "561"
  • C10:: 0.01uF 50V Monolithic Cap 5mm Suab “103”
  • 9V Roj Teeb Clips nrog Cov Hlau Hlau
  • 1x40pin Tus Poj Niam QHOV TSEEB HEADER 2.54mm Suab
  • Xya DIP8 Qhov (Socket)
  • Ob lub 3.5mm Suab-Style, PCB-Mount Sockets

Kauj Ruam 9: Sib sau ua BioSense PCB

Sib sau ua BioSense PCB
Sib sau ua BioSense PCB

RESISTORS: Muaj yim qhov txiaj ntsig sib txawv ntawm cov resistors. Lawv tsis hloov pauv tau thiab yuav tsum tau ua tib zoo muab tso rau qhov chaw lawv nyob. Pib los ntawm kev txheeb xyuas qhov muaj txiaj ntsig ntawm txhua hom resistor siv cov xim xim qhia hauv cov npe khoom (thiab/lossis ohmeter). Sau tus nqi ntawm daim ntawv kab xev txuas nrog cov resistors. Qhov no ua rau nws nyuaj heev kom xaus nrog cov neeg tawm tsam hauv qhov chaw tsis raug. Resistors tsis yog polarized thiab tuaj yeem tso rau hauv ob qho tib si. Thaum soldered rau hauv qhov chaw, ua tib zoo txiav cov ntawv ua rau sab nraum qab ntawm lub rooj tsavxwm.

CAPACITORS: Muaj plaub qhov txiaj ntsig sib txawv ntawm cov capacitors. Lawv tsis hloov pauv tau thiab yuav tsum tau ua tib zoo muab tso rau qhov chaw lawv nyob. Pib los ntawm kev txheeb xyuas qhov muaj txiaj ntsig ntawm txhua hom capacitor siv tus lej cim qhia hauv cov npe khoom. Ceramic capacitors tsis yog polarized thiab tuaj yeem tso rau hauv ob qho tib si. Thaum soldered rau hauv qhov chaw, ua tib zoo txiav cov ntawv ua rau sab nraum qab ntawm lub rooj tsavxwm.

POWER SUPPLY: Ob lub khoom siv hluav taws xob uas tsim hluav taws xob yog U1 thiab U2. Solder cov tom ntej no. Thaum siv lub tshuab U1, nco ntsoov tias lub flange tiaj tus yog cov cuab yeej hauv av pin thiab cov cua sov. Nws yuav tsum tau muab tshuaj txhuam txhuam rau PCB. Cov khoom siv suav nrog DIP8 qhov (socket). Txawm li cas los xij, rau qhov hloov pauv hluav taws xob U2, peb xav pom zoo kom ua tib zoo siv lub IC ncaj qha mus rau lub rooj tsavxwm yam tsis muaj lub qhov (socket).

Solder ntawm ob lub khawm swb thiab lub 9V roj teeb clip ua. Nco ntsoov tias yog tias koj lub roj teeb clip tuaj nrog lub ntsaws ntsaws rau ntawm tus coj, koj tsuas tuaj yeem ntsaws qhov txuas txuas.

Lub sijhawm no, koj tuaj yeem ntsaws rau ntawm 9V roj teeb, tig lub hwj chim hloov thiab siv lub ntsuas hluav taws xob txhawm rau txheeb xyuas tias koj lub zog siv hluav taws xob tau tsim -9V kev tsheb nqaj hlau thiab +5V kev tsheb nqaj hlau los ntawm kev muab +9V. Tam sim no peb muaj peb qhov khoom siv hluav taws xob thiab hauv av tag nrho los ntawm ib lub roj teeb 9V. REMOVE lub roj teeb mus txuas ntxiv ASSEMBLY.

DIODES: Ob lub diodes D1 thiab D2 yog me me, axial-leaded, iav-txiv kab ntxwv. Lawv yog polarized thiab yuav tsum tau taw qhia kom cov kab dub ntawm kab diode pob kab nrog cov kab tuab ntawm PCB silkscreen.

HEADER SOCKETS: Cais 40 tus pin header rau hauv peb ntu ntawm 3, 15, thiab 15 txoj haujlwm txhua. Txhawm rau txiav lub taub hau kom ntev, siv cov xaim me me los txiav los ntawm txoj haujlwm ONE PAST qhov twg koj xav kom lub qhov (socket) sawb xaus. Tus pin/qhov uas koj txiav los raug txi. Peb tus pin lub taub hau yog rau lub ntsuas ntshav siab nyob rau sab saum toj ntawm lub rooj tsavxwm nrog cov ntawv cim npe "GND 5V SIG". Ob kaum kaum tus pin headers yog rau Arduino Nano. Nco ntsoov tias rau tus lej pin ICSP (hauv-Circuit ntu kev ua haujlwm txuas) ntawm Nano tsis siv ntawm no thiab tsis xav tau lub taub hau. Peb kuj tsis hais kom txuas lub OLED zaub nrog lub taub hau. Muab cov taub hau tso rau hauv qhov chaw thiab tso lawv tseg tam sim no.

DIP SOCKETS: Rau rau lub tshuab ua suab nrov U3-U8 yog txhua yam hauv DIP8 pob. Muab lub DIP8 nti ntsaws rau hauv txhua ntawm rau txoj haujlwm kom ntseeg tau tias yuav tsum tau taw qhia qhov nqis siab tshaj hauv lub qhov (socket) kom haum nrog lub thais ntawm PCB silkscreen. Solder lub qhov (socket) yam tsis muaj lub nti tso rau hauv. Tso lawv tseg tam sim no.

NYEEM NTAWV YUAV TSUM PAUB: Thaum kawg muab plaub lub laub khawm, ob lub trimpots (nco ntsoov tias lawv yog ob qhov sib txawv), lub suab nrov (nco ntsoov tias nws yog polarized), ob lub hli 3.5 lub suab-style jacks, thiab kawg OLED zaub.

SOCKETED COV LUS QHUAB QHIA: Thaum tag nrho cov khoom siv ua kom tiav tiav, yuav ua rau lub tshuab ua suab nrov ntxiv rau rau (suav txog qhov taw qhia ntawm qhov thais). Tsis tas li, Arduino Nano tuaj yeem tso nrog lub USB txuas ntawm ntug ntawm BioSense Board.

Kauj Ruam 10: Kev Nyab Xeeb Hluav Taws Xob thiab Cov Khoom Siv Hluav Taws Xob

Kev Nyab Xeeb Hluav Taws Xob thiab Cov Khoom Siv Hluav Taws Xob
Kev Nyab Xeeb Hluav Taws Xob thiab Cov Khoom Siv Hluav Taws Xob

Hauv daim duab qhia chaw rau HackerBoxes BioSense Board, nco ntsoov tias muaj HUMAN INTERFACE (lossis ANALOG) ntu thiab tseem yog ntu DIGITAL. Tsuas yog qhov xwm txheej uas hla ntawm ob ntu no yog peb kab lus sib piv rau Arduino Nano thiab +9V roj teeb uas tuaj yeem qhib tau siv USB/BAT hloov S2.

Tawm ntawm qhov kev ceeb toom ntau, nws yog ib qho kev coj ua kom tsis txhob muaj ib qho kev sib txuas nrog tib neeg lub cev uas siv hluav taws xob phab ntsa (kab hluav taws xob, lub zog loj, nyob ntawm seb koj nyob qhov twg). Raws li, HUMAN INTERFACE feem ntawm pawg thawj coj tsuas yog siv los ntawm 9V roj teeb. Txawm li cas los xij tsis zoo li nws yuav yog lub khoos phis tawj tam sim ntawd tso 120V rau ntawm USB txuas, qhov no yog txoj cai pov hwm me ntsis ntxiv. Ib qho txiaj ntsig ntxiv rau qhov tsim qauv no yog tias peb tuaj yeem ua lub zog tag nrho los ntawm 9V roj teeb yog tias peb tsis xav tau lub khoos phis tawj txuas nrog.

ON/OFF SWITCH (S1) ua haujlwm txhawm rau txuas lub roj teeb 9V los ntawm kev siv hluav taws xob tag nrho. Siv S1 tig qhov sib piv ntawm pawg thawj coj ua tawm thaum tsis siv.

USB/BAT SWITCH (S2) ua haujlwm txuas lub roj teeb 9V rau cov khoom siv ntawm Nano thiab OLED. Tawm S2 hauv USB chaw thaum lub rooj sib tham tau txuas nrog lub khoos phis tawj ntawm USB cable thiab cov khoom siv digital yuav muab los ntawm lub khoos phis tawj. Thaum Nano thiab OLED yuav tsum tau siv lub roj teeb 9V, tsuas yog hloov S2 mus rau txoj haujlwm BAT.

NCO TSEG RAU QHOV KEV PAB: Yog S1 yog ON, S2 nyob hauv USB, thiab tsis muaj lub zog USB muab, Nano yuav sim ua lub hwj chim nws tus kheej los ntawm cov lus qhia sib piv. Thaum tsis yog teeb meem kev nyab xeeb ntawm tib neeg, qhov no yog qhov xwm txheej tsis xav tau rau cov khoom siv hluav taws xob zoo thiab nws yuav tsum tsis txhob ncua ntev.

Kauj Ruam 11: OLED Display Library

OLED Cov Tsev Qiv Ntawv
OLED Cov Tsev Qiv Ntawv

Raws li kev sim thawj zaug ntawm OLED zaub, teeb tsa SSD1306 OLED cov neeg tsav tsheb pom ntawm no rau hauv Arduino IDE.

Kuaj OLED cov duab los ntawm kev thauj khoom piv txwv ssd1306/snowflakes thiab ua haujlwm rau hauv BioSense Board.

Nco ntsoov tias qhov no ua haujlwm ua ntej mus tom ntej.

Kauj Ruam 12: BioSense Demo Firmware

BioSense Demo Firmware
BioSense Demo Firmware

Peb puas yuav tsum ua si, Xib fwb Falken?

Kuj tseem muaj qhov txias Arkanoid game hauv SSD1306 piv txwv. Txhawm rau nws ua haujlwm nrog BioSense pawg thawj coj txawm li cas los xij, cov cai uas pib thiab nyeem cov nyees khawm yuav tsum raug hloov kho. Peb tau coj kev ywj pheej los hloov cov kev hloov pauv hauv "biosense.ino" cov ntaub ntawv txuas nrog ntawm no.

Luam cov arkanoid nplaub tshev los ntawm SSD1306 piv txwv rau daim nplaub tshev tshiab uas koj tau teev npe biosense. Rho tawm cov ntaub ntawv arkanoid.ino los ntawm daim nplaub tshev thiab poob rau hauv "biosense.ino" cov ntaub ntawv. Tam sim no suav thiab xa biosense rau nano. Ntaus lub khawm sab xis (khawm 4) yuav tso qhov kev ua si. Lub duav tau tswj los ntawm khawm 1 mus rau sab laug thiab khawm 4 mus rau sab xis. Zoo tua nyob ntawd, BrickOut.

Ntaus lub khawm pib dua ntawm Arduino Nano kom rov qab mus rau cov ntawv qhia zaub mov tseem ceeb.

Kauj Ruam 13: Pulse Sensor Module

Pulse Sensor Module
Pulse Sensor Module
Pulse Sensor Module
Pulse Sensor Module

Pulse Sensor Module tuaj yeem cuam tshuam rau BioSense Board siv peb tus pin header nyob rau sab saum toj ntawm Pawg Thawj Coj.

Lub Pulse Sensor Module siv lub teeb ci LED thiab APDS-9008 lub teeb pom kev ib puag ncig lub teeb duab (cov ntawv) txhawm rau txheeb xyuas lub teeb pom kev ntawm LED los ntawm lub ntsis ntiv tes lossis pob ntseg. Lub teeb liab los ntawm lub teeb pom kev ib puag ncig tau nthuav dav thiab lim siv MCP6001 op-amp. Lub teeb liab yuav raug nyeem los ntawm lub microcontroller.

Nias khawm 3 los ntawm cov ntawv qhia zaub mov tseem ceeb ntawm biosense.ino kos duab yuav xa cov qauv ntawm cov mem tes sensor tso tawm teeb liab hla USB interface. Hauv qab TOOLS cov ntawv qhia zaub mov ntawm Arduino IDE, xaiv "Serial Plotter" thiab xyuas kom tseeb tias tus lej baud tau teeb tsa rau 115200. Maj mam tso koj lub ntsis ntiv tes hla lub teeb ntawm lub ntsuas pa.

Cov ntsiab lus ntxiv thiab cov phiaj xwm cuam tshuam nrog Pulse Sensor Module tuaj yeem pom ntawm no.

Kauj Ruam 14: Electromyograph (EMG)

Electromyograph (EEG)
Electromyograph (EEG)

Ntsaws cov kab hluav taws xob txuas rau hauv qab 3.5 hli nkaus sau tias EMG thiab tso cov electrodes raws li qhia hauv daim duab.

Nias khawm 1 los ntawm cov ntawv qhia zaub mov tseem ceeb ntawm biosense.ino kos duab yuav xa cov qauv ntawm EMG cov teeb liab tso tawm ntawm USB interface. Hauv qab TOOLS cov ntawv qhia zaub mov ntawm Arduino IDE, xaiv "Serial Plotter" thiab xyuas kom tseeb tias tus nqi baud tau teeb tsa rau 115200.

Koj tuaj yeem sim tawm EMG ntawm lwm pab pawg leeg - txawm tias cov plaub muag hauv koj lub hauv pliaj.

EMG Circuit Court ntawm Pawg Thawj Tswj Hwm BioSense tau tshoov siab los ntawm Cov Lus Qhia no los ntawm Advancer Technologies, uas koj yuav tsum tau tshawb xyuas qhov tseeb rau qee qhov haujlwm ntxiv, tswv yim, thiab yeeb yaj kiab.

Kauj Ruam 15: Electrocardiograph (ECG)

Electrocardiograph (ECG) kev kuaj mob
Electrocardiograph (ECG) kev kuaj mob
Electrocardiograph (ECG) kev kuaj mob
Electrocardiograph (ECG) kev kuaj mob

Ntsaws cov kab hluav taws xob txuas rau sab saud 3.5 hli nkaus sau npe ECG/EEG thiab tso cov electrodes raws li qhia hauv daim duab. Muaj ob txoj hauv kev xaiv rau kev tso ECG electrode. Thawj yog nyob sab hauv ntawm lub dab teg nrog siv (liab liab) nyob tom qab ntawm ib sab tes. Thawj qhov kev xaiv no yooj yim dua thiab yooj yim dua tab sis feem ntau nrov dua. Qhov kev xaiv thib ob yog hla lub hauv siab nrog siv ntawm sab xis lub plab lossis ceg siab.

Nias khawm 2 los ntawm cov ntawv qhia zaub mov tseem ceeb ntawm biosense.ino kos duab yuav xa cov qauv ntawm ECG cov teeb liab tso tawm ntawm USB interface. Hauv qab TOOLS cov ntawv qhia zaub mov ntawm Arduino IDE, xaiv "Serial Plotter" thiab xyuas kom tseeb tias tus nqi baud tau teeb tsa rau 115200.

ECG/EEG Circuit Court ntawm BioSense Board tau tshoov siab los ntawm Lub Plawv thiab Lub Hlwb SpikerShield los ntawm Backyard Brains. Txheeb xyuas lawv lub xaib rau qee qhov haujlwm ntxiv, tswv yim, thiab qhov txias ECG video no.

Kauj Ruam 16: Electroencephalograph (EEG)

Electroencephalograph (EEG) Kev Ntsuas Hluav Taws Xob
Electroencephalograph (EEG) Kev Ntsuas Hluav Taws Xob
Electroencephalograph (EEG) Kev Ntsuas Hluav Taws Xob
Electroencephalograph (EEG) Kev Ntsuas Hluav Taws Xob
Electroencephalograph (EEG) Kev Ntsuas Hluav Taws Xob
Electroencephalograph (EEG) Kev Ntsuas Hluav Taws Xob

Ntsaws cov kab hluav taws xob txuas rau sab saud 3.5 hli nkaus sau npe ECG/EEG thiab tso cov electrodes raws li qhia hauv daim duab. Muaj ntau txoj hauv kev rau EEG tso rau hluav taws xob nrog ob qho kev xaiv yooj yim pom ntawm no.

Thawj yog nyob ntawm lub hauv pliaj nrog siv (liab liab) ntawm pob ntseg lossis txheej txheem mastoid. Qhov kev xaiv ua ntej no tuaj yeem siv tib lub snap-style coj thiab gel electrodes siv rau ECG.

Qhov kev xaiv thib ob nyob tom qab taub hau. Yog tias koj tshwm sim rau cov plaub hau, cov gel electrodes tseem yuav ua haujlwm ntawm no. Txwv tsis pub, tsim hluav taws xob uas tuaj yeem "tsau dhau" plaub hau yog lub tswv yim zoo. Lub xauv-tshuab ntxhua khaub ncaws zoo li qub yog qhov kev xaiv zoo. Siv rab rab rab koob rau ntawm cov tab me (rau rau hauv qhov no) hauv lub tshuab ntxhua khaub ncaws kom khoov tom qab ntawd txhua yam mus rau hauv tib txoj kev. Kev tso rau hauv qab cov ntaub qhwv lub taub hau yuav maj mam quab yuam cov protrusions no los ntawm cov plaub hau thiab cuam tshuam nrog cov tawv taub hau hauv qab no. Raws li qhov tsim nyog, conductive gel tuaj yeem siv los txhim kho kev sib txuas. Cias sib tov cov ntsev ntsev nrog cov kua ua kua xws li roj av jelly lossis dej ntws thiab hmoov txhuv nplej siab lossis hmoov nplej. Cov dej ntsev ib leeg kuj tseem ua haujlwm tab sis yuav tsum muaj nyob hauv daim txhuam cev me me lossis paj rwb.

Nias khawm 2 los ntawm cov ntawv qhia zaub mov tseem ceeb ntawm biosense.ino kos duab yuav xa cov qauv ntawm EEG cov teeb liab tso tawm ntawm USB interface. Hauv qab TOOLS cov ntawv qhia zaub mov ntawm Arduino IDE, xaiv "Serial Plotter" thiab xyuas kom tseeb tias tus nqi baud tau teeb tsa rau 115200.

EEG cov haujlwm ntxiv thiab cov peev txheej:

Cov lus qhia no siv kev tsim qauv zoo ib yam li BioSense EEG thiab tseem qhia txog qee qhov ua tiav thiab txawm tias yuav ua li cas EEG Pong!

Lub paj hlwb rov qab kuj tseem muaj cov vis dis aus zoo rau kev ntsuas EEG.

BriainBay

Qhib EEG

OpenViBe

EEG cov cim tuaj yeem ntsuas cov teebmeem stroboscopic lub paj hlwb (piv txwv li siv Mindroid).

Kauj Ruam 17: Thaj Chaw Sib Tw

Kev Sib Tw Zaum
Kev Sib Tw Zaum

Koj puas tuaj yeem tso saib cov teeb liab sib piv ntawm OLED ntxiv rau Serial Plotter?

Raws li qhov pib, txheeb xyuas qhov haujlwm no los ntawm XTronical.

Nws kuj tseem yuav muaj txiaj ntsig los saib ntawm Tiny Scope project.

Yuav ua li cas ntxiv cov ntawv ntsuas rau tus nqi cim lossis lwm yam tsis txaus ntseeg?

Kauj Ruam 18: BioBox Cov Ntawv Sau Npe Ib Hlis

BioBox Lub Hlis Sau Npe Lub Npe
BioBox Lub Hlis Sau Npe Lub Npe

Applied Science Ventures, niam txiv lub tuam txhab ntawm HackerBoxes, tau koom nrog hauv qhov kev nthuav tawm tshiab lub thawv zoo nkauj lub tswv yim. BioBox yuav txhawb nqa thiab qhia nrog cov haujlwm hauv kev tshawb fawb txog lub neej, kev nyiag keeb neeg, kev noj qab haus huv, thiab tib neeg kev ua tau zoo. Khaws qhov kho qhov muag tawm rau xov xwm thiab tus tswv cuab daim ntawv xaj nyiaj txo los ntawm kev ua raws BioBox Facebook Page.

Kauj Ruam 19: HACK THE PLANET

HACK THE PLANET
HACK THE PLANET

Yog tias koj tau nyiam qhov Instrucable thiab xav kom muaj lub thawv khoom siv hluav taws xob thiab khoos phis tawj thev naus laus zis zoo li qhov no xa mus rau koj lub thawv ntawv txhua lub hlis, thov koom nrog HackerBox kev hloov pauv los ntawm SUBSCRIBING HERE.

Mus txog thiab qhia koj qhov ua tiav hauv cov lus hauv qab no lossis ntawm HackerBoxes Facebook Page. Muaj tseeb qhia rau peb paub yog tias koj muaj lus nug lossis xav tau kev pab nrog dab tsi. Ua tsaug rau koj ua ib feem ntawm HackerBoxes. Thov khaws koj cov lus pom thiab tawm tswv yim tuaj. HackerBoxes yog koj lub thawv. Cia peb ua tej yam zoo!

Pom zoo: