
Power
AndreasNielsen4000/Group-7-IoT-Project
The project is a wireless speaker system that can play music from a Bluetooth or WiFi source. The system consists of four main parts with subcomponents:

The project is a wireless speaker system that can play music from a Bluetooth or WiFi source. The system consists of four main parts with subcomponents:
Audio is an open-source printed circuit board by AndreasNielsen4000, from the AndreasNielsen4000/Group-7-IoT-Project repository on GitHub. It is a 4-layer board of 90 × 66 mm with 162 parts on 127 nets, routed with 1,038 tracks and 1,066 vias.
It is built around the ESP32-WROOM-32E-N16, NRF24L01P-R and CP2102N-A02-GQFN28, with the TPA3128D2DAPR, PCM5101AQPWRQ1 and CL31B106KBHNNNE among its other parts. Its parts include 76 capacitors, 39 resistors, 15 diodes, 7 ICs and 7 connectors. It belongs with the audio and music and radio and wireless boards and the ESP32 boards of this library.
This one of the two github pages for Group 7s project for DTU course 34346 Networking technologies and application development for the Internet of Things (IoT).
The project is a wireless speaker system that can play music from a Bluetooth or WiFi source. The system consists of four main parts with subcomponents:
Code in BT_I2S_URL_OLED
The speaker system consists of a speaker with an ESP32-WROOM-32 microcontroller. The speaker is powered by a custom power board with USB-C PD and a battery management system. The speaker can be powered by three 18650 batteries or by USB-C PD. The battery can be charged using USB-C PD.
The audio is played by a custom audio board with a class D amplifier.
The speaker can play music from a Bluetooth or WiFi source. The speaker can be controlled using the Thunkable app, the Azure backend or by using the rotary encoder and OLED display on the speaker.
When powering on the speaker, a byte will be read form the EEPROM to determine the mode of the speaker. The speaker can be in one of the following modes besides being powered off: WiFi, Bluetooth, Standby or Charge
When powered on, a short press on the rotary encoder will switch betweent the current active mode to the valid passive mode, e.g. if the speaker is in WiFi mode and charging, a short press will switch to Charge mode. A short press again will switch back to WiFi mode. If the device is not charging, the speaker will go into Standby mode instead. From Standby mode, a long press (10 seconds) will turn off the speaker.
In all modes except powered off, the speaker will show the battery level on the OLED display as well as the current mode. It will have an active nRF network to the IoT Bridge and will be able to receive and transmit payloads from the nRF network.
Once a second the speaker checks for any changes in local device parameters and if they are different from the last time the speaker will send a payload to the IoT Bridge with the new parameters. Should the speaker receive a payload from the IoT Bridge, it will parse the payload and act accordingly.
When in WiFi mode, the speaker will start by playing Radio BOB! bby default. The speaker will show the current song and Internet Radio station on the OLED display.
When in Bluetooth mode, the speaker will connect to the last connected Bluetooth device and that device will be able to play music on the speaker. The speaker will show the current song on the OLED display. When connected to a compatible device, the speaker will show the current song on the OLED display and turning the volume down to 0 sends a pause command to the device. Turning the volume up will send a play command to the device.
When in Standby mode, the speaker will not play music, but the ESP32 will still be running with the OLED display and the nRF network active.
When in Charge mode, the speaker will charge the battery and show the battery level on the OLED display.
Code in NRF_COM_HUB
The IoT Bridge consists of an ESP32-WROOM-32 microcontroller and an nRF24L01 module. The IoT Bridge is connected to the Azure backend using WiFi. The IoT Bridge sends a request to the Azure backend 5 second to check for any changes in the data. If the data has changed, the IoT Bridge sends the new data to the speaker system. The IoT Bridge receives data from the speaker system and sends it to the Azure backend.
The Azure backend consists of a WebAPI for managing the speaker system. The WebAPI is connected to the IoT Bridge using WiFi. The WebAPI receives data from the IoT Bridge and sends data to the IoT Bridge. The WebAPI has a simple front end for controlling the speaker system.
The block-code for the app can be found here https://x.thunkable.com/projectPage/65fbfc2f66a304c1d58aabaa
Using Thunkable an app was created for controlling the speaker system using the Azure backend. The app can be used to change the mode of the speaker system, search for new Internet Radio stations, change Internet Radio station and change the volume. The app works by using HTTP GET to search and filter Internet Radio URLs and then HTTP POST to the Azure with updated device parameters.
In the following video, the device is powered on from the off-state, going into Bluetooth mode. The rotary encoder is turned up, issuing a play request to the connected iPhone. Then the device is switched over to WiFi mode and playing Radio BOB!.
| Responsibility | Main | Secondary |
|---|---|---|
| Mobile App | Andreas | Alexander |
| OLED | Alexander | ------ |
| LEDs | Sergio | ------ |
| PCBs | Anton | ------ |
| Soldering | Anton | ------ |
| 3D Design | Sergio | Hugo |
| Azure | Rasmus | Andreas |
| Back-end | Andreas | Rasmus |
| Front-end | Andreas | Alexander |
| IoT bridge | Rasmus | Andreas, Alexander |
| nRF | Sergio | Rasmus, Andreas |
| nRF Network | Andreas | Alexander, Sergio |
| WiFi (mode) | Alexander | Andreas |
| Bluetooth (mode) | Alexander | Andreas |
| EEPROM | Alexander | ------ |
| Battery Reading | Rasmus | ------ |
| Power Delivery | Anton | ------ |
| BMS | Anton | ------ |
| Rotary encoder | Anton & Alexander | ------ |
| State Machine | Anton | ------ |
| Code Integration | Andreas & Alexander | Anton |
| Final prototype assembly | Alexander, Anton & Sergio | ------ |
| Report | All | ------ |
| Poster | All | ------ |
| Qty | Value | Footprint | References |
|---|---|---|---|
| 25 | 10u | Capacitor_SMD:C_1206_3216Metric_Pad1.33x1.80mm_HandSolder | C3, C24, C32, C33, C34, C35, C36, C37, C38, C39, C40, C41, C42, C43, C44, C50 +9 |
| 22 | 100n | Capacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolder | C1, C2, C4, C5, C6, C12, C15, C17, C21, C22, C49, C61, C62, C68, C69, C70 +6 |
| 8 | 1u | Capacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolder | C9, C18, C19, C20, C23, C25, C26, C31 |
| 7 | 10k | Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R15, R16, R17, R19, R20, R27, R31 |
| 6 | 100k | Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R3, R12, R13, R14, R35, R36 |
| 6 | 2.2n | Capacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolder | C14, C16, C27, C64, C65, C76 |
| 6 | 2k | Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R10, R21, R22, R26, R28, R32 |
| 5 | 10uH | 0_Costum:1274AS | L1, L2, L3, L4, L5 |
| 5 | 1M | Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R1, R2, R6, R11, R30 |
| 5 | PMEG60T | Diode_SMD:Nexperia_CFP3_SOD-123W | D1, D2, D3, D5, D6 |
| 4 | 220n | Capacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolder | C45, C46, C47, C48 |
| 4 | 470n | Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder | C52, C53, C54, C55 |
| 4 | Conn_01x04 | Connector_PinSocket_2.54mm:PinSocket_1x04_P2.54mm_Vertical | J2, J3, J4, J5 |
| 4 | Hole | MountingHole:MountingHole_3.2mm_M3_DIN965_Pad | H1, H2, H3, H4 |
| 3 | (NC) | Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R33, R39, R40 |
| 3 | 1N4148W | Diode_SMD:D_SOD-123 | D10, D11, D12 |
| 3 | 22k | Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R8, R23, R37 |
| 2 | 12p | Capacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolder | C29, C30 |
| 2 | 2.2u | Capacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolder | C10, C11 |
| 2 | 200k | Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R7, R29 |
| 2 | 470R | Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R24, R25 |
| 2 | 5.1k | Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R4, R5 |
| 2 | BC817 | Package_TO_SOT_SMD:SOT-23 | Q1, Q2 |
| 2 | LED_green | LED_SMD:LED_0603_1608Metric_Pad1.05x0.95mm_HandSolder | D8, D13 |
| 2 | PMEG3020ER | Diode_SMD:Nexperia_CFP3_SOD-123W | D4, D15 |
| 2 | Terminal | TerminalBlock:TerminalBlock_bornier-2_P5.08mm | J6, J7 |
| 1 | 100p | Capacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolder | C28 |
| 1 | 10M | Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R38 |
| 1 | 16 MHz | Crystal:Crystal_SMD_2520-4Pin_2.5x2.0mm | Y1 |
| 1 | 2450BM14E0002T | Snapeda:2450BM14E0003T_JOT-L | U5 |
| 1 | 33n | Capacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolder | C13 |
| 1 | 4.7u | Capacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolder | C7 |
| 1 | 47.5k | Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R9 |
| 1 | 5.6k | Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R34 |
| 1 | BOOT | 0_Costum:EVQPUK | SW2 |
| 1 | CP2102N-Axx-xQFN28 | Package_DFN_QFN:QFN-28-1EP_5x5mm_P0.5mm_EP3.35x3.35mm | U2 |
| 1 | EN | 0_Costum:EVQPUK | SW3 |
| 1 | ESP32-WROOM-32E | RF_Module:ESP32-WROOM-32D | U1 |
| 1 | Jumper | Jumper:SolderJumper-3_P1.3mm_Bridged12_RoundedPad1.0x1.5mm | JP1 |
| 1 | LED_amber | LED_SMD:LED_0603_1608Metric_Pad1.05x0.95mm_HandSolder | D9 |
| 1 | LED_red | LED_SMD:LED_0603_1608Metric_Pad1.05x0.95mm_HandSolder | D14 |
| 1 | LMR51430 | Package_TO_SOT_SMD:SOT-23-6 | U7 |
| 1 | MIFA | RF_Antenna:Texas_SWRA117D_2.4GHz_Right | AE1 |
| 1 | PCM5101A | Package_SO:TSSOP-20_4.4x6.5mm_P0.65mm | U3 |
| 1 | RGB LED | 0_Costum:RGB_LED | D7 |
| 1 | Rotary Encoder | 0_Costum:EC11_RotaryEncoder | SW1 |
| 1 | SW_DIP_x02 | Button_Switch_SMD:SW_DIP_SPSTx02_Slide_6.7x6.64mm_W8.61mm_P2.54mm_LowProfile | SW4 |
| 1 | TPA3128 | 0_Costum:DAP32_4P36X4P11_TEX | U6 |
| 1 | USB_C_Receptacle | Connector_USB:USB_C_Receptacle_GCT_USB4105-xx-A_16P_TopMnt_Horizontal | J1 |
| 1 | nRF24L01P | Package_DFN_QFN:QFN-20-1EP_4x4mm_P0.5mm_EP2.5x2.5mm | U4 |

