diff --git a/content/blog/wk3day5.md b/content/blog/wk3day5.md index c8e2f49..c9e5611 100644 --- a/content/blog/wk3day5.md +++ b/content/blog/wk3day5.md @@ -1,7 +1,86 @@ --- -title: "Week 3, Friday:" +title: "Week 3, Friday: ESP32 Ethernet and Thai Food Festival" date: 2024-08-16T21:55:00+02:00 -draft: true --- {{< image frame="true" width="17em" float="right" src="/img/headline/ixosound.png" alt="Credit: Ixo Sound, Youtube" >}} + +I have only two goals for the day. Firstly, I need to write my journal entry for yesterday, as I was +a little bit too tired to write lucid text. I went to bed at only 22:30 or so, and got up this +morning at 09:30, so I'll make up for lost time and write the artical for yesterday, today. Then, +something cool came in the mail today: a set of ESP32 (Wroom) microcontrollers with a builtin +Ethernet PHY. I shall play with them in the afternoon using an old friend: Mongoose OS which is +based on FreeRTOS and ESP-IDF, a surprisingly complete little microcontroller OS. I used to be very +active in this community, and may still have my commit-bit set on GitHub. + +The first task is pretty quickly retrofitted - I may make it a habit to write the journal in the +next morning, as often times later at night I'm sleepy (this is somewhat out of character for me, as +normally I will go to bed at 02:00 or 03:00 even, but these last few days I've been tired in the +evenings. Interesting! + +I make myself fried eggs for lunch, and eat a bowl of the ramen I had left over from yesterday. +Then, I roll up my sleeves, go downstairs and get ready to design the PDU. I may write more about +the in-depth technical bits on my [[IPng.ch](https://ipng.ch/)] articles, but for now, I just start +with the basics: + +1. A front panel that has 16pcs of 220V C13 connector, in two groups (feed A on the left, and feed + B on the right). +1. A rear panel that has 2pcs of 220V input, 2pcs 10Amp fuse, and a power switch and cutout for the + ESP32's ethernet RJ45 port. +1. Some plumbing on the inside to keep the low voltage and 220V lines through a modbus enabled 16 + channel ammeter. +1. A firmware based on Mongoose OS that supports WiFi, Ethernet, mDNS, RPC, OTA and Prometheus. + +For the 3D printed parts, it's all relatively simple (flat) geometry. It reminds me that at some +point, I will stop 3D printing 2D parts, but rather buy a laser cutter so I can do some etching, +engraving and cutting through materials like wood, acrylic and so on. But that will be for another +day - I have the 3D printer, so I'm going to use the tools that I already have! + +I have a lot of fun hacking on this little thing. There's something about the juxtaposition of +having a datacenter scale day job where petabytes is the norm, and then going back home to program a +firmware on a microcontroller with 80KB of ram and 1MB of flash. I'm lucky on this Wroom32, as it +has a whopping 200KB of RAM and 8MB of flash - I will have plenty of room to spare, and already look +forward to writing some code for it. + +But, we have a date tonight! At 17:30, Max and Betty will pick us up as we're going to Bülach +for the [[Thai Food Festival](https://www.thaifoodfestival.ch/)]. It's an amazing ambiance, and we +also bump in to Uli and Christine, who scurry off into a quieter corner of the fairgrounds. Quinn +and I kind of wished we joined them, because the music is a bit loud; so we decide to take a walk +around the festival, then outside of it through the quaint town of Bülach, and eventually we +rejoin the group. + +At about 21:15 we are all fed and watered and take off back to Brüttisellen. Thanks for a great +evening, Betty and Max! Quinn wants to spend some time with his friends, and Marina and I watch a +few more episodes of _Coppers_, the flemish police series. They do solve the crimes every time +(da-doi!) but there is a red thread that connects the episodes throughout the series. I won't give +it away :) + +At about 23:00 Marina turns in for the night and I go downstairs to do "Part B" of "Goal 1", which +is write the article for today. Then, I also do a bit of a stress test on my firmware so far -- I've +loaded it up with OTA (where 'air' here means over the Ethernet connection!) and Prometheus, and +am hitting it over the ethernet controller at 10Hz on its `/metrics` endpoint. So far, so good: no +leaks of memory, CPU, brownouts, packetlo\_ or other undesirables. Tomorrow, I'll continue with the +physical parts (routing 220V cables) and 3D print the supporting guides and brackets for the casing. + +To celebrate the day, I pour myself a _Nardini_ white Grappa and print a few test parts, before +turning in for the night. The Grappa does surprise me a little bit because the first taste I have is +_liquorice_ and ths econd sensation is _100-Proof_, and I quite enjoy the glass, or maybe two. + + +## Pictures of the Day + +{{< gallery-category >}} + {{< gallery-photo fn="2024-08-16/IMG_0679.JPG" caption="A picture of a WT32-ETH01 module with Wroom32 and 100Mbit Ethernet PHY. It pings!" >}} + {{< gallery-photo fn="2024-08-16/IMG_0682.JPG" caption="Max and I are at the Thai food street festival" >}} + {{< gallery-photo fn="2024-08-16/IMG_0683.JPG" caption="We have tasty trinks (lemongrass+honey, and berry+dates)" >}} + {{< gallery-photo fn="2024-08-16/IMG_0684.JPG" caption="THe food festival in Bülach is happening!" >}} + {{< gallery-photo fn="2024-08-16/IMG_0685.JPG" caption="We order and nom on a spicy noodle soup, mie and fried rice" >}} + {{< gallery-photo fn="2024-08-16/IMG_0686.JPG" caption="Quinn and I take a walk and find this guy" >}} + {{< gallery-photo fn="2024-08-16/IMG_0688.JPG" caption="This chef is pumping out dishes at one per minute, and they are all made-to-order. Amazing!" >}} + {{< gallery-photo fn="2024-08-16/IMG_0689.JPG" caption="Quinn and I are being welcomed to Thailand" >}} + {{< gallery-photo fn="2024-08-17/IMG_0690.JPG" caption="I 3D printed a case for the ESP32 device, which will sit in a PDU" >}} + {{< gallery-photo fn="2024-08-16/espidf.png" caption="The WT32-ETH01 modules come pre-flashed with a working ESP-IDF firmware. I'm reflashing them with a Mongoose OS app though, more on that later!" >}} +{{< /gallery-category >}} + +{{< gallery-modal >}} +{{< gallery-script >}} diff --git a/content/blog/wk4day4.md b/content/blog/wk4day4.md index 707f771..f576e2d 100644 --- a/content/blog/wk4day4.md +++ b/content/blog/wk4day4.md @@ -4,4 +4,4 @@ date: 2024-08-22T21:55:00+02:00 draft: true --- -{{< image frame="true" width="17em" float="right" src="/img/headline/bassementcrew.png.png" alt="Credit: Basement Crew, Youtube" >}} +{{< image frame="true" width="17em" float="right" src="/img/headline/bassementcrew.png" alt="Credit: Basement Crew, Youtube" >}} diff --git a/content/blog/wk4day7.md b/content/blog/wk4day7.md index b985eda..6478d7e 100644 --- a/content/blog/wk4day7.md +++ b/content/blog/wk4day7.md @@ -4,4 +4,4 @@ date: 2024-08-25T21:55:00+02:00 draft: true --- -{{< image frame="true" width="17em" float="right" src="/img/headline/todo.png" alt="Credit: " >}} +{{< image frame="true" width="17em" float="right" src="/img/headline/deepbest.png" alt="Credit: Deep Best, Youtube" >}} diff --git a/content/blog/wk5day1.md b/content/blog/wk5day1.md index ef2226d..289e654 100644 --- a/content/blog/wk5day1.md +++ b/content/blog/wk5day1.md @@ -4,4 +4,4 @@ date: 2024-08-26T21:55:00+02:00 draft: true --- -{{< image frame="true" width="17em" float="right" src="/img/headline/todo.png" alt="Credit: " >}} +{{< image frame="true" width="17em" float="right" src="/img/headline/jungletone.png" alt="Credit: Jungle Tone, Youtube" >}} diff --git a/content/gallery.md b/content/gallery.md index 4167b1f..ccb7c49 100644 --- a/content/gallery.md +++ b/content/gallery.md @@ -208,6 +208,16 @@ menu: {{< gallery-photo fn="2024-08-15/IMG_0666.JPG" caption="We watch Coppers, a belgian crimescene investigation series. It's OK, so far!" >}} {{< gallery-photo fn="2024-08-15/IMG_0667.JPG" caption="The frogs have cornered the two sharks, who are fearing for their life." >}} {{< gallery-photo fn="2024-08-15/IMG_0668.JPG" caption="The frogs have consumed the magic mushrooms, and obliterated one shark, and half of the other one! Look at them gooooo!!" >}} + {{< gallery-photo fn="2024-08-16/IMG_0679.JPG" caption="A picture of a WT32-ETH01 module with Wroom32 and 100Mbit Ethernet PHY. It pings!" >}} + {{< gallery-photo fn="2024-08-16/IMG_0682.JPG" caption="Max and I are at the Thai food street festival" >}} + {{< gallery-photo fn="2024-08-16/IMG_0683.JPG" caption="We have tasty trinks (lemongrass+honey, and berry+dates)" >}} + {{< gallery-photo fn="2024-08-16/IMG_0684.JPG" caption="THe food festival in Bülach is happening!" >}} + {{< gallery-photo fn="2024-08-16/IMG_0685.JPG" caption="We order and nom on a spicy noodle soup, mie and fried rice" >}} + {{< gallery-photo fn="2024-08-16/IMG_0686.JPG" caption="Quinn and I take a walk and find this guy" >}} + {{< gallery-photo fn="2024-08-16/IMG_0688.JPG" caption="This chef is pumping out dishes at one per minute, and they are all made-to-order. Amazing!" >}} + {{< gallery-photo fn="2024-08-16/IMG_0689.JPG" caption="Quinn and I are being welcomed to Thailand" >}} + {{< gallery-photo fn="2024-08-17/IMG_0690.JPG" caption="I 3D printed a case for the ESP32 device, which will sit in a PDU" >}} + {{< gallery-photo fn="2024-08-16/espidf.png" caption="The WT32-ETH01 modules come pre-flashed with a working ESP-IDF firmware. I'm reflashing them with a Mongoose OS app though, more on that later!" >}} {{< /gallery-category >}} ### Playing with OBS sound (August 8th) diff --git a/static/img/fullsize/2024-08-16/IMG_0679.JPG b/static/img/fullsize/2024-08-16/IMG_0679.JPG new file mode 100644 index 0000000..432108a --- /dev/null +++ b/static/img/fullsize/2024-08-16/IMG_0679.JPG @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dd027c1eb8c1a39651c993b1f09542da1bb63567a245e1482c2d284ec34f1e68 +size 1322414 diff --git a/static/img/fullsize/2024-08-16/IMG_0682.JPG b/static/img/fullsize/2024-08-16/IMG_0682.JPG new file mode 100644 index 0000000..0719be3 --- /dev/null +++ b/static/img/fullsize/2024-08-16/IMG_0682.JPG @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ce60a79cb94bf93835265cf06a2578f90b1d0d3c8bcdfe946377b4b06dfd337c +size 1461065 diff --git a/static/img/fullsize/2024-08-16/IMG_0683.JPG b/static/img/fullsize/2024-08-16/IMG_0683.JPG new file mode 100644 index 0000000..4ce90a0 --- /dev/null +++ b/static/img/fullsize/2024-08-16/IMG_0683.JPG @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4d9415d7e97e033bf2e195234cf87c97f364ee466511f2fb904e8b8067391154 +size 1128136 diff --git a/static/img/fullsize/2024-08-16/IMG_0684.JPG b/static/img/fullsize/2024-08-16/IMG_0684.JPG new file mode 100644 index 0000000..d653493 --- /dev/null +++ b/static/img/fullsize/2024-08-16/IMG_0684.JPG @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6ffe1de94fedfe80f5bf14ed27aaf440fdd0a40dfd6d12deb0535c27ae3d2883 +size 1709340 diff --git a/static/img/fullsize/2024-08-16/IMG_0685.JPG b/static/img/fullsize/2024-08-16/IMG_0685.JPG new file mode 100644 index 0000000..077c4fe --- /dev/null +++ b/static/img/fullsize/2024-08-16/IMG_0685.JPG @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e2dd1908ced1d444aad1c475289ac83ee153a44b13159a60047daa40fa0219b1 +size 1386731 diff --git a/static/img/fullsize/2024-08-16/IMG_0686.JPG b/static/img/fullsize/2024-08-16/IMG_0686.JPG new file mode 100644 index 0000000..93c4e69 --- /dev/null +++ b/static/img/fullsize/2024-08-16/IMG_0686.JPG @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f31a2a791f62fe8fff16117ba41ea7b3f35343c529494f44d54dd87550db8ee0 +size 2207101 diff --git a/static/img/fullsize/2024-08-16/IMG_0688.JPG b/static/img/fullsize/2024-08-16/IMG_0688.JPG new file mode 100644 index 0000000..515d3f0 --- /dev/null +++ b/static/img/fullsize/2024-08-16/IMG_0688.JPG @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:33f1933d089b8219e3027f9e92c691eb53226ae2655f5d5f7ca0c64abefd0137 +size 1788947 diff --git a/static/img/fullsize/2024-08-16/IMG_0689.JPG b/static/img/fullsize/2024-08-16/IMG_0689.JPG new file mode 100644 index 0000000..e213c4c --- /dev/null +++ b/static/img/fullsize/2024-08-16/IMG_0689.JPG @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0b9d28241136ace78e540948eb4ef8001d57a32b43881e11dfec6edf09498fd5 +size 1376560 diff --git a/static/img/fullsize/2024-08-16/espidf.png b/static/img/fullsize/2024-08-16/espidf.png new file mode 100644 index 0000000..690b8ea --- /dev/null +++ b/static/img/fullsize/2024-08-16/espidf.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6070a91d5c96bc9096465eb8a8c0d9c4c1d30f19532b4766b48abab0bd597792 +size 1849487 diff --git a/static/img/fullsize/2024-08-17/IMG_0690.JPG b/static/img/fullsize/2024-08-17/IMG_0690.JPG new file mode 100644 index 0000000..2a58ee8 --- /dev/null +++ b/static/img/fullsize/2024-08-17/IMG_0690.JPG @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:01d86ba0ad482d58cadd5481673179d7615f64a9a39a3fa2312bc8422f58298f +size 1135719 diff --git a/static/img/headline/deepbest.png b/static/img/headline/deepbest.png new file mode 100644 index 0000000..6b78877 --- /dev/null +++ b/static/img/headline/deepbest.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ae6828564027c1b6d3966f213f98789b4d23bf7ac6fcb483ed02e0741b15fca2 +size 148945 diff --git a/static/img/headline/jungletone.png b/static/img/headline/jungletone.png new file mode 100644 index 0000000..b6e69b8 --- /dev/null +++ b/static/img/headline/jungletone.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:90a9c66b451353879436d282c3784fa88d6857ecaf67ac86a44c83e6bee373ce +size 120765 diff --git a/static/img/thumbnails/2024-08-16/IMG_0679.JPG b/static/img/thumbnails/2024-08-16/IMG_0679.JPG new file mode 100644 index 0000000..5f12f84 --- /dev/null +++ b/static/img/thumbnails/2024-08-16/IMG_0679.JPG @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e243874afa184ecf1a7c7d1726c96d889a12e4718ceed9e6797beabc788a4645 +size 49431 diff --git a/static/img/thumbnails/2024-08-16/IMG_0682.JPG b/static/img/thumbnails/2024-08-16/IMG_0682.JPG new file mode 100644 index 0000000..560f815 --- /dev/null +++ b/static/img/thumbnails/2024-08-16/IMG_0682.JPG @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:89294ab6601128b75f57b2566c76497afa9365b4aac7bf06d338a2024aa1f9fd +size 59229 diff --git a/static/img/thumbnails/2024-08-16/IMG_0683.JPG b/static/img/thumbnails/2024-08-16/IMG_0683.JPG new file mode 100644 index 0000000..47f09ab --- /dev/null +++ b/static/img/thumbnails/2024-08-16/IMG_0683.JPG @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4643711c33a52e4d417f4ad02bcc05ab945f9018e11e232114834d53be8fd702 +size 42979 diff --git a/static/img/thumbnails/2024-08-16/IMG_0684.JPG b/static/img/thumbnails/2024-08-16/IMG_0684.JPG new file mode 100644 index 0000000..5ee5225 --- /dev/null +++ b/static/img/thumbnails/2024-08-16/IMG_0684.JPG @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5ffa0a6254ccb6519461892162efaf83f9a6c30275fdab5f70ea62699afa2873 +size 64259 diff --git a/static/img/thumbnails/2024-08-16/IMG_0685.JPG b/static/img/thumbnails/2024-08-16/IMG_0685.JPG new file mode 100644 index 0000000..07f687d --- /dev/null +++ b/static/img/thumbnails/2024-08-16/IMG_0685.JPG @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2f92588a443cdd9394151c82aaafc68b59714189f803bcda7a2022006e274f94 +size 54968 diff --git a/static/img/thumbnails/2024-08-16/IMG_0686.JPG b/static/img/thumbnails/2024-08-16/IMG_0686.JPG new file mode 100644 index 0000000..a66f771 --- /dev/null +++ b/static/img/thumbnails/2024-08-16/IMG_0686.JPG @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:19ec3fe678b6d99c5cf64bad96ab72548b93d248f0ada448521b72d4c79c4e23 +size 64918 diff --git a/static/img/thumbnails/2024-08-16/IMG_0688.JPG b/static/img/thumbnails/2024-08-16/IMG_0688.JPG new file mode 100644 index 0000000..b66afe2 --- /dev/null +++ b/static/img/thumbnails/2024-08-16/IMG_0688.JPG @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e8590a2365bd9bc4c9fab8091cc33c8b890a5d792556a1c52766d9a4b8ee8b86 +size 66482 diff --git a/static/img/thumbnails/2024-08-16/IMG_0689.JPG b/static/img/thumbnails/2024-08-16/IMG_0689.JPG new file mode 100644 index 0000000..55437ef --- /dev/null +++ b/static/img/thumbnails/2024-08-16/IMG_0689.JPG @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:47532145d8e18718b3c6687f212b77dbdc6c68035155676149c5a68a812f05fe +size 58659 diff --git a/static/img/thumbnails/2024-08-16/espidf.png b/static/img/thumbnails/2024-08-16/espidf.png new file mode 100644 index 0000000..fe9d70e --- /dev/null +++ b/static/img/thumbnails/2024-08-16/espidf.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:297697667f90fab743681fcbf5da33f14ea9639157bb4aeae83e422752781bf8 +size 109379 diff --git a/static/img/thumbnails/2024-08-17/IMG_0690.JPG b/static/img/thumbnails/2024-08-17/IMG_0690.JPG new file mode 100644 index 0000000..3c238a6 --- /dev/null +++ b/static/img/thumbnails/2024-08-17/IMG_0690.JPG @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9ed78c3a6901b3f07da49213438060a814cb97cad40df83a7718d4a08dfc44af +size 44666