Waveshare Eyes

After making the panda project I had ordered some Waveshare eyes because they were smaller and didnt want as much print time on the printer. The board has two round screens, one cable, and using an ESP32 create eyes that blink, look around, and change mood. This project uses the Waveshare 0.71 inch DualEye 0.71inch DualEye LCD Module programmed for a 38-pin ESP32-WROOM in the Arduino IDE. The Waveshare module is a single board with two 160×160 IPS circles. Each circle has its own GC9D01 controller. DIN, CLK, and DC are shared. Chip select, reset, and backlight are separate, so each eye can be started and rotated on its own.

What the eyes do

The pupils breathe, the gaze wanders, and the lids blink, including the occasional double blink. A phone can connect to the board’s Wi-Fi picks the eye design and the emotion. A button on GPIO 32 only walks through the emotions, because there is no dropdown on the glasses. The colors follow the 11-pin connector that comes with them and powers the module from the ESP32 3.3 V pin.

ColorDualEye pinESP32 GPIOWhat it does
RedVCC3V3Power
BlackGNDGNDGround
BrownDIN23SPI data
PurpleCLK18SPI clock
BlueCS15Eye 1 chip select, active low
GreenCS24Eye 2 chip select, active low
OrangeDC21Data or command
YellowRST122Eye 1 reset, active low
WhiteRST217Eye 2 reset, active low
BlackBL116Eye 1 backlight, on when high
GreyBL227Eye 2 backlight, on when high

The official Waveshare guide is written for an ESP32-C3 or ESP32-S3 Zero. Those GPIO numbers do not land on the same pins of a 38-pin dev board, so the table above is the one that matches this module on a WROOM. The optional button is a momentary switch from GPIO 32 to GND. The pin is held high inside the chip. Each press advances the emotion and leaves the eye type alone.

The driver

The sketch uses LovyanGFX. The panel class is named Panel_Round_GC9A01_071. The name says GC9A01. The init bytes are the 0.71 inch GC9D01 sequence: 0xFE / 0xEF, registers 0x80–0x8F, and pixel format 0x05. That matches the sequence Waveshare ships in their TFT_eSPI demo, and it matches the GC9D01N datasheet: 160×160, SPI, RGB565. Upload from the Arduino IDE with the board set to ESP32 Dev Module, after the ESP32 board package and LovyanGFX are installed.

The phone page

After the eyes are up, the board opens an open Wi-Fi network named Eyes. There is no password. Join it and open http://192.168.4.1. The phone has no internet while it is on that network.

The page has two controls. Eye type is the dropdown. Select an emotion is the grid of buttons under it. Changing the type redraws the iris, pupil, lids, shine, and gaze, and keeps the emotion you already chose. Changing the emotion keeps the type. Boot starts on Panda, with Normal eyes.

Twenty-one eye types

  • Panda is the default. Dark lids, a warm brown iris, a round pupil, and a white sclera with a soft edge shadow.
  • Pony is a glossy dark eye with a brown iris. The iris stays put and only the pupil looks around. A light arc sits on the glass. Joy is amber.
  • Cow and Glossy Yellow share one yellow glossy eye: a large yellow-green iris on a near-black sclera, a fixed iris, and the same arc.
  • Glossy Blue keeps that glossy shape and turns the iris cyan. Joy follows the iris.
  • Glossy Pink keeps the glossy shape and turns the iris pink. Joy follows the iris.
  • Hearts is a pink iris with a heart-shaped pupil and large catchlights.
  • Anime Blue is a tall blue iris, a vertical slit, big highlights, and a high upper lid.
  • Cat is a green-yellow iris, a narrow vertical slit, an orange lid, and long streaks through the iris.
  • Owl is an amber iris on a dark brown sclera, a slow gaze, and a longer blink.
  • Puppy is a brown iris with a sad tilt, a slightly closed upper lid, a raised lower lid, and large highlights.
  • Frog is a yellow-green sclera, a gold iris, and a wide horizontal pupil.
  • Robot is a small cyan iris on a dark blue sclera, a ring pupil, a short glow, flat lids, and fast blinks.
  • Cyborg is a small red iris, a ring pupil, a strong red glow, a half-closed upper lid, and a fast twitchy gaze.
  • Goat is a gold iris, a horizontal pupil, a cream sclera, and a slow gaze that often rests in the center.
  • Alien is a huge dark iris on a black sclera and a quick gaze.
  • Bloodshot is a red-tinted white with branching veins, a small green iris, heavy lids, and a restless gaze.
  • Vampire is a red iris, a vertical slit, a pale red sclera with veins, a purple lid, a small red glow, and an angry tilt.
  • Werewolf is a gold iris, a tiny round pupil, a cream sclera, a heavy angry tilt, and a partly closed upper lid. The gaze is fast.
  • Skeleton is a black sclera, a tiny red pupil, and a wide red glow. Blinks are rare.
  • Dragon is a huge orange iris, a very thin vertical slit, a dark red sclera, an orange glow, and a tilted upper lid.

