Skip to content

Sound left and right buzzers from image side - #5

Merged
pschmeln merged 1 commit into
mainfrom
cursor/left-right-buzzers-e781
Nov 8, 2026
Merged

pschmeln merged 1 commit into
mainfrom
cursor/left-right-buzzers-e781

Conversation

@pschmeln

@pschmeln pschmeln commented Nov 8, 2026 •

Copy link
Copy Markdown
Owner

Summary

Pull request 4 is already merged. This continues from current main.

Two blue Grove buzzers replace the old four-role outputs. D2 is the left buzzer and D4 is the right buzzer. A box in the center half of the rear-camera picture sounds the buzzer on that image side. Both sides can sound together. This is not a turn command.

Packet version is now 2. Byte 2 is an explicit side bitmask. A version 1 packet is rejected and does not sound a side. The website and the sketch both have to be updated.

Pins

  • D2 Grove socket: left buzzer
  • D4 Grove socket: right buzzer
  • D3: status logic only, on during the not-ready double blip
  • D5: link indicator only, not a buzzer

The not-ready double blip on both buzzers means the camera or model is down. It does not mean objects are on both sides. Quiet buzzers are not an all-clear.

Checks on commit c118bc0

  • Host tests passed, including cane logic tests passed and all 7 web tests. JavaScript packets matched the C encoder.
  • UNO R4 WiFi compile passed. The sketch used 85620 bytes of 262144. It was not flashed.
  • Unsigned iOS compile passed on Xcode 26.6 with ** BUILD SUCCEEDED **. That build is not installable.
  • The page was not run on an iPhone, and the buzzers were not heard.

What you do

Reflash prototype/firmware/uno_r4_wifi/uno_r4_wifi.ino, reload the Bluefy page after this is published, and follow docs/WEB_DEMO.md. Confirm the Grove Buzzer v1.2 SIG pin is a logic input before powering it. Do not connect a bare motor to a GPIO.

Open in Web Open in Cursor 

Packet version 2 puts left and right in an explicit bitmask, rejects version 1, and keeps the not-ready double blip separate from objects on both sides.

Co-authored-by: pschmeln <pschmeln@users.noreply.github.com>
@pschmeln
pschmeln merged commit 5a8447f into main Nov 8, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants