<?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/"><channel><title>Modern Edge AI on Raspberry Pi 5 for an Animatronic Tracker: Vision Acceleration with AI Hat+ and AI Camera</title><link>https://community.element14.com/challenges-projects/element14-presents/project-videos/w/documents/72059/modern-edge-ai-on-raspberry-pi-5-for-an-animatronic-tracker-vision-acceleration-with-ai-hat-and-ai-camera</link><description /><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>Modern Edge AI on Raspberry Pi 5 for an Animatronic Tracker: Vision Acceleration with AI Hat+ and AI Camera</title><link>https://community.element14.com/challenges-projects/element14-presents/project-videos/w/documents/72059/modern-edge-ai-on-raspberry-pi-5-for-an-animatronic-tracker-vision-acceleration-with-ai-hat-and-ai-camera</link><pubDate>Thu, 23 Apr 2026 12:36:38 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:8fd32bda-d7c0-4c37-97ba-7d8a3ae548ff</guid><dc:creator>e14sbhargav</dc:creator><comments>https://community.element14.com/challenges-projects/element14-presents/project-videos/w/documents/72059/modern-edge-ai-on-raspberry-pi-5-for-an-animatronic-tracker-vision-acceleration-with-ai-hat-and-ai-camera#comments</comments><description>Current Revision posted to Documents by e14sbhargav on 4/23/2026 12:36:38 PM&lt;br /&gt;
&lt;p&gt;Clem revisits an earlier animatronic AI project to see what modern Raspberry Pi&amp;ndash;based vision hardware can really do in practice. Using today&amp;rsquo;s AI accelerators and camera technology, he explores how far edge AI vision has progressed, where it still falls short, and what design trade offs emerge when performance, power consumption, heat, and physical mechanics all collide in a real build. Along the way, he works through challenges with model compatibility, motion control, LED feedback, and hardware integration, showing how small design decisions can dramatically affect how lifelike, or unsettling, a vision driven system feels. If you&amp;rsquo;re interested in building with edge AI, learning from real world limitations, or recreating parts of this project yourself, below you can access the files, code, and discussion.&lt;/p&gt;
&lt;h2 id="mcetoc_1jmt3okmp0"&gt;Watch the Project Build&lt;/h2&gt;
&lt;p&gt;&lt;a href="https://youtu.be/tRj-SPLl3iM"&gt;https://youtu.be/tRj-SPLl3iM&lt;/a&gt;&lt;/p&gt;
&lt;h2 id="mcetoc_1jmssh0pr0"&gt;Revisiting an Unsettling Classic: The AI Animatronic Skull Returns&lt;/h2&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;In 2018, Clem built what could only be described as an early warning from the future: a Terminator‑style animatronic skull powered by a BeagleBone‑AI. At the time, it was one of the first hobbyist projects to take on-device AI seriously, using machine vision to detect people and follow them with unnerving intent. It was limited, experimental, and deeply uncomfortable to be alone with, exactly what a robotic skull should be.&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;Several years on, AI hardware for single‑board computers has advanced significantly. Rather than assume progress on paper translated to progress in practice, Clem chose to rebuild the skull from the ground up, using modern Raspberry Pi&amp;ndash;based AI hardware to answer a simple question: &amp;quot;&lt;em&gt;how far have we really come, and is it any more terrifying this time?&amp;quot;&lt;/em&gt;&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;&lt;em&gt;&lt;/em&gt;&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;&lt;em&gt;&lt;/em&gt;&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;&lt;em&gt;&lt;img alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-03-81/3821.interval_5F00_000028.png" /&gt;&lt;/em&gt;&lt;/div&gt;
&lt;h2 id="mcetoc_1jmssh0pr1"&gt;New Hardware, Old Questions&lt;/h2&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;The updated skull replaces the original compute platform with a Raspberry Pi 5, paired with two different AI accelerators: the Raspberry Pi AI Camera and the AI Hat+, capable of up to 26 TOPS. The intent was ambitious. Clem wanted to explore whether modern edge AI could support both fast, responsive machine vision &lt;em&gt;and&lt;/em&gt; natural language interaction in a single embedded system.&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;That experiment quickly revealed a hard boundary. While the AI Hat+ and AI Camera dramatically accelerate vision workloads, they provide no meaningful benefit for language models. Clem explains that even very small language models still take seconds to respond when run locally, making real-time interaction impractical:&lt;/div&gt;
&lt;blockquote&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;&amp;ldquo;I tried running Tiny Llama on there&amp;hellip; and even that takes some considerable seconds. So it&amp;rsquo;s not like you can talk to the machine and it answers back in a natural way.&amp;rdquo;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;For now, conversational AI remains out of reach on this class of hardware. Vision, however, tells a very different story.&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-03-81/interval_5F00_000039.png" /&gt;&lt;/div&gt;
&lt;h2 id="mcetoc_1jmssh0pr2"&gt;Why Vision Still Wins on the Edge&lt;/h2&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;Rather than treating this as a failure, Clem reframed the project around what edge AI already does exceptionally well. In his view, vision is currently the most practical application of AI on small systems&amp;mdash;grounded in the physical world and free from the abstractions and hallucinations of language models.&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;Both accelerators are strictly vision‑focused, but they behave very differently in practice. The AI Hat+ delivers significantly better performance, particularly for more complex object detection tasks, but it comes at a cost. It requires a Raspberry Pi 5, draws more power, and produces enough heat that cooling becomes a serious design consideration. Clem notes plainly that &amp;ldquo;cooling is of the greatest necessity,&amp;rdquo; and that the overall system power draw is non‑trivial.&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;By contrast, the Raspberry Pi AI Camera is far more power‑efficient, runs cool, and works across a wider range of boards. For simpler detection tasks&amp;mdash;such as presence detection, motion awareness, or checking whether a person has entered a space, it can be the better engineering choice.&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;The key takeaway is that these two accelerators are not interchangeable parts of a single pipeline. They rely on different model formats and workflows, and while both are capable, they are best treated as separate tools rather than a combined solution.&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-03-81/interval_5F00_000081.png" /&gt;&lt;/div&gt;
&lt;h2 id="mcetoc_1jmssh0pr3"&gt;Teaching the Skull What to Care About&lt;/h2&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;With vision as the focus, the skull&amp;rsquo;s behaviour becomes far more intentional than in the original build. Instead of reacting to every detection, the system selects a single &amp;ldquo;object of interest&amp;rdquo; and commits to it. Humans are prioritised, but devices such as laptops and keyboards are also recognised and tracked when relevant.&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;Clem describes the selection criteria as simple but effective: the system focuses on the object it is most confident about&amp;mdash;the closest, largest, and clearest detection in view. Once chosen, the skull moves to keep that object centred in the frame, using pan and tilt servos to follow it smoothly.&amp;nbsp;&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;Just as important is knowing when &lt;em&gt;not&lt;/em&gt; to move. The skull allows for a generous margin where the object can drift within the frame without triggering motion. This reduces constant jitter and gives the movement a more deliberate, lifelike quality. If nothing is detected, the skull recentres itself and waits. If something suddenly enters from the edge of the frame, it snaps to attention&amp;mdash;an effect Clem admits can be genuinely startling when you forget the system is running.&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-03-81/interval_5F00_000173.png" /&gt;&lt;/div&gt;
&lt;h2 id="mcetoc_1jmssh0pr4"&gt;Mechanical Reality and Software Restraint&lt;/h2&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;No amount of AI can fully mask the physical realities of a handmade animatronic mechanism. Clem is candid about the skull&amp;rsquo;s construction: it is intentionally compliant, meaning it will give way if touched. This makes it safe, there&amp;rsquo;s no risk of pinched fingers, but it also introduces unavoidable jerkiness into the motion.&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;Rather than fight this in software, the system adapts to it. Movement smoothing, dead zones, and proportional control help reduce unnecessary corrections, but the AI ultimately learns to tolerate mechanical imperfection. The result is not polished in a cinematic sense, but it feels responsive and believable, arguably more so because of its flaws.&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-03-81/3240.interval_5F00_000201.png" /&gt;&lt;/div&gt;
&lt;h2 id="mcetoc_1jmssh0pr5"&gt;Visual Feedback Through Light&lt;/h2&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;To make the skull&amp;rsquo;s perception visible, Clem embedded a NeoPixel LED ring into the eye socket. This acts as a direct, intuitive readout of what the system thinks it sees. When a human is detected, the LEDs glow green; laptops and keyboards are shown in red. The number of illuminated LEDs represents confidence, turning abstract probabilities into something immediately readable at a glance.&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;There is also an alternative mode where individual LEDs represent individual detections, effectively turning the skull into a live object counter. Additional, less certain detections are shown in blue. This dual‑mode approach makes the skull not just reactive, but informative, useful during development and strangely expressive during operation.&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;Getting this working on a Raspberry Pi 5 was not straightforward. Standard NeoPixel libraries no longer behave as expected due to changes in how the Pi 5 handles GPIO. Clem had to adopt an SPI‑based approach instead, which brings faster communication but also introduces its own constraints.&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-03-81/interval_5F00_000236.png" /&gt;&lt;/div&gt;
&lt;h2 id="mcetoc_1jmssh0pr6"&gt;Building Inside the Head -&amp;nbsp;A More Thoughtful Kind of AI&lt;/h2&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;Clem managed to fit all processing hardware inside the skull itself; the only external component is the power supply in the base. Two hardware switches allow the system and motors to be powered independently, making it easy to shut everything down if the skull starts doing something it shouldn&amp;rsquo;t.&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;The servo control hardware was assembled by hand using breadboards and prototyping board, with modified headers to ensure reliable connections. It&amp;rsquo;s not elegant, but it&amp;rsquo;s practical, and emblematic of the project as a whole.&lt;/div&gt;
&lt;p&gt;An interesting shift Clem observes is what modern vision models &lt;em&gt;don&amp;rsquo;t&lt;/em&gt; do. Older examples often focused on profiling people, age, gender, facial attributes. The current ecosystem avoids this entirely, focusing instead on object and pose detection. Clem believes this is a deliberate move toward privacy‑conscious design, and ultimately a more useful direction for real projects.&lt;/p&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-03-81/interval_5F00_000284.png" /&gt;&lt;/p&gt;
&lt;h2 id="mcetoc_1jmssh0pr8"&gt;Smaller, Smarter, and Still Uncomfortable&lt;/h2&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;The rebuilt animatronic skull is not a leap toward conversational artificial intelligence, but it is a clear demonstration of how far edge‑based AI vision has come. On relatively inexpensive, compact hardware, the system can see, decide, react, and communicate its intent in real time. It is smoother, more capable, and more expressive than the original&amp;mdash;and still deeply unsettling. Clem may joke that &amp;ldquo;maybe it wasn&amp;rsquo;t the best idea to build that,&amp;rdquo; but as a demonstration of modern AI vision, it succeeds precisely because it makes people uneasy. After all, anything that can watch you this closely probably should.&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;&lt;/div&gt;
&lt;h2 id="mcetoc_1jmt3okmp1" class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;Supporting Links and Files&lt;/h2&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;- &lt;a title="Github Repository" href="https://github.com/mayermakes/Ai-servoskull" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;Github Repository&lt;/a&gt; (&lt;a title="Download Mirror" href="/challenges-projects/element14-presents/m/files/151221" data-e14adj="t"&gt;Download Mirror&lt;/a&gt;)&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;-&amp;nbsp;&amp;nbsp;&lt;a href="https://community.element14.com/challenges-projects/element14-presents/project-videos/w/documents/4604/animatronic-terminator-skull-with-beaglebone-ai----episode-418"&gt;Animatronic Terminator Skull with BeagleBone®︎ AI -- Episode 418&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;
&lt;p&gt;&lt;/p&gt;
&lt;h2 id="mcetoc_1jmst8o9b9"&gt;Bill of Materials&lt;/h2&gt;
&lt;table class="e14-product-bom-main"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;th&gt;Product Name&lt;/th&gt;
&lt;th&gt;Manufacturer&lt;/th&gt;
&lt;th&gt;Quantity&lt;/th&gt;
&lt;th&gt;&lt;a id="e14-product-link-16413" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=4256000,4531089,4568687&amp;nsku=81AK1348,11AM9747,20AM0876&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_BUY_KIT" class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('16413'));" data-farnell="4256000,4531089,4568687" data-newark="81AK1348,11AM9747,20AM0876" data-comoverride="" data-cmpoverride="" data-cpc=",," data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Kit&lt;/a&gt; &lt;/th&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Raspberry pi 5&lt;/td&gt;
&lt;td&gt;Raspberry Pi&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;&lt;a id="e14-product-link-6c476" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=4256000&amp;nsku=81AK1348&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('6c476'));" data-farnell="4256000" data-newark="81AK1348" data-comoverride="" data-cmpoverride="" data-cpc="undefined" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;RPI Ai camera&lt;/td&gt;
&lt;td&gt;Raspberry Pi&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;&lt;a id="e14-product-link-92060" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=4531089&amp;nsku=11AM9747&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('92060'));" data-farnell="4531089" data-newark="11AM9747" data-comoverride="" data-cmpoverride="" data-cpc="undefined" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Raspberry Pi AI HAT+ Add-On Board, Raspberry Pi 5 Boards, 26TOPS, with Built-In Hailo AI Accelerator&lt;/td&gt;
&lt;td&gt;Raspberry Pi&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;&lt;a id="e14-product-link-93a1f" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=4568687&amp;nsku=20AM0876&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('93a1f'));" data-farnell="4568687" data-newark="20AM0876" data-comoverride="" data-cmpoverride="" data-cpc="undefined" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr class="xs-hide"&gt;
&lt;td&gt;&amp;nbsp;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: real-time object detection, animatronic robotics project, embedded computer vision, privacy-aware ai vision, raspberry pi 5 ai, hailo ai accelerator, maker ai vision project, e14presents_mayermakes, servo-based object tracking, low-power ai inference, edge ai vision, edge ai hardware comparison, neopixel visual feedback, ai camera projects, friday_release, machine vision on raspberry pi, raspberry pi ai projects&lt;/div&gt;
</description></item><item><title>Modern Edge AI on Raspberry Pi 5 for an Animatronic Tracker: Vision Acceleration with AI Hat+ and AI Camera</title><link>https://community.element14.com/challenges-projects/element14-presents/project-videos/w/documents/72059/modern-edge-ai-on-raspberry-pi-5-for-an-animatronic-tracker-vision-acceleration-with-ai-hat-and-ai-camera/revision/8</link><pubDate>Thu, 23 Apr 2026 12:36:38 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:8fd32bda-d7c0-4c37-97ba-7d8a3ae548ff</guid><dc:creator>cstanton</dc:creator><comments>https://community.element14.com/challenges-projects/element14-presents/project-videos/w/documents/72059/modern-edge-ai-on-raspberry-pi-5-for-an-animatronic-tracker-vision-acceleration-with-ai-hat-and-ai-camera#comments</comments><description>Revision 8 posted to Documents by cstanton on 4/23/2026 12:36:38 PM&lt;br /&gt;
&lt;p&gt;Clem revisits an earlier animatronic AI project to see what modern Raspberry Pi&amp;ndash;based vision hardware can really do in practice. Using today&amp;rsquo;s AI accelerators and camera technology, he explores how far edge AI vision has progressed, where it still falls short, and what design trade offs emerge when performance, power consumption, heat, and physical mechanics all collide in a real build. Along the way, he works through challenges with model compatibility, motion control, LED feedback, and hardware integration, showing how small design decisions can dramatically affect how lifelike, or unsettling, a vision driven system feels. If you&amp;rsquo;re interested in building with edge AI, learning from real world limitations, or recreating parts of this project yourself, below you can access the files, code, and discussion.&lt;/p&gt;
&lt;h2 id="mcetoc_1jmt3okmp0"&gt;Watch the Project Build&lt;/h2&gt;
&lt;p&gt;&lt;a href="https://youtu.be/tRj-SPLl3iM"&gt;https://youtu.be/tRj-SPLl3iM&lt;/a&gt;&lt;/p&gt;
&lt;h2 id="mcetoc_1jmssh0pr0"&gt;Revisiting an Unsettling Classic: The AI Animatronic Skull Returns&lt;/h2&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;In 2018, Clem built what could only be described as an early warning from the future: a Terminator‑style animatronic skull powered by a BeagleBone‑AI. At the time, it was one of the first hobbyist projects to take on-device AI seriously, using machine vision to detect people and follow them with unnerving intent. It was limited, experimental, and deeply uncomfortable to be alone with, exactly what a robotic skull should be.&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;Several years on, AI hardware for single‑board computers has advanced significantly. Rather than assume progress on paper translated to progress in practice, Clem chose to rebuild the skull from the ground up, using modern Raspberry Pi&amp;ndash;based AI hardware to answer a simple question: &amp;quot;&lt;em&gt;how far have we really come, and is it any more terrifying this time?&amp;quot;&lt;/em&gt;&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;&lt;em&gt;&lt;/em&gt;&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;&lt;em&gt;&lt;/em&gt;&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;&lt;em&gt;&lt;img alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/3821.interval_5F00_000028.png" /&gt;&lt;/em&gt;&lt;/div&gt;
&lt;h2 id="mcetoc_1jmssh0pr1"&gt;New Hardware, Old Questions&lt;/h2&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;The updated skull replaces the original compute platform with a Raspberry Pi 5, paired with two different AI accelerators: the Raspberry Pi AI Camera and the AI Hat+, capable of up to 26 TOPS. The intent was ambitious. Clem wanted to explore whether modern edge AI could support both fast, responsive machine vision &lt;em&gt;and&lt;/em&gt; natural language interaction in a single embedded system.&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;That experiment quickly revealed a hard boundary. While the AI Hat+ and AI Camera dramatically accelerate vision workloads, they provide no meaningful benefit for language models. Clem explains that even very small language models still take seconds to respond when run locally, making real-time interaction impractical:&lt;/div&gt;
&lt;blockquote&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;&amp;ldquo;I tried running Tiny Llama on there&amp;hellip; and even that takes some considerable seconds. So it&amp;rsquo;s not like you can talk to the machine and it answers back in a natural way.&amp;rdquo;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;For now, conversational AI remains out of reach on this class of hardware. Vision, however, tells a very different story.&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/interval_5F00_000039.png" /&gt;&lt;/div&gt;
&lt;h2 id="mcetoc_1jmssh0pr2"&gt;Why Vision Still Wins on the Edge&lt;/h2&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;Rather than treating this as a failure, Clem reframed the project around what edge AI already does exceptionally well. In his view, vision is currently the most practical application of AI on small systems&amp;mdash;grounded in the physical world and free from the abstractions and hallucinations of language models.&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;Both accelerators are strictly vision‑focused, but they behave very differently in practice. The AI Hat+ delivers significantly better performance, particularly for more complex object detection tasks, but it comes at a cost. It requires a Raspberry Pi 5, draws more power, and produces enough heat that cooling becomes a serious design consideration. Clem notes plainly that &amp;ldquo;cooling is of the greatest necessity,&amp;rdquo; and that the overall system power draw is non‑trivial.&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;By contrast, the Raspberry Pi AI Camera is far more power‑efficient, runs cool, and works across a wider range of boards. For simpler detection tasks&amp;mdash;such as presence detection, motion awareness, or checking whether a person has entered a space, it can be the better engineering choice.&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;The key takeaway is that these two accelerators are not interchangeable parts of a single pipeline. They rely on different model formats and workflows, and while both are capable, they are best treated as separate tools rather than a combined solution.&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/interval_5F00_000081.png" /&gt;&lt;/div&gt;
&lt;h2 id="mcetoc_1jmssh0pr3"&gt;Teaching the Skull What to Care About&lt;/h2&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;With vision as the focus, the skull&amp;rsquo;s behaviour becomes far more intentional than in the original build. Instead of reacting to every detection, the system selects a single &amp;ldquo;object of interest&amp;rdquo; and commits to it. Humans are prioritised, but devices such as laptops and keyboards are also recognised and tracked when relevant.&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;Clem describes the selection criteria as simple but effective: the system focuses on the object it is most confident about&amp;mdash;the closest, largest, and clearest detection in view. Once chosen, the skull moves to keep that object centred in the frame, using pan and tilt servos to follow it smoothly.&amp;nbsp;&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;Just as important is knowing when &lt;em&gt;not&lt;/em&gt; to move. The skull allows for a generous margin where the object can drift within the frame without triggering motion. This reduces constant jitter and gives the movement a more deliberate, lifelike quality. If nothing is detected, the skull recentres itself and waits. If something suddenly enters from the edge of the frame, it snaps to attention&amp;mdash;an effect Clem admits can be genuinely startling when you forget the system is running.&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/interval_5F00_000173.png" /&gt;&lt;/div&gt;
&lt;h2 id="mcetoc_1jmssh0pr4"&gt;Mechanical Reality and Software Restraint&lt;/h2&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;No amount of AI can fully mask the physical realities of a handmade animatronic mechanism. Clem is candid about the skull&amp;rsquo;s construction: it is intentionally compliant, meaning it will give way if touched. This makes it safe, there&amp;rsquo;s no risk of pinched fingers, but it also introduces unavoidable jerkiness into the motion.&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;Rather than fight this in software, the system adapts to it. Movement smoothing, dead zones, and proportional control help reduce unnecessary corrections, but the AI ultimately learns to tolerate mechanical imperfection. The result is not polished in a cinematic sense, but it feels responsive and believable, arguably more so because of its flaws.&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/3240.interval_5F00_000201.png" /&gt;&lt;/div&gt;
&lt;h2 id="mcetoc_1jmssh0pr5"&gt;Visual Feedback Through Light&lt;/h2&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;To make the skull&amp;rsquo;s perception visible, Clem embedded a NeoPixel LED ring into the eye socket. This acts as a direct, intuitive readout of what the system thinks it sees. When a human is detected, the LEDs glow green; laptops and keyboards are shown in red. The number of illuminated LEDs represents confidence, turning abstract probabilities into something immediately readable at a glance.&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;There is also an alternative mode where individual LEDs represent individual detections, effectively turning the skull into a live object counter. Additional, less certain detections are shown in blue. This dual‑mode approach makes the skull not just reactive, but informative, useful during development and strangely expressive during operation.&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;Getting this working on a Raspberry Pi 5 was not straightforward. Standard NeoPixel libraries no longer behave as expected due to changes in how the Pi 5 handles GPIO. Clem had to adopt an SPI‑based approach instead, which brings faster communication but also introduces its own constraints.&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/interval_5F00_000236.png" /&gt;&lt;/div&gt;
&lt;h2 id="mcetoc_1jmssh0pr6"&gt;Building Inside the Head -&amp;nbsp;A More Thoughtful Kind of AI&lt;/h2&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;Clem managed to fit all processing hardware inside the skull itself; the only external component is the power supply in the base. Two hardware switches allow the system and motors to be powered independently, making it easy to shut everything down if the skull starts doing something it shouldn&amp;rsquo;t.&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;The servo control hardware was assembled by hand using breadboards and prototyping board, with modified headers to ensure reliable connections. It&amp;rsquo;s not elegant, but it&amp;rsquo;s practical, and emblematic of the project as a whole.&lt;/div&gt;
&lt;p&gt;An interesting shift Clem observes is what modern vision models &lt;em&gt;don&amp;rsquo;t&lt;/em&gt; do. Older examples often focused on profiling people, age, gender, facial attributes. The current ecosystem avoids this entirely, focusing instead on object and pose detection. Clem believes this is a deliberate move toward privacy‑conscious design, and ultimately a more useful direction for real projects.&lt;/p&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/interval_5F00_000284.png" /&gt;&lt;/p&gt;
&lt;h2 id="mcetoc_1jmssh0pr8"&gt;Smaller, Smarter, and Still Uncomfortable&lt;/h2&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;The rebuilt animatronic skull is not a leap toward conversational artificial intelligence, but it is a clear demonstration of how far edge‑based AI vision has come. On relatively inexpensive, compact hardware, the system can see, decide, react, and communicate its intent in real time. It is smoother, more capable, and more expressive than the original&amp;mdash;and still deeply unsettling. Clem may joke that &amp;ldquo;maybe it wasn&amp;rsquo;t the best idea to build that,&amp;rdquo; but as a demonstration of modern AI vision, it succeeds precisely because it makes people uneasy. After all, anything that can watch you this closely probably should.&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;&lt;/div&gt;
&lt;h2 id="mcetoc_1jmt3okmp1" class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;Supporting Links and Files&lt;/h2&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;- &lt;a title="Github Repository" href="https://github.com/mayermakes/Ai-servoskull" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;Github Repository&lt;/a&gt; (&lt;a title="Download Mirror" href="/challenges-projects/element14-presents/m/files/151221" data-e14adj="t"&gt;Download Mirror&lt;/a&gt;)&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;-&amp;nbsp;&amp;nbsp;&lt;a href="https://community.element14.com/challenges-projects/element14-presents/project-videos/w/documents/4604/animatronic-terminator-skull-with-beaglebone-ai----episode-418"&gt;Animatronic Terminator Skull with BeagleBone®︎ AI -- Episode 418&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;
&lt;p&gt;&lt;/p&gt;
&lt;h2 id="mcetoc_1jmst8o9b9"&gt;Bill of Materials&lt;/h2&gt;
&lt;table class="e14-product-bom-main"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;th&gt;Product Name&lt;/th&gt;
&lt;th&gt;Manufacturer&lt;/th&gt;
&lt;th&gt;Quantity&lt;/th&gt;
&lt;th&gt;&lt;a id="e14-product-link-989c5" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=4256000,4531089,4568687&amp;nsku=81AK1348,11AM9747,20AM0876&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_BUY_KIT" class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('989c5'));" data-farnell="4256000,4531089,4568687" data-newark="81AK1348,11AM9747,20AM0876" data-comoverride="" data-cmpoverride="" data-cpc=",," data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Kit&lt;/a&gt; &lt;/th&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Raspberry pi 5&lt;/td&gt;
&lt;td&gt;Raspberry Pi&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;&lt;a id="e14-product-link-f1687" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=4256000&amp;nsku=81AK1348&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('f1687'));" data-farnell="4256000" data-newark="81AK1348" data-comoverride="" data-cmpoverride="" data-cpc="undefined" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;RPI Ai camera&lt;/td&gt;
&lt;td&gt;Raspberry Pi&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;&lt;a id="e14-product-link-dc80e" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=4531089&amp;nsku=11AM9747&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('dc80e'));" data-farnell="4531089" data-newark="11AM9747" data-comoverride="" data-cmpoverride="" data-cpc="undefined" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Raspberry Pi AI HAT+ Add-On Board, Raspberry Pi 5 Boards, 26TOPS, with Built-In Hailo AI Accelerator&lt;/td&gt;
&lt;td&gt;Raspberry Pi&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;&lt;a id="e14-product-link-7f3d2" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=4568687&amp;nsku=20AM0876&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('7f3d2'));" data-farnell="4568687" data-newark="20AM0876" data-comoverride="" data-cmpoverride="" data-cpc="undefined" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr class="xs-hide"&gt;
&lt;td&gt;&amp;nbsp;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: real-time object detection, animatronic robotics project, embedded computer vision, privacy-aware ai vision, raspberry pi 5 ai, hailo ai accelerator, maker ai vision project, e14presents_mayermakes, servo-based object tracking, low-power ai inference, edge ai vision, edge ai hardware comparison, neopixel visual feedback, ai camera projects, friday_release, machine vision on raspberry pi, raspberry pi ai projects&lt;/div&gt;
</description></item><item><title>Modern Edge AI on Raspberry Pi 5 for an Animatronic Tracker: Vision Acceleration with AI Hat+ and AI Camera</title><link>https://community.element14.com/challenges-projects/element14-presents/project-videos/w/documents/72059/modern-edge-ai-on-raspberry-pi-5-for-an-animatronic-tracker-vision-acceleration-with-ai-hat-and-ai-camera/revision/7</link><pubDate>Thu, 23 Apr 2026 12:15:35 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:8fd32bda-d7c0-4c37-97ba-7d8a3ae548ff</guid><dc:creator>cstanton</dc:creator><comments>https://community.element14.com/challenges-projects/element14-presents/project-videos/w/documents/72059/modern-edge-ai-on-raspberry-pi-5-for-an-animatronic-tracker-vision-acceleration-with-ai-hat-and-ai-camera#comments</comments><description>Revision 7 posted to Documents by cstanton on 4/23/2026 12:15:35 PM&lt;br /&gt;
&lt;p&gt;Clem revisits an earlier animatronic AI project to see what modern Raspberry Pi&amp;ndash;based vision hardware can really do in practice. Using today&amp;rsquo;s AI accelerators and camera technology, he explores how far edge AI vision has progressed, where it still falls short, and what design trade offs emerge when performance, power consumption, heat, and physical mechanics all collide in a real build. Along the way, he works through challenges with model compatibility, motion control, LED feedback, and hardware integration, showing how small design decisions can dramatically affect how lifelike, or unsettling, a vision driven system feels. If you&amp;rsquo;re interested in building with edge AI, learning from real world limitations, or recreating parts of this project yourself, below you can access the files, code, and discussion.&lt;/p&gt;
&lt;h2 id="mcetoc_1jmt3okmp0"&gt;Watch the Project Build&lt;/h2&gt;
&lt;p&gt;&lt;/p&gt;
&lt;h2 id="mcetoc_1jmssh0pr0"&gt;Revisiting an Unsettling Classic: The AI Animatronic Skull Returns&lt;/h2&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;In 2018, Clem built what could only be described as an early warning from the future: a Terminator‑style animatronic skull powered by a BeagleBone‑AI. At the time, it was one of the first hobbyist projects to take on-device AI seriously, using machine vision to detect people and follow them with unnerving intent. It was limited, experimental, and deeply uncomfortable to be alone with, exactly what a robotic skull should be.&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;Several years on, AI hardware for single‑board computers has advanced significantly. Rather than assume progress on paper translated to progress in practice, Clem chose to rebuild the skull from the ground up, using modern Raspberry Pi&amp;ndash;based AI hardware to answer a simple question: &amp;quot;&lt;em&gt;how far have we really come, and is it any more terrifying this time?&amp;quot;&lt;/em&gt;&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;&lt;em&gt;&lt;/em&gt;&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;&lt;em&gt;&lt;/em&gt;&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;&lt;em&gt;&lt;img alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/3821.interval_5F00_000028.png" /&gt;&lt;/em&gt;&lt;/div&gt;
&lt;h2 id="mcetoc_1jmssh0pr1"&gt;New Hardware, Old Questions&lt;/h2&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;The updated skull replaces the original compute platform with a Raspberry Pi 5, paired with two different AI accelerators: the Raspberry Pi AI Camera and the AI Hat+, capable of up to 26 TOPS. The intent was ambitious. Clem wanted to explore whether modern edge AI could support both fast, responsive machine vision &lt;em&gt;and&lt;/em&gt; natural language interaction in a single embedded system.&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;That experiment quickly revealed a hard boundary. While the AI Hat+ and AI Camera dramatically accelerate vision workloads, they provide no meaningful benefit for language models. Clem explains that even very small language models still take seconds to respond when run locally, making real-time interaction impractical:&lt;/div&gt;
&lt;blockquote&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;&amp;ldquo;I tried running Tiny Llama on there&amp;hellip; and even that takes some considerable seconds. So it&amp;rsquo;s not like you can talk to the machine and it answers back in a natural way.&amp;rdquo;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;For now, conversational AI remains out of reach on this class of hardware. Vision, however, tells a very different story.&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/interval_5F00_000039.png" /&gt;&lt;/div&gt;
&lt;h2 id="mcetoc_1jmssh0pr2"&gt;Why Vision Still Wins on the Edge&lt;/h2&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;Rather than treating this as a failure, Clem reframed the project around what edge AI already does exceptionally well. In his view, vision is currently the most practical application of AI on small systems&amp;mdash;grounded in the physical world and free from the abstractions and hallucinations of language models.&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;Both accelerators are strictly vision‑focused, but they behave very differently in practice. The AI Hat+ delivers significantly better performance, particularly for more complex object detection tasks, but it comes at a cost. It requires a Raspberry Pi 5, draws more power, and produces enough heat that cooling becomes a serious design consideration. Clem notes plainly that &amp;ldquo;cooling is of the greatest necessity,&amp;rdquo; and that the overall system power draw is non‑trivial.&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;By contrast, the Raspberry Pi AI Camera is far more power‑efficient, runs cool, and works across a wider range of boards. For simpler detection tasks&amp;mdash;such as presence detection, motion awareness, or checking whether a person has entered a space, it can be the better engineering choice.&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;The key takeaway is that these two accelerators are not interchangeable parts of a single pipeline. They rely on different model formats and workflows, and while both are capable, they are best treated as separate tools rather than a combined solution.&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/interval_5F00_000081.png" /&gt;&lt;/div&gt;
&lt;h2 id="mcetoc_1jmssh0pr3"&gt;Teaching the Skull What to Care About&lt;/h2&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;With vision as the focus, the skull&amp;rsquo;s behaviour becomes far more intentional than in the original build. Instead of reacting to every detection, the system selects a single &amp;ldquo;object of interest&amp;rdquo; and commits to it. Humans are prioritised, but devices such as laptops and keyboards are also recognised and tracked when relevant.&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;Clem describes the selection criteria as simple but effective: the system focuses on the object it is most confident about&amp;mdash;the closest, largest, and clearest detection in view. Once chosen, the skull moves to keep that object centred in the frame, using pan and tilt servos to follow it smoothly.&amp;nbsp;&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;Just as important is knowing when &lt;em&gt;not&lt;/em&gt; to move. The skull allows for a generous margin where the object can drift within the frame without triggering motion. This reduces constant jitter and gives the movement a more deliberate, lifelike quality. If nothing is detected, the skull recentres itself and waits. If something suddenly enters from the edge of the frame, it snaps to attention&amp;mdash;an effect Clem admits can be genuinely startling when you forget the system is running.&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/interval_5F00_000173.png" /&gt;&lt;/div&gt;
&lt;h2 id="mcetoc_1jmssh0pr4"&gt;Mechanical Reality and Software Restraint&lt;/h2&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;No amount of AI can fully mask the physical realities of a handmade animatronic mechanism. Clem is candid about the skull&amp;rsquo;s construction: it is intentionally compliant, meaning it will give way if touched. This makes it safe, there&amp;rsquo;s no risk of pinched fingers, but it also introduces unavoidable jerkiness into the motion.&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;Rather than fight this in software, the system adapts to it. Movement smoothing, dead zones, and proportional control help reduce unnecessary corrections, but the AI ultimately learns to tolerate mechanical imperfection. The result is not polished in a cinematic sense, but it feels responsive and believable, arguably more so because of its flaws.&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/3240.interval_5F00_000201.png" /&gt;&lt;/div&gt;
&lt;h2 id="mcetoc_1jmssh0pr5"&gt;Visual Feedback Through Light&lt;/h2&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;To make the skull&amp;rsquo;s perception visible, Clem embedded a NeoPixel LED ring into the eye socket. This acts as a direct, intuitive readout of what the system thinks it sees. When a human is detected, the LEDs glow green; laptops and keyboards are shown in red. The number of illuminated LEDs represents confidence, turning abstract probabilities into something immediately readable at a glance.&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;There is also an alternative mode where individual LEDs represent individual detections, effectively turning the skull into a live object counter. Additional, less certain detections are shown in blue. This dual‑mode approach makes the skull not just reactive, but informative, useful during development and strangely expressive during operation.&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;Getting this working on a Raspberry Pi 5 was not straightforward. Standard NeoPixel libraries no longer behave as expected due to changes in how the Pi 5 handles GPIO. Clem had to adopt an SPI‑based approach instead, which brings faster communication but also introduces its own constraints.&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/interval_5F00_000236.png" /&gt;&lt;/div&gt;
&lt;h2 id="mcetoc_1jmssh0pr6"&gt;Building Inside the Head -&amp;nbsp;A More Thoughtful Kind of AI&lt;/h2&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;Clem managed to fit all processing hardware inside the skull itself; the only external component is the power supply in the base. Two hardware switches allow the system and motors to be powered independently, making it easy to shut everything down if the skull starts doing something it shouldn&amp;rsquo;t.&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;The servo control hardware was assembled by hand using breadboards and prototyping board, with modified headers to ensure reliable connections. It&amp;rsquo;s not elegant, but it&amp;rsquo;s practical, and emblematic of the project as a whole.&lt;/div&gt;
&lt;p&gt;An interesting shift Clem observes is what modern vision models &lt;em&gt;don&amp;rsquo;t&lt;/em&gt; do. Older examples often focused on profiling people, age, gender, facial attributes. The current ecosystem avoids this entirely, focusing instead on object and pose detection. Clem believes this is a deliberate move toward privacy‑conscious design, and ultimately a more useful direction for real projects.&lt;/p&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/interval_5F00_000284.png" /&gt;&lt;/p&gt;
&lt;h2 id="mcetoc_1jmssh0pr8"&gt;Smaller, Smarter, and Still Uncomfortable&lt;/h2&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;The rebuilt animatronic skull is not a leap toward conversational artificial intelligence, but it is a clear demonstration of how far edge‑based AI vision has come. On relatively inexpensive, compact hardware, the system can see, decide, react, and communicate its intent in real time. It is smoother, more capable, and more expressive than the original&amp;mdash;and still deeply unsettling. Clem may joke that &amp;ldquo;maybe it wasn&amp;rsquo;t the best idea to build that,&amp;rdquo; but as a demonstration of modern AI vision, it succeeds precisely because it makes people uneasy. After all, anything that can watch you this closely probably should.&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;&lt;/div&gt;
&lt;h2 id="mcetoc_1jmt3okmp1" class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;Supporting Links and Files&lt;/h2&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;- &lt;a title="Github Repository" href="https://github.com/mayermakes/Ai-servoskull" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;Github Repository&lt;/a&gt; (&lt;a title="Download Mirror" href="/challenges-projects/element14-presents/m/files/151221" data-e14adj="t"&gt;Download Mirror&lt;/a&gt;)&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;-&amp;nbsp;&amp;nbsp;&lt;a href="https://community.element14.com/challenges-projects/element14-presents/project-videos/w/documents/4604/animatronic-terminator-skull-with-beaglebone-ai----episode-418"&gt;Animatronic Terminator Skull with BeagleBone®︎ AI -- Episode 418&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;
&lt;p&gt;&lt;/p&gt;
&lt;h2 id="mcetoc_1jmst8o9b9"&gt;Bill of Materials&lt;/h2&gt;
&lt;table class="e14-product-bom-main"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;th&gt;Product Name&lt;/th&gt;
&lt;th&gt;Manufacturer&lt;/th&gt;
&lt;th&gt;Quantity&lt;/th&gt;
&lt;th&gt;&lt;a id="e14-product-link-2e3b4" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=4256000,4531089,4568687&amp;nsku=81AK1348,11AM9747,20AM0876&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_BUY_KIT" class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('2e3b4'));" data-farnell="4256000,4531089,4568687" data-newark="81AK1348,11AM9747,20AM0876" data-comoverride="" data-cmpoverride="" data-cpc=",," data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Kit&lt;/a&gt; &lt;/th&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Raspberry pi 5&lt;/td&gt;
&lt;td&gt;Raspberry Pi&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;&lt;a id="e14-product-link-06585" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=4256000&amp;nsku=81AK1348&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('06585'));" data-farnell="4256000" data-newark="81AK1348" data-comoverride="" data-cmpoverride="" data-cpc="undefined" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;RPI Ai camera&lt;/td&gt;
&lt;td&gt;Raspberry Pi&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;&lt;a id="e14-product-link-1f01d" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=4531089&amp;nsku=11AM9747&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('1f01d'));" data-farnell="4531089" data-newark="11AM9747" data-comoverride="" data-cmpoverride="" data-cpc="undefined" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Raspberry Pi AI HAT+ Add-On Board, Raspberry Pi 5 Boards, 26TOPS, with Built-In Hailo AI Accelerator&lt;/td&gt;
&lt;td&gt;Raspberry Pi&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;&lt;a id="e14-product-link-ed024" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=4568687&amp;nsku=20AM0876&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('ed024'));" data-farnell="4568687" data-newark="20AM0876" data-comoverride="" data-cmpoverride="" data-cpc="undefined" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr class="xs-hide"&gt;
&lt;td&gt;&amp;nbsp;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: real-time object detection, animatronic robotics project, embedded computer vision, privacy-aware ai vision, raspberry pi 5 ai, hailo ai accelerator, maker ai vision project, e14presents_mayermakes, servo-based object tracking, low-power ai inference, edge ai vision, edge ai hardware comparison, neopixel visual feedback, ai camera projects, friday_release, machine vision on raspberry pi, raspberry pi ai projects&lt;/div&gt;
</description></item><item><title>Modern Edge AI on Raspberry Pi 5 for an Animatronic Tracker: Vision Acceleration with AI Hat+ and AI Camera</title><link>https://community.element14.com/challenges-projects/element14-presents/project-videos/w/documents/72059/modern-edge-ai-on-raspberry-pi-5-for-an-animatronic-tracker-vision-acceleration-with-ai-hat-and-ai-camera/revision/6</link><pubDate>Thu, 23 Apr 2026 12:15:00 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:8fd32bda-d7c0-4c37-97ba-7d8a3ae548ff</guid><dc:creator>cstanton</dc:creator><comments>https://community.element14.com/challenges-projects/element14-presents/project-videos/w/documents/72059/modern-edge-ai-on-raspberry-pi-5-for-an-animatronic-tracker-vision-acceleration-with-ai-hat-and-ai-camera#comments</comments><description>Revision 6 posted to Documents by cstanton on 4/23/2026 12:15:00 PM&lt;br /&gt;
&lt;p&gt;Clem revisits an earlier animatronic AI project to see what modern Raspberry Pi&amp;ndash;based vision hardware can really do in practice. Using today&amp;rsquo;s AI accelerators and camera technology, he explores how far edge AI vision has progressed, where it still falls short, and what design trade offs emerge when performance, power consumption, heat, and physical mechanics all collide in a real build. Along the way, he works through challenges with model compatibility, motion control, LED feedback, and hardware integration, showing how small design decisions can dramatically affect how lifelike, or unsettling, a vision driven system feels. If you&amp;rsquo;re interested in building with edge AI, learning from real world limitations, or recreating parts of this project yourself, below you can access the files, code, and discussion.&lt;/p&gt;
&lt;h2 id="mcetoc_1jmt3okmp0"&gt;Watch the Project Build&lt;/h2&gt;
&lt;p&gt;&lt;/p&gt;
&lt;h2 id="mcetoc_1jmssh0pr0"&gt;Revisiting an Unsettling Classic: The AI Animatronic Skull Returns&lt;/h2&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;In 2018, Clem built what could only be described as an early warning from the future: a Terminator‑style animatronic skull powered by a BeagleBone‑AI. At the time, it was one of the first hobbyist projects to take on-device AI seriously, using machine vision to detect people and follow them with unnerving intent. It was limited, experimental, and deeply uncomfortable to be alone with, exactly what a robotic skull should be.&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;Several years on, AI hardware for single‑board computers has advanced significantly. Rather than assume progress on paper translated to progress in practice, Clem chose to rebuild the skull from the ground up, using modern Raspberry Pi&amp;ndash;based AI hardware to answer a simple question: &amp;quot;&lt;em&gt;how far have we really come, and is it any more terrifying this time?&amp;quot;&lt;/em&gt;&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;&lt;em&gt;&lt;/em&gt;&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;&lt;em&gt;&lt;img alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/3821.interval_5F00_000028.png" /&gt;&lt;/em&gt;&lt;/div&gt;
&lt;h2 id="mcetoc_1jmssh0pr1"&gt;New Hardware, Old Questions&lt;/h2&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;The updated skull replaces the original compute platform with a Raspberry Pi 5, paired with two different AI accelerators: the Raspberry Pi AI Camera and the AI Hat+, capable of up to 26 TOPS. The intent was ambitious. Clem wanted to explore whether modern edge AI could support both fast, responsive machine vision &lt;em&gt;and&lt;/em&gt; natural language interaction in a single embedded system.&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;That experiment quickly revealed a hard boundary. While the AI Hat+ and AI Camera dramatically accelerate vision workloads, they provide no meaningful benefit for language models. Clem explains that even very small language models still take seconds to respond when run locally, making real-time interaction impractical:&lt;/div&gt;
&lt;blockquote&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;&amp;ldquo;I tried running Tiny Llama on there&amp;hellip; and even that takes some considerable seconds. So it&amp;rsquo;s not like you can talk to the machine and it answers back in a natural way.&amp;rdquo;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;For now, conversational AI remains out of reach on this class of hardware. Vision, however, tells a very different story.&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/interval_5F00_000039.png" /&gt;&lt;/div&gt;
&lt;h2 id="mcetoc_1jmssh0pr2"&gt;Why Vision Still Wins on the Edge&lt;/h2&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;Rather than treating this as a failure, Clem reframed the project around what edge AI already does exceptionally well. In his view, vision is currently the most practical application of AI on small systems&amp;mdash;grounded in the physical world and free from the abstractions and hallucinations of language models.&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;Both accelerators are strictly vision‑focused, but they behave very differently in practice. The AI Hat+ delivers significantly better performance, particularly for more complex object detection tasks, but it comes at a cost. It requires a Raspberry Pi 5, draws more power, and produces enough heat that cooling becomes a serious design consideration. Clem notes plainly that &amp;ldquo;cooling is of the greatest necessity,&amp;rdquo; and that the overall system power draw is non‑trivial.&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;By contrast, the Raspberry Pi AI Camera is far more power‑efficient, runs cool, and works across a wider range of boards. For simpler detection tasks&amp;mdash;such as presence detection, motion awareness, or checking whether a person has entered a space, it can be the better engineering choice.&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;The key takeaway is that these two accelerators are not interchangeable parts of a single pipeline. They rely on different model formats and workflows, and while both are capable, they are best treated as separate tools rather than a combined solution.&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/interval_5F00_000081.png" /&gt;&lt;/div&gt;
&lt;h2 id="mcetoc_1jmssh0pr3"&gt;Teaching the Skull What to Care About&lt;/h2&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;With vision as the focus, the skull&amp;rsquo;s behaviour becomes far more intentional than in the original build. Instead of reacting to every detection, the system selects a single &amp;ldquo;object of interest&amp;rdquo; and commits to it. Humans are prioritised, but devices such as laptops and keyboards are also recognised and tracked when relevant.&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;Clem describes the selection criteria as simple but effective: the system focuses on the object it is most confident about&amp;mdash;the closest, largest, and clearest detection in view. Once chosen, the skull moves to keep that object centred in the frame, using pan and tilt servos to follow it smoothly.&amp;nbsp;&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;Just as important is knowing when &lt;em&gt;not&lt;/em&gt; to move. The skull allows for a generous margin where the object can drift within the frame without triggering motion. This reduces constant jitter and gives the movement a more deliberate, lifelike quality. If nothing is detected, the skull recentres itself and waits. If something suddenly enters from the edge of the frame, it snaps to attention&amp;mdash;an effect Clem admits can be genuinely startling when you forget the system is running.&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/interval_5F00_000173.png" /&gt;&lt;/div&gt;
&lt;h2 id="mcetoc_1jmssh0pr4"&gt;Mechanical Reality and Software Restraint&lt;/h2&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;No amount of AI can fully mask the physical realities of a handmade animatronic mechanism. Clem is candid about the skull&amp;rsquo;s construction: it is intentionally compliant, meaning it will give way if touched. This makes it safe, there&amp;rsquo;s no risk of pinched fingers, but it also introduces unavoidable jerkiness into the motion.&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;Rather than fight this in software, the system adapts to it. Movement smoothing, dead zones, and proportional control help reduce unnecessary corrections, but the AI ultimately learns to tolerate mechanical imperfection. The result is not polished in a cinematic sense, but it feels responsive and believable, arguably more so because of its flaws.&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/3240.interval_5F00_000201.png" /&gt;&lt;/div&gt;
&lt;h2 id="mcetoc_1jmssh0pr5"&gt;Visual Feedback Through Light&lt;/h2&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;To make the skull&amp;rsquo;s perception visible, Clem embedded a NeoPixel LED ring into the eye socket. This acts as a direct, intuitive readout of what the system thinks it sees. When a human is detected, the LEDs glow green; laptops and keyboards are shown in red. The number of illuminated LEDs represents confidence, turning abstract probabilities into something immediately readable at a glance.&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;There is also an alternative mode where individual LEDs represent individual detections, effectively turning the skull into a live object counter. Additional, less certain detections are shown in blue. This dual‑mode approach makes the skull not just reactive, but informative, useful during development and strangely expressive during operation.&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;Getting this working on a Raspberry Pi 5 was not straightforward. Standard NeoPixel libraries no longer behave as expected due to changes in how the Pi 5 handles GPIO. Clem had to adopt an SPI‑based approach instead, which brings faster communication but also introduces its own constraints.&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/interval_5F00_000236.png" /&gt;&lt;/div&gt;
&lt;h2 id="mcetoc_1jmssh0pr6"&gt;Building Inside the Head -&amp;nbsp;A More Thoughtful Kind of AI&lt;/h2&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;Clem managed to fit all processing hardware inside the skull itself; the only external component is the power supply in the base. Two hardware switches allow the system and motors to be powered independently, making it easy to shut everything down if the skull starts doing something it shouldn&amp;rsquo;t.&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;The servo control hardware was assembled by hand using breadboards and prototyping board, with modified headers to ensure reliable connections. It&amp;rsquo;s not elegant, but it&amp;rsquo;s practical, and emblematic of the project as a whole.&lt;/div&gt;
&lt;p&gt;An interesting shift Clem observes is what modern vision models &lt;em&gt;don&amp;rsquo;t&lt;/em&gt; do. Older examples often focused on profiling people, age, gender, facial attributes. The current ecosystem avoids this entirely, focusing instead on object and pose detection. Clem believes this is a deliberate move toward privacy‑conscious design, and ultimately a more useful direction for real projects.&lt;/p&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="/resized-image/__size/1280x720/__key/communityserver-wikis-components-files/00-00-00-04-35/interval_5F00_000284.png" /&gt;&lt;/p&gt;
&lt;h2 id="mcetoc_1jmssh0pr8"&gt;Smaller, Smarter, and Still Uncomfortable&lt;/h2&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;The rebuilt animatronic skull is not a leap toward conversational artificial intelligence, but it is a clear demonstration of how far edge‑based AI vision has come. On relatively inexpensive, compact hardware, the system can see, decide, react, and communicate its intent in real time. It is smoother, more capable, and more expressive than the original&amp;mdash;and still deeply unsettling. Clem may joke that &amp;ldquo;maybe it wasn&amp;rsquo;t the best idea to build that,&amp;rdquo; but as a demonstration of modern AI vision, it succeeds precisely because it makes people uneasy. After all, anything that can watch you this closely probably should.&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;&lt;/div&gt;
&lt;h2 id="mcetoc_1jmt3okmp1" class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;Supporting Links and Files&lt;/h2&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;- &lt;a title="Github Repository" href="https://github.com/mayermakes/Ai-servoskull" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;Github Repository&lt;/a&gt; (&lt;a title="Download Mirror" href="/challenges-projects/element14-presents/m/files/151221" data-e14adj="t"&gt;Download Mirror&lt;/a&gt;)&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;-&amp;nbsp;&amp;nbsp;&lt;a href="https://community.element14.com/challenges-projects/element14-presents/project-videos/w/documents/4604/animatronic-terminator-skull-with-beaglebone-ai----episode-418"&gt;Animatronic Terminator Skull with BeagleBone®︎ AI -- Episode 418&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;
&lt;p&gt;&lt;/p&gt;
&lt;h2 id="mcetoc_1jmst8o9b9"&gt;Bill of Materials&lt;/h2&gt;
&lt;table class="e14-product-bom-main"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;th&gt;Product Name&lt;/th&gt;
&lt;th&gt;Manufacturer&lt;/th&gt;
&lt;th&gt;Quantity&lt;/th&gt;
&lt;th&gt;&lt;a id="e14-product-link-5c714" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=4256000,4531089,4568687&amp;nsku=81AK1348,11AM9747,20AM0876&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_BUY_KIT" class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('5c714'));" data-farnell="4256000,4531089,4568687" data-newark="81AK1348,11AM9747,20AM0876" data-comoverride="" data-cmpoverride="" data-cpc=",," data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Kit&lt;/a&gt; &lt;/th&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Raspberry pi 5&lt;/td&gt;
&lt;td&gt;Raspberry Pi&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;&lt;a id="e14-product-link-fca78" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=4256000&amp;nsku=81AK1348&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('fca78'));" data-farnell="4256000" data-newark="81AK1348" data-comoverride="" data-cmpoverride="" data-cpc="undefined" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;RPI Ai camera&lt;/td&gt;
&lt;td&gt;Raspberry Pi&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;&lt;a id="e14-product-link-3d05d" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=4531089&amp;nsku=11AM9747&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('3d05d'));" data-farnell="4531089" data-newark="11AM9747" data-comoverride="" data-cmpoverride="" data-cpc="undefined" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Raspberry Pi AI HAT+ Add-On Board, Raspberry Pi 5 Boards, 26TOPS, with Built-In Hailo AI Accelerator&lt;/td&gt;
&lt;td&gt;Raspberry Pi&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;&lt;a id="e14-product-link-620c0" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=4568687&amp;nsku=20AM0876&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('620c0'));" data-farnell="4568687" data-newark="20AM0876" data-comoverride="" data-cmpoverride="" data-cpc="undefined" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr class="xs-hide"&gt;
&lt;td&gt;&amp;nbsp;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: real-time object detection, animatronic robotics project, embedded computer vision, privacy-aware ai vision, raspberry pi 5 ai, hailo ai accelerator, maker ai vision project, e14presents_mayermakes, servo-based object tracking, low-power ai inference, edge ai vision, edge ai hardware comparison, neopixel visual feedback, ai camera projects, friday_release, machine vision on raspberry pi, raspberry pi ai projects&lt;/div&gt;
</description></item><item><title>Modern Edge AI on Raspberry Pi 5 for an Animatronic Tracker: Vision Acceleration with AI Hat+ and AI Camera</title><link>https://community.element14.com/challenges-projects/element14-presents/project-videos/w/documents/72059/modern-edge-ai-on-raspberry-pi-5-for-an-animatronic-tracker-vision-acceleration-with-ai-hat-and-ai-camera/revision/5</link><pubDate>Thu, 23 Apr 2026 11:50:45 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:8fd32bda-d7c0-4c37-97ba-7d8a3ae548ff</guid><dc:creator>cstanton</dc:creator><comments>https://community.element14.com/challenges-projects/element14-presents/project-videos/w/documents/72059/modern-edge-ai-on-raspberry-pi-5-for-an-animatronic-tracker-vision-acceleration-with-ai-hat-and-ai-camera#comments</comments><description>Revision 5 posted to Documents by cstanton on 4/23/2026 11:50:45 AM&lt;br /&gt;
&lt;p&gt;Clem revisits an earlier animatronic AI project to see what modern Raspberry Pi&amp;ndash;based vision hardware can really do in practice. Using today&amp;rsquo;s AI accelerators and camera technology, he explores how far edge AI vision has progressed, where it still falls short, and what design trade offs emerge when performance, power consumption, heat, and physical mechanics all collide in a real build. Along the way, he works through challenges with model compatibility, motion control, LED feedback, and hardware integration, showing how small design decisions can dramatically affect how lifelike, or unsettling, a vision driven system feels. If you&amp;rsquo;re interested in building with edge AI, learning from real world limitations, or recreating parts of this project yourself, below you can access the files, code, and discussion.&lt;/p&gt;
&lt;h2&gt;Watch the Project Build&lt;/h2&gt;
&lt;p&gt;&lt;/p&gt;
&lt;h2 id="mcetoc_1jmssh0pr0"&gt;Revisiting an Unsettling Classic: The AI Animatronic Skull Returns&lt;/h2&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;In 2018, Clem built what could only be described as an early warning from the future: a Terminator‑style animatronic skull powered by a BeagleBone‑AI. At the time, it was one of the first hobbyist projects to take on-device AI seriously, using machine vision to detect people and follow them with unnerving intent. It was limited, experimental, and deeply uncomfortable to be alone with&amp;mdash;exactly what a robotic skull should be&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;Several years on, AI hardware for single‑board computers has advanced significantly. Rather than assume progress on paper translated to progress in practice, Clem chose to rebuild the skull from the ground up, using modern Raspberry Pi&amp;ndash;based AI hardware to answer a simple question: &lt;em&gt;how far have we really come&amp;mdash;and is it any more terrifying this time?&lt;/em&gt;&lt;/div&gt;
&lt;h2 id="mcetoc_1jmssh0pr1"&gt;New Hardware, Old Questions&lt;/h2&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;The updated skull replaces the original compute platform with a Raspberry Pi 5, paired with two different AI accelerators: the Raspberry Pi AI Camera and the AI Hat+, capable of up to 26 TOPS. The intent was ambitious. Clem wanted to explore whether modern edge AI could support both fast, responsive machine vision &lt;em&gt;and&lt;/em&gt; natural language interaction in a single embedded system.&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;That experiment quickly revealed a hard boundary. While the AI Hat+ and AI Camera dramatically accelerate vision workloads, they provide no meaningful benefit for language models. Clem explains that even very small language models still take seconds to respond when run locally, making real-time interaction impractical:&lt;/div&gt;
&lt;blockquote&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;&amp;ldquo;I tried running Tiny Llama on there&amp;hellip; and even that takes some considerable seconds. So it&amp;rsquo;s not like you can talk to the machine and it answers back in a natural way.&amp;rdquo;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;For now, conversational AI remains out of reach on this class of hardware. Vision, however, tells a very different story.&lt;/div&gt;
&lt;h2 id="mcetoc_1jmssh0pr2"&gt;Why Vision Still Wins on the Edge&lt;/h2&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;Rather than treating this as a failure, Clem reframed the project around what edge AI already does exceptionally well. In his view, vision is currently the most practical application of AI on small systems&amp;mdash;grounded in the physical world and free from the abstractions and hallucinations of language models.&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;Both accelerators are strictly vision‑focused, but they behave very differently in practice. The AI Hat+ delivers significantly better performance, particularly for more complex object detection tasks, but it comes at a cost. It requires a Raspberry Pi 5, draws more power, and produces enough heat that cooling becomes a serious design consideration. Clem notes plainly that &amp;ldquo;cooling is of the greatest necessity,&amp;rdquo; and that the overall system power draw is non‑trivial.&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;By contrast, the Raspberry Pi AI Camera is far more power‑efficient, runs cool, and works across a wider range of boards. For simpler detection tasks&amp;mdash;such as presence detection, motion awareness, or checking whether a person has entered a space&amp;mdash;it can be the better engineering choice.&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;The key takeaway is that these two accelerators are not interchangeable parts of a single pipeline. They rely on different model formats and workflows, and while both are capable, they are best treated as separate tools rather than a combined solution.&lt;/div&gt;
&lt;h2 id="mcetoc_1jmssh0pr3"&gt;Teaching the Skull What to Care About&lt;/h2&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;With vision as the focus, the skull&amp;rsquo;s behaviour becomes far more intentional than in the original build. Instead of reacting to every detection, the system selects a single &amp;ldquo;object of interest&amp;rdquo; and commits to it. Humans are prioritised, but devices such as laptops and keyboards are also recognised and tracked when relevant.&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;Clem describes the selection criteria as simple but effective: the system focuses on the object it is most confident about&amp;mdash;the closest, largest, and clearest detection in view. Once chosen, the skull moves to keep that object centred in the frame, using pan and tilt servos to follow it smoothly.&amp;nbsp;&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;Just as important is knowing when &lt;em&gt;not&lt;/em&gt; to move. The skull allows for a generous margin where the object can drift within the frame without triggering motion. This reduces constant jitter and gives the movement a more deliberate, lifelike quality. If nothing is detected, the skull recentres itself and waits. If something suddenly enters from the edge of the frame, it snaps to attention&amp;mdash;an effect Clem admits can be genuinely startling when you forget the system is running.&lt;/div&gt;
&lt;h2 id="mcetoc_1jmssh0pr4"&gt;Mechanical Reality and Software Restraint&lt;/h2&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;No amount of AI can fully mask the physical realities of a handmade animatronic mechanism. Clem is candid about the skull&amp;rsquo;s construction: it is intentionally compliant, meaning it will give way if touched. This makes it safe&amp;mdash;there&amp;rsquo;s no risk of pinched fingers&amp;mdash;but it also introduces unavoidable jerkiness into the motion.&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;Rather than fight this in software, the system adapts to it. Movement smoothing, dead zones, and proportional control help reduce unnecessary corrections, but the AI ultimately learns to tolerate mechanical imperfection. The result is not polished in a cinematic sense, but it feels responsive and believable&amp;mdash;arguably more so because of its flaws.&lt;/div&gt;
&lt;h2 id="mcetoc_1jmssh0pr5"&gt;Visual Feedback Through Light&lt;/h2&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;To make the skull&amp;rsquo;s perception visible, Clem embedded a NeoPixel LED ring into the eye socket. This acts as a direct, intuitive readout of what the system thinks it sees. When a human is detected, the LEDs glow green; laptops and keyboards are shown in red. The number of illuminated LEDs represents confidence, turning abstract probabilities into something immediately readable at a glance.&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;There is also an alternative mode where individual LEDs represent individual detections, effectively turning the skull into a live object counter. Additional, less certain detections are shown in blue. This dual‑mode approach makes the skull not just reactive, but informative&amp;mdash;useful during development and strangely expressive during operation.&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;Getting this working on a Raspberry Pi 5 was not straightforward. Standard NeoPixel libraries no longer behave as expected due to changes in how the Pi 5 handles GPIO. Clem had to adopt an SPI‑based approach instead, which brings faster communication but also introduces its own constraints.&lt;/div&gt;
&lt;hr /&gt;
&lt;h2 id="mcetoc_1jmssh0pr6"&gt;Building Inside the Head -&amp;nbsp;A More Thoughtful Kind of AI&lt;/h2&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;One of the quiet successes of this revision is physical integration. Clem managed to fit all processing hardware inside the skull itself; the only external component is the power supply in the base. Two hardware switches allow the system and motors to be powered independently, making it easy to shut everything down if the skull starts doing something it shouldn&amp;rsquo;t.&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;The servo control hardware was assembled by hand using breadboards and prototyping board, with modified headers to ensure reliable connections. It&amp;rsquo;s not elegant, but it&amp;rsquo;s practical, and emblematic of the project as a whole.&lt;/div&gt;
&lt;p&gt;An interesting shift Clem observes is what modern vision models &lt;em&gt;don&amp;rsquo;t&lt;/em&gt; do. Older examples often focused on profiling people&amp;mdash;age, gender, facial attributes. The current ecosystem avoids this entirely, focusing instead on object and pose detection. Clem believes this is a deliberate move toward privacy‑conscious design, and ultimately a more useful direction for real projects.&lt;/p&gt;
&lt;h2 id="mcetoc_1jmssh0pr8"&gt;Smaller, Smarter, and Still Uncomfortable&lt;/h2&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;The rebuilt animatronic skull is not a leap toward conversational artificial intelligence, but it is a clear demonstration of how far edge‑based AI vision has come. On relatively inexpensive, compact hardware, the system can see, decide, react, and communicate its intent in real time. It is smoother, more capable, and more expressive than the original&amp;mdash;and still deeply unsettling. Clem may joke that &amp;ldquo;maybe it wasn&amp;rsquo;t the best idea to build that,&amp;rdquo; but as a demonstration of modern AI vision, it succeeds precisely because it makes people uneasy. After all, anything that can watch you this closely probably should.&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;&lt;/div&gt;
&lt;h2 class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;Supporting Links and Files&lt;/h2&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;-&amp;nbsp;&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;
&lt;p&gt;&lt;/p&gt;
&lt;h2 id="mcetoc_1jmst8o9b9"&gt;Bill of Materials&lt;/h2&gt;
&lt;table class="e14-product-bom-main"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;th&gt;Product Name&lt;/th&gt;
&lt;th&gt;Manufacturer&lt;/th&gt;
&lt;th&gt;Quantity&lt;/th&gt;
&lt;th&gt;&lt;a id="e14-product-link-259fb" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=4256000,4531089,4568687&amp;nsku=81AK1348,11AM9747,20AM0876&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_BUY_KIT" class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('259fb'));" data-farnell="4256000,4531089,4568687" data-newark="81AK1348,11AM9747,20AM0876" data-comoverride="" data-cmpoverride="" data-cpc=",," data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Kit&lt;/a&gt; &lt;/th&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Raspberry pi 5&lt;/td&gt;
&lt;td&gt;Raspberry Pi&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;&lt;a id="e14-product-link-9a417" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=4256000&amp;nsku=81AK1348&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('9a417'));" data-farnell="4256000" data-newark="81AK1348" data-comoverride="" data-cmpoverride="" data-cpc="undefined" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;RPI Ai camera&lt;/td&gt;
&lt;td&gt;Raspberry Pi&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;&lt;a id="e14-product-link-4395f" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=4531089&amp;nsku=11AM9747&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('4395f'));" data-farnell="4531089" data-newark="11AM9747" data-comoverride="" data-cmpoverride="" data-cpc="undefined" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Raspberry Pi AI HAT+ Add-On Board, Raspberry Pi 5 Boards, 26TOPS, with Built-In Hailo AI Accelerator&lt;/td&gt;
&lt;td&gt;Raspberry Pi&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;&lt;a id="e14-product-link-be3b3" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=4568687&amp;nsku=20AM0876&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('be3b3'));" data-farnell="4568687" data-newark="20AM0876" data-comoverride="" data-cmpoverride="" data-cpc="undefined" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr class="xs-hide"&gt;
&lt;td&gt;&amp;nbsp;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: real-time object detection, animatronic robotics project, embedded computer vision, privacy-aware ai vision, raspberry pi 5 ai, hailo ai accelerator, maker ai vision project, e14presents_mayermakes, servo-based object tracking, low-power ai inference, edge ai vision, edge ai hardware comparison, neopixel visual feedback, ai camera projects, friday_release, machine vision on raspberry pi, raspberry pi ai projects&lt;/div&gt;
</description></item><item><title>Modern Edge AI on Raspberry Pi 5 for an Animatronic Tracker: Vision Acceleration with AI Hat+ and AI Camera</title><link>https://community.element14.com/challenges-projects/element14-presents/project-videos/w/documents/72059/modern-edge-ai-on-raspberry-pi-5-for-an-animatronic-tracker-vision-acceleration-with-ai-hat-and-ai-camera/revision/4</link><pubDate>Thu, 23 Apr 2026 10:30:07 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:8fd32bda-d7c0-4c37-97ba-7d8a3ae548ff</guid><dc:creator>cstanton</dc:creator><comments>https://community.element14.com/challenges-projects/element14-presents/project-videos/w/documents/72059/modern-edge-ai-on-raspberry-pi-5-for-an-animatronic-tracker-vision-acceleration-with-ai-hat-and-ai-camera#comments</comments><description>Revision 4 posted to Documents by cstanton on 4/23/2026 10:30:07 AM&lt;br /&gt;
&lt;p&gt;Clem revisits an earlier animatronic AI project to see what modern Raspberry Pi&amp;ndash;based vision hardware can really do in practice. Using today&amp;rsquo;s AI accelerators and camera technology, he explores how far edge AI vision has progressed, where it still falls short, and what design trade offs emerge when performance, power consumption, heat, and physical mechanics all collide in a real build. Along the way, he works through challenges with model compatibility, motion control, LED feedback, and hardware integration, showing how small design decisions can dramatically affect how lifelike, or unsettling, a vision driven system feels. If you&amp;rsquo;re interested in building with edge AI, learning from real world limitations, or recreating parts of this project yourself, below you can access the files, code, and discussion.&lt;/p&gt;
&lt;h2&gt;Watch the Project Build&lt;/h2&gt;
&lt;p&gt;&lt;/p&gt;
&lt;h2 id="mcetoc_1jmssh0pr0"&gt;Revisiting an Unsettling Classic: The AI Animatronic Skull Returns&lt;/h2&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;In 2018, Clem built what could only be described as an early warning from the future: a Terminator‑style animatronic skull powered by a BeagleBone‑AI. At the time, it was one of the first hobbyist projects to take on-device AI seriously, using machine vision to detect people and follow them with unnerving intent. It was limited, experimental, and deeply uncomfortable to be alone with&amp;mdash;exactly what a robotic skull should be. &lt;a href="https://avtincgbr-my.sharepoint.com/personal/christopher_stanton_avnet_com/Documents/Microsoft%20Copilot%20Chat%20Files/blog.txt" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;[blog | Txt]&lt;/a&gt;, &lt;a href="https://avtincgbr-my.sharepoint.com/personal/christopher_stanton_avnet_com/Documents/Microsoft%20Copilot%20Chat%20Files/transcript.txt" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;[transcript | Txt]&lt;/a&gt;&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;Several years on, AI hardware for single‑board computers has advanced significantly. Rather than assume progress on paper translated to progress in practice, Clem chose to rebuild the skull from the ground up, using modern Raspberry Pi&amp;ndash;based AI hardware to answer a simple question: &lt;em&gt;how far have we really come&amp;mdash;and is it any more terrifying this time?&lt;/em&gt; &lt;a href="https://avtincgbr-my.sharepoint.com/personal/christopher_stanton_avnet_com/Documents/Microsoft%20Copilot%20Chat%20Files/transcript.txt" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;[transcript | Txt]&lt;/a&gt;&lt;/div&gt;
&lt;hr /&gt;
&lt;h2 id="mcetoc_1jmssh0pr1"&gt;New Hardware, Old Questions&lt;/h2&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;The updated skull replaces the original compute platform with a Raspberry Pi 5, paired with two different AI accelerators: the Raspberry Pi AI Camera and the AI Hat+, capable of up to 26 TOPS. The intent was ambitious. Clem wanted to explore whether modern edge AI could support both fast, responsive machine vision &lt;em&gt;and&lt;/em&gt; natural language interaction in a single embedded system.&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;That experiment quickly revealed a hard boundary. While the AI Hat+ and AI Camera dramatically accelerate vision workloads, they provide no meaningful benefit for language models. Clem explains that even very small language models still take seconds to respond when run locally, making real-time interaction impractical:&lt;/div&gt;
&lt;blockquote&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;&amp;ldquo;I tried running Tiny Llama on there&amp;hellip; and even that takes some considerable seconds. So it&amp;rsquo;s not like you can talk to the machine and it answers back in a natural way.&amp;rdquo; &lt;a href="https://avtincgbr-my.sharepoint.com/personal/christopher_stanton_avnet_com/Documents/Microsoft%20Copilot%20Chat%20Files/transcript.txt" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;[transcript | Txt]&lt;/a&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;For now, conversational AI remains out of reach on this class of hardware. Vision, however, tells a very different story.&lt;/div&gt;
&lt;hr /&gt;
&lt;h2 id="mcetoc_1jmssh0pr2"&gt;Why Vision Still Wins on the Edge&lt;/h2&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;Rather than treating this as a failure, Clem reframed the project around what edge AI already does exceptionally well. In his view, vision is currently the most practical application of AI on small systems&amp;mdash;grounded in the physical world and free from the abstractions and hallucinations of language models. &lt;a href="https://avtincgbr-my.sharepoint.com/personal/christopher_stanton_avnet_com/Documents/Microsoft%20Copilot%20Chat%20Files/transcript.txt" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;[transcript | Txt]&lt;/a&gt;&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;Both accelerators are strictly vision‑focused, but they behave very differently in practice. The AI Hat+ delivers significantly better performance, particularly for more complex object detection tasks, but it comes at a cost. It requires a Raspberry Pi 5, draws more power, and produces enough heat that cooling becomes a serious design consideration. Clem notes plainly that &amp;ldquo;cooling is of the greatest necessity,&amp;rdquo; and that the overall system power draw is non‑trivial. &lt;a href="https://avtincgbr-my.sharepoint.com/personal/christopher_stanton_avnet_com/Documents/Microsoft%20Copilot%20Chat%20Files/transcript.txt" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;[transcript | Txt]&lt;/a&gt;&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;By contrast, the Raspberry Pi AI Camera is far more power‑efficient, runs cool, and works across a wider range of boards. For simpler detection tasks&amp;mdash;such as presence detection, motion awareness, or checking whether a person has entered a space&amp;mdash;it can be the better engineering choice. &lt;a href="https://avtincgbr-my.sharepoint.com/personal/christopher_stanton_avnet_com/Documents/Microsoft%20Copilot%20Chat%20Files/blog.txt" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;[blog | Txt]&lt;/a&gt;, &lt;a href="https://avtincgbr-my.sharepoint.com/personal/christopher_stanton_avnet_com/Documents/Microsoft%20Copilot%20Chat%20Files/transcript.txt" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;[transcript | Txt]&lt;/a&gt;&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;The key takeaway is that these two accelerators are not interchangeable parts of a single pipeline. They rely on different model formats and workflows, and while both are capable, they are best treated as separate tools rather than a combined solution. &lt;a href="https://avtincgbr-my.sharepoint.com/personal/christopher_stanton_avnet_com/Documents/Microsoft%20Copilot%20Chat%20Files/transcript.txt" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;[transcript | Txt]&lt;/a&gt;&lt;/div&gt;
&lt;hr /&gt;
&lt;h2 id="mcetoc_1jmssh0pr3"&gt;Teaching the Skull What to Care About&lt;/h2&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;With vision as the focus, the skull&amp;rsquo;s behaviour becomes far more intentional than in the original build. Instead of reacting to every detection, the system selects a single &amp;ldquo;object of interest&amp;rdquo; and commits to it. Humans are prioritised, but devices such as laptops and keyboards are also recognised and tracked when relevant.&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;Clem describes the selection criteria as simple but effective: the system focuses on the object it is most confident about&amp;mdash;the closest, largest, and clearest detection in view. Once chosen, the skull moves to keep that object centred in the frame, using pan and tilt servos to follow it smoothly. &lt;a href="https://avtincgbr-my.sharepoint.com/personal/christopher_stanton_avnet_com/Documents/Microsoft%20Copilot%20Chat%20Files/transcript.txt" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;[transcript | Txt]&lt;/a&gt;&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;Just as important is knowing when &lt;em&gt;not&lt;/em&gt; to move. The skull allows for a generous margin where the object can drift within the frame without triggering motion. This reduces constant jitter and gives the movement a more deliberate, lifelike quality. If nothing is detected, the skull recentres itself and waits. If something suddenly enters from the edge of the frame, it snaps to attention&amp;mdash;an effect Clem admits can be genuinely startling when you forget the system is running. &lt;a href="https://avtincgbr-my.sharepoint.com/personal/christopher_stanton_avnet_com/Documents/Microsoft%20Copilot%20Chat%20Files/transcript.txt" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;[transcript | Txt]&lt;/a&gt;&lt;/div&gt;
&lt;hr /&gt;
&lt;h2 id="mcetoc_1jmssh0pr4"&gt;Mechanical Reality and Software Restraint&lt;/h2&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;No amount of AI can fully mask the physical realities of a handmade animatronic mechanism. Clem is candid about the skull&amp;rsquo;s construction: it is intentionally compliant, meaning it will give way if touched. This makes it safe&amp;mdash;there&amp;rsquo;s no risk of pinched fingers&amp;mdash;but it also introduces unavoidable jerkiness into the motion. &lt;a href="https://avtincgbr-my.sharepoint.com/personal/christopher_stanton_avnet_com/Documents/Microsoft%20Copilot%20Chat%20Files/transcript.txt" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;[transcript | Txt]&lt;/a&gt;&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;Rather than fight this in software, the system adapts to it. Movement smoothing, dead zones, and proportional control help reduce unnecessary corrections, but the AI ultimately learns to tolerate mechanical imperfection. The result is not polished in a cinematic sense, but it feels responsive and believable&amp;mdash;arguably more so because of its flaws.&lt;/div&gt;
&lt;hr /&gt;
&lt;h2 id="mcetoc_1jmssh0pr5"&gt;Visual Feedback Through Light&lt;/h2&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;To make the skull&amp;rsquo;s perception visible, Clem embedded a NeoPixel LED ring into the eye socket. This acts as a direct, intuitive readout of what the system thinks it sees. When a human is detected, the LEDs glow green; laptops and keyboards are shown in red. The number of illuminated LEDs represents confidence, turning abstract probabilities into something immediately readable at a glance. &lt;a href="https://avtincgbr-my.sharepoint.com/personal/christopher_stanton_avnet_com/Documents/Microsoft%20Copilot%20Chat%20Files/blog.txt" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;[blog | Txt]&lt;/a&gt;, &lt;a href="https://avtincgbr-my.sharepoint.com/personal/christopher_stanton_avnet_com/Documents/Microsoft%20Copilot%20Chat%20Files/transcript.txt" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;[transcript | Txt]&lt;/a&gt;&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;There is also an alternative mode where individual LEDs represent individual detections, effectively turning the skull into a live object counter. Additional, less certain detections are shown in blue. This dual‑mode approach makes the skull not just reactive, but informative&amp;mdash;useful during development and strangely expressive during operation. &lt;a href="https://avtincgbr-my.sharepoint.com/personal/christopher_stanton_avnet_com/Documents/Microsoft%20Copilot%20Chat%20Files/blog.txt" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;[blog | Txt]&lt;/a&gt;, &lt;a href="https://avtincgbr-my.sharepoint.com/personal/christopher_stanton_avnet_com/Documents/Microsoft%20Copilot%20Chat%20Files/transcript.txt" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;[transcript | Txt]&lt;/a&gt;&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;Getting this working on a Raspberry Pi 5 was not straightforward. Standard NeoPixel libraries no longer behave as expected due to changes in how the Pi 5 handles GPIO. Clem had to adopt an SPI‑based approach instead, which brings faster communication but also introduces its own constraints. &lt;a href="https://avtincgbr-my.sharepoint.com/personal/christopher_stanton_avnet_com/Documents/Microsoft%20Copilot%20Chat%20Files/blog.txt" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;[blog | Txt]&lt;/a&gt;, &lt;a href="https://avtincgbr-my.sharepoint.com/personal/christopher_stanton_avnet_com/Documents/Microsoft%20Copilot%20Chat%20Files/transcript.txt" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;[transcript | Txt]&lt;/a&gt;&lt;/div&gt;
&lt;hr /&gt;
&lt;h2 id="mcetoc_1jmssh0pr6"&gt;Building Inside the Head&lt;/h2&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;One of the quiet successes of this revision is physical integration. Clem managed to fit all processing hardware inside the skull itself; the only external component is the power supply in the base. Two hardware switches allow the system and motors to be powered independently, making it easy to shut everything down if the skull starts doing something it shouldn&amp;rsquo;t. &lt;a href="https://avtincgbr-my.sharepoint.com/personal/christopher_stanton_avnet_com/Documents/Microsoft%20Copilot%20Chat%20Files/transcript.txt" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;[transcript | Txt]&lt;/a&gt;&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;The servo control hardware was assembled by hand using breadboards and prototyping board, with modified headers to ensure reliable connections. It&amp;rsquo;s not elegant, but it&amp;rsquo;s practical&amp;mdash;and emblematic of the project as a whole. &lt;a href="https://avtincgbr-my.sharepoint.com/personal/christopher_stanton_avnet_com/Documents/Microsoft%20Copilot%20Chat%20Files/transcript.txt" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;[transcript | Txt]&lt;/a&gt;&lt;/div&gt;
&lt;hr /&gt;
&lt;h2 id="mcetoc_1jmssh0pr7"&gt;A More Thoughtful Kind of AI&lt;/h2&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;An interesting shift Clem observes is what modern vision models &lt;em&gt;don&amp;rsquo;t&lt;/em&gt; do. Older examples often focused on profiling people&amp;mdash;age, gender, facial attributes. The current ecosystem avoids this entirely, focusing instead on object and pose detection. Clem believes this is a deliberate move toward privacy‑conscious design, and ultimately a more useful direction for real projects. &lt;a href="https://avtincgbr-my.sharepoint.com/personal/christopher_stanton_avnet_com/Documents/Microsoft%20Copilot%20Chat%20Files/transcript.txt" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;[transcript | Txt]&lt;/a&gt;&lt;/div&gt;
&lt;hr /&gt;
&lt;h2 id="mcetoc_1jmssh0pr8"&gt;Conclusion: Smaller, Smarter, and Still Uncomfortable&lt;/h2&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;The rebuilt animatronic skull is not a leap toward conversational artificial intelligence, but it is a clear demonstration of how far edge‑based AI vision has come. On relatively inexpensive, compact hardware, the system can see, decide, react, and communicate its intent in real time. &lt;a href="https://avtincgbr-my.sharepoint.com/personal/christopher_stanton_avnet_com/Documents/Microsoft%20Copilot%20Chat%20Files/blog.txt" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;[blog | Txt]&lt;/a&gt;, &lt;a href="https://avtincgbr-my.sharepoint.com/personal/christopher_stanton_avnet_com/Documents/Microsoft%20Copilot%20Chat%20Files/transcript.txt" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;[transcript | Txt]&lt;/a&gt;&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;It is smoother, more capable, and more expressive than the original&amp;mdash;and still deeply unsettling. Clem may joke that &amp;ldquo;maybe it wasn&amp;rsquo;t the best idea to build that,&amp;rdquo; but as a demonstration of modern AI vision, it succeeds precisely because it makes people uneasy. After all, anything that can watch you this closely probably should.&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;Supporting Links and Files&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;-&amp;nbsp;&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;
&lt;p&gt;&lt;/p&gt;
&lt;h3 id="mcetoc_1jmst8o9b9"&gt;Bill of Materials&lt;/h3&gt;
&lt;p&gt;&lt;/p&gt;
&lt;table class="e14-product-bom-main"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;th&gt;Product Name&lt;/th&gt;
&lt;th&gt;Manufacturer&lt;/th&gt;
&lt;th&gt;Quantity&lt;/th&gt;
&lt;th&gt;&lt;a id="e14-product-link-70f8d" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=4256000,4531089,4568687&amp;nsku=81AK1348,11AM9747,20AM0876&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_BUY_KIT" class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('70f8d'));" data-farnell="4256000,4531089,4568687" data-newark="81AK1348,11AM9747,20AM0876" data-comoverride="" data-cmpoverride="" data-cpc=",," data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Kit&lt;/a&gt; &lt;/th&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Raspberry pi 5&lt;/td&gt;
&lt;td&gt;Raspberry Pi&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;&lt;a id="e14-product-link-4fa65" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=4256000&amp;nsku=81AK1348&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('4fa65'));" data-farnell="4256000" data-newark="81AK1348" data-comoverride="" data-cmpoverride="" data-cpc="undefined" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;RPI Ai camera&lt;/td&gt;
&lt;td&gt;Raspberry Pi&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;&lt;a id="e14-product-link-d85d2" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=4531089&amp;nsku=11AM9747&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('d85d2'));" data-farnell="4531089" data-newark="11AM9747" data-comoverride="" data-cmpoverride="" data-cpc="undefined" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Raspberry Pi AI HAT+ Add-On Board, Raspberry Pi 5 Boards, 26TOPS, with Built-In Hailo AI Accelerator&lt;/td&gt;
&lt;td&gt;Raspberry Pi&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;&lt;a id="e14-product-link-17cc9" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=4568687&amp;nsku=20AM0876&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('17cc9'));" data-farnell="4568687" data-newark="20AM0876" data-comoverride="" data-cmpoverride="" data-cpc="undefined" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr class="xs-hide"&gt;
&lt;td&gt;&amp;nbsp;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: real-time object detection, animatronic robotics project, embedded computer vision, privacy-aware ai vision, raspberry pi 5 ai, hailo ai accelerator, maker ai vision project, e14presents_mayermakes, servo-based object tracking, low-power ai inference, edge ai vision, edge ai hardware comparison, neopixel visual feedback, ai camera projects, friday_release, machine vision on raspberry pi, raspberry pi ai projects&lt;/div&gt;
</description></item><item><title>Modern Edge AI on Raspberry Pi 5 for an Animatronic Tracker: Vision Acceleration with AI Hat+ and AI Camera</title><link>https://community.element14.com/challenges-projects/element14-presents/project-videos/w/documents/72059/modern-edge-ai-on-raspberry-pi-5-for-an-animatronic-tracker-vision-acceleration-with-ai-hat-and-ai-camera/revision/3</link><pubDate>Thu, 23 Apr 2026 10:27:30 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:8fd32bda-d7c0-4c37-97ba-7d8a3ae548ff</guid><dc:creator>cstanton</dc:creator><comments>https://community.element14.com/challenges-projects/element14-presents/project-videos/w/documents/72059/modern-edge-ai-on-raspberry-pi-5-for-an-animatronic-tracker-vision-acceleration-with-ai-hat-and-ai-camera#comments</comments><description>Revision 3 posted to Documents by cstanton on 4/23/2026 10:27:30 AM&lt;br /&gt;
&lt;p&gt;Clem revisits an earlier animatronic AI project to see what modern Raspberry Pi&amp;ndash;based vision hardware can really do in practice. Using today&amp;rsquo;s AI accelerators and camera technology, he explores how far edge AI vision has progressed, where it still falls short, and what design trade offs emerge when performance, power consumption, heat, and physical mechanics all collide in a real build. Along the way, he works through challenges with model compatibility, motion control, LED feedback, and hardware integration, showing how small design decisions can dramatically affect how lifelike, or unsettling, a vision driven system feels. If you&amp;rsquo;re interested in building with edge AI, learning from real world limitations, or recreating parts of this project yourself, below you can access the files, code, and discussion.&lt;/p&gt;
&lt;h2&gt;Watch the Project Build&lt;/h2&gt;
&lt;p&gt;&lt;/p&gt;
&lt;h2 id="mcetoc_1jmssh0pr0"&gt;Revisiting an Unsettling Classic: The AI Animatronic Skull Returns&lt;/h2&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;In 2018, Clem built what could only be described as an early warning from the future: a Terminator‑style animatronic skull powered by a BeagleBone‑AI. At the time, it was one of the first hobbyist projects to take on-device AI seriously, using machine vision to detect people and follow them with unnerving intent. It was limited, experimental, and deeply uncomfortable to be alone with&amp;mdash;exactly what a robotic skull should be. &lt;a href="https://avtincgbr-my.sharepoint.com/personal/christopher_stanton_avnet_com/Documents/Microsoft%20Copilot%20Chat%20Files/blog.txt" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;[blog | Txt]&lt;/a&gt;, &lt;a href="https://avtincgbr-my.sharepoint.com/personal/christopher_stanton_avnet_com/Documents/Microsoft%20Copilot%20Chat%20Files/transcript.txt" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;[transcript | Txt]&lt;/a&gt;&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;Several years on, AI hardware for single‑board computers has advanced significantly. Rather than assume progress on paper translated to progress in practice, Clem chose to rebuild the skull from the ground up, using modern Raspberry Pi&amp;ndash;based AI hardware to answer a simple question: &lt;em&gt;how far have we really come&amp;mdash;and is it any more terrifying this time?&lt;/em&gt; &lt;a href="https://avtincgbr-my.sharepoint.com/personal/christopher_stanton_avnet_com/Documents/Microsoft%20Copilot%20Chat%20Files/transcript.txt" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;[transcript | Txt]&lt;/a&gt;&lt;/div&gt;
&lt;hr /&gt;
&lt;h2 id="mcetoc_1jmssh0pr1"&gt;New Hardware, Old Questions&lt;/h2&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;The updated skull replaces the original compute platform with a Raspberry Pi 5, paired with two different AI accelerators: the Raspberry Pi AI Camera and the AI Hat+, capable of up to 26 TOPS. The intent was ambitious. Clem wanted to explore whether modern edge AI could support both fast, responsive machine vision &lt;em&gt;and&lt;/em&gt; natural language interaction in a single embedded system.&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;That experiment quickly revealed a hard boundary. While the AI Hat+ and AI Camera dramatically accelerate vision workloads, they provide no meaningful benefit for language models. Clem explains that even very small language models still take seconds to respond when run locally, making real-time interaction impractical:&lt;/div&gt;
&lt;blockquote&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;&amp;ldquo;I tried running Tiny Llama on there&amp;hellip; and even that takes some considerable seconds. So it&amp;rsquo;s not like you can talk to the machine and it answers back in a natural way.&amp;rdquo; &lt;a href="https://avtincgbr-my.sharepoint.com/personal/christopher_stanton_avnet_com/Documents/Microsoft%20Copilot%20Chat%20Files/transcript.txt" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;[transcript | Txt]&lt;/a&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;For now, conversational AI remains out of reach on this class of hardware. Vision, however, tells a very different story.&lt;/div&gt;
&lt;hr /&gt;
&lt;h2 id="mcetoc_1jmssh0pr2"&gt;Why Vision Still Wins on the Edge&lt;/h2&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;Rather than treating this as a failure, Clem reframed the project around what edge AI already does exceptionally well. In his view, vision is currently the most practical application of AI on small systems&amp;mdash;grounded in the physical world and free from the abstractions and hallucinations of language models. &lt;a href="https://avtincgbr-my.sharepoint.com/personal/christopher_stanton_avnet_com/Documents/Microsoft%20Copilot%20Chat%20Files/transcript.txt" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;[transcript | Txt]&lt;/a&gt;&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;Both accelerators are strictly vision‑focused, but they behave very differently in practice. The AI Hat+ delivers significantly better performance, particularly for more complex object detection tasks, but it comes at a cost. It requires a Raspberry Pi 5, draws more power, and produces enough heat that cooling becomes a serious design consideration. Clem notes plainly that &amp;ldquo;cooling is of the greatest necessity,&amp;rdquo; and that the overall system power draw is non‑trivial. &lt;a href="https://avtincgbr-my.sharepoint.com/personal/christopher_stanton_avnet_com/Documents/Microsoft%20Copilot%20Chat%20Files/transcript.txt" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;[transcript | Txt]&lt;/a&gt;&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;By contrast, the Raspberry Pi AI Camera is far more power‑efficient, runs cool, and works across a wider range of boards. For simpler detection tasks&amp;mdash;such as presence detection, motion awareness, or checking whether a person has entered a space&amp;mdash;it can be the better engineering choice. &lt;a href="https://avtincgbr-my.sharepoint.com/personal/christopher_stanton_avnet_com/Documents/Microsoft%20Copilot%20Chat%20Files/blog.txt" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;[blog | Txt]&lt;/a&gt;, &lt;a href="https://avtincgbr-my.sharepoint.com/personal/christopher_stanton_avnet_com/Documents/Microsoft%20Copilot%20Chat%20Files/transcript.txt" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;[transcript | Txt]&lt;/a&gt;&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;The key takeaway is that these two accelerators are not interchangeable parts of a single pipeline. They rely on different model formats and workflows, and while both are capable, they are best treated as separate tools rather than a combined solution. &lt;a href="https://avtincgbr-my.sharepoint.com/personal/christopher_stanton_avnet_com/Documents/Microsoft%20Copilot%20Chat%20Files/transcript.txt" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;[transcript | Txt]&lt;/a&gt;&lt;/div&gt;
&lt;hr /&gt;
&lt;h2 id="mcetoc_1jmssh0pr3"&gt;Teaching the Skull What to Care About&lt;/h2&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;With vision as the focus, the skull&amp;rsquo;s behaviour becomes far more intentional than in the original build. Instead of reacting to every detection, the system selects a single &amp;ldquo;object of interest&amp;rdquo; and commits to it. Humans are prioritised, but devices such as laptops and keyboards are also recognised and tracked when relevant.&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;Clem describes the selection criteria as simple but effective: the system focuses on the object it is most confident about&amp;mdash;the closest, largest, and clearest detection in view. Once chosen, the skull moves to keep that object centred in the frame, using pan and tilt servos to follow it smoothly. &lt;a href="https://avtincgbr-my.sharepoint.com/personal/christopher_stanton_avnet_com/Documents/Microsoft%20Copilot%20Chat%20Files/transcript.txt" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;[transcript | Txt]&lt;/a&gt;&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;Just as important is knowing when &lt;em&gt;not&lt;/em&gt; to move. The skull allows for a generous margin where the object can drift within the frame without triggering motion. This reduces constant jitter and gives the movement a more deliberate, lifelike quality. If nothing is detected, the skull recentres itself and waits. If something suddenly enters from the edge of the frame, it snaps to attention&amp;mdash;an effect Clem admits can be genuinely startling when you forget the system is running. &lt;a href="https://avtincgbr-my.sharepoint.com/personal/christopher_stanton_avnet_com/Documents/Microsoft%20Copilot%20Chat%20Files/transcript.txt" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;[transcript | Txt]&lt;/a&gt;&lt;/div&gt;
&lt;hr /&gt;
&lt;h2 id="mcetoc_1jmssh0pr4"&gt;Mechanical Reality and Software Restraint&lt;/h2&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;No amount of AI can fully mask the physical realities of a handmade animatronic mechanism. Clem is candid about the skull&amp;rsquo;s construction: it is intentionally compliant, meaning it will give way if touched. This makes it safe&amp;mdash;there&amp;rsquo;s no risk of pinched fingers&amp;mdash;but it also introduces unavoidable jerkiness into the motion. &lt;a href="https://avtincgbr-my.sharepoint.com/personal/christopher_stanton_avnet_com/Documents/Microsoft%20Copilot%20Chat%20Files/transcript.txt" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;[transcript | Txt]&lt;/a&gt;&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;Rather than fight this in software, the system adapts to it. Movement smoothing, dead zones, and proportional control help reduce unnecessary corrections, but the AI ultimately learns to tolerate mechanical imperfection. The result is not polished in a cinematic sense, but it feels responsive and believable&amp;mdash;arguably more so because of its flaws.&lt;/div&gt;
&lt;hr /&gt;
&lt;h2 id="mcetoc_1jmssh0pr5"&gt;Visual Feedback Through Light&lt;/h2&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;To make the skull&amp;rsquo;s perception visible, Clem embedded a NeoPixel LED ring into the eye socket. This acts as a direct, intuitive readout of what the system thinks it sees. When a human is detected, the LEDs glow green; laptops and keyboards are shown in red. The number of illuminated LEDs represents confidence, turning abstract probabilities into something immediately readable at a glance. &lt;a href="https://avtincgbr-my.sharepoint.com/personal/christopher_stanton_avnet_com/Documents/Microsoft%20Copilot%20Chat%20Files/blog.txt" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;[blog | Txt]&lt;/a&gt;, &lt;a href="https://avtincgbr-my.sharepoint.com/personal/christopher_stanton_avnet_com/Documents/Microsoft%20Copilot%20Chat%20Files/transcript.txt" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;[transcript | Txt]&lt;/a&gt;&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;There is also an alternative mode where individual LEDs represent individual detections, effectively turning the skull into a live object counter. Additional, less certain detections are shown in blue. This dual‑mode approach makes the skull not just reactive, but informative&amp;mdash;useful during development and strangely expressive during operation. &lt;a href="https://avtincgbr-my.sharepoint.com/personal/christopher_stanton_avnet_com/Documents/Microsoft%20Copilot%20Chat%20Files/blog.txt" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;[blog | Txt]&lt;/a&gt;, &lt;a href="https://avtincgbr-my.sharepoint.com/personal/christopher_stanton_avnet_com/Documents/Microsoft%20Copilot%20Chat%20Files/transcript.txt" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;[transcript | Txt]&lt;/a&gt;&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;Getting this working on a Raspberry Pi 5 was not straightforward. Standard NeoPixel libraries no longer behave as expected due to changes in how the Pi 5 handles GPIO. Clem had to adopt an SPI‑based approach instead, which brings faster communication but also introduces its own constraints. &lt;a href="https://avtincgbr-my.sharepoint.com/personal/christopher_stanton_avnet_com/Documents/Microsoft%20Copilot%20Chat%20Files/blog.txt" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;[blog | Txt]&lt;/a&gt;, &lt;a href="https://avtincgbr-my.sharepoint.com/personal/christopher_stanton_avnet_com/Documents/Microsoft%20Copilot%20Chat%20Files/transcript.txt" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;[transcript | Txt]&lt;/a&gt;&lt;/div&gt;
&lt;hr /&gt;
&lt;h2 id="mcetoc_1jmssh0pr6"&gt;Building Inside the Head&lt;/h2&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;One of the quiet successes of this revision is physical integration. Clem managed to fit all processing hardware inside the skull itself; the only external component is the power supply in the base. Two hardware switches allow the system and motors to be powered independently, making it easy to shut everything down if the skull starts doing something it shouldn&amp;rsquo;t. &lt;a href="https://avtincgbr-my.sharepoint.com/personal/christopher_stanton_avnet_com/Documents/Microsoft%20Copilot%20Chat%20Files/transcript.txt" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;[transcript | Txt]&lt;/a&gt;&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;The servo control hardware was assembled by hand using breadboards and prototyping board, with modified headers to ensure reliable connections. It&amp;rsquo;s not elegant, but it&amp;rsquo;s practical&amp;mdash;and emblematic of the project as a whole. &lt;a href="https://avtincgbr-my.sharepoint.com/personal/christopher_stanton_avnet_com/Documents/Microsoft%20Copilot%20Chat%20Files/transcript.txt" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;[transcript | Txt]&lt;/a&gt;&lt;/div&gt;
&lt;hr /&gt;
&lt;h2 id="mcetoc_1jmssh0pr7"&gt;A More Thoughtful Kind of AI&lt;/h2&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;An interesting shift Clem observes is what modern vision models &lt;em&gt;don&amp;rsquo;t&lt;/em&gt; do. Older examples often focused on profiling people&amp;mdash;age, gender, facial attributes. The current ecosystem avoids this entirely, focusing instead on object and pose detection. Clem believes this is a deliberate move toward privacy‑conscious design, and ultimately a more useful direction for real projects. &lt;a href="https://avtincgbr-my.sharepoint.com/personal/christopher_stanton_avnet_com/Documents/Microsoft%20Copilot%20Chat%20Files/transcript.txt" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;[transcript | Txt]&lt;/a&gt;&lt;/div&gt;
&lt;hr /&gt;
&lt;h2 id="mcetoc_1jmssh0pr8"&gt;Conclusion: Smaller, Smarter, and Still Uncomfortable&lt;/h2&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;The rebuilt animatronic skull is not a leap toward conversational artificial intelligence, but it is a clear demonstration of how far edge‑based AI vision has come. On relatively inexpensive, compact hardware, the system can see, decide, react, and communicate its intent in real time. &lt;a href="https://avtincgbr-my.sharepoint.com/personal/christopher_stanton_avnet_com/Documents/Microsoft%20Copilot%20Chat%20Files/blog.txt" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;[blog | Txt]&lt;/a&gt;, &lt;a href="https://avtincgbr-my.sharepoint.com/personal/christopher_stanton_avnet_com/Documents/Microsoft%20Copilot%20Chat%20Files/transcript.txt" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;[transcript | Txt]&lt;/a&gt;&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;It is smoother, more capable, and more expressive than the original&amp;mdash;and still deeply unsettling. Clem may joke that &amp;ldquo;maybe it wasn&amp;rsquo;t the best idea to build that,&amp;rdquo; but as a demonstration of modern AI vision, it succeeds precisely because it makes people uneasy. After all, anything that can watch you this closely probably should.&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;Supporting Links and Files&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;-&amp;nbsp;&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;
&lt;p&gt;&lt;/p&gt;
&lt;h3 id="mcetoc_1jmst8o9b9"&gt;Bill of Materials&lt;/h3&gt;
&lt;p&gt;&lt;/p&gt;
&lt;table class="e14-product-bom-main"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;th&gt;Product Name&lt;/th&gt;
&lt;th&gt;Manufacturer&lt;/th&gt;
&lt;th&gt;Quantity&lt;/th&gt;
&lt;th&gt;&lt;a id="e14-product-link-3ecde" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=4256000,4531089,4568687&amp;nsku=81AK1348,11AM9747,20AM0876&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_BUY_KIT" class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('3ecde'));" data-farnell="4256000,4531089,4568687" data-newark="81AK1348,11AM9747,20AM0876" data-comoverride="" data-cmpoverride="" data-cpc=",," data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Kit&lt;/a&gt; &lt;/th&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Raspberry pi 5&lt;/td&gt;
&lt;td&gt;Raspberry Pi&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;&lt;a id="e14-product-link-40963" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=4256000&amp;nsku=81AK1348&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('40963'));" data-farnell="4256000" data-newark="81AK1348" data-comoverride="" data-cmpoverride="" data-cpc="undefined" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;RPI Ai camera&lt;/td&gt;
&lt;td&gt;Raspberry Pi&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;&lt;a id="e14-product-link-4720e" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=4531089&amp;nsku=11AM9747&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('4720e'));" data-farnell="4531089" data-newark="11AM9747" data-comoverride="" data-cmpoverride="" data-cpc="undefined" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Raspberry Pi AI HAT+ Add-On Board, Raspberry Pi 5 Boards, 26TOPS, with Built-In Hailo AI Accelerator&lt;/td&gt;
&lt;td&gt;Raspberry Pi&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;&lt;a id="e14-product-link-8c0a5" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=4568687&amp;nsku=20AM0876&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('8c0a5'));" data-farnell="4568687" data-newark="20AM0876" data-comoverride="" data-cmpoverride="" data-cpc="undefined" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr class="xs-hide"&gt;
&lt;td&gt;&amp;nbsp;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;
</description></item><item><title>Modern Edge AI on Raspberry Pi 5 for an Animatronic Tracker: Vision Acceleration with AI Hat+ and AI Camera</title><link>https://community.element14.com/challenges-projects/element14-presents/project-videos/w/documents/72059/modern-edge-ai-on-raspberry-pi-5-for-an-animatronic-tracker-vision-acceleration-with-ai-hat-and-ai-camera/revision/2</link><pubDate>Thu, 23 Apr 2026 10:13:26 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:8fd32bda-d7c0-4c37-97ba-7d8a3ae548ff</guid><dc:creator>cstanton</dc:creator><comments>https://community.element14.com/challenges-projects/element14-presents/project-videos/w/documents/72059/modern-edge-ai-on-raspberry-pi-5-for-an-animatronic-tracker-vision-acceleration-with-ai-hat-and-ai-camera#comments</comments><description>Revision 2 posted to Documents by cstanton on 4/23/2026 10:13:26 AM&lt;br /&gt;
&lt;div&gt;
&lt;h2 id="mcetoc_1jmssh0pr0"&gt;Revisiting an Unsettling Classic: The AI Animatronic Skull Returns&lt;/h2&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;In 2018, Clem built what could only be described as an early warning from the future: a Terminator‑style animatronic skull powered by a BeagleBone‑AI. At the time, it was one of the first hobbyist projects to take on-device AI seriously, using machine vision to detect people and follow them with unnerving intent. It was limited, experimental, and deeply uncomfortable to be alone with&amp;mdash;exactly what a robotic skull should be. &lt;a href="https://avtincgbr-my.sharepoint.com/personal/christopher_stanton_avnet_com/Documents/Microsoft%20Copilot%20Chat%20Files/blog.txt" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;[blog | Txt]&lt;/a&gt;, &lt;a href="https://avtincgbr-my.sharepoint.com/personal/christopher_stanton_avnet_com/Documents/Microsoft%20Copilot%20Chat%20Files/transcript.txt" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;[transcript | Txt]&lt;/a&gt;&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;Several years on, AI hardware for single‑board computers has advanced significantly. Rather than assume progress on paper translated to progress in practice, Clem chose to rebuild the skull from the ground up, using modern Raspberry Pi&amp;ndash;based AI hardware to answer a simple question: &lt;em&gt;how far have we really come&amp;mdash;and is it any more terrifying this time?&lt;/em&gt; &lt;a href="https://avtincgbr-my.sharepoint.com/personal/christopher_stanton_avnet_com/Documents/Microsoft%20Copilot%20Chat%20Files/transcript.txt" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;[transcript | Txt]&lt;/a&gt;&lt;/div&gt;
&lt;hr /&gt;
&lt;h2 id="mcetoc_1jmssh0pr1"&gt;New Hardware, Old Questions&lt;/h2&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;The updated skull replaces the original compute platform with a Raspberry Pi 5, paired with two different AI accelerators: the Raspberry Pi AI Camera and the AI Hat+, capable of up to 26 TOPS. The intent was ambitious. Clem wanted to explore whether modern edge AI could support both fast, responsive machine vision &lt;em&gt;and&lt;/em&gt; natural language interaction in a single embedded system.&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;That experiment quickly revealed a hard boundary. While the AI Hat+ and AI Camera dramatically accelerate vision workloads, they provide no meaningful benefit for language models. Clem explains that even very small language models still take seconds to respond when run locally, making real-time interaction impractical:&lt;/div&gt;
&lt;blockquote&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;&amp;ldquo;I tried running Tiny Llama on there&amp;hellip; and even that takes some considerable seconds. So it&amp;rsquo;s not like you can talk to the machine and it answers back in a natural way.&amp;rdquo; &lt;a href="https://avtincgbr-my.sharepoint.com/personal/christopher_stanton_avnet_com/Documents/Microsoft%20Copilot%20Chat%20Files/transcript.txt" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;[transcript | Txt]&lt;/a&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;For now, conversational AI remains out of reach on this class of hardware. Vision, however, tells a very different story.&lt;/div&gt;
&lt;hr /&gt;
&lt;h2 id="mcetoc_1jmssh0pr2"&gt;Why Vision Still Wins on the Edge&lt;/h2&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;Rather than treating this as a failure, Clem reframed the project around what edge AI already does exceptionally well. In his view, vision is currently the most practical application of AI on small systems&amp;mdash;grounded in the physical world and free from the abstractions and hallucinations of language models. &lt;a href="https://avtincgbr-my.sharepoint.com/personal/christopher_stanton_avnet_com/Documents/Microsoft%20Copilot%20Chat%20Files/transcript.txt" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;[transcript | Txt]&lt;/a&gt;&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;Both accelerators are strictly vision‑focused, but they behave very differently in practice. The AI Hat+ delivers significantly better performance, particularly for more complex object detection tasks, but it comes at a cost. It requires a Raspberry Pi 5, draws more power, and produces enough heat that cooling becomes a serious design consideration. Clem notes plainly that &amp;ldquo;cooling is of the greatest necessity,&amp;rdquo; and that the overall system power draw is non‑trivial. &lt;a href="https://avtincgbr-my.sharepoint.com/personal/christopher_stanton_avnet_com/Documents/Microsoft%20Copilot%20Chat%20Files/transcript.txt" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;[transcript | Txt]&lt;/a&gt;&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;By contrast, the Raspberry Pi AI Camera is far more power‑efficient, runs cool, and works across a wider range of boards. For simpler detection tasks&amp;mdash;such as presence detection, motion awareness, or checking whether a person has entered a space&amp;mdash;it can be the better engineering choice. &lt;a href="https://avtincgbr-my.sharepoint.com/personal/christopher_stanton_avnet_com/Documents/Microsoft%20Copilot%20Chat%20Files/blog.txt" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;[blog | Txt]&lt;/a&gt;, &lt;a href="https://avtincgbr-my.sharepoint.com/personal/christopher_stanton_avnet_com/Documents/Microsoft%20Copilot%20Chat%20Files/transcript.txt" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;[transcript | Txt]&lt;/a&gt;&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;The key takeaway is that these two accelerators are not interchangeable parts of a single pipeline. They rely on different model formats and workflows, and while both are capable, they are best treated as separate tools rather than a combined solution. &lt;a href="https://avtincgbr-my.sharepoint.com/personal/christopher_stanton_avnet_com/Documents/Microsoft%20Copilot%20Chat%20Files/transcript.txt" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;[transcript | Txt]&lt;/a&gt;&lt;/div&gt;
&lt;hr /&gt;
&lt;h2 id="mcetoc_1jmssh0pr3"&gt;Teaching the Skull What to Care About&lt;/h2&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;With vision as the focus, the skull&amp;rsquo;s behaviour becomes far more intentional than in the original build. Instead of reacting to every detection, the system selects a single &amp;ldquo;object of interest&amp;rdquo; and commits to it. Humans are prioritised, but devices such as laptops and keyboards are also recognised and tracked when relevant.&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;Clem describes the selection criteria as simple but effective: the system focuses on the object it is most confident about&amp;mdash;the closest, largest, and clearest detection in view. Once chosen, the skull moves to keep that object centred in the frame, using pan and tilt servos to follow it smoothly. &lt;a href="https://avtincgbr-my.sharepoint.com/personal/christopher_stanton_avnet_com/Documents/Microsoft%20Copilot%20Chat%20Files/transcript.txt" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;[transcript | Txt]&lt;/a&gt;&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;Just as important is knowing when &lt;em&gt;not&lt;/em&gt; to move. The skull allows for a generous margin where the object can drift within the frame without triggering motion. This reduces constant jitter and gives the movement a more deliberate, lifelike quality. If nothing is detected, the skull recentres itself and waits. If something suddenly enters from the edge of the frame, it snaps to attention&amp;mdash;an effect Clem admits can be genuinely startling when you forget the system is running. &lt;a href="https://avtincgbr-my.sharepoint.com/personal/christopher_stanton_avnet_com/Documents/Microsoft%20Copilot%20Chat%20Files/transcript.txt" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;[transcript | Txt]&lt;/a&gt;&lt;/div&gt;
&lt;hr /&gt;
&lt;h2 id="mcetoc_1jmssh0pr4"&gt;Mechanical Reality and Software Restraint&lt;/h2&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;No amount of AI can fully mask the physical realities of a handmade animatronic mechanism. Clem is candid about the skull&amp;rsquo;s construction: it is intentionally compliant, meaning it will give way if touched. This makes it safe&amp;mdash;there&amp;rsquo;s no risk of pinched fingers&amp;mdash;but it also introduces unavoidable jerkiness into the motion. &lt;a href="https://avtincgbr-my.sharepoint.com/personal/christopher_stanton_avnet_com/Documents/Microsoft%20Copilot%20Chat%20Files/transcript.txt" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;[transcript | Txt]&lt;/a&gt;&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;Rather than fight this in software, the system adapts to it. Movement smoothing, dead zones, and proportional control help reduce unnecessary corrections, but the AI ultimately learns to tolerate mechanical imperfection. The result is not polished in a cinematic sense, but it feels responsive and believable&amp;mdash;arguably more so because of its flaws.&lt;/div&gt;
&lt;hr /&gt;
&lt;h2 id="mcetoc_1jmssh0pr5"&gt;Visual Feedback Through Light&lt;/h2&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;To make the skull&amp;rsquo;s perception visible, Clem embedded a NeoPixel LED ring into the eye socket. This acts as a direct, intuitive readout of what the system thinks it sees. When a human is detected, the LEDs glow green; laptops and keyboards are shown in red. The number of illuminated LEDs represents confidence, turning abstract probabilities into something immediately readable at a glance. &lt;a href="https://avtincgbr-my.sharepoint.com/personal/christopher_stanton_avnet_com/Documents/Microsoft%20Copilot%20Chat%20Files/blog.txt" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;[blog | Txt]&lt;/a&gt;, &lt;a href="https://avtincgbr-my.sharepoint.com/personal/christopher_stanton_avnet_com/Documents/Microsoft%20Copilot%20Chat%20Files/transcript.txt" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;[transcript | Txt]&lt;/a&gt;&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;There is also an alternative mode where individual LEDs represent individual detections, effectively turning the skull into a live object counter. Additional, less certain detections are shown in blue. This dual‑mode approach makes the skull not just reactive, but informative&amp;mdash;useful during development and strangely expressive during operation. &lt;a href="https://avtincgbr-my.sharepoint.com/personal/christopher_stanton_avnet_com/Documents/Microsoft%20Copilot%20Chat%20Files/blog.txt" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;[blog | Txt]&lt;/a&gt;, &lt;a href="https://avtincgbr-my.sharepoint.com/personal/christopher_stanton_avnet_com/Documents/Microsoft%20Copilot%20Chat%20Files/transcript.txt" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;[transcript | Txt]&lt;/a&gt;&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;Getting this working on a Raspberry Pi 5 was not straightforward. Standard NeoPixel libraries no longer behave as expected due to changes in how the Pi 5 handles GPIO. Clem had to adopt an SPI‑based approach instead, which brings faster communication but also introduces its own constraints. &lt;a href="https://avtincgbr-my.sharepoint.com/personal/christopher_stanton_avnet_com/Documents/Microsoft%20Copilot%20Chat%20Files/blog.txt" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;[blog | Txt]&lt;/a&gt;, &lt;a href="https://avtincgbr-my.sharepoint.com/personal/christopher_stanton_avnet_com/Documents/Microsoft%20Copilot%20Chat%20Files/transcript.txt" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;[transcript | Txt]&lt;/a&gt;&lt;/div&gt;
&lt;hr /&gt;
&lt;h2 id="mcetoc_1jmssh0pr6"&gt;Building Inside the Head&lt;/h2&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;One of the quiet successes of this revision is physical integration. Clem managed to fit all processing hardware inside the skull itself; the only external component is the power supply in the base. Two hardware switches allow the system and motors to be powered independently, making it easy to shut everything down if the skull starts doing something it shouldn&amp;rsquo;t. &lt;a href="https://avtincgbr-my.sharepoint.com/personal/christopher_stanton_avnet_com/Documents/Microsoft%20Copilot%20Chat%20Files/transcript.txt" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;[transcript | Txt]&lt;/a&gt;&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;The servo control hardware was assembled by hand using breadboards and prototyping board, with modified headers to ensure reliable connections. It&amp;rsquo;s not elegant, but it&amp;rsquo;s practical&amp;mdash;and emblematic of the project as a whole. &lt;a href="https://avtincgbr-my.sharepoint.com/personal/christopher_stanton_avnet_com/Documents/Microsoft%20Copilot%20Chat%20Files/transcript.txt" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;[transcript | Txt]&lt;/a&gt;&lt;/div&gt;
&lt;hr /&gt;
&lt;h2 id="mcetoc_1jmssh0pr7"&gt;A More Thoughtful Kind of AI&lt;/h2&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;An interesting shift Clem observes is what modern vision models &lt;em&gt;don&amp;rsquo;t&lt;/em&gt; do. Older examples often focused on profiling people&amp;mdash;age, gender, facial attributes. The current ecosystem avoids this entirely, focusing instead on object and pose detection. Clem believes this is a deliberate move toward privacy‑conscious design, and ultimately a more useful direction for real projects. &lt;a href="https://avtincgbr-my.sharepoint.com/personal/christopher_stanton_avnet_com/Documents/Microsoft%20Copilot%20Chat%20Files/transcript.txt" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;[transcript | Txt]&lt;/a&gt;&lt;/div&gt;
&lt;hr /&gt;
&lt;h2 id="mcetoc_1jmssh0pr8"&gt;Conclusion: Smaller, Smarter, and Still Uncomfortable&lt;/h2&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;The rebuilt animatronic skull is not a leap toward conversational artificial intelligence, but it is a clear demonstration of how far edge‑based AI vision has come. On relatively inexpensive, compact hardware, the system can see, decide, react, and communicate its intent in real time. &lt;a href="https://avtincgbr-my.sharepoint.com/personal/christopher_stanton_avnet_com/Documents/Microsoft%20Copilot%20Chat%20Files/blog.txt" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;[blog | Txt]&lt;/a&gt;, &lt;a href="https://avtincgbr-my.sharepoint.com/personal/christopher_stanton_avnet_com/Documents/Microsoft%20Copilot%20Chat%20Files/transcript.txt" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;[transcript | Txt]&lt;/a&gt;&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;It is smoother, more capable, and more expressive than the original&amp;mdash;and still deeply unsettling. Clem may joke that &amp;ldquo;maybe it wasn&amp;rsquo;t the best idea to build that,&amp;rdquo; but as a demonstration of modern AI vision, it succeeds precisely because it makes people uneasy. After all, anything that can watch you this closely probably should.&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;Supporting Links and Files&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;-&amp;nbsp;&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;
&lt;p&gt;&lt;/p&gt;
&lt;h3 id="mcetoc_1jmst8o9b9"&gt;Bill of Materials&lt;/h3&gt;
&lt;p&gt;&lt;/p&gt;
&lt;table class="e14-product-bom-main"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;th&gt;Product Name&lt;/th&gt;
&lt;th&gt;Manufacturer&lt;/th&gt;
&lt;th&gt;Quantity&lt;/th&gt;
&lt;th&gt;&lt;a id="e14-product-link-d0759" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=4256000,4531089,4568687&amp;nsku=81AK1348,11AM9747,20AM0876&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_BUY_KIT" class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('d0759'));" data-farnell="4256000,4531089,4568687" data-newark="81AK1348,11AM9747,20AM0876" data-comoverride="" data-cmpoverride="" data-cpc=",," data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Kit&lt;/a&gt; &lt;/th&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Raspberry pi 5&lt;/td&gt;
&lt;td&gt;Raspberry Pi&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;&lt;a id="e14-product-link-4e4fe" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=4256000&amp;nsku=81AK1348&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('4e4fe'));" data-farnell="4256000" data-newark="81AK1348" data-comoverride="" data-cmpoverride="" data-cpc="undefined" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;RPI Ai camera&lt;/td&gt;
&lt;td&gt;Raspberry Pi&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;&lt;a id="e14-product-link-74142" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=4531089&amp;nsku=11AM9747&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('74142'));" data-farnell="4531089" data-newark="11AM9747" data-comoverride="" data-cmpoverride="" data-cpc="undefined" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Raspberry Pi AI HAT+ Add-On Board, Raspberry Pi 5 Boards, 26TOPS, with Built-In Hailo AI Accelerator&lt;/td&gt;
&lt;td&gt;Raspberry Pi&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;&lt;a id="e14-product-link-d5647" data-at-areainteracted="rte-content" data-at-type="click" data-at-link-type="button" href="https://referral.element14.com/OrderCodeView?fsku=4568687&amp;nsku=20AM0876&amp;COM=e14c-noscript&amp;CMP=e14c-noscript&amp;osetc=e14-noscript-tracking-loss" data-at-label="PRODUCT_POPUP_OPEN"class="e14-embedded e14_shopping-cart-far e14-button" onclick="event.preventDefault();e14.func.displayProduct(e14.meta.user.country, this, 'embedded-link', e14.func.getProductLinkJSON('d5647'));" data-farnell="4568687" data-newark="20AM0876" data-comoverride="" data-cmpoverride="" data-cpc="undefined" data-avnetemea="" data-avnetema="" data-avnetasia="" &gt;Buy Now&lt;/a&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr class="xs-hide"&gt;
&lt;td&gt;&amp;nbsp;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;
</description></item><item><title>Modern Edge AI on Raspberry Pi 5 for an Animatronic Tracker: Vision Acceleration with AI Hat+ and AI Camera</title><link>https://community.element14.com/challenges-projects/element14-presents/project-videos/w/documents/72059/modern-edge-ai-on-raspberry-pi-5-for-an-animatronic-tracker-vision-acceleration-with-ai-hat-and-ai-camera/revision/1</link><pubDate>Thu, 23 Apr 2026 09:43:05 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:8fd32bda-d7c0-4c37-97ba-7d8a3ae548ff</guid><dc:creator>cstanton</dc:creator><comments>https://community.element14.com/challenges-projects/element14-presents/project-videos/w/documents/72059/modern-edge-ai-on-raspberry-pi-5-for-an-animatronic-tracker-vision-acceleration-with-ai-hat-and-ai-camera#comments</comments><description>Revision 1 posted to Documents by cstanton on 4/23/2026 9:43:05 AM&lt;br /&gt;

