PROJECTS: Dormio Dream Incubator
You can now connect the Tag-Connect to the
Dormio V3 PCB (Figure
J
).
4. PROGRAM YOUR DORMIO
Now on your laptop, download and install the
nRF command line tools from the Nordic website
(nordicsemi.com/Products/Development-tools/
nrf-command-line-tools/download). From this
nRF package, also install the J-Link drivers
for your machine (Figure
K
). Open a terminal
window and type nrfjprog -v to verify that the
nRF tools and J-Link driver are installed.
Download the Adafruit board files to Arduino
IDE, following the steps at learn.adafruit.com/
bluefruit-nrf52-feather-learning-guide/arduino-
bsp-setup. Also grab the Adafruit bootloader from
github.com/adafruit/Adafruit_nRF52_Arduino/
tree/master/bootloader/feather_nrf52832. Then
run these commands in terminal to program the
bootloader:
nrfjprog -f nrf52 --eraseall
nrfjprog -f nrf52 --program
feather_nrf52832_bootloader-0.6.2_
s132_6.1.1.hex
nrfjprog -f nrf52 --run
Alternatively you can flash the bootloader
by forcing the device in bootloader mode, by
following the tutorial at learn.adafruit.com/
bluefruit-nrf52-feather-learning-guide/using-the-
bootloader.
Finally, grab the Dormio firmware file
sleepduino_nrf52.ino from Tomás’ GitHub,
github.com/tomasero/openSleep/tree/master/
embedded/sleepduino_nrf52. In the Arduino IDE,
select FTDI on the Serial Port, then hit Upload to
flash the firmware to the board. Now your Dormio
is programmed!
5. MAKE THE SENSOR AUX CONNECTORS
The Dormio V3 has three 2.5mm stereo
aux connector jacks, just like you use with
headphones. We use a 2.5mm male plug for
sensor connection, so you can take the sensors in
and out with ease.
You just need to connect each sensor to a male
aux cable and you’re good to go! The aux cables
have a signal (white), ground (black) and power
(red) wire each exposed.
The heart rate sensor will use all three wires.
J
K
L
60 makezine.com
M81_056-63_DormioDreams_F1.indd 60M81_056-63_DormioDreams_F1.indd 60 4/12/22 11:30 AM4/12/22 11:30 AM
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.147.193.143