Seventeen emotions

Normal eyes sits on the top row. Under it are Joy, In Love, Starstruck, K.O., Dizzy, Cheerful, Wink, Sad, Crying, Angry, Scared, Excited, Tired, Suspicious, Curious, and Shy.

Joy, In Love, Starstruck, K.O., and Dizzy replace the eyes with a symbol. On Pony, Glossy Blue, and Glossy Pink, the Joy mark uses that type’s color. The other emotions keep the eyes and move the lids, the pupils, and the gaze. A choice stays until the next press or the next tap.

Code

Can be found on my gitlab: https://gitlab.com/illwill/waveshare_eye

ESP32 3D Printed Panda with Animated LCD Eyes

One of my recent 3D printing projects was taking a cute panda model and giving it a little personality with a pair of animated LCD eyes. The project combines 3D printing, a couple of round LCD displays, and an ESP32 microcontroller to bring the panda to life. The eyes blink, look around, and can change expressions using a simple web interface accessible from your phone.

The project is based on the Cute Panda with Animated LCD Eyes (Multicolor) model by Meuwi on MakerWorld.The original model includes the animated LCD eye concept and accompanying code. I used that as the starting point and modified the electronics and software to run on a 38-pin ESP32-WROOM development board instead of the ESP32-C3. The result is a panda with two animated round displays that can show different expressions and movements.

Hardware and Components

The electronics are relatively straightforward. The project uses an ESP32 development board connected to two GC9A01 round LCD displays. Here’s what I used:

  • ESP32-WROOM 38-pin development board: The main controller responsible for running the animations and hosting the wireless interface.
  • Two GC9A01 240×240 round LCD displays: These serve as the panda’s animated eyes.
  • LovyanGFX library: Handles display initialization and graphics rendering.
  • Optional momentary push button: Allows cycling through expressions without using a phone.

Parts List

ComponentLink
ESP32-WROOM 38-pin development boardAmazon
GC9A01 240×240 round LCD displaysAmazon

Both displays share most of their connections to the ESP32. The only independent signal is Chip Select (CS), which allows the controller to address each eye separately. The wiring is as follows:

Display SignalESP32 GPIO
VCC (Both)3.3V
GND (Both)GND
SCL (Both)GPIO 18
SDA (Both)GPIO 23
DC (Both)GPIO 21
RST (Both)GPIO 22
Left CSGPIO 5
Right CSGPIO 4

Important: The displays must be powered from 3.3V, not 5V or VIN. Both displays share the ESP32’s 3.3V and ground connections.

Also, leave GPIO 6–11, GPIO 12, and GPIO 34, 35, 36, and 39 unused for this display configuration.

Rather than having the eyes constantly display the same animation, I added a Wi-Fi-based interface that allows you to change the panda’s expression directly from your phone. Once the ESP32 boots, it creates an open wireless network named Panda. Connect your phone to that network and navigate to:

