I tried using the config parameters that you shared. No errors but also no sound. A new web ui element has now appeared called buzzer under fans and outputs on fluidd main page. It moves to 0.5 when i try play a tune or enter the console command you shared but again no sound.
I successfully tested it a couple of hours ago on the uno r3, it played sound, so the speaker is definitely working. I’ve played both monotonic and polyphonic sounds and able to play part of wav file that I tested. All played loud and clear.
I can’t upload the recording of it here though
this is in my printer.cfg currently however i have also used GPIO 2, 3 , 14, 15, 23 and 24 as well as PA12 and PB0 from the printer pinouts for the screen ribbon as per reddit post, pinouts tested with led’s, (connector pin 6 is actually PB0) Reddit - Dive into anything
[pwm_cycle_time buzzer]
pin = PB0
value = 0
shutdown_value = 0
cycle_time = 0.001
my board is as per pic, not like the ender 5
ive also attached my most recent klippy log, after updates and changes
Your board is a mystery - no clear good indication on pins and their states, etc …
Let’s try to work with your Raspberry PI which is clear and well documented, if we can make it work with PI then we can try to transfer it to printer board.
I understand you have Rpi 5
If so try to hookup your module to GPIO headers on RPi.
I found pinout of RPi5 here
so i will use it to describe where you should connect your module and which config to define in klipper.
connect VCC from module to Rpi.pin 1 (+3.3v)
connect GND from module to RPi.pin 40 (GND)
connect Signal from module to RPi.pin 39 (GPIO12)
I tried gpio12 with the line commands as well as the ^ and !^ variants but still no sound with the line command.
pin = ^rpi:gpio12 and pin = ^!rpi:gpio12 returned erros
Unknown pin chip name ‘^!rpi’
Unknown pin chip name ‘^rpi’
Once the underlying issue is corrected, use the “RESTART”
command to reload the config and restart the host software.
Printer is halted
i double checked with a vmeter and seems like gpio 12 at pin 32 with ground at 39 seems to be the correct gpio pin layout as per my board.
so with that info ive tried gpio12, gpio13, 14 and 15