Produce Overview The DA/AD module is specifically designed for BananaPi. It communicated with BananaPi through I2C bus. There is a LED light on the board that you can adjust brightness through DA. The module supply 4 ADC channel through header on the left side of module and the thermistor interface. The user can choose according to actual demand and use them. The module is easy to use even you donâ€™t need to write C code. Because the module support wiringPi so you can use shell script to control it. Product Features --Use PCF8591T chip --DA/AD in one module -- 8bit high resolution DA/AD --Compatible with wiringPi --Supply thermistor and photoresistance Port -- Banana Pi connection port --Thermistor interface --4 external analog channel -- Electric level switch jumper --LED of DA choice jumper Product Parameters --Working voltage: 2.5V-6.0V --8-bit successive approximation A/D conversion --Multiplying DAC with one analog output -- Analog voltage range from Vss to VDD -- 4 analog inputs configurable as single ended or differential inputs -- Max sampling rate given by I2C-bus speed -- â’40Â°C to +85Â°C operation Typical Application --Supply monitoring --Reference setting --Analog control loop How to use Just insert the module to Banana Pi, like the below picture:
More information The PCF8591 is a single-chip, single-supply low-power 8-bit CMOS data acquisition device with four analog inputs, one analog output and a serial I2C-bus interface. Three address pins A0, A1 and A2 are used for programming the hardware address, allowing the use of up to eight devices connected to the I2C-bus without additional hardware. Address, control and data to and from the device are transferred serially via the two-line bidirectional I2C-bus. The functions of the device include analog input multiplexing, on-chip track and hold function, 8-bit analog-to-digital conversion and an 8-bit digital-to-analog conversion. The maximum conversion rate is given by the maximum speed of the I2C-bus.
Testbench -- Set the DA jumper close -- Power up the BananaPi and install Bananabian -- Install the wiringPi -- Input the command in Terminal: gpio -x pcf8591:120:0x48 awrite 120 127 -- If the LED have the half brightness the module is OK
Package Included: 1 x Banana Pi Accessories BPI ADDA AD/DA PCF8591T Serial Interface Board Module Banana Pi Accessories BPI ADDA AD/DA PCF8591T Serial Interface Board Module