Adding a buzzer to Arduino Alvik

The Arduino Alvik has only I2C lines exposed via Grove and Qwiic connectors how would I add a simple buzzer that only requires a digital GPIO pin. If I used the SDA or SCL lines wouldn’t this cause problems with other devices connected to the I2C bus?

That makes it tough but you can add an 8 or 16 bit port if you like. Look at the PCF8574 for 8 additional I/O, Realize this device sinks current but does not source much so you need to switch active low loads.

Thank you for suggesting this solution. It does seem to me that there is a flaw in the Alvik design in not exposing some basic GPIO pins in what is after all a programming educational resource.

Maybe an I2C buzzer!?

It's my opinion that any such platform created with the idea of ​​being 'easy' to learn has built in limitations that quickly turn into a disadvantage.

1 Like

Thank you flasko. I have ordered one, there appears to be a micropython library and examples available from the Sparkfun GitHub.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.