Engineering notebook / Field notes

Track what you do. Good or bad.

Just writing down every decision that you do will help build a better thought process. The first entries are drawn from my 2024 Fab Academy work; newer notes will build on the same practice.

Getting back in the swing of things - Cheap Yellow Display Update - Pivot?

Over the break I worked with some AI generated pixel art for the Cheap Yellow Display to run. This will be the controller unit and I need to figure out how to add Kailh switches to it. I also learned how to work on a few new topics and a controller website hosted by the ESP 32 for this. I will see if I can add these to each of the units.

  • Cheap Yellow Display
  • CAD/Fusion?
  • New LED rings

Question

How can I integrate the new display into the controller unit? How do the units work together? How do I finally create the CAD?

Test

Finish updating CYD. Test visuals for that. Integrate CYD with the rest of the units (replace controller unit?). Work on the CAD for player nodes.

Takeaway

PENDING

This is the screen of the CYD for use in the campaign
  • CYD
  • PART LABEL
CYD showing Annika new Pixel Art. -Will be remade w.out AI
CYD Pinout
CYD Pinout for working on the button presses
Player Node
Player Node design for the initiative tracker

Batteries for sure, CAD of the first design for the tracker, Perfboard the circuit.

This week, I will be finishing out the design of my initiative tracker. At least the different designs for the box to hold at least the player units. The full unit for the coordinator may be a bit more complicated. I will work on perfboard first to see what I can minimize the dimensions for. It is Wednesday and I have not worked on much of this project. So I have to decide what is the correct level of work to do for the week to make the workload make sense. Should school not be closed tomorrow I will solder the battery onto one XIAO using the cables I bought for the project. School was not closed, still did not solder. Looks like this may be a week where all I have done is update the website. Luckily, there is some time next week to work on this. Maybe what I can do is instead of chocking this up as a loss I can fire up OnShape and get this CAD model for fitting into it. I need to start with some sketches. f

  • XIAO
  • OnShape or Fusion?
  • Perfboard
  • Battery

Question

How do I solder a battery onto the bottom of a XIAO? How do I layer the different sections of the CAD model? How do I put together a perfboard model for the circuit properly?

Test

Test battery charging and discharging for 3 hours. Ideal dimensions for the player box units. Test perfboard lead design.

Takeaway

Putting things next to your bag is important if you want to actually do work with them. Sometimes motivation drives your to do list. A sketchbook on hand is always the most important thing to have.

Completing the initiative tracker electronics, Batteries, maybe?

Batteries stress me out so I am putting off this part of the project but I need to figure out how to do the last units of the initiative tracker now. First up will be how to get all five units running, after finishing three units that idea does not stress me out too much. Then following I will be working on one battery unit and letting it drain. Then hopefully working on all of the other units one at a time. In trying to do a quick solder for the battery units I noticed I have to use solder paste instead of regular solder for this to make the work easier. Almost seared a board... and in that process didnt even get a good solder joint. Quite annoying. I will just be doing the code for the final two units now to make this process easier and see if when powered by USB if we can get all the systems working fully. It shouldn't be an issue. The last thing that I did with this was have five units set up. All of them are working and the new LED Ring worked as well with an animation. I am switching unit 5 back to a true unit with the full ring.

  • ESP32c3 × 5
  • LED ring
  • Kailh switch
  • Hot swap socket
  • Battery
  • Solder paste

Question

How can I make all five ESP32c3 units talk to each other? How do batteries work in this setup? How do I solder to pads on the bottom of the Xiao?

Test

Finish setting up the last two ESP32c3 units, the rings, the kailh switches on a hot swap. Connect one battery and have the unit power off of that and drain fully. Connect all units. Start figuring out the physical structure of system.

Takeaway

ESPNow works perfectly with the 5 units and so does the online app. Good time.

Initiative Tracker Hosted on ESP32 app
Initiative Tracker Hosted on ESP32 app
This was the 7LED tester for the other unit
This was the 7LED tester for the other unit
Image of all five units working in the system
  • Screen
  • Kailh switch
  • LED ring
  • XIAO ESP32c3
Image of all five units working in the system
active test for five units working
Just a fun update of my toyo toolbox to be used for components for this project
Just a fun update of my toyo toolbox to be used for components for this project

Incremental work is necessary

Setting up an initiative tracker for my dungeons and dragons table will help me get a better flowing table. To do this I had to create a coordinator unit followed by player units incrementally one by one. Using Chat to help me code the program as IoT is not my specialty I built one main unit that uses a screen with four buttons. This and a good LED ring and a kailh box jade switch as a tactile turn pusher. Then the player units were a pared down version of this with only the switcha and the LED ring. This week I did not get to four full units only 3. I am currently working on each of the final two units and will be working on battery connectivity for the rest of the work.

  • ESP32c3
  • Screen
  • Four buttons
  • LED ring
  • Kailh Box Jade switch

Question

How can I get separate ESP32c3 units speaking to each other on WiFi? How can I get a keyboard switch to act as a tactile command input?

Test

Get the switch to do a feedback loop. Get two units to communicate. Then three, then four, then more.

Takeaway

Switches are really easy to use on the xiao thanks to their pull down resistors. MAC Addresses are really similar on similar units.

Coordinator unit with one button
coordinator unit with one button
Coordinator unit after button press
Coordinator unit after button press
Coordinator unit with one player
coordinator unit with one player
Coordinator unit with two working players
coordinator unit with two working players

Make a failure visible

After eight board iterations, status LEDs became one of the most useful debugging tools in the system. They made it easier to tell whether a subsystem was running before reaching for another instrument.

  • Control board
  • Status LEDs

Question

How can I tell what the circuit is doing while the full robot is assembled?

Test

Use visible indicators while checking connections and running separate code loops.

Takeaway

Design for observability. A small signal can save a lot of blind debugging.

Earlier DAP-R circuit board iterations
Earlier board iterations
Final DAP-R control board with status indicator LEDs
Final board with status indicators
Source: DAP-R final project documentation

A bowtie for the laser cutter

The 3D-printed bowtie was not giving the finish I wanted, so I moved the decorative part to the laser cutter and kept a printed adaptor for the servo. That split made the bowtie easy to swap.

  • Blue acrylic
  • Walnut
  • Printed adaptor
  • Servo

Change

Separate the visible part from the mechanism that attaches it to the robot.

Result

Laser-cut versions in blue acrylic and walnut fit the same printed adaptor.

Takeaway

Modularity can come from choosing the right process for each part.

Interchangeable DAP-R bowties made from acrylic and walnut
Two materials, one adaptor
Source: DAP-R final project documentation

Scope down, keep the interaction

A fully mobile robot and spoken interaction were part of the original ambition. The integration work made clear that a stable desktop build with a moving head and responsive face was a better target for the time available.

  • Head
  • Screen
  • Sensor
  • Motor
  • Servo

Constraint

Many subsystems still needed to work together in a short build window.

Decision

Defer roaming and speech; focus on the head, screen, sensor, motor, and servo.

Takeaway

Reducing scope is useful when it preserves the core experience and makes integration testable.

Integrated DAP-R desktop robot
The desktop build after integration
Source: DAP-R final project documentation