Nametag is an open-source printed circuit board by gumulka, from the gumulka/nametag repository on GitHub. It is a 4-layer board of 78 × 36 mm with 71 parts on 78 nets, routed with 424 tracks and 124 vias.
It is built around the NRF52832-QFAA-R, MBR0530 and AO3401A, with the MLZ1608E100MT000, LQW15AN15NH00D and LQG15HS3N3C02D among its other parts. Its parts include 23 capacitors, 18 resistors, 15 diodes, 4 inductors and 3 transistors. It belongs with the nRF52 and nRF5x boards of this library.
If you are new to Zephyr, read the Getting Started Guide.
Afterwards you can clone and build this project with:
bash
west init -m https://github.com/gumulka/nametag --mr main nametag
cd nametag
west update
cd epaper_nametag
Bootloader
The bootloader will load and verify the image that is executed. To make it
easier to upgrade the device, two images are saved on the device and only one is
being executed, while the other is a standby for updating. The bootloader cannot
be upgraded via ble, but the image can be. Therefore making it possible to
upgrade devices in the field.
If you have a unprogrammed device, use this to build and flash the bootloader:
bash
west build -p -b epaper_nametag -d build_mcuboot ../bootloader/mcuboot/boot/zephyr/ -- -DCONFIG_BOOT_SIGNATURE_TYPE_ECDSA_P256=y
west flash -d build_mcuboot
Application
The application is different from the bootloader and is what is in need of
updates/upgrades.
bash
west build -p -b epaper_nametag app -- -DOVERLAY_CONFIG="output.conf"
west flash
Update via BLE
If you have an already running device and just want to upgrade to the latest
firmware.
Either with the nRF Connect App, which can be quite handy, or in the commandline
use these steps:
bash
sudo mcumgr --conntype ble --connstring ctlr_name=hci0,peer_name='Nametag' image upload build/zephyr/zephyr.signed.bin
sudo mcumgr --conntype ble --connstring ctlr_name=hci0,peer_name='Nametag' image list
Use the second hash provided from the second command to alter the following:
bash
sudo mcumgr --conntype ble --connstring ctlr_name=hci0,peer_name='Nametag' image test "HASH_FROM_OUTPUT"
sudo mcumgr --conntype ble --connstring ctlr_name=hci0,peer_name='Nametag' reset
# wait for the system to restart and if you are sure, that the update was successful then
sudo mcumgr --conntype ble --connstring ctlr_name=hci0,peer_name='Nametag' image confirm "HASH_FROM_OUTPUT"
More information about the general procedure can be found here
and here
[!TIP]
I have seen a few errors when trying to upload the image and found that it
works best, if I cancel the upload command after a few seconds and restart it
a few seconds later, basically splitting the upload into 4-5 chunks instead
of uploading it as a whole.
A simple project to observe a window or door is open/closed. It works like most other sensors as well. A magnet has to get attached to the door and if it comes near the board, it is detected and the state of the window…
Blob, the social battery badge: The name badge that tells people whether to come say hi. KiCad 10, heypcb.ai merch.
18 partsCERN-OHL-S-2.0
Questions
How big is the Nametag PCB?
It measures 78 × 36 mm and has 4 copper layers, 1.6 mm thick.
What parts does the Nametag use?
71 parts, built around the NRF52832-QFAA-R, MBR0530, AO3401A and MLZ1608E100MT000. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.
Where can I download the Nametag KiCad files?
From the gumulka/nametag repository on GitHub, at the commit this page was made from: the board is kicad/nametag.kicad_pcb and its schematic kicad/nametag.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Can I use the Nametag design in my own project?
Its repository states no licence, so its author keeps all rights: ask gumulka before reusing the design.