AndreasNielsen4000/Group-7-IoT-Project
The project is a wireless speaker system that can play music from a Bluetooth or WiFi source. The system consists of four main parts with subcomponents:


hle12345/OSBAMS
Moved here on 2026-10-01. The Rev.1 80x80 mm carrier PCB is a proven-prototype reference (circuits and interfaces that worked), not a design to revise or manufacture.

adamvirovecz/sensor-board-voc-temp
VOC, Humidity and Temperature Sensor Board



bernardopg/ps28-modern-amp
Infinity Primus PS28 amplifier modernization: TPA3255 engineering, validation and safety-gated workflow

MatthiasGeorgImhof/STMF765_Flight_Controller
A flight controller inspired by Speedybee F405 v3 but with CAN using F7 MCU. Use flash memory instead of flash card.

ananevego/ProjectFreeCad
Конвертер библиотечных footprint-файлов KiCad .kicadmod в самостоятельные библиотеки FreePCB2 .fpl. Написан на Python 3.10+, внешние зависимости не нужны.
It measures 90 × 66 mm and has 4 copper layers, 1.6 mm thick.
162 parts, built around the ESP32-WROOM-32E-N16, NRF24L01P-R, CP2102N-A02-GQFN28 and TPA3128D2DAPR. 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.
From the AndreasNielsen4000/Group-7-IoT-Project repository on GitHub, at the commit this page was made from: the board is Hardware_V1.0/Audio/Audio.kicad_pcb and its schematic Hardware_V1.0/Audio/Audio.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Its repository states no licence, so its author keeps all rights: ask AndreasNielsen4000 before reusing the design.