&lt;div&gt;
&lt;h2&gt;Revisiting an Unsettling Classic: The AI Animatronic Skull Returns&lt;/h2&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;In 2018, Clem built what could only be described as an early warning from the future: a Terminator‑style animatronic skull powered by a BeagleBone‑AI. At the time, it was one of the first hobbyist projects to take on-device AI seriously, using machine vision to detect people and follow them with unnerving intent. It was limited, experimental, and deeply uncomfortable to be alone with&amp;mdash;exactly what a robotic skull should be. &lt;a href="https://avtincgbr-my.sharepoint.com/personal/christopher_stanton_avnet_com/Documents/Microsoft%20Copilot%20Chat%20Files/blog.txt" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;[blog | Txt]&lt;/a&gt;, &lt;a href="https://avtincgbr-my.sharepoint.com/personal/christopher_stanton_avnet_com/Documents/Microsoft%20Copilot%20Chat%20Files/transcript.txt" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;[transcript | Txt]&lt;/a&gt;&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;Several years on, AI hardware for single‑board computers has advanced significantly. Rather than assume progress on paper translated to progress in practice, Clem chose to rebuild the skull from the ground up, using modern Raspberry Pi&amp;ndash;based AI hardware to answer a simple question: &lt;em&gt;how far have we really come&amp;mdash;and is it any more terrifying this time?&lt;/em&gt; &lt;a href="https://avtincgbr-my.sharepoint.com/personal/christopher_stanton_avnet_com/Documents/Microsoft%20Copilot%20Chat%20Files/transcript.txt" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;[transcript | Txt]&lt;/a&gt;&lt;/div&gt;
&lt;hr /&gt;
&lt;h2&gt;New Hardware, Old Questions&lt;/h2&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;The updated skull replaces the original compute platform with a Raspberry Pi 5, paired with two different AI accelerators: the Raspberry Pi AI Camera and the AI Hat+, capable of up to 26 TOPS. The intent was ambitious. Clem wanted to explore whether modern edge AI could support both fast, responsive machine vision &lt;em&gt;and&lt;/em&gt; natural language interaction in a single embedded system.&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;That experiment quickly revealed a hard boundary. While the AI Hat+ and AI Camera dramatically accelerate vision workloads, they provide no meaningful benefit for language models. Clem explains that even very small language models still take seconds to respond when run locally, making real-time interaction impractical:&lt;/div&gt;
&lt;blockquote&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;&amp;ldquo;I tried running Tiny Llama on there&amp;hellip; and even that takes some considerable seconds. So it&amp;rsquo;s not like you can talk to the machine and it answers back in a natural way.&amp;rdquo; &lt;a href="https://avtincgbr-my.sharepoint.com/personal/christopher_stanton_avnet_com/Documents/Microsoft%20Copilot%20Chat%20Files/transcript.txt" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;[transcript | Txt]&lt;/a&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;For now, conversational AI remains out of reach on this class of hardware. Vision, however, tells a very different story.&lt;/div&gt;
&lt;hr /&gt;
&lt;h2&gt;Why Vision Still Wins on the Edge&lt;/h2&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;Rather than treating this as a failure, Clem reframed the project around what edge AI already does exceptionally well. In his view, vision is currently the most practical application of AI on small systems&amp;mdash;grounded in the physical world and free from the abstractions and hallucinations of language models. &lt;a href="https://avtincgbr-my.sharepoint.com/personal/christopher_stanton_avnet_com/Documents/Microsoft%20Copilot%20Chat%20Files/transcript.txt" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;[transcript | Txt]&lt;/a&gt;&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;Both accelerators are strictly vision‑focused, but they behave very differently in practice. The AI Hat+ delivers significantly better performance, particularly for more complex object detection tasks, but it comes at a cost. It requires a Raspberry Pi 5, draws more power, and produces enough heat that cooling becomes a serious design consideration. Clem notes plainly that &amp;ldquo;cooling is of the greatest necessity,&amp;rdquo; and that the overall system power draw is non‑trivial. &lt;a href="https://avtincgbr-my.sharepoint.com/personal/christopher_stanton_avnet_com/Documents/Microsoft%20Copilot%20Chat%20Files/transcript.txt" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;[transcript | Txt]&lt;/a&gt;&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;By contrast, the Raspberry Pi AI Camera is far more power‑efficient, runs cool, and works across a wider range of boards. For simpler detection tasks&amp;mdash;such as presence detection, motion awareness, or checking whether a person has entered a space&amp;mdash;it can be the better engineering choice. &lt;a href="https://avtincgbr-my.sharepoint.com/personal/christopher_stanton_avnet_com/Documents/Microsoft%20Copilot%20Chat%20Files/blog.txt" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;[blog | Txt]&lt;/a&gt;, &lt;a href="https://avtincgbr-my.sharepoint.com/personal/christopher_stanton_avnet_com/Documents/Microsoft%20Copilot%20Chat%20Files/transcript.txt" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;[transcript | Txt]&lt;/a&gt;&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;The key takeaway is that these two accelerators are not interchangeable parts of a single pipeline. They rely on different model formats and workflows, and while both are capable, they are best treated as separate tools rather than a combined solution. &lt;a href="https://avtincgbr-my.sharepoint.com/personal/christopher_stanton_avnet_com/Documents/Microsoft%20Copilot%20Chat%20Files/transcript.txt" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;[transcript | Txt]&lt;/a&gt;&lt;/div&gt;
&lt;hr /&gt;
&lt;h2&gt;Teaching the Skull What to Care About&lt;/h2&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;With vision as the focus, the skull&amp;rsquo;s behaviour becomes far more intentional than in the original build. Instead of reacting to every detection, the system selects a single &amp;ldquo;object of interest&amp;rdquo; and commits to it. Humans are prioritised, but devices such as laptops and keyboards are also recognised and tracked when relevant.&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;Clem describes the selection criteria as simple but effective: the system focuses on the object it is most confident about&amp;mdash;the closest, largest, and clearest detection in view. Once chosen, the skull moves to keep that object centred in the frame, using pan and tilt servos to follow it smoothly. &lt;a href="https://avtincgbr-my.sharepoint.com/personal/christopher_stanton_avnet_com/Documents/Microsoft%20Copilot%20Chat%20Files/transcript.txt" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;[transcript | Txt]&lt;/a&gt;&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;Just as important is knowing when &lt;em&gt;not&lt;/em&gt; to move. The skull allows for a generous margin where the object can drift within the frame without triggering motion. This reduces constant jitter and gives the movement a more deliberate, lifelike quality. If nothing is detected, the skull recentres itself and waits. If something suddenly enters from the edge of the frame, it snaps to attention&amp;mdash;an effect Clem admits can be genuinely startling when you forget the system is running. &lt;a href="https://avtincgbr-my.sharepoint.com/personal/christopher_stanton_avnet_com/Documents/Microsoft%20Copilot%20Chat%20Files/transcript.txt" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;[transcript | Txt]&lt;/a&gt;&lt;/div&gt;
&lt;hr /&gt;
&lt;h2&gt;Mechanical Reality and Software Restraint&lt;/h2&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;No amount of AI can fully mask the physical realities of a handmade animatronic mechanism. Clem is candid about the skull&amp;rsquo;s construction: it is intentionally compliant, meaning it will give way if touched. This makes it safe&amp;mdash;there&amp;rsquo;s no risk of pinched fingers&amp;mdash;but it also introduces unavoidable jerkiness into the motion. &lt;a href="https://avtincgbr-my.sharepoint.com/personal/christopher_stanton_avnet_com/Documents/Microsoft%20Copilot%20Chat%20Files/transcript.txt" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;[transcript | Txt]&lt;/a&gt;&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;Rather than fight this in software, the system adapts to it. Movement smoothing, dead zones, and proportional control help reduce unnecessary corrections, but the AI ultimately learns to tolerate mechanical imperfection. The result is not polished in a cinematic sense, but it feels responsive and believable&amp;mdash;arguably more so because of its flaws.&lt;/div&gt;
&lt;hr /&gt;
&lt;h2&gt;Visual Feedback Through Light&lt;/h2&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;To make the skull&amp;rsquo;s perception visible, Clem embedded a NeoPixel LED ring into the eye socket. This acts as a direct, intuitive readout of what the system thinks it sees. When a human is detected, the LEDs glow green; laptops and keyboards are shown in red. The number of illuminated LEDs represents confidence, turning abstract probabilities into something immediately readable at a glance. &lt;a href="https://avtincgbr-my.sharepoint.com/personal/christopher_stanton_avnet_com/Documents/Microsoft%20Copilot%20Chat%20Files/blog.txt" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;[blog | Txt]&lt;/a&gt;, &lt;a href="https://avtincgbr-my.sharepoint.com/personal/christopher_stanton_avnet_com/Documents/Microsoft%20Copilot%20Chat%20Files/transcript.txt" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;[transcript | Txt]&lt;/a&gt;&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;There is also an alternative mode where individual LEDs represent individual detections, effectively turning the skull into a live object counter. Additional, less certain detections are shown in blue. This dual‑mode approach makes the skull not just reactive, but informative&amp;mdash;useful during development and strangely expressive during operation. &lt;a href="https://avtincgbr-my.sharepoint.com/personal/christopher_stanton_avnet_com/Documents/Microsoft%20Copilot%20Chat%20Files/blog.txt" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;[blog | Txt]&lt;/a&gt;, &lt;a href="https://avtincgbr-my.sharepoint.com/personal/christopher_stanton_avnet_com/Documents/Microsoft%20Copilot%20Chat%20Files/transcript.txt" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;[transcript | Txt]&lt;/a&gt;&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;Getting this working on a Raspberry Pi 5 was not straightforward. Standard NeoPixel libraries no longer behave as expected due to changes in how the Pi 5 handles GPIO. Clem had to adopt an SPI‑based approach instead, which brings faster communication but also introduces its own constraints. &lt;a href="https://avtincgbr-my.sharepoint.com/personal/christopher_stanton_avnet_com/Documents/Microsoft%20Copilot%20Chat%20Files/blog.txt" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;[blog | Txt]&lt;/a&gt;, &lt;a href="https://avtincgbr-my.sharepoint.com/personal/christopher_stanton_avnet_com/Documents/Microsoft%20Copilot%20Chat%20Files/transcript.txt" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;[transcript | Txt]&lt;/a&gt;&lt;/div&gt;
&lt;hr /&gt;
&lt;h2&gt;Building Inside the Head&lt;/h2&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;One of the quiet successes of this revision is physical integration. Clem managed to fit all processing hardware inside the skull itself; the only external component is the power supply in the base. Two hardware switches allow the system and motors to be powered independently, making it easy to shut everything down if the skull starts doing something it shouldn&amp;rsquo;t. &lt;a href="https://avtincgbr-my.sharepoint.com/personal/christopher_stanton_avnet_com/Documents/Microsoft%20Copilot%20Chat%20Files/transcript.txt" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;[transcript | Txt]&lt;/a&gt;&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;The servo control hardware was assembled by hand using breadboards and prototyping board, with modified headers to ensure reliable connections. It&amp;rsquo;s not elegant, but it&amp;rsquo;s practical&amp;mdash;and emblematic of the project as a whole. &lt;a href="https://avtincgbr-my.sharepoint.com/personal/christopher_stanton_avnet_com/Documents/Microsoft%20Copilot%20Chat%20Files/transcript.txt" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;[transcript | Txt]&lt;/a&gt;&lt;/div&gt;
&lt;hr /&gt;
&lt;h2&gt;A More Thoughtful Kind of AI&lt;/h2&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;An interesting shift Clem observes is what modern vision models &lt;em&gt;don&amp;rsquo;t&lt;/em&gt; do. Older examples often focused on profiling people&amp;mdash;age, gender, facial attributes. The current ecosystem avoids this entirely, focusing instead on object and pose detection. Clem believes this is a deliberate move toward privacy‑conscious design, and ultimately a more useful direction for real projects. &lt;a href="https://avtincgbr-my.sharepoint.com/personal/christopher_stanton_avnet_com/Documents/Microsoft%20Copilot%20Chat%20Files/transcript.txt" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;[transcript | Txt]&lt;/a&gt;&lt;/div&gt;
&lt;hr /&gt;
&lt;h2&gt;Conclusion: Smaller, Smarter, and Still Uncomfortable&lt;/h2&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;The rebuilt animatronic skull is not a leap toward conversational artificial intelligence, but it is a clear demonstration of how far edge‑based AI vision has come. On relatively inexpensive, compact hardware, the system can see, decide, react, and communicate its intent in real time. &lt;a href="https://avtincgbr-my.sharepoint.com/personal/christopher_stanton_avnet_com/Documents/Microsoft%20Copilot%20Chat%20Files/blog.txt" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;[blog | Txt]&lt;/a&gt;, &lt;a href="https://avtincgbr-my.sharepoint.com/personal/christopher_stanton_avnet_com/Documents/Microsoft%20Copilot%20Chat%20Files/transcript.txt" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;[transcript | Txt]&lt;/a&gt;&lt;/div&gt;
&lt;div class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;It is smoother, more capable, and more expressive than the original&amp;mdash;and still deeply unsettling. Clem may joke that &amp;ldquo;maybe it wasn&amp;rsquo;t the best idea to build that,&amp;rdquo; but as a demonstration of modern AI vision, it succeeds precisely because it makes people uneasy. After all, anything that can watch you this closely probably should.&lt;/div&gt;
&lt;/div&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;
</description></item></channel></rss>