pinout.vvzero.com/src/tr/translate/zeroseg.md

55 lines
1.4 KiB
Markdown
Raw Normal View History

2017-03-20 00:29:13 +08:00
<!--
---
name: ZeroSeg
class: board
type: display
formfactor: pHAT
2017-03-25 23:04:22 +08:00
manufacturer: PiHut
2017-03-20 00:29:13 +08:00
description: 8 character 7 segment display for the Raspberry Pi
url: https://thepihut.com/products/zeroseg
github: https://github.com/AverageManVsPi/ZeroSeg
buy: https://thepihut.com/products/zeroseg
image: 'zeroseg.png'
pincount: 40
eeprom: no
power:
'1':
2017-03-25 23:04:22 +08:00
'2':
2017-03-20 00:29:13 +08:00
ground:
'6':
'9':
'14':
'20':
'25':
'30':
'34':
'39':
pin:
'19':
mode: DIN
'24':
mode: CS
'23':
name: CLK
'11':
name: SW1
'37':
name: SW2
-->
2017-03-20 00:29:47 +08:00
# ZeroSeg
2017-03-20 00:29:13 +08:00
The ZeroSeg is an easy to use 8-character 7-segment display add-on board for your Raspberry Pi Zero or any other 40-pin Raspberry Pi model.
2017-03-25 23:04:22 +08:00
ZeroSeg has the ability to display 8 characters, data such as the time, date, counters, stock prices, sports scores and more making it very
useful for projects of all shapes and sizes.
2017-03-20 00:29:13 +08:00
2017-03-25 23:04:22 +08:00
The displays are controlled by a MAX7219CNG integrated circuit, which manages each LED segment, requiring very few GPIO pins to run the board. This board's circuit is wired in the exact same way as generic 7-segment modules, allowing the use of existing code and libraries to easily create Pi Zero projects with 8-character displays.
2017-03-20 00:29:13 +08:00
To install first enable SPI and update your pi then:
```bash
2017-03-25 23:04:22 +08:00
sudo apt-get install build-essential python-dev python-spidev
2017-03-20 00:29:13 +08:00
git clone https://github.com/AverageManVsPi/ZeroSeg.git
2017-03-25 23:04:22 +08:00
cd zeroseg && sudo python setup.py install
2017-03-20 00:29:13 +08:00
```