Launching a website on a UDOO KEY (Pi Pico + ESP32 2 in 1)

2024-03-27

I've built and hosted this entire website on a UDOO KEY 2-in-1 Microcontroller, which I had pre-ordered a while back...

Pledge date

...only to forget about it. But come 7th September, it arrived. With no specific plans in mind, I decided to craft this website for kicks.

The Motivation

Why not? It’s a quirky yet fun way to utilize this microcontroller, given I had no other immediate use for it. I might temporarily or permanently take down this site in the future to experiment with the board further. Plus, it served as a nice pretext to delve into some C++ and lower-level programming, though I sidestepped that a bit by employing Go for the Pi Pico. It's also the first time in a while which I've developed a site with no requirement to run javascript.

The Methodology

This site is engineered as two distinct programs interacting via the serial channel. On one side, the ESP32 handles caching and web serving, coded in Arduino C++ with PlatformIO within CLion. On the other, the Pi Pico houses the website, scripted in Go using Goland. The source code is accessible here [ESP32, C++] and here [Pi Pico, TinyGo].

Get it... the website is stupidly small in many ways :D. Another silly project from CADawg. PGP + Find me elsewhere.

This website is hosted on a UDOO KEY 2-in-1 Microcontroller. Served fresh for you at 2024-10-04 16:51:08. This page was served from ESP32 (Cached) - Cached at 2024-10-04 16:51:07.