An open API service indexing awesome lists of open source software.

https://github.com/djaus2/linksprite.bargraph.rpipico

Arduino Sketch to drive LinkSprite Bargraph from RPi Pico using Grob=ve RPi Pico Shield.
https://github.com/djaus2/linksprite.bargraph.rpipico

Last synced: 8 months ago
JSON representation

Arduino Sketch to drive LinkSprite Bargraph from RPi Pico using Grob=ve RPi Pico Shield.

Awesome Lists containing this project

README

          

# linksprite.bargraph.rpipico
Arduino Sketch to drive [LinkSprite Bargraph](https://wiki.linksprite.com/index.php?title=LED_Bar&oldid=4543) from a [RPi Pico](https://www.raspberrypi.com/documentation/microcontrollers/pico-series.html) using a [Grove RPi Pico Shield](https://www.seeedstudio.com/Grove-Shield-for-Pi-Pico-v1-0-p-4846.html).

-[Schematics](https://s3.amazonaws.com/linksprite/LinkerKit/LED+Bar.pdf)

## About

As part of the [Softa-ta](https://github.com/djaus2/Soft-ata) suite, there is a discussion of a Bargraph built from
a discrete bargraph display and a 74HC595 shift register, plus current limiting resistors. This only required serail transmission of data thus
minimizing the number of Pico pins required.
There is also a [Grove Bargraph](https://wiki.seeedstudio.com/Grove-LED_Bar/) available from Seeed Studio that also could have been used also
only requiring a serial transmission of data to it.

Recently I purchased a LinkSprite Bargraph quite cheaply from Jaycar in Australia [linker-led-bar-for-arduino-XC4568](https://www.jaycar.com.au/linker-led-bar-for-arduino/p/XC4568) as it was on significant discount (as of 10/09/24).
It is a 10 segment LED bar graph. This uses the [MY9221](http://www.my-semi.com/file/MY9221_BF_0.7.pdf) as does the Grove device.
Data is serially clocked in, thus requiring only 2 pins, data and clock.
I used the Grove RPi Pico Shield to make the connections easier.
The third socket at the bottom of the shield was used using GPIO pins 16 (data) and 17 (clock).
A Grove cable was connected to the shield which when jumpered to a LinkSprite cable was connected to the bargraph device.
Both cables are 4 wire cables with 2 signal wires, power and ground.

![Cable Jumpers](images/cable-jumpers.jpg)

## Jumper Connections (Grove Cable)

- Black : Ground
- Red : 3.3V
- White : Data (GPIO 16)
- Yellow : Clock (GPIO 17)

## Connected Device

As stated previously, the bargrapgh is connected to the third socket at the bottom of the grove shield:
![LinkSprint Bargrapgh - Grove](images/PXL_20240910_063944336.jpg)
***LinkSprite Bargraph to Grove Pico Shield connections***

[Giphy Animation](https://giphy.com/embed/YMj0oajD5xOegzI72A)

## Next

Integrate the LinkSprite Bargraph into [Softa-ta/Softata](https://github.com/djaus2/Soft-ata) ***DONE***

## Footnote

Turns out the LinkSprite Bargraph is a complete clone of the Grove Bargraph.
So you can install the [Grove Bargraph](https://wiki.seeedstudio.com/Grove-LED_Bar/) library and use it with the Linksprite Bargraph.
Library source: [github/Seeed-Studio/Grove_LED_Bar/](https://github.com/Seeed-Studio/Grove_LED_Bar)