http://192.168.4.1

A simple web page loads with a selection of expressions. Choose one, and the panda immediately changes its eyes without needing to upload another Arduino sketch. Available expressions include:

  • Joy
  • In Love
  • Starstruck
  • K.O.
  • Dizzy
  • Cheerful
  • Wink
  • Sad
  • Crying
  • Angry
  • Scared
  • Excited
  • Tired
  • Suspicious
  • Curious
  • Shy

There is also a normal eyes option. Some expressions replace the eyes with symbols, while others modify the eyelids, pupils, and gaze to create different emotions. The selected expression stays active until another one is chosen.

I also included support for an optional momentary push button. The button connects between GPIO 32 and GND. Pressing it cycles through the same list of expressions available through the web interface. This is optional and can be added later without changing the rest of the wiring.

The project runs using the Arduino IDE with the ESP32 board package and LovyanGFX library. The main project files are available on GitLab:

  • panda.ino – Main Arduino sketch.
  • LCD-Eye-Studio.html – Editor used to generate the original eye artwork.
  • Panda_LCD_Eyes_Guide.pdf – Guide accompanying the original studio export.

To get started:

  1. Install the ESP32 board package in Arduino IDE.
  2. Install the LovyanGFX library.
  3. Open panda.ino.
  4. Select ESP32 Dev Module as the board.
  5. Upload the sketch.

On startup, the displays perform a wiring test with different colored backgrounds and orientation markers. This makes it easier to identify display rotation or wiring issues before running the animations. I’ve published the project source code on GitLab so anyone interested can check it out, modify it, or use it as a starting point for their own build.

GitLab Repository: https://gitlab.com/illwill/panda The repository includes the Arduino sketch, the original eye editor, and additional project documentation.

This was a fun little project combining 3D printing, electronics, and programming. I particularly like the ability to change the panda’s expressions from a phone instead of having to reprogram the ESP32 every time I want a different look.

Using the ESP32-WROOM also leaves room for additional functionality down the road. It’s a good example of how you can take an existing 3D model and turn it into something a little more interactive with inexpensive hardware and some custom code.

Getting Back Into 3D Printing

It’s been a long time since I’ve really spent any time with 3D printing. Back around 10 years ago, when I was involved with my old hackerspace I was a co-founder of, NESIT (New England Society of Innovative Technology), 3D printing was one of those technologies that was exciting to experiment with, but it still felt like a fairly niche hobby. Fast forward about a decade, and things have changed quite a bit.

One of the biggest reasons I decided to get back into 3D printing is how inexpensive the hardware has become. You can now pick up a capable 3D printer for a fraction of what some of the older machines cost. I recently picked up a Flashforge AD5X for around $230 shipped through AliExpress, which made it pretty hard to justify not getting back into the hobby.The technology has also come a long way. Printers are more accessible, setup is easier, and multi-color printing opens up a lot of possibilities that would have required considerably more work in the past.

Another thing is how much better the online 3D modeling communities and repositories have become. Sites like Maker World make it incredibly easy to discover, download, and print designs created by other people. There are some seriously impressive projects available, ranging from practical household accessories and replacement parts to detailed collectibles, toys, gadgets, and just downright cool designs. It’s also interesting to see how much the community has evolved. Instead of having to design everything yourself or spend hours searching for usable models, there is now an enormous library of designs available at your fingertips.

Here’s gallery showing some of the newer designs I’ve done. The latest being the panda that I’ve combined with a ESP32-WROOM module to control its LCD eyes. Other are fidget clickers, lithographs, glow in the dark designs, NFC Nintendo carts and floppy keychains that open website URLs when you tap them to your phone.

Tastes like a penny

Have you ever heard of Home Depot penny items? If you’re into bargain hunting, clearance deals, or finding products for a fraction of their original price, this is something worth knowing about. Occasionally, products at Home Depot reach the end of their clearance cycle and are assigned a price of just $0.01 in the store’s inventory system. These are commonly referred to as penny items. But there’s a catch: these aren’t necessarily advertised clearance deals or promotions intended for customers.

