background image

Compute Module IO Board Plus User Manual 

 

 

Version

V1.0

Date

20171101 

Compute Module IO Board Plus

 

User Manual

 

 

OVERVIEWS 

  This is an Expansion board of Raspberry Pi Compute Module series. It is compatible with 

Compute Module IO Board V3 from Raspberry Pi Foundation, along with various 

common use components. Supports Compute Module 3, Compute Module 3 Lite, 

Compute Module 3+ (8G/16G/32G), Compute Module 3+ Lite. 

FEATURES 

  Compatible with the Compute Module IO Board V3 from the Raspberry Pi Foundation 

  Raspberry Pi GPIO header, for connecting sorts of Raspberry Pi HATs 

  Arduino connectivity, also supports Arduino shields 

  1-WIRE interface, for connecting single-bus devices like DS18B20 

  4x keys, 4x LEDs, 1x Buzzer, for I/O testing 

  Onboard USB HUB, allows connecting more USB devices 

  IR receiver, IR remote control is available 

  Onboard USB TO UART, for serial debugging 

  Sensor interface 

  10-bit ADC, 38KSPS, 11-ch (6-ch for Arduino interface, 5-ch for sensors) 

  16-bit DAC, 2-ch 

  Onboard RTC, one of the most common and useful functions 

W HAT

’S 

ONBOARD 

Summary of Contents for Compute Module IO Board Plus

Page 1: ...S Compatible with the Compute Module IO Board V3 from the Raspberry Pi Foundation Raspberry Pi GPIO header for connecting sorts of Raspberry Pi HATs Arduino connectivity also supports Arduino shields 1 WIRE interface for connecting single bus devices like DS18B20 4x keys 4x LEDs 1x Buzzer for I O testing Onboard USB HUB allows connecting more USB devices IR receiver IR remote control is available ...

Page 2: ... connecting Raspberry Pi HATs 4 CSI interface camera ports for connecting Raspberry Pi Camera 5 DSI interface display ports for connecting Raspberry Pi LCD 6 HDMI port 7 USB ports for connecting USB devices 8 USB SLAVE interface allows you to burn system image in to Compute Module 3 9 USB TO UART interface for serial debugging 10 Arduino header for connecting Arduino shields 11 AD DA input output ...

Page 3: ...ver 25 Buzzer 26 Power indicator 27 ACT indicator indicating the Micro SD card status 28 User LEDs 29 User Keys 30 BOOT selection EN enable the PC to access SD card eMMC through USB SLAVE DIS the Compute Module will boot from SD card eMMC 31 VGx power selection config the I O level 32 USB HUB enable jumper HUB enable and USB SLAVE power selection 33 ADC DAC configuration config the power supply an...

Page 4: ...O USE 7 INSTALLATION 7 CM3 CM3 7 CM3L CM3 L 7 Connecting display and Camera 8 Connecting the officail 7inch display 8 Connect Wveshare 7inch HDMI LCD C 8 Connect Camera 8 Examples 10 Buzzer 10 pyhton code 10 WiringPi code 10 Expected result 11 DAC 11 BCM2835 code 11 Expected result 11 DS18B20 11 sysfs code 11 python code 12 ...

Page 5: ...2835 code 12 WiringPi code 12 Python code 12 Expected result 13 IRM 13 BCM2835 code 13 WiringPi code 13 Python code 13 Expected result 14 KEY 14 BCM2835 code 14 WiringPi code 14 Python code 14 Expected result 14 LED 14 BCM2835 code 15 WiringPi code 15 Python code 15 Expected result 15 ADC 15 BCM2835 code 15 ...

Page 6: ...Compute Module IO Board Plus User Manual 6 Version V1 0 Date 20171101 WiringPi code 16 Python code 16 Expected result 16 UART 16 WiringPi code 16 Python code 17 Expected result 17 ...

Page 7: ...e USB SLAVE port of IO Board Plus into your host PC USB 4 Run the rpiboot exe tool After a few seconds the CM3 eMMC will be recognized as a disk 5 Run WinDiskImager exe tool to burn the image to eMMC of CM3 Note Ensure you are not writing to any USB devices while installation Because the eMMC of CM3 is only 4G the image file flashed should be small than 4G If you want the GUI you can install it wi...

