ESP32-Powered Solar Lantern Creates Local Community Message Board
By
<h2>A Solarpunk Vision in Hardware</h2>
<p>Solarpunk envisions a future where technology serves communities, powered by renewable energy rather than corporate control. This philosophy inspired maker <strong>Victor Frost</strong> to build a compact, solar-powered device that looks like a lantern but secretly hosts a local webserver. <a href="#message-board">Jump to the message board feature</a> or explore the technical design below.</p><figure style="margin:20px 0"><img src="https://hackaday.com/wp-content/uploads/2026/05/solarpunk-esp32-web-e1777660183563.jpeg" alt="ESP32-Powered Solar Lantern Creates Local Community Message Board" style="width:100%;height:auto;border-radius:8px" loading="lazy"><figcaption style="font-size:12px;color:#666;margin-top:5px">Source: hackaday.com</figcaption></figure>
<h2 id="hardware-design">Hardware Design and Power</h2>
<p>At its core, the device uses an <strong>ESP32</strong> microcontroller paired with two 18650 lithium-ion cells. These batteries charge from a small solar panel (presumably 6W as mentioned later). The whole setup is housed in a lantern-like enclosure, blending form and function — it’s both a light source and a digital hub.</p>
<h3 id="solar-charging">Solar Charging and Battery Management</h3>
<p>The two 18650 cells ensure the device can operate even without direct sunlight, storing energy for nighttime or cloudy days. The solar panel connects via a charging circuit, making the entire system self-sufficient. This aligns with solarpunk’s emphasis on renewable energy.</p>
<h2 id="local-webserver">A Local Webserver for Community Interaction</h2>
<p>The device hosts a simple HTTP server, but it does <strong>not</strong> connect to the internet. Instead, it creates its own WiFi network. When users connect, they are greeted by a <a href="#captive-portal">captive portal</a> — similar to public WiFi login pages — which directs them to a community message board.</p>
<h3 id="captive-portal">Captive Portal as a Gateway</h3>
<p>By leveraging the ESP32’s captive portal functionality, anyone within a few meters can access the board without needing an internet connection. This design ensures the server remains local and private, perfect for small gatherings, community centers, or events.</p>
<h2 id="message-board">Unmoderated, Transparent, and Local</h2>
<p>The message board is <strong>unmoderated</strong> and <strong>unfiltered</strong> — users can post anything they like. However, physical proximity eliminates true anonymity, as posters are within range of the device. Victor likens it to a digital community corkboard, bringing the solarpunk ethos of trust and local interaction to the 21st century.</p>
<h2 id="technical-implementation">Technical Implementation: Firmware and Storage</h2>
<p>Under the hood, the ESP32’s flash memory is split into three partitions: one for user data (posts), and two for firmware images. This allows for <strong>live updates</strong> without downtime, as one partition runs while the other is updated, with a known-good backup for quick rollback if needed.</p><figure style="margin:20px 0"><img src="https://hackaday.com/wp-content/uploads/2026/05/solarpunk-esp32-web-e1777660183563.jpeg?w=800" alt="ESP32-Powered Solar Lantern Creates Local Community Message Board" style="width:100%;height:auto;border-radius:8px" loading="lazy"><figcaption style="font-size:12px;color:#666;margin-top:5px">Source: hackaday.com</figcaption></figure>
<h3 id="filesystem">LittleFS for Data Management</h3>
<p>Victor uses <strong>LittleFS</strong> for the data partition, a lightweight filesystem optimized for flash storage. This enables efficient reading and writing of messages.</p>
<h3 id="ui-design">UI: A Single String in PROGMEM</h3>
<p>An unorthodox choice: the entire user interface — HTML, CSS, and JavaScript — is stored as a single string in the ESP32’s <strong>PROGMEM</strong> memory, rather than as separate files in the filesystem. This simplifies updates, as firmware and UI are bundled together. It’s a trade-off that may not suit everyone, but it works well for Victor’s single-purpose device.</p>
<h2 id="open-source">Open Source and Community Ethos</h2>
<p>The project is fully open-source, with code available on <strong>GitHub under the GPL license</strong>. This reflects the strong overlap between the open-source movement and solarpunk values — sharing, collaboration, and empowerment of local communities.</p>
<h2 id="conclusion">A Missed Contest but a Successful Project</h2>
<p>Victor created this device before Hackaday’s Green Powered Challenge, but it would have been a perfect fit for the photovoltaic category given its 6W solar panel. Yet the maker community welcomes projects of all kinds, and this lantern-inspired message board is a wonderful example of how technology can foster local, solar-powered interactions.</p>
<p>For those inspired to build their own, the source code and design details are readily available. As Victor demonstrates, you don’t need a global network — sometimes the best connections are the ones within arm’s reach.</p>
Tags: