Odroid Expansion Board for XU4 - ODROID XU4 Genişleme Kartı
Ürün Açıklaması
Expansion Board for XU4Compatible with XU / XU3 / XU4 Series4 x buttons (GPIO)1 x button (Power On)5 x LEDs (GPIO)1 x SPI Flash 2Mbit (Upto 20Mhz SPI clocking)1 x I2C Temperature/Pressure sensor BMP1801 x I2C Ambient Light sensor BH1780GLI1 x Trimpot(variable resistor) for ADC access1 x IDC cable is included.SCHEMATICShttp://dn.odroid.com/ODROID-XU/Expansion_Board/ExpansionBoard.pdfSOFTWAREDriver source codehttps://github.com/hardkernel/linux/tree/odroidxu-3.4.y/drivers/hardkernelAndroid Example source codehttp://dn.odroid.com/ODROID-XU/Expansion_Board/DRIVER ACCESSSPIMisc device driverDevice node : /dev/ioboard-spi-miscRefer device/hardkernel/ioboard-spi.h source to read/write/erase the SPI Flash memory.LED & KEY/sys/devices/platform/ioboard-keyled/board_test : Default value is 1 and test mode. If this is 0, change to normal mode to read/write.led1 ~ led5: write only. Chnage the LED state (1 : on, 0 : off)sw1 ~ sw4: read only. Read the state of switch. (1 : pressed, 0 : released)To read the Switch state, must use the polling method. (interrupt feature is not implemented)ADC/sys/devices/platform/ioboard-adc/enable : on/off (read/write)value : ADC raw value (0~4095)voltage : 0V ~ 1800mVAmbient Light Sensor(Software driven bit-bang I2C)/sys/devices/platform/i2c-gpio.10/i2c-10/10-0029enable : on/off (read/write)lux : sensor value in Luix (0 ~ 65535 lux)Pressure Sensor/Temperature Sensor(Software driven bit-bang I2C)/sys/devices/platform/i2c-gpio.10/i2c-10/10-0077enable : on/off (read/write)pressure : atomospheric pressure, pa unit. (ex)101614(pa) = 1016.14hpatemperature : 10 times.... (ex) 195 = 19.5CBOARD DETAIL