Raspberry Pi ADC-DAC Module(English)

From 52Pi Wiki
Revision as of 15:05, 23 September 2016 by Yoyojacky (talk | contribs) (→‎购买链接)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Raspberry Pi ADC-DAC Module

Description

The ADC-DAC module

Technical Details

Type Value
Name RPI_0.91'OLED_Display Module
screen resolution 128×32
screen type 0.91
diplay scale 22.38×5.58MM
module scale 35.1x15.12x11.8mm
Pixel Pitch 0.17×0.17
Pixel Size 0.15×0.15
work voltage 3.3V

Overview

File:P14.JPGFile:P13.JPGFile:P15.JPG

mounted on Raspberry Pi

File:P5.JPGFile:P4.JPGFile:P2.JPG

in the night

File:P12.JPGFile:P10.JPGFile:P11.JPG

product scale


File:ADDA sch02.png

schematic


File:ADDA sch01.png

Learn

  • If it's the first time for you to use Raspberry Pi, please make sure the I2C interface is enabled,the following steps will show you how to enable I2C interface
  • Type in [sudo raspi-config] set up raspberry pi and prepare to enable i2c interface


File:RTC tech02.png

  • select Advanced Options


File:RTC tech03.png

  • select I2c


File:RTC tech04.png

  • select yes enable I2C


File:RTC tech05.png

  • type in [sudo vim.tiny /etc/modules] to open file modules


File:RTC tech06.png

  • add i2c-dev device like picture below


File:RTC tech07.png

  • install i2c-tools ,type in [sudo apt-get install i2c-tools]


File:RTC tech08.png

  • type in [sudo reboot] wait the raspberry pi restart ,Then type in [sudo i2cdetect –y -a 1], if AD-DA Module works ,it should be like picture below


File:Adda tech01.png

  • Now you can use some command to test this module .Type gpio -x pcf8591:120:0x48 awrite 120 12 to lightening the LED. notice: the Jumper cap should be mounted on the port


File:ADDA 02.JPG
File:Adda tech02.png

  • the commandgpio -x pcf8591:120:0x48 aread 120can read the ADC input

File:Adda tech03.png

附件


PCF8591.pdf
SSD1306-Revision 1.0.pdf Category:名称