<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.element14.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>element14 Community</title><link>https://community.element14.com/</link><description>The community for engineers, technicians, makers and creators.</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>Control Your Oscilloscope with AI: Automated Testing with Arduino &amp; Embedded Systems</title><link>https://community.element14.com/learn/events/c/e/1781</link><pubDate>Wed, 02 Dec 2026 15:00:00 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:5997e2ff-6495-4d1c-8d34-cf966348be16</guid><dc:creator>JoRatcliffe</dc:creator><description>Discover how you can use an AI agent to control your oscilloscope and automate waveform acquisitions, run measurements, and drive embedded systems like Arduino and Raspberry Pi. This is not a prompting tutorial. Join us as we show exactly how to set up straightforward experiments and look under the hood at: Model Context Protocol (MCP): what MCP servers and tools are, and how AI tool calls become hardware commands. Instrument control: understand SCPI (the text commands a scope responds to) and VISA (the layer that carries them over USB or LAN), and see how Python tools like Tektronix change the work: you call simple functions instead of writing raw commands. Experiments We Will Run During This Session Scope control with VS Code and Claude Code - Set up the scope and capture waveforms with plain-language requests, no coding required. Measurements on an external DUT - Probe a real circuit and let the AI set up the scope, take key measurements like frequency, rise time, bode plot etc. and check them against your spec. Closed-loop testing with Arduino - The AI sends a signal from the board, such as PWM or serial data, then reads it back on the scope to confirm it&amp;#39;s right, with no manual steps. Stay until the end for a live Q&amp;amp;A where you can put all your questions on oscilloscopes, test and measurement, automation, and AI to our host Sahil. The Presenters Sahil Kacharekar - Technical Marketing Manager EMEA - Tektronix Sahil Kacharekar is an Electronics and Telecommunication Engineer and Technical Marketing Manager for EMEA at Tektronix. He works where test and measurement meets the newest engineering tools, and he leads product launches and creates technical content for the semiconductor and automotive markets. Since joining Tektronix in 2023, he has built live demos and technical storylines for major international trade shows and customer events. Lately, Sahil has been exploring how AI agents can control oscilloscopes and embedded platforms like Arduino and Raspberry Pi. LinkedIn: Sahil Kacharekar Jordan Ratcliffe - Marketing Program Senior Specialist - element14 Community Jordan Ratcliffe will be your host from the element14 Community for Introductions and Q&amp;amp;A. LinkedIn: Jordan Ratcliffe More about Tektronix Tektronix is the partner engineers have trusted to measure, discover, and innovate for nearly 80 years. Today we deliver test and measurement solutions that unite precision with simplicity, helping engineers accelerate breakthroughs that shape a better tomorrow. Click here to learn more about Tektronix oscilloscopes. Attend and Learn to Earn a Certificate Watch the webinar until the end to earn a certificate. Read here for more information about how to get your certificate: /members-area/support/w/site-faq/27798/how-do-i-earn-a-certificate-for-viewing-a-webinar-or-webcast Are you prepared? This webinar uses the online service on24 to deliver the presentation. Click through and check that you meet the minimum system requirements before attending.</description><category domain="https://community.element14.com/tags/tektronix_2D00_e14">tektronix-e14</category><category domain="https://community.element14.com/tags/Model%2bContext%2bProtocol">Model Context Protocol</category><category domain="https://community.element14.com/tags/tektronix">tektronix</category><category domain="https://community.element14.com/tags/raspberry%2bpi">raspberry pi</category><category domain="https://community.element14.com/tags/VS%2bCode">VS Code</category><category domain="https://community.element14.com/tags/Embedded%2bSystems">Embedded Systems</category><category domain="https://community.element14.com/tags/oscilloscopes">oscilloscopes</category><category domain="https://community.element14.com/tags/claude%2bcode">claude code</category><category domain="https://community.element14.com/tags/arduino">arduino</category></item><item><title>Blog Post: Unboxing the Multicomp Pro MP720780 Handheld Oscilloscope (Plus Some e14 Goodies!)</title><link>https://community.element14.com/products/roadtest/b/blog/posts/unboxing-the-multicomp-pro-mp720780-handheld-oscilloscope-plus-some-e14-goodies</link><pubDate>Sat, 28 Nov 2026 20:23:00 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:cb9fac9f-e86e-446e-8988-05630a4df312</guid><dc:creator>abtAmit</dc:creator><description>My Multicomp Pro MP720780 RoadTest kit has arrived, and before diving into the full technical review, I wanted to share a quick unboxing post and first look at what comes in the package. Along with the oscilloscope itself, element14 threw in some nice community swag: a black e14/COMMUNITY cap, a set of stickers, and a neat enameled PCB-style badge . What&amp;#39;s Inside the Box Opening up the main box, everything is neatly packed inside a compact zippered carrying case. Here is the full list of what is included with the MP720780 : Multicomp Pro MP720780 40MHz Dual-Channel Handheld Oscilloscope Soft zippered carrying bag 1x Oscilloscope probe (60MHz) with adjustment tool, color-coded marker rings, and probe guide 1x BNC-to-alligator clip test lead 1x Pair of multimeter test leads (red and black) 1x USB Type-A to Type-C cable 2x Compact 5V 10W USB power adapters (one UK plug and one EU plug) Quick Start Guide and technical specification sheet A quick note on the power adapters: The official datasheet needs to be updated. It currently states that the device comes with a power adapter and a UK/EU power cord; however, the package now actually includes two new, compact 5V 10W wall chargers—one for the UK and one for the EU. First Power-On: Probe Calibration The very first thing I did after powering up the scope was hook up the probe to check its compensation. In my case, no calibration was needed at all—it rendered a clean, sharp square wave right out of the box . I am currently putting the MP720780 through its paces on the bench and will be posting more details, findings, and my full RoadTest review soon. Stay tuned!</description><category domain="https://community.element14.com/tags/RoadTest">RoadTest</category><category domain="https://community.element14.com/tags/oscilloscope">oscilloscope</category></item><item><title>Forum Post: RE: TRS-04: ESP-32-S3, Arduino &amp; LE Coded PHY Comms – Some Assembly Required</title><link>https://community.element14.com/challenges-projects/design-challenges/my-project-is-trash/f/forum/57513/trs-04-esp-32-s3-arduino-le-coded-phy-comms-some-assembly-required/239240</link><pubDate>Sat, 28 Nov 2026 15:32:00 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:26a28a34-7c99-4725-9df0-f76244224d93</guid><dc:creator>BigG</dc:creator><description>You should consider switching to Zephyr RTOS. Handles this quite elegantly. Just start by adding the following in your prj.conf file: CONFIG_BT=y CONFIG_BT_BROADCASTER=y CONFIG_BT_EXT_ADV=y CONFIG_BT_DEVICE_NAME=&amp;quot;CodedPHY_Test&amp;quot; # Include only if your target uses Zephyr&amp;#39;s native Link Layer controller (e.g., nRF52/nRF53): # CONFIG_BT_CTLR_PHY_CODED=y</description></item><item><title /><link>https://community.element14.com/challenges-projects/halloween/b/news/posts/winners-announcement-halloween-hackathon-2026?CommentId=0ba9ad74-3d88-4be4-a97e-7ca672e3b197</link><pubDate>Sat, 28 Nov 2026 14:53:00 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:0ba9ad74-3d88-4be4-a97e-7ca672e3b197</guid><dc:creator>AbhinavKrishna</dc:creator><description>I&amp;#39;m really happy to see Feed the Gargoyle take first place. Thank you to JoRatcliffe, the judges, element14 and the sponsors for such a wonderful hackathon, and congratulations to all the winners. Looking forward to the upcoming contests!</description></item><item><title>Forum Post: RE: Tiltie - 05: Giving Tiltie a Brain: Vision, Audio, Vibration and Learning</title><link>https://community.element14.com/challenges-projects/design-challenges/my-project-is-trash/f/forum/57508/tiltie---05-giving-tiltie-a-brain-vision-audio-vibration-and-learning/239239</link><pubDate>Sat, 28 Nov 2026 13:48:00 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:1c845371-1fea-4309-8e27-cc9b136b7286</guid><dc:creator>javagoza</dc:creator><description>Checking where to route the cables for the Tiltie mechanism.</description></item><item><title>File: Moog Werkstatt-01 Demo | Moogfest 2014 Synthesizer Kit</title><link>https://community.element14.com/technologies/embedded/m/managed-videos/152083</link><pubDate>Sat, 28 Nov 2026 13:34:00 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:481b8224-e649-4bfc-976d-9e716a7bcaa2</guid><dc:creator>BigG</dc:creator><description>BUY Werkstatt-01 here: http://www.austinbazaar.com/moog-werkstatt-01-analog-synthesizer-kit-black-moo-werkstatt.html?utm_source=youtube&amp;amp;utm_medium=youtube_werkstatt-demo&amp;amp;utm_content=description&amp;amp;utm_campaign=MOO-WERKSTATT In this video, find out ab...</description><category domain="https://community.element14.com/tags/Werkstatt_2D0026002300_216_3B00_1">Werkstatt-&amp;#216;1</category><category domain="https://community.element14.com/tags/moog">moog</category><category domain="https://community.element14.com/tags/Moog%2bMusic%2b_2800_Musical%2bInstrument%2bCompany_2900_">Moog Music (Musical Instrument Company)</category><category domain="https://community.element14.com/tags/moog%2bwerkstatt">moog werkstatt</category><category domain="https://community.element14.com/tags/werkstatt_2D00_01">werkstatt-01</category><category domain="https://community.element14.com/tags/Moog%2bSynthesizer%2b_2800_Synthesizer_2900_">Moog Synthesizer (Synthesizer)</category><category domain="https://community.element14.com/tags/austin%2bbazaar">austin bazaar</category><category domain="https://community.element14.com/tags/werkstatt%2bkit">werkstatt kit</category><category domain="https://community.element14.com/tags/build%2byour%2bown%2bsynthesizer">build your own synthesizer</category><category domain="https://community.element14.com/tags/werkstatt">werkstatt</category><category domain="https://community.element14.com/tags/moogfest">moogfest</category></item><item><title>Forum Post: RE: Who still uses Firmata (and the Johnny Five library)</title><link>https://community.element14.com/technologies/embedded/f/embedded-forum/57507/who-still-uses-firmata-and-the-johnny-five-library/239238</link><pubDate>Sat, 28 Nov 2026 13:33:00 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:e9149b1a-12ba-45a0-a651-155bd75cc040</guid><dc:creator>BigG</dc:creator><description>Cool device. https://www.youtube.com/watch?v=sERDH6btg-0</description></item><item><title /><link>https://community.element14.com/challenges-projects/halloween/b/news/posts/winners-announcement-halloween-hackathon-2026?CommentId=9e462c64-a9af-4a4a-83d7-2b67c64d1e3f</link><pubDate>Sat, 28 Nov 2026 13:02:00 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:9e462c64-a9af-4a4a-83d7-2b67c64d1e3f</guid><dc:creator>meera_hussien</dc:creator><description>Congratulations to all the winners. Thank you JoRatcliffe and the judges</description></item><item><title>Forum Post: RE: Who still uses Firmata (and the Johnny Five library)</title><link>https://community.element14.com/technologies/embedded/f/embedded-forum/57507/who-still-uses-firmata-and-the-johnny-five-library/239237</link><pubDate>Sat, 28 Nov 2026 12:35:00 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:823e7fee-c5e8-4da8-a944-dbeedc1b0f2a</guid><dc:creator>beacon_dave</dc:creator><description>I forgot about this project on e14 How to Use Processing and Arduino With a Moog Werkstatt 1 for a Simple &amp;quot;Oscilloscope&amp;quot; https://community.element14.com/members-area/personalblogs/b/blog/posts/how-to-use-processing-and-arduino-with-a-moog-werkstatt-1-for-a-simple-oscilloscope</description></item><item><title>File: Processing Firmata and Arduino</title><link>https://community.element14.com/technologies/embedded/m/managed-videos/152082</link><pubDate>Sat, 28 Nov 2026 12:05:00 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:1f591403-fda7-4343-b963-a03f77ac3c57</guid><dc:creator>BigG</dc:creator><description>Processing and Firmata are two tools commonly used together with Arduino to create interactive projects and communicate with the Arduino board. Let&amp;#39;s explore each of them and their integration with Arduino: 1. Processing: Processing is an open-sou...</description><category domain="https://community.element14.com/tags/funny">funny</category><category domain="https://community.element14.com/tags/happy">happy</category><category domain="https://community.element14.com/tags/love">love</category><category domain="https://community.element14.com/tags/follow">follow</category><category domain="https://community.element14.com/tags/youtuber">youtuber</category><category domain="https://community.element14.com/tags/follow4follow">follow4follow</category><category domain="https://community.element14.com/tags/food">food</category><category domain="https://community.element14.com/tags/fyp">fyp</category><category domain="https://community.element14.com/tags/loveyoutiktok">loveyoutiktok</category><category domain="https://community.element14.com/tags/igers">igers</category><category domain="https://community.element14.com/tags/FollowMe">FollowMe</category><category domain="https://community.element14.com/tags/me">me</category><category domain="https://community.element14.com/tags/lifeisgood">lifeisgood</category><category domain="https://community.element14.com/tags/babysharkchallenge">babysharkchallenge</category><category domain="https://community.element14.com/tags/photo">photo</category><category domain="https://community.element14.com/tags/foryou">foryou</category><category domain="https://community.element14.com/tags/instagood">instagood</category><category domain="https://community.element14.com/tags/photography">photography</category><category domain="https://community.element14.com/tags/life">life</category><category domain="https://community.element14.com/tags/tbt">tbt</category><category domain="https://community.element14.com/tags/makeup">makeup</category><category domain="https://community.element14.com/tags/youtubecommunity">youtubecommunity</category><category domain="https://community.element14.com/tags/tiktok">tiktok</category><category domain="https://community.element14.com/tags/peppapigenglish">peppapigenglish</category><category domain="https://community.element14.com/tags/youtube">youtube</category><category domain="https://community.element14.com/tags/gaming">gaming</category><category domain="https://community.element14.com/tags/thisis4u">thisis4u</category><category domain="https://community.element14.com/tags/dog">dog</category><category domain="https://community.element14.com/tags/memes">memes</category><category domain="https://community.element14.com/tags/fashion">fashion</category><category domain="https://community.element14.com/tags/like">like</category><category domain="https://community.element14.com/tags/art">art</category><category domain="https://community.element14.com/tags/picoftheday">picoftheday</category><category domain="https://community.element14.com/tags/smile">smile</category><category domain="https://community.element14.com/tags/peppa">peppa</category><category domain="https://community.element14.com/tags/bestvideo">bestvideo</category><category domain="https://community.element14.com/tags/music">music</category><category domain="https://community.element14.com/tags/viral">viral</category><category domain="https://community.element14.com/tags/littleangelnurseryrhymes">littleangelnurseryrhymes</category><category domain="https://community.element14.com/tags/kidssongs">kidssongs</category><category domain="https://community.element14.com/tags/tiktok4fun">tiktok4fun</category><category domain="https://community.element14.com/tags/repost">repost</category><category domain="https://community.element14.com/tags/instadaily">instadaily</category><category domain="https://community.element14.com/tags/instagram">instagram</category><category domain="https://community.element14.com/tags/nurseryrhymes">nurseryrhymes</category><category domain="https://community.element14.com/tags/nofilter">nofilter</category><category domain="https://community.element14.com/tags/Cute">Cute</category><category domain="https://community.element14.com/tags/foryoupage">foryoupage</category><category domain="https://community.element14.com/tags/fun">fun</category><category domain="https://community.element14.com/tags/subscribe">subscribe</category><category domain="https://community.element14.com/tags/comedy">comedy</category><category domain="https://community.element14.com/tags/travel">travel</category></item><item><title>Forum Post: RE: Who still uses Firmata (and the Johnny Five library)</title><link>https://community.element14.com/technologies/embedded/f/embedded-forum/57507/who-still-uses-firmata-and-the-johnny-five-library/239236</link><pubDate>Sat, 28 Nov 2026 12:05:00 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:d18a1e27-fb67-47b6-8b27-67f3a35b7b01</guid><dc:creator>BigG</dc:creator><description>It appears that Processing is still being used with Firmata (found this YouTube video from 2023: https://www.youtube.com/watch?v=TrqHhvjOF-k ). I found using Johnny-Five (i.e. Javascript) to be particularly helpful for UI, especially as most AI coding agents are very good at whipping up web apps quickly. For example, Codex whipped up this UI for my micro:bit app... it mostly works, which is a great start (nothing&amp;#39;s ever perfect). All you do is npm start and you&amp;#39;re good to go. Here&amp;#39;s a screenshot of the UI (note that the micro:bit wasn&amp;#39;t connected at the time - and it knew that). It&amp;#39;s just as interactive as Processing was, without the Java or Wiring headache.</description></item><item><title>Forum Post: RE: Who still uses Firmata (and the Johnny Five library)</title><link>https://community.element14.com/technologies/embedded/f/embedded-forum/57507/who-still-uses-firmata-and-the-johnny-five-library/239235</link><pubDate>Sat, 28 Nov 2026 11:39:00 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:444ae57a-1a0b-4229-9013-1972295c8eac</guid><dc:creator>BigG</dc:creator><description>The instruction + data to create the heart does not stay on the micro:bit after powering off, only the Firmata firmware to interpret the instructions and to manage the data transferred between external device (e.g. PC) and the micro:bit. It&amp;#39;s really just manual hardware control software for embedded devices.</description></item><item><title>Raspberry Pi Compute Module 5 Road Test: A First-Timer’s Look from an Intermediate User</title><link>https://community.element14.com/products/roadtest/rv/roadtest_reviews/1944/raspberry-pi-compute-module-5-road-test-a-first-timers-look-from-an-intermediate-user</link><pubDate>Sat, 28 Nov 2026 10:29:00 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:36cf9595-ebd2-4b01-b5b0-71d4bbda5097</guid><dc:creator>taifur</dc:creator><description>Introduction A big thank-you to element14 and Raspberry Pi for giving me the opportunity to road test the Compute Module 5. I’ve been using Raspberry Pi hardware since the very first Raspberry Pi 1 and have worked with almost every model since, but this is my first time using a Compute Module, so I’m approaching it with fresh eyes. I’m an intermediate user rather than an embedded systems expert, so this review comes from the perspective of an experienced hobbyist exploring what the CM5 offers. The review kit was supplied by element14 at no cost, but that won’t influence what I write: you’ll get my honest findings, good and bad. What I Received The kit arrived in a medium-sized brown box, well packed and undamaged. Inside, I found two items: the official Raspberry Pi Compute Module 5 Development Kit in its own retail box, and a separate box containing the official 27W USB-C power supply with an Indian (Type C) plug. Opening the development kit box, I found everything neatly organized, with each part packed separately. The most important item, the Raspberry Pi Compute Module 5 itself, came in the smallest box in the kit, which was in Raspberry Pi Color. I took everything out of the box, and the kit includes the following items: Raspberry Pi Compute Module 5 Wireless, 4GB RAM, 32GB eMMC Raspberry Pi Compute Module 5 IO Board Raspberry Pi IO Case for Raspberry Pi Compute Module 5 Raspberry Pi Cooler for Raspberry Pi Compute Module 5 Raspberry Pi Antenna Kit Raspberry Pi 27W USB Type-C PD Power Supply 2 &amp;#215; HDMI&amp;#174; to HDMI cables Official USB-A to USB-C Cable The development kit includes its own official Raspberry Pi 27W USB-C power supply with a UK plug. Since I’m in Bangladesh, element14 kindly sent an extra 27W power supply with a 2-pin Type-C plug, which fits local sockets directly. Thanks to element14 for this thoughtful addition. Every item in the kit came in its own separate box, so I opened them one by one and took out all the components. About the Compute Module 5 Unlike a standard Raspberry Pi, a Compute Module has no ports of its own. It packs the processor, RAM, and optional storage onto a compact board that plugs into a carrier board, which is what the IO Board in this kit is for. This makes it popular with people building their own products or custom devices. The Raspberry Pi Compute Module 5 (CM5) is a small module made for building embedded products and custom devices. It takes the power of the Raspberry Pi 5 and packs it into a board that measures just 55 x 40 x 4.7 mm. It uses the same Broadcom BCM2712 processor as the Pi 5, with a quad-core 64-bit Arm Cortex-A76 CPU and an 800 MHz VideoCore VII GPU. It can drive two 4K displays at 60 Hz over HDMI. The development kit includes the CM5 module, the Compute Module 5 IO Board, and the accessories needed to start prototyping a product design. How it differs from the CM4 The CM5 is mostly compatible with the CM4 in size and connections, but it has a few changes: The pinout of the two 100-pin connectors was changed to make room for two USB 3.0 ports and other features. The connectors were tested for higher current. The DSI and CSI signals now share the same pins, so you can connect either a camera or a display. Memory and storage The CM5 uses ECC memory and comes with 2, 4, 8, or 16 GB of RAM. Storage options are 16, 32, or 64 GB of eMMC flash. There is also a CM5 Lite version with no onboard storage, which suits cost-sensitive projects. Connectivity The CM5 has Gigabit Ethernet with Precision Time Protocol support. It also offers an optional, fully certified Wi-Fi and Bluetooth module, with a choice between the PCB trace antenna and an external antenna. The variant I’m testing The module in my kit is the 4 GB RAM, 32 GB eMMC model, with Wi-Fi and Bluetooth . The Compute Module 5 IO Board The Compute Module 5 IO Board is the official carrier board for the CM5. Since the module has no ports of its own, this 160 mm &amp;#215; 90 mm board provides the connectors you would expect on a regular Raspberry Pi 5. It accepts every CM5 variant, including the Lite version, which boots from the microSD socket on the board. Its main features include Gigabit Ethernet, dual HDMI outputs, USB 3.0 ports, and an M.2 slot that supports NVMe SSDs in sizes from 2230 to 2280 over a single PCIe Gen 2 lane. A 40-pin GPIO header and HAT+ mounting holes allow expansion, and there is also a PWM fan header and an RTC battery socket. The board is powered through USB-C at 5 V and 5 A, and it has a power button for turning the module on and off. Raspberry Pi also offers the design files in KiCad format, so the board can serve as a starting point for your own carrier board. Assembling the CM5 with the IO Board Coming from standard Raspberry Pi boards, this was the first step that felt completely new to me. The CM5 has no ports to work with, so before it can do anything, it has to be mounted on the IO Board. Opening the IO Case To install the Compute Module, I first had to open the IO Case. The case is held together by four screws, two on each side. I removed all four screws and began to separate the two parts of the case. I did not expect the top part to have a fan attached to it. The fan’s cable is plugged into the IO Board, and the IO Board is screwed to the bottom part of the case. Because of this, the two halves are connected by the fan cable. I almost pulled the cable out, and could have broken the connector, as I was pulling the two parts apart. But I was fortunate enough that it did not happen. Tip: After removing the screws, lift the top of the case slowly. The fan cable connects the top part to the IO Board, so check it before pulling the two halves apart. Installing the Compute Module After opening the case, I picked up the Compute Module to plug it into the IO Board. At this point I was confused about which way it should face. I could not find any marking on the IO Board or on the module to show the direction. Before plugging it in, I watched a YouTube video to check the correct orientation. Then I placed the module the right way round, lined it up with the connectors, and pushed down gently. I heard a click, which told me the module was seated properly. Attaching the Heatsink Next, I attached the heatsink. The heatsink kit comes with three thermal pads, already stuck to the heatsink with adhesive. They sit on the three chips that get hot when the module is running. The kit also includes four nylon washers and four screws. I placed the washers between the IO Board and the Compute Module, lining each one up with a screw hole. Then I put the heatsink on top of the module. This time I was not confused about the direction, because the heatsink has a cut-out for the antenna. After placing the heatsink, I realized the four screws go in from the bottom of the IO Board. This meant I had to take the IO Board out of the case first. I removed the screws holding the board in the case, lifted the board out, and put in the four heatsink screws. I tightened them, then fixed the IO Board back into the case. Installing the Antenna The development kit includes a Wi-Fi antenna with an SMA connector on one end and an IPEX connector on the other. The IO Case has a hole for the antenna. I placed the antenna through the hole in the case and fixed the SMA connector in place with its nut. Then I plugged the IPEX connector into its socket on the Compute Module. The IO Board has a socket for a real-time clock (RTC) battery. The RTC keeps the date and time running when the board is powered off. The kit does not include a battery, but I had a Panasonic CR2032 coin cell in my bucket, so I placed it into the RTC battery connector on the IO Board. Installing the Operating System Next, I installed the operating system on the Compute Module. I followed the official Raspberry Pi guide for Compute Modules, and the process went smoothly. I had no difficulties and no driver problems, and I was able to install the latest Raspberry Pi OS successfully using my Windows 11 Computer. Official Compute Module guide: https://www.raspberrypi.com/documentation/computers/compute-module.html Tip: Compute Modules are flashed differently from a normal Pi, since there is no SD card slot on a module with eMMC. Read the official guide fully before you start, especially the step that puts the module into flashing mode by shorting the pin headers on the IO board. First Power-On With the OS installed, it was time to power on the Pi. I connected a USB keyboard and mouse to the IO Board and plugged an HDMI display into the HDMI0 port. Finally, I connected the power supply. The board turned on as soon as I connected the power, without me pressing the power button on the front of the IO Board. Later, I shut it down and left the power supply connected. When I pressed the power button, the board turned on again. While connecting the HDMI cable, I made a mistake. I accidentally plugged the HDMI output of my desktop PC into the HDMI0 port of the IO Board. Luckily, it did not harm the board. First-Boot Checks I turned on the CM5 by pressing the power button. It took about 18 seconds to boot fully into the operating system. The Wi-Fi connected automatically, because I had set up the network details in Raspberry Pi Imager when installing the OS. Next, I updated the system, as I usually do on any Raspberry Pi, with these commands: sudo apt update sudo apt full-upgrade -y After the update finished, I rebooted the system with sudo reboot . Then I ran uname -a to check the kernel and OS version. The result is shown in the screenshot below. The, uname -a showed that the system is running a 64-bit (aarch64) Linux kernel, version 6.18.60 with the Raspberry Pi 2712 build, dated 3 November 2026. The &amp;quot;2712&amp;quot; in the name refers to the Broadcom BCM2712, the same chip family used in the Raspberry Pi 5. To make sure the module matched the variant I was sent, I checked the hardware from the terminal. The lscpu showed four Arm Cortex-A76 cores, one thread per core. The CPU runs between 1.5 GHz and a maximum of 2.4 GHz, which matches the official specification. At the moment of the screenshot, the CPU was running at about 62% of its maximum speed, because the system was idle and the frequency scales with load. The caches are 256 KiB of L1 data and 256 KiB of L1 instruction cache in total, 2 MiB of L2, and 2 MiB of L3. The free -h command reported [X] GB of RAM in total, which fits the 4 GB model, since a little memory is always reserved by the system. The lsblk and df -h commands showed the eMMC storage as [X] GB in total, with [X] GB free after installing the OS. This matches the 32 GB eMMC variant. Finally, I checked the temperature and power status. The idle temperature was 42.8 &amp;#176;C with the official heatsink, and vcgencmd get_throttled returned throttled=0x0 . This means there were no undervoltage or throttling events so far. Summary Check Result Meaning CPU 4 &amp;#215; Cortex-A76, up to 2.4 GHz Matches the Pi 5 family RAM 4.0 GiB Matches the 4 GB variant eMMC 29.1 GiB Matches the 32 GB variant Free space 20 GB Plenty for testing Idle temperature 42.8 &amp;#176;C Good for idle with a passive heatsink Throttling 0x0 Clean, and the Type C power supply is working well Testing Bluetooth and Video Playback Next, I tested Bluetooth and basic media playback. I paired my Bose 700 Bluetooth headphones with the CM5, and they connected without any problem. Then I opened YouTube in the browser and played a video through the headphones. Everything worked well, with no issues during connection. To measure playback, I opened &amp;quot;Stats for nerds.&amp;quot; The video was a 4K HDR 60 fps nature video, but the browser played it at 1920&amp;#215;1080 at 60 fps, in a 1337&amp;#215;752 window. The stream used the H.264 (avc1) codec at about 13 Mbps, and the buffer stayed healthy at nearly 13 seconds. In total, 737 of 19,411 frames were dropped, which is about 3.8%. At 60 fps, that is roughly 5 minutes and 20 seconds of playback. In normal viewing, the video and audio stayed in sync and I did not notice any serious problems, though some dropped frames are expected at this rate. Thermal Test To check how the CM5 handles heat, I used stress-ng to load all four CPU cores for 10 minutes. I logged the temperature and CPU clock speed every two seconds. The room temperature was 26 &amp;#176;C, and I used the official CM5 heatsink with the case fan. The first reading was 51.6 &amp;#176;C. Over the first five minutes, the temperature rose steadily and then levelled off at about 67 &amp;#176;C. The highest reading was 68.6 &amp;#176;C, reached after about 7 minutes. The CPU stayed at its full 2.4 GHz for the entire 10-minute test, so there was no thermal throttling. When the test ended, the clock dropped to its idle speed of 1.5 GHz and the temperature fell quickly. It was about 60 &amp;#176;C after the first minute, 52 &amp;#176;C after about 4 minutes, and settled near 47.7 &amp;#176;C about 12 minutes after the load stopped. Key numbers Measurement Result Idle temperature (earlier check) 42.8 &amp;#176;C First log reading 51.6 &amp;#176;C Plateau under load about 67 &amp;#176;C Peak temperature 68.6 &amp;#176;C Clock under load 2.4 GHz for the whole test Clock at idle 1.5 GHz Temperature 12 minutes after load about 47.7 &amp;#176;C Thermal Test with CPU and Memory Load For the second test, I added memory stress to the CPU load, again for about 10 minutes, and logged the temperature and clock speed every two seconds. This run started from a warmer board than a cold start, at 47.7 &amp;#176;C, with the CPU at its idle speed of 1.5 GHz. When the load began, the clock jumped to 2.4 GHz and stayed there for the whole test. The temperature rose steadily over about five minutes and then levelled off at roughly 67 &amp;#176;C. The highest reading was 68.6 &amp;#176;C, and the CPU did not throttle at any point. After the load stopped, the temperature fell to about 59 &amp;#176;C within a minute and to about 49 &amp;#176;C after ten minutes. Adding memory stress made almost no difference to the temperature. The CPU-only test also peaked at 68.6 &amp;#176;C and levelled off at about the same level. Storage Test: eMMC This is where the CM5 differs most from a normal Pi, since your OS runs from eMMC instead of an SD card. The module has 32 GB of onboard eMMC, so I tested its speed with fio. I used direct I/O to bypass the Linux cache, and ran four tests on the root filesystem: 1 MB sequential read and write, and 4 KB random read and write. Each test used one thread with a queue depth of one, and no errors were reported. Sequential reads reached 315 MiB/s (330 MB/s), and sequential writes reached 110 MiB/s (115 MB/s). Reads were about three times faster than writes, which is normal for eMMC. For small 4 KB operations, random reads reached 44.7 MiB/s (46.8 MB/s) at about 11,400 IOPS, and random writes reached 60.1 MiB/s (63.1 MB/s) at about 15,400 IOPS. The average latency was about 87 microseconds for random reads and 64 microseconds for random writes. These results are close to the figures other CM5 testers have reported for the same 32 GB eMMC. In practice, the module boots and runs the desktop quickly, and the speed is much better than I would expect from a typical SD card, though I have not measured an SD card myself. Results at a glance Test Speed IOPS Avg latency Sequential read (1 MB) 315 MiB/s (330 MB/s) 315 3.17 ms Sequential write (1 MB) 110 MiB/s (115 MB/s) 109 9.1 ms Random read (4 KB) 44.7 MiB/s (46.8 MB/s) 11,400 87 &amp;#181;s Random write (4 KB) 60.1 MiB/s (63.1 MB/s) 15,400 64 &amp;#181;s Wi-Fi Signal and Stability I was not fully satisfied with the Wi-Fi performance. When connected to my home router, the CM5 disconnected from the network several times. To check the signal strength, I connected to my iPhone&amp;#39;s hotspot instead and measured it with the iw dev wlan0 link command. From a distance of 6 feet, the signal level was about -56 dBm. At 12 feet, it was about -64 dBm. These are fair readings that are usable for normal tasks, but the signal drops noticeably as the distance increases. Accessing the GPIO Header In this stage, I want to connect some external sensors using the GPIO header. For my first GPIO experiment, I opened the top cover of the IO Board case to reach the GPIO header. On the IO Board, the header is labelled J8. Unlike a standard Raspberry Pi, it has no pin markings at all, and not even a pin 1 indicator. I opened the IO Board datasheet, but it does not show the pin mapping directly either. I found pin 1 in the mechanical layout drawing, where it is marked with a square pad. I then found the pinout in the schematic. For a beginner, this is hard. Wiring a header with no labels invites mistakes, and a wrong connection could damage the board. The IO Board has enough free space for silkscreen markings, so labelling pin 1, and ideally the pin numbers or functions, would be a simple improvement. Testing I2C Sensor For my next experiment, I connected an I2C sensor to the GPIO header. I used the default I2C pins on the header and wired a SparkFun CCS811/BME280 Environmental Combo sensor to them, using a breadboard and jumper wires. I2C is turned off by default, so I first enabled it from the configuration options. After that, I scanned the I2C bus with this command: sudo i2cdetect -y 1 The scan showed two devices at addresses 0x5B and 0x77. This matches the usual address of the CCS811 air quality sensor on the SparkFun Environmental Combo board, so the wiring was correct, and the CM5 could talk to the sensor on the first try. Turning on I2C was the only setting I had to change. To read the sensors, I created a Python virtual environment and activated it. Inside it, I installed the libraries for the CCS811 and the BME280. I then ran a sample Python script for each sensor separately, first for the CCS811 and then for the BME280. Both worked without any issues. Combined: Testing the Grove DHT11 Temperature and Humidity Sensor Next, I connected a Grove DHT11 temperature and humidity sensor to the GPIO header. Unlike the CCS811 and BME280 sensors, which use I2C, the DHT11 sends its data over a single signal wire, so it needs only one GPIO pin, plus power and ground. Wiring I connected the sensor with jumper cable and wires, with the board powered off. The header has no pin markings, so I counted from the square pad of pin 1 and checked the pin numbers against the schematic. Sensor wire IO Board header pin VCC (red) Pin 1 (3.3 V) GND (black) Pin 9 (Ground) SIG (yellow) Pin 7 (GPIO 4) I used the same Python virtual environment approach as for the other sensors, and installed Adafruit&amp;#39;s DHT library: pip install adafruit-circuitpython-dht The tutorial I followed also told me to install a package called libgpiod2 , but my system could not find it. The package name is different on newer versions of Raspberry Pi OS, so I searched for the right name with apt-cache search libgpiod . [Add: I then installed X, or I found the script worked without it.] Reading the sensor I used this short script, which reads the temperature and humidity every three seconds: The sensor worked. [Add the readings you saw, for example: it reported about X &amp;#176;C and X % humidity.] Occasional read errors are normal for the DHT11 but I did not receive any error, which is a slow and timing-sensitive sensor, and the script simply tries again. The Grove DHT11 worked on the CM5 without any issues. Compatibility note: Many tutorials for the DHT11 were written for older Raspberry Pi boards and older OS versions, and some suggest libraries that don&amp;#39;t work on the Pi 5 family, which the CM5 shares. The CM5 itself was not the problem. Anyone following an older tutorial may need to update package names and use the newer Adafruit library. Project: A Home Environment Monitor on the CM5 To finish my road test, I wanted to build something I would actually use. I had three sensors connected to the CM5 from my earlier GPIO experiments, so I combined them into a small environment monitor that logs the data and shows it on a web dashboard. The idea The CM5 reads the sensors every 10 seconds, saves the readings in a database, and serves a web page with live values and charts. The page can be opened from any phone or computer on my home network. [Diagram: BME280 + CCS811 (I2C) and DHT11 (GPIO 4) → Python collector → SQLite database → Flask web dashboard] The monitor uses these parts: Part What it does BME280 Temperature, humidity, and pressure (I2C, address 0x77) CCS811 Air quality: eCO2 and TVOC (I2C, address 0x5B) Grove DHT11 Temperature and humidity (GPIO 4) CM5 CPU sensor The board&amp;#39;s own temperature Python collector Reads all sensors and saves the data SQLite Stores the history in one file Flask Serves the dashboard I also log the CM5&amp;#39;s own CPU temperature next to the room readings, so I can see how the board&amp;#39;s heat affects the sensors. The collector The collector is a short Python script that runs in the virtual environment I created earlier. It reads each sensor, adds a row to the database, and prints the values. A failed read is saved as an empty value, so a sensor error never stops the logging. A problem along the way At first, the collector stopped with an error from the CCS811: &amp;quot;Device returned an error! Try removing and reapplying power.&amp;quot; The sensor had worked in my earlier test scripts, so the chip was probably stuck in an error state. I shut down the CM5, unplugged the power for a few seconds, and started it again. I then changed the collector to retry the CCS811, reset it if needed, and keep logging the other sensors if it will not start. After that, it worked perfectly. The dashboard The web dashboard is a small Flask application. It shows the latest value of each sensor as a card, followed by four charts in two rows: temperature (BME280, DHT11, and the CM5 CPU), humidity, air quality, and pressure. A drop-down menu switches the range between 1 hour and 3 days, and the page refreshes itself every 15 seconds. I can open it from my phone at the CM5&amp;#39;s IP address on port 5000. The charts are drawn in the browser by the Chart.js library, loaded from the internet, so the PC or phone needs a connection. After 10 minutes of running: What this showed about the CM5 This project used the same Python, I2C, and GPIO tools as on any other Raspberry Pi, and the CM5 handled it without any trouble. The load was very small, and it ran for a long time without any crashes. The problems I hit were not caused by the CM5 itself: an unmarked GPIO header, old GPIO libraries that don&amp;#39;t support the Pi 5 family&amp;#39;s I/O chip, and a sensor that needed a power cycle. For a project like this, I would happily choose a Compute Module over a normal Raspberry Pi if I were building a product with a custom carrier board. Who Should Choose the CM5 (my opinion)? After assembling, testing, and building a project on the CM5, my view is that the right choice depends on how it will be used. The CM5 with the IO Board: a good fit for servers and gateways I think the CM5 with the IO Board suits always-on devices such as a small home server, a network gateway, or a data logger like my environment monitor. My reasons are: Reliable storage. The onboard eMMC removes the microSD card, which is the most common failure point in Raspberry Pi systems that run all the time. My eMMC read about 330 MB/s and write about 115 MB/s, which is plenty for this kind of work. Room to grow. The M.2 slot on the IO Board takes an NVMe SSD without extra parts, which is useful for a server that needs more or faster storage. Networking. The board has Gigabit Ethernet, and the external antenna improves the Wi-Fi options when the board sits in a metal case. Stable under load. In my 10-minute stress tests, the CPU held 2.4 GHz and peaked at 68.6 &amp;#176;C with no throttling. Ready-made extras. The 40-pin GPIO header, the power button, and the RTC battery connector made it easy to add sensors and keep the time. The CM5 alone: a good fit for commercial products The CM5 on its own is aimed at people building a product with their own carrier board. I haven&amp;#39;t designed a carrier board for this test, so this is based on the module&amp;#39;s design and the documentation, not on my own build. The reasons I think it suits that job are: Compact size. The module measures only 55 &amp;#215; 40 &amp;#215; 4.7 mm, so it fits into small products. A custom board around it. A designer can add only the connectors and parts the product needs, and leave out the rest, which saves space and cost. Flexible memory and storage. There are several RAM and eMMC sizes, plus a Lite version without eMMC for cost-sensitive designs. A reference design. The IO Board works as a starting point, and Raspberry Pi has published its design files, so a designer doesn&amp;#39;t start from nothing. Familiar software. The Raspberry Pi OS and the same tools mean developers don&amp;#39;t need to learn a new platform. Product lifetime. Long-term production commitment for the CM5, since it matters for a product. Who may prefer the Pi 5 For a beginner, or for a general-purpose board that is simple to set up, the standard Raspberry Pi 5 is the easier and probably cheaper choice. The CM5 needs more assembly, and as I found, the IO Board&amp;#39;s GPIO header has no pin markings. The Conclusion I started this road test as an intermediate Raspberry Pi user who had never used a Compute Module. After assembling it, installing the OS, testing it, and building an environment monitor on it, I came away impressed. The CM5 was stable and fast in my tests. Boot time of about 18 seconds, no throttling at 2.4 GHz with a peak of 68.6 &amp;#176;C, eMMC reading at about 330 MB/s. The monitor ran without a crash, using the same Python, I2C, and GPIO tools as any other Raspberry Pi. For a project like mine, the CM5 with the IO Board has some real advantages over a standard Pi 5. The built-in eMMC removes the need for a microSD card, which is more reliable for a device that runs all the time. The M.2 slot on the IO Board takes an NVMe drive without extra parts. The external antenna also helps if the board goes in a metal case. The IO Board, like the Pi 5, includes a power button and an RTC battery connector. The CM5 also has drawbacks. It takes more steps to assemble, and the unlabeled GPIO header was hard for a beginner .</description><category domain="https://community.element14.com/tags/pi%2bcompute%2bmodule">pi compute module</category><category domain="https://community.element14.com/tags/raspberry%2bpi%2b5">raspberry pi 5</category><category domain="https://community.element14.com/tags/raspberry%2bpi%2bcompute%2bmodule%2b5">raspberry pi compute module 5</category><category domain="https://community.element14.com/tags/Raspberry%2bPi%2b5_2C00_%2bCompute%2bModule%2b4_2C00_%2bRadxa%2bCM5_2C00_%2bOrange%2bPi%2bCM5_2C00_%2bNVIDIA%2bJetson%2bOrin%2bNano">Raspberry Pi 5, Compute Module 4, Radxa CM5, Orange Pi CM5, NVIDIA Jetson Orin Nano</category><category domain="https://community.element14.com/tags/Development%2bBoards%2b_2600_amp_3B00_%2bTools">Development Boards &amp;amp; Tools</category><category domain="https://community.element14.com/tags/I%2bdid%2bnot%2bface%2bany%2bserious%2bissues%2bwhile%2bworking%2bwith%2bit-%2bHowever_2C00_%2bmy%2bWi_2D00_Fi%2bdisconnected%2bseveral%2btimes%2bduring%2btesting_2C00_%2band%2bit%2bsometimes%2btook%2blonger%2bthan%2busual%2bto%2breconnect_2E00_">I did not face any serious issues while working with it. However, my Wi-Fi disconnected several times during testing, and it sometimes took longer than usual to reconnect.</category></item><item><title>Forum Post: TRS-04: ESP-32-S3, Arduino &amp; LE Coded PHY Comms – Some Assembly Required</title><link>https://community.element14.com/challenges-projects/design-challenges/my-project-is-trash/f/forum/57513/trs-04-esp-32-s3-arduino-le-coded-phy-comms-some-assembly-required</link><pubDate>Sat, 28 Nov 2026 09:04:00 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:6a6a9b84-a212-4b90-b9a0-de0dfe5d39af</guid><dc:creator>Gough Lui</dc:creator><description>Rather than getting stuck into the sponsored kit right away, I decided to take a different approach and solve the issue that was bugging me most – connectivity. As much as I’ve used the ESP32 before, it seems a lot has changed in the meantime. The Bluedroid-based Bluetooth stack has given way to its light-weight successor, NimBLE and Bluetooth v5.0 capabilities including Long-Range Coded PHY are now in hardware too. Because of this, I grabbed some ESP32-S3 boards, knowing that they’d be able to do this , whereas my “traditional” ESP32 boards could only do Bluetooth v4.2 1M PHY at best. Why BLE Coded PHY? For those not familiar, Bluetooth is a 2.4GHz-based wireless standard which focuses on low-power, short-range and interoperability. It comes in multiple “flavours” including Classic (which, itself went through several iterations of physical-layers (PHYs) including Basic Rate (1Mbit/s GFSK), EDR (2Mbit/s π/4-DQPSK and 3Mbit/s 8DPSK) and HS which borrowed Wi-Fi at around 24Mbit/s) and the more recent Low Energy (frequently abbreviated LE) which also has “grown” a few different PHYs. These include the LE 1M mode (1Mbit/s GFSK, distinct from the Classic implementation, since v4.0), LE Coded (using forward error correction, 1Mbit/s GFSK with S=2 and S=8, since v5.0), LE 2M mode (2Mbit/s GFSK, also since v5.0). Plenty of devices today still operate in either Bluetooth Classic (including all pre-LE-Audio Bluetooth headsets, keyboards and mice), while others operate using LE 1M mode such as tracking tags, beacon tags and sensor tiles. The main reason for this is compatibility and interoperability. There is a cost though. In the case of LE 1M mode, the datasheet for the ESP32-S3 tells me that it can receive with a 30.8% packet error rate down to -97.5dBm in ideal conditions. This seems to be a fairly reasonable specification – most Wi-Fi cards will reach 9% PER at 1Mbit/s at -90dBm to -99dBm, which is in a similar ball-park. This sets a practical limit on the amount of range we can expect, as signals get weaker due to spreading, with losses due to attenuation propagating through materials and the potential for interference. So, if LE 1M and Coded PHY share the same 1Mbit/s GFSK modulation, how does LE Coded PHY help with this problem? Well, the secret is two-fold. The first is in the name coded . What this means is that the data rate is lower and additional coding is added to provide the ability to perform forward-error-correction on the data hence improving sensitivity. The “S” in S=2 and S=8 modes stands for spreading – in the case of S=2, one data bit is spread across two data bits, thus halving the throughput (hence why it’s advertised with a 500kbit/s rate). The S=8 mode is even more robust, spreading one data bit across eight bits, but hence only achieving an-eighth of the data rate at 125kbit/s. Because of this “spreading”, it’s more resilient to individual bit-errors caused by interference or fading. This is a similar reason to how GNSS (e.g. GPS) can work with such limited transmit powers all the way from space – but it uses a spreading factor of S=20,460 (running at 1.023Mbit/s, but sending a 50bit/s stream) – taking this to the extreme! The second way this can help boils down to how advertisements are handled in Bluetooth v5.0. The three channels used by advertisements in v4.0 are starting to get quite crowded and so collisions with data loss are occurring more frequently. As a result, the use of extended advertising is required – in essence, a short advertisement is made on the three advertising channels that acts as a “pointer” – it’s a message that tells the receiver to go to a given channel after a certain amount of time to receive the broadcast. This “frees” capacity on the advertising channel and reduces the likelihood of collisions – especially important as extended advertising also allows for longer advertisement packets and when combining with Coded PHY, these advertisements can get quite long (in terms of Bluetooth air-time, relative to ordinary LE 1M standard advertisements). The datasheet claims that going to S=8 gives us an improvement, down to -104.5dBm which means that the coded PHY gave us an advantage of 7dB simply through changes to how bits are translated into symbols transmitted over the air. This is not quite the 12dB that theory predicts, but the real-life performance is often going to fall short due to noise-floor limitations. Of course, it’s not a free lunch – your transmissions are a bit more than eight-times longer, meaning that you’ll be spending a little more than eight times the energy. In return, you’d be expecting to see close to four-times the range (in theory). In my case, this is worth it – eight times a small amount of energy is still a small amount of energy! Even if you don’t need all of the range, you might want the reliability to have the margin to handle the day your bin gets kidnapped by the bin-truck and gets taken two houses further down than normal! Not Quite PHY-ne … Since the hardware supports the LE Coded PHY mode, we’re ready-to-go right? Not quite. While one can use the NimBLE library which supports such functionality , for ESP32, it’s not as simple as toggling a few settings in nimconfig.h . Unfortunately, for me, it turns out that arduino-esp32 Arduino Core has build-time configurations in defconfig.esp32s3 that are not set to enable this out-of-the-box. The result is that projects simply won’t be able to do any extended advertisements at all! The above versions are the current versions available via the board manager/library manager URLs as of writing. I decided to install them anyway just to get started. Some people even suggest changing over to Nordic-based boards … but I only just got these ESP32-S3s! Starting with 1M PHY As a raccoon, I was itching to get started. My hands just couldn’t stop … Step 1 was simply to assume I had no Coded PHY at all – let’s just build with standard advertising to see how well that works. For energy efficiency, I’ve decided to go with a plain advertising solution rather than a connection/notification method. This is less secure and doesn’t guarantee delivery, but should allow the collecting node to sleep for longer. After all, a single lost bin data sample or two won’t stop it from working. One thing I was curious was whether the board could still maintain a Wi-Fi connection under such heavy advertisement scanning and whether it could serve a simple webpage. So there are two sketches – one for the bin node that transmits the data frame and one for the home receiver that receives the data and formats it for display. To minimise power requirements and to fit within standard advertising limits, I’ve decided to stick to an eight-byte frame format with just four payload bytes to start with. That’s quite a bit of space if used wisely. There is some overhead from other advertisement data that needs to be put in there to meet standards and ensure other scanners are happy. To ensure receivers get the message, the broadcast is sent a few times. Receivers will validate frames based on fixed magic bytes and filter duplicates based on matching sequence numbers and packet data. To differentiate between different bins, a Node ID byte is also used. The code is as below – [esp32s3-BatteryNode.ino] # ESP32-S3 Arduino BLE Advertising (1M PHY) with NimBLE Sketch # Battery-Operated Sensor Node # by Gough Lui with debugging assistance from OpenAI ChatGPT GPT-6 Luna (Nov 2026) # for My Project is Trash Design Challenge #include #include #include #include #include #include #include #include #include &amp;quot;PacketFormat.h&amp;quot; #define BATTERY_NODE_DEBUG 0 #if BATTERY_NODE_DEBUG #define NODE_PRINT(...) Serial.print(__VA_ARGS__) #define NODE_PRINTLN(...) Serial.println(__VA_ARGS__) #define NODE_PRINTF(...) Serial.printf(__VA_ARGS__) #define NODE_SERIAL_BEGIN() Serial.begin(115200) #define NODE_SERIAL_FLUSH() Serial.flush() #else #define NODE_PRINT(...) do {} while (0) #define NODE_PRINTLN(...) do {} while (0) #define NODE_PRINTF(...) do {} while (0) #define NODE_SERIAL_BEGIN() do {} while (0) #define NODE_SERIAL_FLUSH() do {} while (0) #endif static constexpr uint32_t SENSOR_SAMPLE_INTERVAL_MS = 500; static constexpr uint32_t MIN_REPORT_INTERVAL_MS = 500; static constexpr uint32_t HEARTBEAT_TRIGGER_MS = 500; static constexpr uint32_t ADVERTISING_DURATION_MS = 250; static constexpr uint16_t ADVERTISING_INTERVAL_UNITS = 160; static constexpr uint32_t RTC_STATE_MAGIC = 0x534E4F44; struct RetainedState { uint32_t magic; uint8_t lastSentPayload[SENSOR_DATA_LENGTH]; bool haveLastSentPayload; uint8_t nextSequence; uint32_t elapsedSinceReportMs; uint32_t previousCycleActiveMs; uint32_t demonstrationSampleCounter; }; RTC_DATA_ATTR static RetainedState retained; static bool readSensorData(uint8_t output[SENSOR_DATA_LENGTH]) { ++retained.demonstrationSampleCounter; const uint32_t exampleMeasurement = retained.demonstrationSampleCounter; memcpy(output, &amp;amp;exampleMeasurement, sizeof(exampleMeasurement)); return true; } static void initialiseRetainedState() { if (retained.magic == RTC_STATE_MAGIC) { return; } memset(&amp;amp;retained, 0, sizeof(retained)); retained.magic = RTC_STATE_MAGIC; retained.nextSequence = static_cast (esp_random()); retained.haveLastSentPayload = false; retained.elapsedSinceReportMs = HEARTBEAT_TRIGGER_MS; } static void updateElapsedTimeSinceLastReport() { const uint64_t total = static_cast (retained.elapsedSinceReportMs) + retained.previousCycleActiveMs + SENSOR_SAMPLE_INTERVAL_MS; retained.elapsedSinceReportMs = (total &amp;gt; UINT32_MAX) ? UINT32_MAX : static_cast (total); } static void sleepUntilNextSample() { NODE_SERIAL_FLUSH(); esp_sleep_enable_timer_wakeup( static_cast (SENSOR_SAMPLE_INTERVAL_MS) * 1000ULL); esp_deep_sleep_start(); while (true) { delay(1000); } } static bool advertiseSensorData(const uint8_t payload[SENSOR_DATA_LENGTH], uint8_t sequence, uint32_t &amp;amp;advertisingStartMs) { SensorPacket packet{}; packet.magic = SENSOR_PACKET_MAGIC; packet.nodeId = SENSOR_NODE_ID; packet.sequence = sequence; memcpy(packet.payload, payload, SENSOR_DATA_LENGTH); uint8_t manufacturerData[MANUFACTURER_DATA_LENGTH]; manufacturerData[0] = static_cast (COMPANY_ID &amp;amp; 0xFF); manufacturerData[1] = static_cast (COMPANY_ID &amp;gt;&amp;gt; 8); memcpy(manufacturerData + 2, &amp;amp;packet, sizeof(packet)); NimBLEDevice::init(&amp;quot;&amp;quot;); NimBLEAdvertising *advertising = NimBLEDevice::getAdvertising(); if (advertising == nullptr) { NimBLEDevice::deinit(true); return false; } if (!advertising-&amp;gt;setConnectableMode(BLE_GAP_CONN_MODE_NON)) { NimBLEDevice::deinit(true); return false; } advertising-&amp;gt;setAdvertisingInterval(ADVERTISING_INTERVAL_UNITS); advertising-&amp;gt;enableScanResponse(false); NimBLEAdvertisementData advertisementData; advertisementData.setFlags(0x06); if (!advertisementData.setManufacturerData(manufacturerData, sizeof(manufacturerData)) || !advertising-&amp;gt;setAdvertisementData(advertisementData)) { NimBLEDevice::deinit(true); return false; } advertisingStartMs = millis(); if (!advertising-&amp;gt;start(ADVERTISING_DURATION_MS)) { NimBLEDevice::deinit(true); return false; } NODE_PRINTF(&amp;quot;Broadcast: node=0x%02X sequence=%u data=&amp;quot;, static_cast (packet.nodeId), static_cast (packet.sequence)); for (size_t i = 0; i (packet.payload[i])); } NODE_PRINTLN(); while (advertising-&amp;gt;isAdvertising()) { vTaskDelay(pdMS_TO_TICKS(5)); } NimBLEDevice::deinit(true); return true; } void setup() { NODE_SERIAL_BEGIN(); #if BATTERY_NODE_DEBUG delay(30); #endif initialiseRetainedState(); updateElapsedTimeSinceLastReport(); uint8_t currentPayload[SENSOR_DATA_LENGTH] = {}; if (!readSensorData(currentPayload)) { NODE_PRINTLN(&amp;quot;Sensor read failed; sleeping until next sample.&amp;quot;); retained.previousCycleActiveMs = millis(); sleepUntilNextSample(); } const bool valueChanged = !retained.haveLastSentPayload || memcmp(currentPayload, retained.lastSentPayload, SENSOR_DATA_LENGTH) != 0; const bool minIntervalElapsed = retained.elapsedSinceReportMs &amp;gt;= MIN_REPORT_INTERVAL_MS; const bool heartbeatDue = retained.elapsedSinceReportMs &amp;gt;= HEARTBEAT_TRIGGER_MS; const bool reportDue = minIntervalElapsed &amp;amp;&amp;amp; (valueChanged || heartbeatDue); if (!reportDue) { retained.previousCycleActiveMs = millis(); sleepUntilNextSample(); } const uint8_t sequence = retained.nextSequence; uint32_t advertisingStartMs = 0; const bool started = advertiseSensorData(currentPayload, sequence, advertisingStartMs); if (started) { memcpy(retained.lastSentPayload, currentPayload, SENSOR_DATA_LENGTH); retained.haveLastSentPayload = true; retained.nextSequence = static_cast (retained.nextSequence + 1); retained.elapsedSinceReportMs = 0; retained.previousCycleActiveMs = millis() - advertisingStartMs; } else { NODE_PRINTLN(&amp;quot;BLE start failed; report remains pending.&amp;quot;); retained.previousCycleActiveMs = millis(); } sleepUntilNextSample(); } void loop() { delay(1000); } [PacketFormat.h] #pragma once #include #include static constexpr uint16_t SENSOR_PACKET_MAGIC = 0xB17E; static constexpr uint8_t SENSOR_NODE_ID = 0x01; static constexpr uint16_t COMPANY_ID = 0xFFFF; static constexpr size_t SENSOR_DATA_LENGTH = 4; struct __attribute__((packed)) SensorPacket { uint16_t magic; uint8_t nodeId; uint8_t sequence; uint8_t payload[SENSOR_DATA_LENGTH]; }; static_assert(sizeof(SensorPacket) == 8, &amp;quot;SensorPacket must be exactly 8 bytes&amp;quot;); static constexpr size_t MANUFACTURER_DATA_LENGTH = 2 + sizeof(SensorPacket); static_assert(MANUFACTURER_DATA_LENGTH == 10, &amp;quot;Unexpected manufacturer data size&amp;quot;); [esp32s3-Receiver.ino] # ESP32-S3 Arduino BLE Advertising (1M PHY) with NimBLE Sketch # Mains-Powered Receiver Node with Concurrent Wi-Fi # by Gough Lui with debugging assistance from OpenAI ChatGPT GPT-6 Luna (Nov 2026) # for My Project is Trash Design Challenge #include #include #include #include #include #include #include #include #include #include #include &amp;quot;PacketFormat.h&amp;quot; #include &amp;quot;ReceiverConfig.h&amp;quot; static WebServer webServer(80); static NimBLEScan *bleScanner = nullptr; struct ReceivedPacket { SensorPacket packet; int8_t rssi; uint32_t receivedAtMs; }; static QueueHandle_t receivedPacketQueue = nullptr; struct ReceiverStatus { bool havePacket = false; uint8_t nodeId = 0; uint8_t sequence = 0; uint8_t payload[SENSOR_DATA_LENGTH] = {}; int8_t bleRssi = 0; uint32_t lastReceiveMs = 0; uint32_t uniquePackets = 0; uint32_t duplicatePackets = 0; }; static ReceiverStatus status; static bool wifiWasConnected = false; static bool ntpConfigured = false; static constexpr uint32_t DUPLICATE_WINDOW_MS = 3000; static constexpr size_t DUPLICATE_CACHE_SIZE = 12; struct RecentPacket { bool valid; uint8_t nodeId; uint8_t sequence; uint8_t payload[SENSOR_DATA_LENGTH]; uint32_t receivedAtMs; }; static RecentPacket recentPackets[DUPLICATE_CACHE_SIZE] = {}; static size_t nextRecentPacket = 0; static bool clockIsSynchronized() { return time(nullptr) &amp;gt;= 1704067200; } static void formatLocalTime(char *buffer, size_t length) { if (!clockIsSynchronized()) { snprintf(buffer, length, &amp;quot;Waiting for NTP synchronization&amp;quot;); return; } const time_t now = time(nullptr); struct tm localInfo; localtime_r(&amp;amp;now, &amp;amp;localInfo); strftime(buffer, length, &amp;quot;%Y-%m-%d %H:%M:%S %Z&amp;quot;, &amp;amp;localInfo); } static void serviceWiFi() { const bool connected = WiFi.status() == WL_CONNECTED; if (connected &amp;amp;&amp;amp; !wifiWasConnected) { wifiWasConnected = true; Serial.println(&amp;quot;Wi-Fi connected.&amp;quot;); Serial.print(&amp;quot;Receiver webpage: http://&amp;quot;); Serial.println(WiFi.localIP()); if (!ntpConfigured) { configTzTime(TIME_ZONE, NTP_SERVER_1, NTP_SERVER_2, NTP_SERVER_3); ntpConfigured = true; Serial.println(&amp;quot;NTP synchronization configured.&amp;quot;); } } else if (!connected &amp;amp;&amp;amp; wifiWasConnected) { wifiWasConnected = false; Serial.println(&amp;quot;Wi-Fi disconnected; automatic reconnect is enabled.&amp;quot;); } } class SensorScanCallbacks : public NimBLEScanCallbacks { void onResult(const NimBLEAdvertisedDevice *device) override { if (device == nullptr || !device-&amp;gt;haveManufacturerData()) return; const std::string data = device-&amp;gt;getManufacturerData(); if (data.size() != MANUFACTURER_DATA_LENGTH) return; const uint8_t *bytes = reinterpret_cast (data.data()); const uint16_t companyId = static_cast (bytes[0]) | (static_cast (bytes[1]) (device-&amp;gt;getRSSI()); received.receivedAtMs = millis(); if (received.packet.magic != SENSOR_PACKET_MAGIC || received.packet.nodeId != SENSOR_NODE_ID) return; if (receivedPacketQueue != nullptr) { xQueueSend(receivedPacketQueue, &amp;amp;received, 0); } } }; static SensorScanCallbacks scanCallbacks; static bool isRecentDuplicate(const SensorPacket &amp;amp;packet, uint32_t nowMs) { for (const RecentPacket &amp;amp;recent : recentPackets) { if (!recent.valid || recent.nodeId != packet.nodeId) continue; const bool recentEnough = static_cast (nowMs - recent.receivedAtMs) (packet.nodeId), static_cast (packet.sequence), static_cast (received.rssi)); Serial.print(&amp;quot; Payload: &amp;quot;); for (size_t i = 0; i (packet.payload[i])); if (i + 1 BLE Sensor Receiver ESP32-S3 BLE Sensor Receiver Wi-Fi Loading IP - Wi-Fi RSSI - Local time - NTP - Unique packets - Duplicates - Last packet age - Node ID - Sequence - BLE RSSI - Sensor data - JSON: /api/status )HTML&amp;quot;; static void handleRoot() { webServer.send_P(200, &amp;quot;text/html; charset=utf-8&amp;quot;, MAIN_PAGE); } static void handleStatusApi() { char localTimeText[48]; char payloadHex[SENSOR_DATA_LENGTH * 2 + 1]; char ageText[24]; char json[640]; formatLocalTime(localTimeText, sizeof(localTimeText)); if (status.havePacket) { for (size_t i = 0; i (status.payload[i])); } snprintf(ageText, sizeof(ageText), &amp;quot;%lu&amp;quot;, static_cast (millis() - status.lastReceiveMs)); } else { strcpy(payloadHex, &amp;quot;No packet received yet&amp;quot;); strcpy(ageText, &amp;quot;null&amp;quot;); } const bool wifiConnected = WiFi.status() == WL_CONNECTED; const String ip = wifiConnected ? WiFi.localIP().toString() : String(&amp;quot;-&amp;quot;); const int wifiRssi = wifiConnected ? WiFi.RSSI() : 0; const time_t epoch = clockIsSynchronized() ? time(nullptr) : 0; snprintf(json, sizeof(json), &amp;quot;{\&amp;quot;wifiConnected\&amp;quot;:%s,\&amp;quot;ip\&amp;quot;:\&amp;quot;%s\&amp;quot;,\&amp;quot;wifiRssi\&amp;quot;:%d,&amp;quot; &amp;quot;\&amp;quot;ntpSynchronized\&amp;quot;:%s,\&amp;quot;epoch\&amp;quot;:%lld,\&amp;quot;localTime\&amp;quot;:\&amp;quot;%s\&amp;quot;,&amp;quot; &amp;quot;\&amp;quot;uniquePackets\&amp;quot;:%lu,\&amp;quot;duplicatePackets\&amp;quot;:%lu,&amp;quot; &amp;quot;\&amp;quot;havePacket\&amp;quot;:%s,\&amp;quot;nodeId\&amp;quot;:%u,\&amp;quot;sequence\&amp;quot;:%u,\&amp;quot;bleRssi\&amp;quot;:%d,&amp;quot; &amp;quot;\&amp;quot;lastReceiveAgeMs\&amp;quot;:%s,\&amp;quot;payload\&amp;quot;:\&amp;quot;%s\&amp;quot;}&amp;quot;, wifiConnected ? &amp;quot;true&amp;quot; : &amp;quot;false&amp;quot;, ip.c_str(), wifiRssi, clockIsSynchronized() ? &amp;quot;true&amp;quot; : &amp;quot;false&amp;quot;, static_cast (epoch), localTimeText, static_cast (status.uniquePackets), static_cast (status.duplicatePackets), status.havePacket ? &amp;quot;true&amp;quot; : &amp;quot;false&amp;quot;, static_cast (status.nodeId), static_cast (status.sequence), static_cast (status.bleRssi), ageText, payloadHex); webServer.send(200, &amp;quot;application/json&amp;quot;, json); } static void startWebServer() { webServer.on(&amp;quot;/&amp;quot;, HTTP_GET, handleRoot); webServer.on(&amp;quot;/api/status&amp;quot;, HTTP_GET, handleStatusApi); webServer.onNotFound([]() { webServer.send(404, &amp;quot;text/plain&amp;quot;, &amp;quot;Not found&amp;quot;); }); webServer.begin(); Serial.println(&amp;quot;HTTP server started on port 80.&amp;quot;); } void setup() { Serial.begin(115200); delay(100); Serial.println(); Serial.println(&amp;quot;Always-powered ESP32-S3 receiver starting.&amp;quot;); receivedPacketQueue = xQueueCreate(24, sizeof(ReceivedPacket)); if (receivedPacketQueue == nullptr) { Serial.println(&amp;quot;Could not create receive queue.&amp;quot;); while (true) delay(1000); } WiFi.setHostname(WIFI_HOSTNAME); WiFi.mode(WIFI_STA); WiFi.setSleep(true); WiFi.setAutoReconnect(true); WiFi.begin(WIFI_SSID, WIFI_PASSWORD); Serial.printf(&amp;quot;Connecting to Wi-Fi &amp;#39;%s&amp;#39;...\n&amp;quot;, WIFI_SSID); startWebServer(); NimBLEDevice::init(&amp;quot;&amp;quot;); bleScanner = NimBLEDevice::getScan(); if (bleScanner == nullptr) { Serial.println(&amp;quot;Could not initialise BLE scanner.&amp;quot;); while (true) delay(1000); } bleScanner-&amp;gt;setActiveScan(false); bleScanner-&amp;gt;setDuplicateFilter(0); bleScanner-&amp;gt;setMaxResults(0); bleScanner-&amp;gt;setScanCallbacks(&amp;amp;scanCallbacks, true); if (!bleScanner-&amp;gt;start(0, false, true)) { Serial.println(&amp;quot;Could not start continuous BLE scan.&amp;quot;); while (true) delay(1000); } Serial.println(&amp;quot;Scanning for battery-node legacy BLE advertisements.&amp;quot;); } void loop() { webServer.handleClient(); serviceWiFi(); processReceivedPackets(); delay(2); } [ReceiverConfig.h] #pragma once static constexpr char WIFI_SSID[] = &amp;quot;YOUR_SSID&amp;quot;; static constexpr char WIFI_PASSWORD[] = &amp;quot;YOUR_PASSWORD&amp;quot;; static constexpr char WIFI_HOSTNAME[] = &amp;quot;esp32-ble-receiver&amp;quot;; static constexpr char TIME_ZONE[] = &amp;quot;AEST-10AEDT,M10.1.0/2,M4.1.0/3&amp;quot;; static constexpr char NTP_SERVER_1[] = &amp;quot;pool.ntp.org&amp;quot;; static constexpr char NTP_SERVER_2[] = &amp;quot;time.google.com&amp;quot;; static constexpr char NTP_SERVER_3[] = &amp;quot;time.cloudflare.com&amp;quot;; It’s been set-up with Sydney, Australia as the time-zone for the NTP client, as that’s where I am, and the Wi-Fi credentials have been substituted with a placeholder. But as a “scaffold” for my future endeavours, it’s a promising start as I had no issues with loading the webpage and it was showing data updates just fine. Changing the sketch to change the timings of packet sending to about 1/s, updating the Wi-Fi code to refresh once every 0.2s and adding a bit of Bluetooth traffic around (playing audio on my headset), I found that there’s occasional 3-4 seconds of lost data. This isn’t entirely unexpected because of the Wi-Fi coexistence which might take away time from the Bluetooth side just as an advertisement was being sent. Perhaps in my final implementation, I might just use Wi-Fi for a one-time NTP sync and turn it off, relying on a local LCD interface as the primary interface, or allow for Wi-Fi but use a non-auto-refreshing static page instead to minimise losses. But losses are indeed unavoidable, without adding yet another microcontroller/radio to the equation or perhaps without using a connection-oriented mode which would likely cause issues if the connection somehow “hangs” or gets stuck. Perhaps I could send data even more often (in terms of repetitions), at the cost of energy. But this little raccoon wasn’t happy yet. Because it had to work from outside . I took a walk outside with the receiver attached to my phone running a terminal app, while the transmitter remained inside, for range testing. At the ordinary location of my bin, I was receiving about -85dBm to -95dBm – right down at the border of what LE 1M can do. At that point, we were getting some burst losses and delivery was hardly assured. This would not do – if my bin got taken down the road even just a little, I’d lose visibility entirely! Or perhaps if enough microwaves came on at the same time, I might get a false alarm that my bin had gone AWOL … it seems I was right to expect that Coded PHY would be necessary . Or if I were to get a sledgehammer, perhaps I could even opt for LoRA, but it’s a bit late to make such major changes. LE Coded PHY Support - Some Assembly Required Having resigned myself to needing to rebuild the arduino-esp32 core, I started to prepare the necessary things, including Windows Subsystem for Linux and Ubuntu. The build itself is orchestrated using esp32-arduino-lib-builder . While I started following its instructions, I quickly ran into issues with things that wouldn’t build together and became quickly lost. After digging up fragments of instructions, I decided to feed them into ChatGPT and try to iron-out a working procedure to get a workable build. Turns out, the first step was simply to try and recreate the complete build chain for the 3.3.12 so that we can just transfer the built files to overwrite the existing tools. Ultimately, the chain of commands was as follows (comments prefixed with #): # Install prerequisites sudo apt update sudo apt install -y \ git wget curl build-essential \ flex bison gperf cmake ninja-build ccache jq \ libssl-dev libncurses-dev libffi-dev \ libusb-1.0-0 dfu-util \ python3 python3-pip python3-venv python3-setuptools # Install the right version of the library builder mkdir -p ~/src/arduino-esp32-build cd ~/src/arduino-esp32-build git clone https://github.com/espressif/esp32-arduino-lib-builder.git cd esp32-arduino-lib-builder git checkout 6671d0b # Install ESP-IDF-5.5.5 export IDF_BRANCH=release/v5.5 export IDF_COMMIT=b774170ff46 if [ -n &amp;quot;${VIRTUAL_ENV:-}&amp;quot; ]; then deactivate fi source ./tools/install-esp-idf.sh python -m pip install setuptools pyserial click cryptography future pyparsing pyelftools # Grab TinyUSB with patches mkdir -p components/arduino_tinyusb git clone https://github.com/hathach/tinyusb.git \ components/arduino_tinyusb/tinyusb git -C components/arduino_tinyusb/tinyusb checkout 88c7f0b81 for patch in patches/tinyusb/*.diff; do [ -e &amp;quot;$patch&amp;quot; ] || continue git -C components/arduino_tinyusb/tinyusb apply &amp;quot;$PWD/$patch&amp;quot; done ./tools/install-arduino.sh git -C components/arduino fetch --all --tags git -C components/arduino checkout e7c1e8cd4 From there, I needed to edit configs/defconfig.esp32s3 to add the following lines: # NimBLE BLE 5 feature support CONFIG_BT_NIMBLE_50_FEATURE_SUPPORT=y CONFIG_BT_NIMBLE_LL_CFG_FEAT_LE_CODED_PHY=y # Bluetooth 5 extended advertising and scanning CONFIG_BT_NIMBLE_EXT_ADV=y CONFIG_BT_NIMBLE_EXT_SCAN=y # Wi-Fi / Bluetooth coexistence CONFIG_ESP_COEX_SW_COEXIST_ENABLE=y Then, it was a case of running the build using the following command: ./build.sh -s -t esp32s3 This was not a quick operation – in all, I spent close to 15GB of bandwidth to download all the necessary files and the compilation took about an hour on my Intel Core i5-1135G7-based laptop. Once the build succeeds, you’ll need to move /out/tools/esp32-arduino-libs/esp32s3 to C:\Users\[[USER PROFILE NAME]]\AppData\Local\Arduino15\packages\esp32\tools\esp32s3-libs\3.3.12 Of note is that once this updated version is installed, you’ll find that the previous sketch that doesn’t require extended advertising will fail to compile for ESP32-S3! Instead, you’ll have to go with extended advertising, but modify the PHY to be LE 1M instead, so this build isn’t exactly “universal”. If you’re using another chip instead of the ESP32-S3, then you’ll have to change the commands to correspond with your particular branch, noting that the original ESP32 cannot support extended advertising or Bluetooth v5.0 features. Testing LE Coded PHY (S=8) The code was revised a bit to match the NimBLE examples that feature Coded PHY extended advertising whilst keeping most of it the same. The new sketches are as follows: [esp32s3-BatteryNodeCodedPhy.ino] # ESP32-S3 Arduino BLE Advertising (LE Coded PHY) with NimBLE Sketch # Battery-Operated Sensor Node # by Gough Lui with debugging assistance from OpenAI ChatGPT GPT-6 Luna (Nov 2026) # for My Project is Trash Design Challenge #include #include #include #include #include #include #include #include #include #include &amp;quot;PacketFormat.h&amp;quot; static constexpr uint32_t SENSOR_SAMPLE_INTERVAL_MS = 1000; static constexpr uint32_t MIN_REPORT_INTERVAL_MS = 1000; static constexpr uint32_t HEARTBEAT_TRIGGER_MS = 12000; static constexpr uint32_t BLE_ADV_INTERVAL_UNITS = 160; static constexpr uint32_t BLE_ADV_DURATION_MS = 1200; static constexpr int BLE_ADV_MAX_EVENTS = 3; static constexpr uint32_t RTC_STATE_MAGIC = 0x534E4F44; struct RetainedState { uint32_t magic; uint8_t lastSentPayload[SENSOR_DATA_LENGTH]; bool haveLastSentPayload; uint8_t nextSequence; uint32_t elapsedSinceReportMs; uint32_t previousCycleActiveMs; uint32_t demonstrationSampleCounter; }; RTC_DATA_ATTR static RetainedState retained; #define CODED_NODE_DEBUG 0 #if CODED_NODE_DEBUG #define NODE_SERIAL_BEGIN() Serial.begin(115200) #define NODE_PRINTLN(...) Serial.println(__VA_ARGS__) #define NODE_PRINTF(...) Serial.printf(__VA_ARGS__) #define NODE_FLUSH() Serial.flush() #else #define NODE_SERIAL_BEGIN() do {} while (0) #define NODE_PRINTLN(...) do {} while (0) #define NODE_PRINTF(...) do {} while (0) #define NODE_FLUSH() do {} while (0) #endif static bool readSensorData(uint8_t output[SENSOR_DATA_LENGTH]) { ++retained.demonstrationSampleCounter; const uint32_t exampleMeasurement = retained.demonstrationSampleCounter; memcpy(output, &amp;amp;exampleMeasurement, sizeof(exampleMeasurement)); return true; } static void initialiseRetainedState() { if (retained.magic == RTC_STATE_MAGIC) { return; } memset(&amp;amp;retained, 0, sizeof(retained)); retained.magic = RTC_STATE_MAGIC; retained.nextSequence = static_cast (esp_random()); retained.haveLastSentPayload = false; retained.elapsedSinceReportMs = HEARTBEAT_TRIGGER_MS; } static void updateElapsedTimeSinceLastReport() { const uint64_t elapsed = static_cast (retained.elapsedSinceReportMs) + retained.previousCycleActiveMs + SENSOR_SAMPLE_INTERVAL_MS; retained.elapsedSinceReportMs = elapsed &amp;gt; UINT32_MAX ? UINT32_MAX : static_cast (elapsed); } static void sleepUntilNextSample() { NODE_FLUSH(); esp_sleep_enable_timer_wakeup( static_cast (SENSOR_SAMPLE_INTERVAL_MS) * 1000ULL); esp_deep_sleep_start(); while (true) { delay(1000); } } static bool advertiseSensorData(const uint8_t payload[SENSOR_DATA_LENGTH], uint8_t sequence, uint32_t &amp;amp;advertisingStartMs) { SensorPacket packet{}; packet.magic = SENSOR_PACKET_MAGIC; packet.nodeId = SENSOR_NODE_ID; packet.sequence = sequence; memcpy(packet.payload, payload, SENSOR_DATA_LENGTH); uint8_t manufacturerData[MANUFACTURER_DATA_LENGTH]; manufacturerData[0] = static_cast (COMPANY_ID &amp;amp; 0xFF); manufacturerData[1] = static_cast (COMPANY_ID &amp;gt;&amp;gt; 8); memcpy(manufacturerData + 2, &amp;amp;packet, sizeof(packet)); if (!NimBLEDevice::init(&amp;quot;&amp;quot;)) { return false; } NimBLEExtAdvertising *advertising = NimBLEDevice::getAdvertising(); if (advertising == nullptr) { NimBLEDevice::deinit(true); return false; } NimBLEExtAdvertisement advertisement( BLE_HCI_LE_PHY_CODED, BLE_HCI_LE_PHY_CODED ); advertisement.setLegacyAdvertising(false); advertisement.setConnectable(false); advertisement.setScannable(false); advertisement.setPrimaryChannels(true, true, true); advertisement.setMinInterval(BLE_ADV_INTERVAL_UNITS); advertisement.setMaxInterval(BLE_ADV_INTERVAL_UNITS); advertisement.setTxPower(20); if (!advertisement.setManufacturerData(manufacturerData, sizeof(manufacturerData))) { NimBLEDevice::deinit(true); return false; } if (!advertising-&amp;gt;setInstanceData(0, advertisement)) { NimBLEDevice::deinit(true); return false; } advertisingStartMs = millis(); if (!advertising-&amp;gt;start(0, BLE_ADV_DURATION_MS, BLE_ADV_MAX_EVENTS)) { NimBLEDevice::deinit(true); return false; } NODE_PRINTF(&amp;quot;Coded-PHY report started: node=0x%02X sequence=%u payload=&amp;quot;, static_cast (packet.nodeId), static_cast (packet.sequence)); for (size_t i = 0; i (packet.payload[i])); } NODE_PRINTLN(); while (advertising-&amp;gt;isActive(0)) { vTaskDelay(pdMS_TO_TICKS(5)); } NimBLEDevice::deinit(true); return true; } void setup() { NODE_SERIAL_BEGIN(); #if CODED_NODE_DEBUG delay(30); #endif initialiseRetainedState(); updateElapsedTimeSinceLastReport(); uint8_t currentPayload[SENSOR_DATA_LENGTH] = {}; if (!readSensorData(currentPayload)) { NODE_PRINTLN(&amp;quot;Sensor read failed; returning to deep sleep.&amp;quot;); retained.previousCycleActiveMs = millis(); sleepUntilNextSample(); } const bool valueChanged = !retained.haveLastSentPayload || memcmp(currentPayload, retained.lastSentPayload, SENSOR_DATA_LENGTH) != 0; const bool minimumIntervalElapsed = retained.elapsedSinceReportMs &amp;gt;= MIN_REPORT_INTERVAL_MS; const bool heartbeatDue = retained.elapsedSinceReportMs &amp;gt;= HEARTBEAT_TRIGGER_MS; const bool reportDue = minimumIntervalElapsed &amp;amp;&amp;amp; (valueChanged || heartbeatDue); if (!reportDue) { retained.previousCycleActiveMs = millis(); sleepUntilNextSample(); } const uint8_t sequence = retained.nextSequence; uint32_t advertisingStartMs = 0; const bool advertised = advertiseSensorData(currentPayload, sequence, advertisingStartMs); if (advertised) { memcpy(retained.lastSentPayload, currentPayload, SENSOR_DATA_LENGTH); retained.haveLastSentPayload = true; retained.nextSequence = static_cast (retained.nextSequence + 1); retained.elapsedSinceReportMs = 0; retained.previousCycleActiveMs = millis() - advertisingStartMs; } else { NODE_PRINTLN(&amp;quot;BLE advertising failed; keeping the report pending.&amp;quot;); retained.previousCycleActiveMs = millis(); } sleepUntilNextSample(); } void loop() { delay(1000); } [esp32s3-Receiver.ino] # ESP32-S3 Arduino BLE Advertising (LE Coded PHY) with NimBLE Sketch # Mains-Powered Receiver Node with Concurrent Wi-Fi # by Gough Lui with debugging assistance from OpenAI ChatGPT GPT-6 Luna (Nov 2026) # for My Project is Trash Design Challenge #include #include #include #include #include #include #include #include #include #include #include &amp;quot;PacketFormat.h&amp;quot; #include &amp;quot;ReceiverConfig.h&amp;quot; static WebServer webServer(80); static NimBLEScan *bleScanner = nullptr; struct ReceivedPacket { SensorPacket packet; int8_t rssi; uint8_t primaryPhy; uint8_t secondaryPhy; uint32_t receivedAtMs; }; static QueueHandle_t receivedPacketQueue = nullptr; struct ReceiverStatus { bool havePacket = false; uint8_t nodeId = 0; uint8_t sequence = 0; uint8_t payload[SENSOR_DATA_LENGTH] = {}; int8_t bleRssi = 0; uint8_t primaryPhy = 0; uint8_t secondaryPhy = 0; uint32_t lastReceiveMs = 0; uint32_t uniquePackets = 0; uint32_t duplicatePackets = 0; }; static ReceiverStatus status; static bool wifiWasConnected = false; static bool ntpConfigured = false; static constexpr uint32_t DUPLICATE_WINDOW_MS = 3000; static constexpr size_t DUPLICATE_CACHE_SIZE = 12; struct RecentPacket { bool valid; uint8_t nodeId; uint8_t sequence; uint8_t payload[SENSOR_DATA_LENGTH]; uint32_t receivedAtMs; }; static RecentPacket recentPackets[DUPLICATE_CACHE_SIZE] = {}; static size_t nextRecentPacket = 0; static bool clockIsSynchronized() { return time(nullptr) &amp;gt;= 1704067200; } static void formatLocalTime(char *buffer, size_t length) { if (!clockIsSynchronized()) { snprintf(buffer, length, &amp;quot;Waiting for NTP synchronization&amp;quot;); return; } const time_t now = time(nullptr); struct tm localInfo; localtime_r(&amp;amp;now, &amp;amp;localInfo); strftime(buffer, length, &amp;quot;%Y-%m-%d %H:%M:%S %Z&amp;quot;, &amp;amp;localInfo); } static void serviceWiFi() { const bool connected = WiFi.status() == WL_CONNECTED; if (connected &amp;amp;&amp;amp; !wifiWasConnected) { wifiWasConnected = true; Serial.println(&amp;quot;Wi-Fi connected.&amp;quot;); Serial.print(&amp;quot;Receiver webpage: http://&amp;quot;); Serial.println(WiFi.localIP()); if (!ntpConfigured) { configTzTime(TIME_ZONE, NTP_SERVER_1, NTP_SERVER_2, NTP_SERVER_3); ntpConfigured = true; Serial.println(&amp;quot;NTP synchronization configured.&amp;quot;); } } else if (!connected &amp;amp;&amp;amp; wifiWasConnected) { wifiWasConnected = false; Serial.println(&amp;quot;Wi-Fi disconnected; automatic reconnect remains enabled.&amp;quot;); } } class SensorScanCallbacks : public NimBLEScanCallbacks { void onResult(const NimBLEAdvertisedDevice *device) override { if (device == nullptr || !device-&amp;gt;haveManufacturerData()) { return; } const std::string manufacturerData = device-&amp;gt;getManufacturerData(); if (manufacturerData.size() != MANUFACTURER_DATA_LENGTH) { return; } const uint8_t *bytes = reinterpret_cast (manufacturerData.data()); const uint16_t companyId = static_cast (bytes[0]) | (static_cast (bytes[1]) (device-&amp;gt;getRSSI()); received.primaryPhy = device-&amp;gt;getPrimaryPhy(); received.secondaryPhy = device-&amp;gt;getSecondaryPhy(); received.receivedAtMs = millis(); if (received.packet.magic != SENSOR_PACKET_MAGIC || received.packet.nodeId != SENSOR_NODE_ID) { return; } if (receivedPacketQueue != nullptr) { xQueueSend(receivedPacketQueue, &amp;amp;received, 0); } } }; static SensorScanCallbacks scanCallbacks; static bool isRecentDuplicate(const SensorPacket &amp;amp;packet, uint32_t nowMs) { for (const RecentPacket &amp;amp;recent : recentPackets) { if (!recent.valid || recent.nodeId != packet.nodeId) { continue; } const bool recentEnough = static_cast (nowMs - recent.receivedAtMs) (packet.nodeId), static_cast (packet.sequence), static_cast (received.rssi)); Serial.printf(&amp;quot; Advertising PHY: primary=%u secondary=%u (3 = LE Coded)\n&amp;quot;, static_cast (received.primaryPhy), static_cast (received.secondaryPhy)); Serial.print(&amp;quot; Payload: &amp;quot;); for (size_t i = 0; i (packet.payload[i])); if (i + 1 ESP32-S3 Coded-PHY Receiver ESP32-S3 BLE Coded-PHY Receiver Wi-Fi Loading IP address - Wi-Fi RSSI - Local time - NTP - Unique reports - Duplicate advertisements - Last report age - Node ID - Sequence - BLE RSSI - Sensor data - JSON endpoint: /api/status )HTML&amp;quot;; static void handleRoot() { webServer.send_P(200, &amp;quot;text/html; charset=utf-8&amp;quot;, MAIN_PAGE); } static void handleStatusApi() { char localTimeText[48]; char payloadHex[SENSOR_DATA_LENGTH * 2 + 1]; char ageText[24]; char json[640]; formatLocalTime(localTimeText, sizeof(localTimeText)); if (status.havePacket) { for (size_t i = 0; i (status.payload[i])); } snprintf(ageText, sizeof(ageText), &amp;quot;%lu&amp;quot;, static_cast (millis() - status.lastReceiveMs)); } else { strcpy(payloadHex, &amp;quot;No packet received yet&amp;quot;); strcpy(ageText, &amp;quot;null&amp;quot;); } const bool wifiConnected = WiFi.status() == WL_CONNECTED; const String ip = wifiConnected ? WiFi.localIP().toString() : String(&amp;quot;-&amp;quot;); const int wifiRssi = wifiConnected ? WiFi.RSSI() : 0; const time_t epoch = clockIsSynchronized() ? time(nullptr) : 0; snprintf(json, sizeof(json), &amp;quot;{\&amp;quot;wifiConnected\&amp;quot;:%s,\&amp;quot;ip\&amp;quot;:\&amp;quot;%s\&amp;quot;,\&amp;quot;wifiRssi\&amp;quot;:%d,&amp;quot; &amp;quot;\&amp;quot;ntpSynchronized\&amp;quot;:%s,\&amp;quot;epoch\&amp;quot;:%lld,\&amp;quot;localTime\&amp;quot;:\&amp;quot;%s\&amp;quot;,&amp;quot; &amp;quot;\&amp;quot;uniquePackets\&amp;quot;:%lu,\&amp;quot;duplicatePackets\&amp;quot;:%lu,&amp;quot; &amp;quot;\&amp;quot;havePacket\&amp;quot;:%s,\&amp;quot;nodeId\&amp;quot;:%u,\&amp;quot;sequence\&amp;quot;:%u,\&amp;quot;bleRssi\&amp;quot;:%d,&amp;quot; &amp;quot;\&amp;quot;lastReceiveAgeMs\&amp;quot;:%s,\&amp;quot;payload\&amp;quot;:\&amp;quot;%s\&amp;quot;}&amp;quot;, wifiConnected ? &amp;quot;true&amp;quot; : &amp;quot;false&amp;quot;, ip.c_str(), wifiRssi, clockIsSynchronized() ? &amp;quot;true&amp;quot; : &amp;quot;false&amp;quot;, static_cast (epoch), localTimeText, static_cast (status.uniquePackets), static_cast (status.duplicatePackets), status.havePacket ? &amp;quot;true&amp;quot; : &amp;quot;false&amp;quot;, static_cast (status.nodeId), static_cast (status.sequence), static_cast (status.bleRssi), ageText, payloadHex); webServer.send(200, &amp;quot;application/json&amp;quot;, json); } static void startWebServer() { webServer.on(&amp;quot;/&amp;quot;, HTTP_GET, handleRoot); webServer.on(&amp;quot;/api/status&amp;quot;, HTTP_GET, handleStatusApi); webServer.onNotFound([]() { webServer.send(404, &amp;quot;text/plain&amp;quot;, &amp;quot;Not found&amp;quot;); }); webServer.begin(); Serial.println(&amp;quot;HTTP server started on port 80.&amp;quot;); } void setup() { Serial.begin(115200); delay(100); Serial.println(); Serial.println(&amp;quot;Always-powered ESP32-S3 Coded-PHY receiver starting.&amp;quot;); receivedPacketQueue = xQueueCreate(24, sizeof(ReceivedPacket)); if (receivedPacketQueue == nullptr) { Serial.println(&amp;quot;Could not create BLE receive queue.&amp;quot;); while (true) delay(1000); } WiFi.setHostname(WIFI_HOSTNAME); WiFi.mode(WIFI_STA); WiFi.setSleep(true); WiFi.setAutoReconnect(true); WiFi.begin(WIFI_SSID, WIFI_PASSWORD); Serial.printf(&amp;quot;Connecting to Wi-Fi &amp;#39;%s&amp;#39;...\n&amp;quot;, WIFI_SSID); startWebServer(); if (!NimBLEDevice::init(&amp;quot;&amp;quot;)) { Serial.println(&amp;quot;Could not initialise NimBLE.&amp;quot;); while (true) delay(1000); } bleScanner = NimBLEDevice::getScan(); if (bleScanner == nullptr) { Serial.println(&amp;quot;Could not obtain BLE scanner.&amp;quot;); while (true) delay(1000); } bleScanner-&amp;gt;setPhy(NimBLEScan::Phy::SCAN_CODED); bleScanner-&amp;gt;setActiveScan(false); bleScanner-&amp;gt;setDuplicateFilter(0); bleScanner-&amp;gt;setMaxResults(0); bleScanner-&amp;gt;setInterval(1000); bleScanner-&amp;gt;setWindow(1000); bleScanner-&amp;gt;setScanCallbacks(&amp;amp;scanCallbacks, true); if (!bleScanner-&amp;gt;start(0, false, true)) { Serial.println(&amp;quot;Could not start continuous Coded-PHY scanning.&amp;quot;); while (true) delay(1000); } Serial.println(&amp;quot;Scanning continuously on LE Coded PHY (S=8 advertising expected).&amp;quot;); } void loop() { webServer.handleClient(); serviceWiFi(); processReceivedPackets(); delay(2); } But while I was sure the code was right, NimBLE wasn’t quite playing ball. While compiling it, I was coming to a few compiler errors that were NimBLE-related: I&amp;#39;m now receiving the following errors instead: [...]Arduino\libraries\NimBLE-Arduino\src\nimble\nimble\host\src\ble_gap.c: In function &amp;#39;ble_gap_rx_periodic_adv_sync_transfer&amp;#39;: [...]Arduino\libraries\NimBLE-Arduino\src\nimble\nimble\host\src\ble_gap.c:2357:23: error: &amp;#39;struct ble_hs_conn&amp;#39; has no member named &amp;#39;psync&amp;#39; 2357 | if (!conn || !conn-&amp;gt;psync) { | ^~ [...]Arduino\libraries\NimBLE-Arduino\src\nimble\nimble\host\src\ble_gap.c:2369:14: error: &amp;#39;struct ble_hs_conn&amp;#39; has no member named &amp;#39;psync&amp;#39; 2369 | cb = conn-&amp;gt;psync-&amp;gt;cb; | ^~ [...]Arduino\libraries\NimBLE-Arduino\src\nimble\nimble\host\src\ble_gap.c:2370:18: error: &amp;#39;struct ble_hs_conn&amp;#39; has no member named &amp;#39;psync&amp;#39; 2370 | cb_arg = conn-&amp;gt;psync-&amp;gt;cb_arg; | ^~ [...]Arduino\libraries\NimBLE-Arduino\src\nimble\nimble\host\src\ble_gap.c:2384:39: error: &amp;#39;struct ble_hs_conn&amp;#39; has no member named &amp;#39;psync&amp;#39; 2384 | ble_hs_periodic_sync_free(conn-&amp;gt;psync); | ^~ [...]Arduino\libraries\NimBLE-Arduino\src\nimble\nimble\host\src\ble_gap.c:2388:13: error: &amp;#39;struct ble_hs_conn&amp;#39; has no member named &amp;#39;psync&amp;#39; 2388 | conn-&amp;gt;psync-&amp;gt;sync_handle = sync_handle; | ^~ [...]Arduino\libraries\NimBLE-Arduino\src\nimble\nimble\host\src\ble_gap.c:2389:13: error: &amp;#39;struct ble_hs_conn&amp;#39; has no member named &amp;#39;psync&amp;#39; 2389 | conn-&amp;gt;psync-&amp;gt;adv_sid = ev-&amp;gt;sid; | ^~ [...]Arduino\libraries\NimBLE-Arduino\src\nimble\nimble\host\src\ble_gap.c:2390:20: error: &amp;#39;struct ble_hs_conn&amp;#39; has no member named &amp;#39;psync&amp;#39; 2390 | memcpy(conn-&amp;gt;psync-&amp;gt;advertiser_addr.val, ev-&amp;gt;peer_addr, 6); | ^~ [...]Arduino\libraries\NimBLE-Arduino\src\nimble\nimble\host\src\ble_gap.c:2391:13: error: &amp;#39;struct ble_hs_conn&amp;#39; has no member named &amp;#39;psync&amp;#39; 2391 | conn-&amp;gt;psync-&amp;gt;advertiser_addr.type = ev-&amp;gt;peer_addr_type; | ^~ [...]Arduino\libraries\NimBLE-Arduino\src\nimble\nimble\host\src\ble_gap.c:2392:41: error: &amp;#39;struct ble_hs_conn&amp;#39; has no member named &amp;#39;psync&amp;#39; 2392 | ble_hs_periodic_sync_insert(conn-&amp;gt;psync); | ^~ [...]Arduino\libraries\NimBLE-Arduino\src\nimble\nimble\host\src\ble_gap.c:2395:9: error: &amp;#39;struct ble_hs_conn&amp;#39; has no member named &amp;#39;psync&amp;#39; 2395 | conn-&amp;gt;psync = NULL; | ^~ [...]Arduino\libraries\NimBLE-Arduino\src\nimble\nimble\host\src\ble_hs_atomic.c: In function &amp;#39;ble_hs_atomic_conn_delete&amp;#39;: [...]Arduino\libraries\NimBLE-Arduino\src\nimble\nimble\host\src\ble_hs_atomic.c:32:17: error: &amp;#39;struct ble_hs_conn&amp;#39; has no member named &amp;#39;psync&amp;#39; 32 | if (conn-&amp;gt;psync) { | ^~ [...]Arduino\libraries\NimBLE-Arduino\src\nimble\nimble\host\src\ble_hs_atomic.c:33:43: error: &amp;#39;struct ble_hs_conn&amp;#39; has no member named &amp;#39;psync&amp;#39; 33 | ble_hs_periodic_sync_free(conn-&amp;gt;psync); | ^~ exit status 1 Compilation error: exit status 1 I certainly was completely out of my depth. Having spent the better part of a day on this problem with over an hour of compile time to rebuild the board support, I wasn’t going to give up. But I did have to give in and ask an AI for help. Turns out, ChatGPT confirmed it was a problem with NimBLE’s code and suggested workarounds to disable features that weren’t used such that the project could build by avoiding the “broken” code-paths. The fix was to make a change to the first few lines of nimconfig.h in the library folders: #ifdef ESP_PLATFORM # include // Project-specific NimBLE configuration overrides. // These must appear AFTER sdkconfig.h is included. #undef CONFIG_BT_NIMBLE_ENABLE_PERIODIC_ADV #define CONFIG_BT_NIMBLE_ENABLE_PERIODIC_ADV 0 #undef CONFIG_BT_NIMBLE_PERIODIC_ADV_SYNC_TRANSFER #define CONFIG_BT_NIMBLE_PERIODIC_ADV_SYNC_TRANSFER 0 # include Having understood what it was trying to do, with a hope and a prayer , the project actually compiled and started working. This tired raccoon went back outside … This time, I could make it to one or two houses either side of mine … the signal at the point of dropping out was around -99dBm to -104dBm which is pretty much all the gain we were promised from going to Coded PHY. Checking with nRF Connect on the phone also confirmed that the devices were emitting extended advertising in LE Coded PHY mode – so it’s not simply a case of it building and not fixing the problem. Jackpot! While I did set the power up to +20dBm (according to the datasheet, it should be capable of this), I didn’t see any change in strengths. Other sources suggest that only +13dBm is available, so perhaps I should try that to eke out as much range as I can . With minor tweaks - advertising six packets in a row instead of three, I&amp;#39;m seeing a no-loss-rate of 97.3% , with the remaining instances involving the loss of just one report over a span of about half-an-hour and that&amp;#39;s without tweaking the Wi-Fi settings. That&amp;#39;s not half bad, but it is at the bench ... on the road will be a bit more demanding. Conclusion When it comes to connectivity, my original hunch that BLE Coded PHY would be needed has proven true. But I was na&amp;#239;ve when I chose the ESP32-S3 because it had hardware support for Bluetooth v5.0 including Coded PHY – the software, at least when it comes to Arduino, was not quite ready for out-of-the-box action. This resulted in a painful experience trying to get everything set-up just right – something I would have found exceptionally difficult to overcome without the assistance of AI as the issues often cropped up when building without using exactly the right commit, and even then, NimBLE would also have issues with its own library when some of those extensions were turned on. That being said, after I completed this journey, I found out that arduino-esp32 has just released a v4.0.0 release that hasn’t hit the board manager URL yet. This major release has some breaking changes which are yet to be fully documented, but apparently, the blog suggests it already has all the changes for extended advertising and Coded PHY support baked in ! You can imagine just how frustrated this raccoon was to find that out … after battling with this for the better part of half a week! But that’s fine. Those dark circles around my eyes only make me more like a raccoon. Look like a raccoon. Think like a raccoon. Be THE raccoon! AI Disclosure : AI has been used in the generation of a number of images in this post which involve raccoons. AI has not been used to generate or modify any of the text or photographs of products and electronic items. AI has been used to assist with software build errors with third-party libraries, with minor sketch code modifications and debugging.</description><category domain="https://community.element14.com/tags/esp32">esp32</category><category domain="https://community.element14.com/tags/bluetooth">bluetooth</category><category domain="https://community.element14.com/tags/le%2bcoded%2bphy">le coded phy</category><category domain="https://community.element14.com/tags/TRASH_5F00_PROJECT_5F00_NAME">TRASH_PROJECT_NAME</category><category domain="https://community.element14.com/tags/esp32_2D00_s3">esp32-s3</category><category domain="https://community.element14.com/tags/my_2D00_project_2D00_is_2D00_trash">my-project-is-trash</category><category domain="https://community.element14.com/tags/forum_2D00_updates">forum-updates</category><category domain="https://community.element14.com/tags/design_2D00_challenge">design-challenge</category></item><item><title /><link>https://community.element14.com/technologies/embedded/b/blog/posts/the-user-interface-dilemma-the-display-is-not-enough?CommentId=ef57e465-d9d1-4d51-8586-65fcacc6373e</link><pubDate>Sat, 28 Nov 2026 06:15:00 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:ef57e465-d9d1-4d51-8586-65fcacc6373e</guid><dc:creator>shabaz</dc:creator><description>Another day another feature.. personally I&amp;#39;m finding it hard, each screen needs a lot of thought. This time around it was the &amp;quot;Memory Save&amp;quot; screen, which occurs whenever the user decides to stick the current frequency into non-volatile storage. There are quite a few fields to store, such as a friendly name, a group (so that later one can just select frequencies from within any desired group), dual frequencies (it is normal to receive and transmit on different frequencies) and so on.. there&amp;#39;s just too much to fit on one screen, plus it&amp;#39;s overwhelming if too much needs to be entered in one go. I don&amp;#39;t know how other systems do it, but I went for this approach: When the user has tuned to a desired frequency and clicks on &amp;quot;SAVE..&amp;quot; (not shown) the following &amp;quot;Memory Save&amp;quot; sort of screen appears, and if they desired they can immediately press &amp;quot;SAVE&amp;quot; and it&amp;#39;s done. The &amp;quot;SAVE..&amp;quot; and &amp;quot;SAVE&amp;quot; are on the same soft-button, so it&amp;#39;s a quick double-press and all is done. Of course, if the user wishes to customize things, then they can make edits to the fields in the memory record that will be saved, before they press that final SAVE for example in the screenshot above, one field is highlighted, which is a text description for the frequency so they don&amp;#39;t need to remember a numeric memory number. The friendly name is generated at random, but the user can edit it (using the text entry screen previously designed). By rotating the encoder, different fields on that screen get highlighted, and then the user can press the EDIT button to modify any desired field. Since there is too much for one screen, there is a PAGE button. To the right of the description is the vertically scrollable groups area, an example group called GENERAL is checked in the screenshot above. You can assign the memory to multiple groups simultaneously if desired. On the second page, the power level (high/med/low) and the dual frequencies can be modified (and the dual circle icon is for the field that determines if the two frequencies are independent or linked). The user flow is to keep the finger hovered over the EDIT button, rotate to the desired field, press that button, then rotate to set the new value, then press a DONE button (which is the same physical button, just the text will change). Some of the switches arrived.. the &amp;quot;Kailh Mute Mini&amp;quot; fit on normal 0.1&amp;quot; stripboard which is great.</description></item><item><title>Forum Post: RE: Samsung galaxy a54 5g</title><link>https://community.element14.com/members-area/f/forum/57510/samsung-galaxy-a54-5g/239234</link><pubDate>Fri, 27 Nov 2026 22:24:00 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:b42616dd-dfac-43ec-8dca-36ba6cba50c1</guid><dc:creator>cstanton</dc:creator><description>Hey Jonas123456789S , Unfortunately, I can&amp;#39;t really see a way to advise on this properly in such a way that doesn&amp;#39;t go into the realm of computer forensics or knowing if you indeed own the phone that you&amp;#39;re trying to get into or the data from. I believe you&amp;#39;d be best doing this research elsewhere. I will say in my experience, Android locks down its operating system pretty well, and the only steps I&amp;#39;ve found have been to wipe the device to make it accessible again. Good luck on retrieving your data, and please do enjoy and take part in the other aspects of the element14 Community available. I&amp;#39;ll lock this thread.</description></item><item><title>Forum Post: RE: Who still uses Firmata (and the Johnny Five library)</title><link>https://community.element14.com/technologies/embedded/f/embedded-forum/57507/who-still-uses-firmata-and-the-johnny-five-library/239233</link><pubDate>Fri, 27 Nov 2026 21:54:00 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:9670dda6-e6eb-4dda-aa6d-00cf000d2112</guid><dc:creator>meera_hussien</dc:creator><description>I remember doing some simple programming. But does the program on the micro:bit stays after powering off?</description></item><item><title>Forum Post: Samsung galaxy a54 5g</title><link>https://community.element14.com/members-area/f/forum/57510/samsung-galaxy-a54-5g</link><pubDate>Fri, 27 Nov 2026 20:33:00 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:b6cad2c1-9310-45ee-a62a-087e7e74742b</guid><dc:creator>Jonas123456789S</dc:creator><description>Hi, can you unlock the screen of a locked Samsung Galaxy A54 5G, or back up data such as videos and photos? A display was broken 2 years ago, I changed it and I not remember display code. At that time I&amp;#39;m not knowing about Google drive or smartthings. Do somebody know about it something? Thank you, all mining and helps will be good.</description></item><item><title /><link>https://community.element14.com/challenges-projects/halloween/b/news/posts/winners-announcement-halloween-hackathon-2026?CommentId=aabb6ce5-41b2-41e2-82d4-6f3d343daf6b</link><pubDate>Fri, 27 Nov 2026 19:02:00 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:aabb6ce5-41b2-41e2-82d4-6f3d343daf6b</guid><dc:creator>dougw</dc:creator><description>Congratulations on some great Halloween projects...</description></item><item><title>Forum Post: RE: Who still uses Firmata (and the Johnny Five library)</title><link>https://community.element14.com/technologies/embedded/f/embedded-forum/57507/who-still-uses-firmata-and-the-johnny-five-library/239232</link><pubDate>Fri, 27 Nov 2026 18:10:00 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:0694a58f-3e02-4a78-8f31-ab9affee8b73</guid><dc:creator>BigG</dc:creator><description>I shamelessly orchestrated multiple AI agents to generate this Firmata demo code for my BBC micro:bit. Thank you Gemini, for creating this useful infographic of how it works: As it illustrates, you require a Firmata Client to send commands to the host firmware. Thankfully there&amp;#39;s a bunch available via https://github.com/firmata/protocol#firmata-client-libraries I used Codex to generate my host firmware. I used Zephyr RTOS! Behind the scenes I have the workings of an &amp;quot;out-of-tree&amp;quot; Firmata library for Zephyr (work-in-progress). /* * SPDX-FileCopyrightText: Copyright (c) 2026 Firmata Zephyr Contributors * SPDX-License-Identifier: Apache-2.0 */ #include #include #include #include #include #include #include #include #include #include #include #include #define FIRMATA_UART_NODE DT_NODELABEL(uart0) #define DISPLAY_NODE DT_CHOSEN(zephyr_display) #define FIRMWARE_NAME &amp;quot;ZephyrFirmata BBC micro:bit&amp;quot; #define FIRMWARE_MAJOR_VERSION 0U #define FIRMWARE_MINOR_VERSION 7U #define DISPLAY_WIDTH 5U #define DISPLAY_HEIGHT 5U #define PIXEL_COUNT (DISPLAY_WIDTH * DISPLAY_HEIGHT) #define PORT_COUNT DIV_ROUND_UP(PIXEL_COUNT, 8U) #define SYSEX_BUFFER_SIZE 128U #define RESPONSE_BUFFER_SIZE 128U static const struct device *const firmata_uart = DEVICE_DT_GET(FIRMATA_UART_NODE); static const struct device *const display = DEVICE_DT_GET(DISPLAY_NODE); static struct firmata_engine engine; static struct firmata_session session; static uint8_t sysex_buffer[SYSEX_BUFFER_SIZE]; static uint8_t response_buffer[RESPONSE_BUFFER_SIZE]; static uint8_t display_buffer[DISPLAY_HEIGHT]; static struct firmata_pin_descriptor pin_descriptors[PIXEL_COUNT]; static const struct display_buffer_descriptor display_descriptor = { .buf_size = sizeof(display_buffer), .width = DISPLAY_WIDTH, .height = DISPLAY_HEIGHT, .pitch = 8U, }; static const struct firmata_pin_capability pixel_capabilities[] = { { .mode = FIRMATA_PIN_MODE_OUTPUT, .resolution = 1U, }, }; static int write_display(const uint8_t *buffer) { int ret = display_write(display, 0U, 0U, &amp;amp;display_descriptor, buffer); if (ret == 0) { memcpy(display_buffer, buffer, sizeof(display_buffer)); } return ret; } static int pixel_get_pin_state(void *context, uint8_t pin, struct firmata_pin_state *state) { ARG_UNUSED(context); if ((state == NULL) || (pin &amp;gt;= PIXEL_COUNT)) { return -EINVAL; } state-&amp;gt;mode = FIRMATA_PIN_MODE_OUTPUT; state-&amp;gt;state = (display_buffer[pin / DISPLAY_WIDTH] &amp;gt;&amp;gt; (pin % DISPLAY_WIDTH)) &amp;amp; 1U; return 0; } static int pixel_set_pin_mode(void *context, uint8_t pin, uint8_t mode) { ARG_UNUSED(context); return ((pin = PIXEL_COUNT) || (value &amp;gt; 1U)) { return -EINVAL; } memcpy(next_buffer, display_buffer, sizeof(next_buffer)); WRITE_BIT(next_buffer[pin / DISPLAY_WIDTH], pin % DISPLAY_WIDTH, value != 0U); return write_display(next_buffer); } static int pixel_set_port(void *context, uint8_t port, uint8_t value) { uint8_t next_buffer[DISPLAY_HEIGHT]; uint8_t first_pin = port * 8U; ARG_UNUSED(context); if (port &amp;gt;= PORT_COUNT) { return -EINVAL; } memcpy(next_buffer, display_buffer, sizeof(next_buffer)); for (uint8_t offset = 0U; (offset = PORT_COUNT)) { return -EINVAL; } for (uint8_t offset = 0U; (offset argparse.Namespace: parser = argparse.ArgumentParser(description=__doc__) parser.add_argument( &amp;quot;port&amp;quot;, nargs=&amp;quot;?&amp;quot;, default=&amp;quot;/dev/ttyACM0&amp;quot;, help=&amp;quot;Firmata serial device (default: /dev/ttyACM0)&amp;quot;, ) parser.add_argument( &amp;quot;--seconds&amp;quot;, type=float, default=5.0, help=&amp;quot;how long to display the heart (default: 5)&amp;quot;, ) arguments = parser.parse_args() if arguments.seconds int: arguments = parse_arguments() with SerialTransport(arguments.port, 57600) as transport: client = FirmataClient(transport) firmware = client.firmware() capabilities = client.capabilities() if firmware.name != &amp;quot;ZephyrFirmata BBC micro:bit&amp;quot;: raise RuntimeError(f&amp;quot;unexpected Firmata firmware: {firmware.name!r}&amp;quot;) if len(capabilities) != PIXEL_COUNT: raise RuntimeError( f&amp;quot;expected {PIXEL_COUNT} Firmata pixels, found {len(capabilities)}&amp;quot; ) if any((PIN_MODE_OUTPUT, 1) not in modes for modes in capabilities): raise RuntimeError(&amp;quot;not every Firmata pixel supports digital output&amp;quot;) client.system_reset() try: for pin in range(PIXEL_COUNT): client.set_pin_mode(pin, PIN_MODE_OUTPUT) client.set_digital_pin(pin, int(pin in HEART_PINS)) print( f&amp;quot;Displaying a heart on {firmware.name} &amp;quot; f&amp;quot;{firmware.version[0]}.{firmware.version[1]} for &amp;quot; f&amp;quot;{arguments.seconds:g} seconds&amp;quot; ) time.sleep(arguments.seconds) finally: client.system_reset() print(&amp;quot;Display cleared&amp;quot;) return 0 if __name__ == &amp;quot;__main__&amp;quot;: try: raise SystemExit(main()) except KeyboardInterrupt: print(&amp;quot;\nInterrupted; display cleared&amp;quot;, file=sys.stderr) raise SystemExit(130) from None except (OSError, RuntimeError, TimeoutError, ValueError) as error: print(f&amp;quot;Heart demo failed: {error}&amp;quot;, file=sys.stderr) raise SystemExit(1) from None And here is the result: Visually this is great fun, but the real power is in the actual testing of GPIO state.</description></item></channel></rss>