Page 8: ... with wires 3 Connect these pins together with wires GPIO0 CD1_SDA GPIO1 CD1_SCL 4 Connect the power adapter 5 Wait for a few seconds the display will be powered on CONNECT WVESHARE 7INCH HDMI LCD C 1 Make sure the official 7inch display don t be connect to IO Board Plus Only without the DISP interface display the Raspbian will display via HDMI interface by default 2 Connect the HDMI interface of ...

Page 9: ...xecute these commands to use the camera raspivid t 0 cs 0 raspivid t 0 cs 1 Note 1 cs Used to choose the camera 0 or 1 Parameter 0 means CAM1 and 1 means CAM0 2 Original Raspbian has no boot files for official display and official If you use original Raspbian you need to convert dts files which are provided by Raspberry Pi to bin files and copy the bin files to pi boot of Raspbian Commands sudo dt...

Page 10: ... IO Board Plus If you use original Raspbian you have to install necessary libraries before first For more information about how to install libraries please refer to Libraries Installation for RPi BUZZER PYHTON CODE Execute command to enter the folder of program cd home pi CM3 Buzzer_PWM python Execute command to run the program sudo buzzer py WIRINGPI CODE ...

Page 11: ...ly the last one of USER JMP DAC BCM2835 CODE Connect DA_A and DA_B to LED1 and LED2 of USER JMP separately with wires Execute command to enter the folder of program cd home pi CM3 DAC8532 Execute command to run the program sudo dac8532 EXPECTED RESULT The brightness of LED1 and LED2 turns brighter and then turns dim alternately DS18B20 Testing this code you need a DS18B20 module Insert the DS18B20...

Page 12: ...me pi CM3 DS18B20 python Execute command to run the program sudo ds18b20 py EXPECTED RESULT The terminal will output the temperature value measured by DS18B20 RTC DS3231 BCM2835 CODE Execute command to enter the folder of program cd home pi CM3 DS3231 bcm2835 Execute command to run the program sudo ds3231 WIRINGPI CODE Execute command to enter the folder of program cd home pi CM3 DS3231 wiringPi E...

Page 13: ...n infrared remote controller Please take the interleaving paper down before using BCM2835 CODE Execute command to enter the folder of program cd home pi CM3 IRM bcm2835 Execute command to run the program sudo irm WIRINGPI CODE Execute command to enter the folder of program cd home pi CM3 IRM wiringPi Execute command to run the program sudo irm PYTHON CODE Execute command to enter the folder of pro...

Page 14: ...ute command to run the program sudo key WIRINGPI CODE Execute command to enter the folder of program cd home pi CM3 KEY wiringPi Execute command to run the program sudo key PYTHON CODE Execute command to enter the folder of program cd home pi CM3 KEY python Execute command to run the program sudo key py EXPECTED RESULT Press the keys KEY1 KEY2 KEY3 KEY4 corresponding value will outputted on the te...

Page 15: ...mmand to enter the folder of program cd home pi CM3 LED wiringPi Execute command to run the program sudo led PYTHON CODE Execute command to enter the folder of program cd home pi CM3 LED python Execute command to run the program sudo led py EXPECTED RESULT Four LEDs blink alternately ADC BCM2835 CODE Execute command to enter the folder of program cd home pi CM3 TLC1543 bcm2835 Execute command to r...

Page 16: ... sudo tlc1543 py EXPECTED RESULT AD information are outputted on terminal UART Connect the USB TO UART interface of IO Board Plus to PC with USB cable Open the Putty on your PC set the Baudrate as 115200 Enter the user name and password to log in the CM3 CM3L user name is pi and password is raspberry by default Here you need to run the program with keyboard and LCD On IO Board Plus instead of Putt...

Page 17: ...on V1 0 Date 20171101 PYTHON CODE Execute command to enter the folder of program cd home pi CM3 UART python Execute command to run the program sudo uart py EXPECTED RESULT Every time run the program on the Putty you can see that Hello World is printed ...

Reviews: