icon

YAKROO108 Wrist Computer: a Cyberpunk HUD With HuskyLens 2 and UNIHIKER

Intro: Wearing a Piece of the Cyberpunk Future

I wanted to feel what it is like to live in a cyberpunk sci-fi world, not just watch it in a film. So I built a wrist computer with a glowing HUD screen and an AI camera that can see the world around it.

The second goal was to test every major function of the DFRobot HuskyLens 2 AI camera. Usually you try face recognition, hand tracking, tags and colours one at a time, each in a separate demo. I wanted them all in one system with one look, so switching apps feels like switching modes on a movie character's armour.

The result is the YAKROO108 Wrist Computer:

  • A UNIHIKER M10 single-board computer on the wrist runs a full-screen sci-fi HUD.
  • A HuskyLens 2 sits on a folding arm above it and does all the vision work on board.
  • 8 apps, each built around one HuskyLens 2 function: tags, hand gestures, self-learning, colour, face, posture, object counting and a local AI agent.
  • Touch control, button sounds and a typed-out boot screen with keyboard clicks.
  • Everything is open: Python code, 3D files and a single JSON config file.

HARDWARE LIST
1 DFRobot UNIHIKER M10
1 DFRobot HuskyLens 2
1 Gravity 4-pin cable
1 USB-C power for HuskyLens 2
1 USB-C power for UNIHIKER

oftware

  • 3D CAD software (mount design)
  • K230BurningTool and Zadig (HuskyLens 2 firmware, Windows)
  • Thonny or any Python 3 with pyserial (optional PC test)
  • The project files: wpc_hud.py, dfrobot_huskylensv2.py, yakroo108_logo.png, wpc_config.json
  • Optional extras: an MQTT broker such as Mosquitto with Node-RED, a Telegram bot, and Ollama on a home server
  •  

Step 1: How It Works

The system has three layers. HuskyLens 2 does the seeing, the UNIHIKER does the thinking and showing, and the home network receives the commands.

 

HuskyLens 2 runs the AI models on its own K230 chip, so the UNIHIKER never processes images. It only asks the camera for results over I2C: boxes, IDs, names and hand keypoints. One Python program, wpc_hud.py, switches the camera model, draws the HUD, plays sounds and sends commands out over WiFi.

 

Step 2: Design the Folding Camera Mount

 

The camera has to look forward when in use and fold flat when not, without hitting the screen. I designed a two-part mount in CAD: a base that screws to the UNIHIKER case and an arm that holds the HuskyLens 2.

  1. Import the UNIHIKER case and the HuskyLens 2 STEP model so you design around the real parts.
  2. Model the base so it uses the existing M2.5 bezel hole, plus one extra M3 hole for a second fixing point.
  3. Put the hinge axis on the edge of the case, then model the arm with slots that grip the HuskyLens 2 tabs.
  4. Rotate the arm through its full travel and check for collisions. Mine clears from −90° to +95°.
  5. Export each part as STEP and STL.

Tip: keep the main dimensions in a spreadsheet (fold angle, slot spacing, slot height, slot length, M3 hole position). Then you can resize the mount for another camera without redrawing it.

 

Step 3: Print and Assemble

  1.  
  1. Print the base and the arm in PLA or PETG. 0.2 mm layers and 20 % infill are enough; print the arm on its side so the hinge layers are strong.
  2. Clean the hinge hole and test the fold by hand before adding the camera.
  3. Screw the base to the UNIHIKER case with the M2.5 screw in the bezel hole and the M3 screw in the new hole.
  4. Slide the HuskyLens 2 into the arm slots.
  5. Route the Gravity cable along the arm so it does not pull when the arm folds.
  6. Thread the 20 mm strap through the case.

Add photos here: the parts on the print bed, the mount open, and the mount folded.

 

Step 4: Update the HuskyLens 2 Firmware

 

Do this first. The official DFRobot_HuskylensV2 Python library needs firmware 1.4.2 or newer. My camera shipped with 1.2.1, which answers the library with a different result format, so nothing read correctly over I2C or UART.

  1. Check the version in the camera's settings menu.
  2. Download the latest firmware image from the DFRobot_HuskylensV2 releases page.
  3. On Windows, open K230BurningTool.
  4. Hold button A on the HuskyLens 2 while you plug in the USB-C cable, so it starts in download mode.
  5. If the tool times out, install the WinUSB driver for the device with Zadig, then try again.
  6. Choose EMMC as the target medium, select the image and start the burn. Do not unplug until it finishes.
  7. Restart the camera and confirm the new version in the menu.
  8.  

Step 5: Wire HuskyLens 2 to UNIHIKER (I2C)

The USB-C port on HuskyLens 2 is for power and firmware only, not data. If you plug it into the UNIHIKER, Linux will show USB errors and never find a camera. Data goes through the Gravity 4-pin port.

HuskyLens 2 wireUNIHIKER pin
SCLP19
SDAP20
+ (power)3V3
− (ground)GND
  1. In the HuskyLens 2 settings, set the protocol to I2C. The camera then uses address 0x50.
  2. Connect the Gravity cable to the UNIHIKER edge pins as in the table.
  3. Power the camera from its own USB-C supply. Running its AI models takes more current than the UNIHIKER pin can supply.
  4. On the UNIHIKER, run i2cdetect -y 0. You should see 50 in the grid. If not, check the protocol setting and the SDA/SCL order.
  5.  

Step 6: Test the Camera From a PC (UART)

Before building the full app, it helps to prove the camera talks. I used a USB-to-UART adapter and Thonny.

  1. Set the HuskyLens 2 protocol to UART.
  2. Wire TX to RX, RX to TX and GND to GND on the adapter.
  3. Open the test script (huskylens2_com_test.py), set your port, for example PORT = "COM27", and run it.
  4. Use 115200 baud. At 9600 you will see nothing at all.

HuskyLens 2 never sends data by itself. It only answers requests. Every packet starts with 55 AA, then a command byte, the algorithm id, the length, the content and a checksum (the sum of all bytes, & 0xFF). The script first sends a KNOCK command; an answer means the link works. Then it asks for results.

A second script, huskylens2_hand_test.py, switches the camera to hand recognition and draws the 21 hand keypoints in a small window. It is a good way to see what data you get before writing gesture logic.

 

Step 7: Install the HUD Software

The whole HUD is one Python file that uses pygame (already on the UNIHIKER) and the official HuskyLens 2 library.

  1. Unzip the project. It contains one folder, YAKROO108_WPC_HUD, with:
    • wpc_hud.py, the HUD program
    • dfrobot_huskylensv2.py, the HuskyLens 2 library
    • yakroo108_logo.png, the boot logo
    • wpc_config.json, your settings
    • CHANGELOG.txt, what changed in each version
  2. Copy the folder to /root on the UNIHIKER, using its web file manager or scp.
  3. Connect with SSH or the UNIHIKER terminal and run:

cd /root/YAKROO108_WPC_HUD python wpc_hud.py

  1. The terminal prints the version, for example YAKROO108 WPC HUD v1.7.0. On screen, the logo types itself out, then the menu appears.
  2. Look at the top-right corner. LINK means the camera is connected; DEMO means the program is running on fake data.

The program also runs on a normal PC. Without the camera it switches to DEMO mode with moving fake targets, so you can work on the screens at your desk.

Important: do not import pinpong.extension.unihiker in your own code alongside HuskyLens 2 over I2C. Just importing it rewrites the board's pin setup and switches P19 to GPIO, so I2C fails with [Errno 1] Operation not permitted. My code only calls Board("UNIHIKER").begin() and reads the light sensor and buzzer through their system files instead. If you already hit this error, reboot the board once to reset the pins.

 

Step 8: Configure wpc_config.json

Every setting lives in one JSON file next to the program, so you never need to edit the code. If the file is missing, the program writes one with default values on first run.

KeyDefaultWhat it does
rotate-90Rotates the HUD to landscape; use 90 to flip it 180°
shift_x / shift_y4 / 0Moves the whole picture to fit your case, in pixels
margin_right6Blank pixels kept at the right edge
timezoneAsia/BangkokClock time zone; time comes from WiFi
soundtrueButton clicks and boot sounds on the buzzer
tags1 DOOR, 2 FAN, 3 DESK LAMP, 4 PRINTERNames for AprilTag ids
partsArduino Uno, SG90, HC-SR04Learned part ids with specs and drawer location
colorsPLA Orange, PETG Blue, PLA RedLearned colour ids with names
face_names1 YAKKnown face ids
mqtt_host / mqtt_port / mqtt_topic192.168.1.88 / 1883 / wpc/tagWhere Point & Control sends commands
telegram_token / telegram_chat_idemptyDesk Sentry alerts; leave empty to turn off
posture_k / posture_min_cm9000 / 60Distance estimate and warning limit for Posture Guard
ollama_url / ollama_modelhome server / llama3.2:1bThe local AI used by Wrist AI Agent
hw_buttonsfalseSide buttons A/B; off because they can disturb I2C

Example, naming two tags and adding a Telegram bot:

"tags": {"1": "DOOR", "2": "FAN"}, "telegram_token": "123456:ABC...", "telegram_chat_id": "987654321"

Step 9: Designing the Cyberpunk HUD

The cyberpunk feeling does not come from one big effect. It comes from many small, consistent rules applied on every screen.

  • One visual language. Dark background with a fine grid, chamfered panel corners, monospace text and a glowing accent colour. Every app uses the same parts, so the system feels like one machine.
  • A colour per app. Each menu tile has its own colour, and the whole screen changes to it when the app opens. You know which mode you are in without reading.
  • Boxes that follow reality. Whatever HuskyLens 2 detects is drawn as a targeting box on the UNIHIKER, scaled from the camera's 640×480 frame. This is the moment the device feels alive.
  • A live status bar. The top bar shows the real time from WiFi, the camera state (LINK, LOADING, NO LINK) and the result rate in Hz.
  • Touch that answers. Big A / B / MENU buttons along the bottom. A pressed button sinks in and inverts its colours, a ripple spreads from your finger, and the action waits about 0.15 s so your eye catches the press.
  • Sound. The buzzer clicks on taps, rises when an app opens and falls when you go back to the menu.
  • A boot sequence. YAKROO108 types out letter by letter with a keyboard click per letter at about 2.7 kHz, then the subtitle types in and an "enter" chime plays.

Two technical tricks make this work on a 2.8" screen:

  1. Draw landscape, show portrait. The panel is 240×320 portrait. Everything is drawn on a 320×240 canvas, then rotated by 90° when copied to the screen. Touch points are rotated back the other way so taps land in the right place.
  2. One thread owns the camera. A background thread switches the camera model when you change apps, waits 3 s for it to load, and keeps reading results. One read error is ignored; the last boxes stay on screen. The buzzer shares a lock with I2C so the two never talk to the board's co-processor at the same time.
  3.  

Step 10: Tour of the 8 Apps

Each app switches HuskyLens 2 to the model it needs when it opens, so you never touch the camera's own menu. Tap a tile to open an app; tap MENU, or the top-left of the status bar, to go back.

#AppHuskyLens 2 functionA buttonB buttonWhat it does
1Point & ControlTag recognitionTOGGLENEXTPoint the camera at an AprilTag stuck on a device, then toggle it ON/OFF over MQTT (topic wpc/tag/)
2Gesture ControlHand recognitionARMMENUReads 21 hand keypoints and classifies fist, open palm, two fingers, thumb up and point; holding a gesture triggers its action
3Maker Part ScannerSelf-learning classificationLEARNSAVETeach it your parts (Arduino Uno, SG90 servo, HC-SR04), then it shows specs and the drawer location
4Color / FilamentColor recognitionLEARNFORGETLearns filament colours and names the spool you show it
5Desk SentryFace recognitionARMLEARNWhen armed, an unknown face flashes the screen red, beeps and sends a Telegram alert
6Posture GuardFace recognitionRESETCAL 50cmEstimates your distance from the face size and warns if you lean closer than 60 cm
7Object CounterObject recognitionRESETLINECounts people and objects by class, plus line-crossing counts per hour
8Wrist AI AgentObject / face / handASKMODESends what the camera sees to a local LLM (Ollama, llama3.2:1b) and shows its reply

Gesture actions in app 2: fist = select, open palm = home, two fingers = next app, thumb up = confirm, point = scroll.

To calibrate Posture Guard, sit exactly 50 cm from the camera and press CAL 50cm. The value is saved to the config file.

Add a GIF of each app here, with the HuskyLens 2 screen visible next to the HUD so readers see the boxes match.

 

Step 11: Troubleshooting

Almost none of these are in the manuals, so this may save you a few evenings.

SymptomCauseFix
UNIHIKER does not find HuskyLens 2 over USB; dmesg shows error -71 or -110The camera's USB-C port is power and firmware onlyUse the Gravity port with I2C or UART
UART at 9600 baud shows nothingThe camera only answers requests, and uses 115200Send KNOCK first, at 115200
The library connects but results are wrong or emptyFirmware older than 1.4.2Update the firmware (Step 4)
"Please check the huskylens connection"Protocol not set to I2C, wires swapped, or wrong busSet the protocol to I2C, check i2cdetect -y 0 shows 50
[Errno 1] Operation not permitted on I2Cpinpong.extension.unihiker was imported and changed the pin setupRemove that import, then reboot the board
ModuleNotFoundError: dfrobot_huskylensv2The library file is not next to the scriptCopy dfrobot_huskylensv2.py into the same folder
Camera keeps changing mode; boxes stop followingOld versions re-sent the model switch after every read errorUse v1.6.2 or newer
The picture sits off-centre in the caseEvery case is a little differentChange shift_x / shift_y in the config
The screen is upside downRotation directionChange rotate from -90 to 90

If you change several things at once, run the program from a terminal and read the messages it prints. Read errors are printed with a count, which tells you quickly whether the I2C link is healthy.

 

Step 12: What's Next

The wrist computer now boots with a typed logo and a keyboard click per letter, and runs 8 apps that cover the main HuskyLens 2 functions in one consistent HUD. The cyberpunk feeling ended up coming from the details working together: colour, sound, press feedback, and boxes that follow what the camera sees.

Ideas for the next version:

  • Voice commands for the Wrist AI Agent
  • Use the HuskyLens 2 speaker for Desk Sentry alarms
  • A battery pack built into the case, so it runs all day without cables
  • More apps: QR code, OCR and license plate reading are already in the camera

Files and video:

  • Code, config and 3D files: 
  • Video: 

If you build one, please post a photo in the comments. I would love to see your own HUD colours and apps.

License
All Rights
Reserved
licensBg
0