Penny items are products that have reached a particular stage in the retailer’s inventory or clearance process. In some cases, these products are supposed to be pulled from store shelves and may be designated for return to the vendor, disposal, or other inventory handling procedures. However, sometimes products remain on shelves even after their status changes in the inventory system. That’s where things get interesting A product that was originally worth several dollars, or even significantly more, may show up with a one-cent price in the system. Finding one isn’t necessarily easy, and pricing and store policies can vary.

Finding these items can involve a combination of research, product identification, clearance tracking, and checking information across multiple sources. Rather than manually browsing individual listings and hoping to get lucky, I decided to take a more technical approach.

I put together this Python script that scrapes several websites and cross-references product information to help identify potential penny items. It then exports the results to both a HTML file and a Excel spreadsheet. The idea is to collect product data from multiple sources, correlate matching listings, and narrow down potential deals worth investigating. Some of the things this approach helps with include:

  • Collecting product information from multiple websites.
  • Comparing product listings across different sources.
  • Correlating product identifiers and matching products.
  • Identifying potential clearance opportunities.
  • Reducing the amount of manual searching required.

The script does the heavy lifting helping you figure out how to identify potential opportunities before spending hours walking through stores or manually searching websites with a billion pop-ups. For my friends in CT I’ve got the html here https://willgenovese.com/penny ill try to update weekly that lists Connecticut ones first. There are no guarantees that a product listed at a penny will actually be available for purchase at that price. Inventory status, store-level pricing, and retailer policies can all affect the outcome.

Happy hunting!

RV Project Part 3

Sorry for the extended break , got super busy with work etc.. so here’s part 3 installing the solar after we got the roof back together. The OG house batteries were worthless for what I wanted to do , additionally the bay they were in wouldn’t fit newer LIPO4 batteries.

Ended up going with Renogy products because they have decent enough equipment and they had a good sale going on at the time, I think roughly cost about $4500 for all the equipment, wiring, tools etc…

4x200watts of solar for 800watts total
2x200AH batteries for 400 AH total
3000 watt inverter/charger
60 amp solar charger
The RV also has a built in 1000w generator that runs off the gas tank and a propane tank to do heating, hot water, and runs the fridge. Coupled with a 30 gallon water tank and Starlink & T-Mobile MiFi for internet I can stay off grid for a bit without needing to use hookups. So far in the few years I’ve had this, I made it to Florida/Florida Keys and back to Connecticut 3 times, Tennessee and back, CT to Mt. Detroit/Rushmore/Yellowstone/Vegas/Area51/Grand Canyon and back on Rt 66 for 3 weeks. No major issues so far for less than $10k for the whole project from start to finish.

Kali 11 yrs

Looking back to last year’s post https://www.kali.org/blog/10-years/ going over the history of the Kali pentesting distro I noticed that they still had the screenshots from the desktop background image (check the bottom right) I made when I was part of the original IRC group on irc.unixgods.net that started from muts’ (Mati Aharoni) old website, whitehat.co.il site. I originally found muts from an article he wrote My meanest hack in early 2004. It started out with Whoppix based off the Knoppix live CD then Whax based off the live Slax CD. Though I didn’t take the OSCP test until 2015, it’s crazy to think that 20+yrs later I’m still playing around on the distro for work and for fun (hackthebox), and finally making money fulltime from a hobby that I love.

RV Project Part 2

So now it was time to remove the whole roof. I had NFI how to repair a regular roof let alone an RV roof. Luckily my Uncle was a little more handy than me. We started by pulling off the side rails then just straight ripping off the Luan/insulation completely from the bathroom wall to the front overcab bed. This paint scraper was a life safer in removing the old aluminum roof, wood, glue, and nails. Roughly about a 8’x13′ area was ripped out, we had to also remove the angle brackets holding the cabinets to the ceiling, the old TV antenna, and also remove the fridge vent and bathroom fan.

We had to go with thinner insulation to accommodate the thicker wood but had to make sure we didn’t go over the height of the original sidewalls so we could get the siderails back on afterword, which we actually trashed the broken side because it was damaged from the tree. Not realizing that the rails were not really a standard sizing. Also would have cost a lot in shipping if Winnebago actually had replacements. I ended up finding a smaller curved piece at a local RV dealership and used a hot air gun to kind of bend it back straight. I also fiberglassed the side damage and a hole in the front area near the running lights that the tree limbs caused. After getting all the new plywood down and cutting holes for the fans, vents, and pipes we spread all the glue down then used a roller to roll out the PVC replacement roof from classacustoms.com.

Then we reinstalled the original bathroom fan , added a new fan above the over-cab bed, and a new fridge vent cover, plumbing vents, and radio antenna. Everything got sealed with Eternabond tape and Dicor self-leveling lap sealant.

Then it was time to work on the ceiling. I ended up choosing some cedar wood from Home Depot because it smells good, naturally resists mildew, odors and repels some bugs. I also put in some aluminum channels and multi-color LED lighting to keep the power usage down since I was planning to install solar at some point. Originally I was going to put in recessed lights but it would have bee a pain in the ass to do all the wiring and holes, and for some reason when I was testing the recessed lights with the generator they were blinking off and on. So stuck with the LED lights and multicolor so I can change colors to whatever mood. (Update: I recently replaced the LEDS strips with different ones because they ended up having color match issues on each side, so now its one complete strip going around.)

RV Project Part 1

I got this 1994 Winnebago ‘Minnie Winnie’ 421RB (Ford E350 cutaway van bodystyle) from a car auction for $1200 in August 2021. I was looking around for RVs/Vans that I could convert into a remote work-from-home office. My dad decided to jump the gun and bid on it without telling me, it was a WTF moment when I first saw the pics on the auction site, but eventually decided I was up for the challenge. It had some good things like a built in generator, 90k miles. I ended up finding the original owner and found that he had bought it for 13k in 2008 and in Summer 2021 a thunderstorm knocked a tree down in his yard and it fell onto the RV (insurance company gave him 20k). As you can see from the pics it fell through the roof , crushing the AC unit. It also poked a hole near the front antenna mount, and part of the tree limb knocked out the plumbing, you can see the small hole by the left rear wheel well ( oddly perfect hit to knock out the plumbing/drainage pipe).

The biggest problem is that it sat for about a month in the previous owners driveway until the insurance company could come out and look at it due to COVID etc, then it say another month in the auction lot until it was auctioned. There was significant water damage in the ceiling and floor due to other rainstorms also dumping water in there for those 2 months.

So the game plan was somehow fix the holes in the roof originally. But come to find out first that the roof consisted of a layer of thin aluminum, which i could not figure out where to source anywhere. Coupled with the fact the more i looked into it that the water damage was too much because Winnebago uses very thin Luan plywood panels glued to foam insulation and all that wood was pretty much rotted because Luan is relatively inexpensive and easy to work with, but it is not very durable or resistant to moisture.

I started doing a lot of research on RV restoration/remodeling and came across an awesome resource on YouTube from AZExpert. His video were tremendously helpful in seeing what the insides of RV roofs looked like and how to fix/replace them. So after calling numerous places for 8×13 aluminum rolls with no luck, I decided I would go with an alternative. After searching around I found a really good price on a PVC kit from classacustoms.com for $189. Stay tuned for ripping apart the roof in Part 2…

HTB Oopsie

Continuing the Intro boxes with my local infosec group the second box on the list is Oopsie. It’s listed as an Easy box, but for some people starting out that aren’t familiar with webapps they could get lost, especially figuring out the initial login foothold. It’s IP is 10.10.10.28 and you need the login pack for OpenVPN to reach it, you cant reach it with your normal one.

Continue reading →