PyFly HAT Board Software Book

Design Revision: 1.10


Drawing Revision: A

Designed by Robert Rau

Date: Sunday, August 12, 2018 4:32 PM





Overview

The PiFly board has 8 busses or signal groups:
1) The GPIO lines not associated with busses
2) I2C_0 bus for Raspian device tree
3) I2C_1 for sensors
4) I2S bus for microphone
5) SPI bus for high G acceleration sensor, absolute pressure sensor, & 16 channel, 8/10/12 bit A/D converter
6) UART for GPS

Initialization Notes

Fire_A to Fire_D high current drivers will not work until they have been enabled, see GPIO25. GPS almanic memory is backed up with a supercap so cold starts are typical after several hours without power. There is a connector for a battery. The RF transmitter can transmit APRS location data using pkt2wave and nbfm programs.

Device data not related to a bus

U30 Maxim Integrated DS28C36Q+U IC,Digital,Memory,Secure,8kb,ECC-256,FIPS 180,SHA-256,Two GPIO Bits




Device data in bus order

BusAddressLocationManufacturerPart NumberDescriptionInfoLink
GPIO Fire_A: GPIO17, Fire_B: GPIO22, Fire_C: GPIO23, Fire_D: GPIO24 U13 on page 7 ST Microelectronics VNQ5027AKTR-E IC,Digital,Interface,High Side Driver,Quad, Quad High current high side driver. For additional information see the VNQ5027 Data Sheet
GPIO GPIO4 PCB8 on page 5 none none Software Note To transmit on 2M band: sudo ./nbfm <> 144.39 < For additional information see the Data Sheet
GPIO GPIO4 PCB9 on page 5 none none Software Note To generate a wave file of a packet modem: ./pkt2wave fox_pkt.txt -n 1 -r 44100 -o fox_pkt.wav For additional information see the Data Sheet
GPIO GPIO5 W1 on page 5 Samtec TMM-103-03-L-S Connector,Male,2mm,Gold Sensors can route their interrupts/status to GPIO5 using W1, W2 or W3 For additional information see the Data Sheet
GPIO GPIO6 D10 on page 5 Osram LS Q971 LED,Chip,0603,Red LED D10 on with TX_EN. For additional information see the TX Data Sheet
GPIO GPIO6 D15 on page 5 Osram LS Q971 LED,Chip,0603,Red LED D10 on when high side drivers are enabled For additional information see the ARM Data Sheet
GPIO GPIO6 Q3 on page 5 ON Semiconductor MUN5230DW1T1G Transistor,NPN,Dual,Plastic,SOT-363,W/ bias resistors A high on GPIO6 will power the RF transmitter and light LED D10 For additional information see the MUN5230D Data Sheet
GPIO GPIO12 W2 on page 5 Samtec TMM-103-03-L-S Connector,Male,2mm,Gold Sensors can route their interrupts/status to GPIO12 using W1, W2 or W3 For additional information see the Data Sheet
GPIO GPIO13 PCB4 on page 5 none none Software Note For Audio output on GPIO13. For additional information see the Data Sheet
GPIO GPIO16 D7 on page 5 Kingbright APTD1608ZGC LED,Chip,Green,60° Viewing Angle SW turns LED on to acknoledge receiving shutdown button press For additional information see the SHUT ACK Data Sheet
GPIO GPIO21 R56 on page 5 Vishay CRCW0402200RFK Resistor,Surface Mount,0402,1%,+/- 100ppm GPS reset if R56 is installed For additional information see the 200½ Data Sheet
GPIO GPIO25 U21 on page 5 ON Semiconductor NL17SZ74USG IC,Digital,D Type Flip-Flop,Single,250MHz @ 5V Enable for Fire_A to Fire_D. GPIO must make a positive edge while Fire_A to Fire_D are zero before any Fire signal will work. For additional information see the NL17SZ74 Data Sheet
GPIO GPIO26 PCB10 on page 5 none none Software Note Push button for shutdown request. For additional information see the Data Sheet
I2C_0 1010000 U23 on page 5 ON Semiconductor CAT24C32YI-GT3 IC,Digital,Memory,EEPROM,Serial,I2C Bus,32k Bit Device Tree EEPROM bus For additional information see the CAT24C32 Data Sheet
I2C_1 0011000 PCB13 on page 9 none none Software Note 1-Wire setup For additional information see the Data Sheet
I2C_1 0011000 U27 on page 9 Maxim Integrated DS2482S-100+ IC,Digital,I2C to 1-Wire Interface Maxim 1 wire interface For additional information see the DS2482 Data Sheet
I2C_1 0101000 U8 on page 5 Measurement Specialties 4525DO-DS5AI030DP Sensor,Pressure,Differential,Ported With Barbed Inlets,5Vsupply Differential pressure for air speed For additional information see the 4525DO Data Sheet
I2C_1 0101110 U28 on page 9 Analog Devices ADT7470ARQZ IC,Digital,Fan & Temperature,Quad Tachometer inputs, Options for GPIO and temperature sensors. For additional information see the ADT7470 Data Sheet
I2C_1 0111011 U30 on page 5 Maxim Integrated DS28C36Q+U IC,Digital,Memory,Secure,8kb,ECC-256,FIPS 180,SHA-256,Two GPIO Bits Secure memory For additional information see the DS28C36 Data Sheet
I2C_1 0111100 U5 on page 5 Honeywell HMC5883L-TR Sensor,Relitive Humidity,SMT Relitive humidity (alternate) For additional information see the HMC5883 Data Sheet
I2C_1 1000000 PCB14 on page 9 none none Software Note PCA9685PW setup For additional information see the Data Sheet
I2C_1 1000000 U10 on page 9 NXP PCA9685PW,118 IC,Digital,LED Driver,I2C,16 Outputs Servo PWM Driver- Only channels 8 to 15 used, not in order. EXTCLK pin tied to 12.000MHz for a prescaler value of 49. For additional information see the PCA9685 Data Sheet
I2C_1 1011100 U3 on page 5 ST Microelectronics LPS25HBTR Sensor,Pressure,Absolute,260-1260 hPa Absolute pressure for pressure altitude (alternate) For additional information see the LPS25H Data Sheet
I2C_1 1011111 U4 on page 5 ST Microelectronics HTS221TR Sensor,Humidity & Temperature, SMT Relitive humidity For additional information see the HTS221 Data Sheet
I2C_1 1101000 U26 on page 5 Maxim Integrated DS3231S# IC,Digital,Time Of Day Clock,Built-In Crystal Time of day clock For additional information see the DS3231 Data Sheet
I2C_1 1101001 PCB11 on page 5 none none Software Note IMU data over a data pipeline For additional information see the Data Sheet
I2C_1 1101001 PCB12 on page 5 none none Software Note MPU-9250 Library For additional information see the Data Sheet
I2C_1 1101001 U16 on page 5 Invensense MPU-9250 IC,Sensor,9 Axis,I2C & SPI 3 axis gyro, 3 axis accelerometer, 3 axis magnatometer, mounted on board centerline.- Reg 55: ACTL=1, OPEN=0 For additional information see the MPU9250 Data Sheet
I2S Select=0 U22 on page 5 Knowles SPH0645LM4H-B Sensor,Microphone,Digital Output,I2S Audio input through I2S microphone, left channel For additional information see the MIC Data Sheet
LED LED_CLK U32 on page 5 NXP XC7SET08GW,125 IC,Digital,Gate,And,TTL Thresholds On Inputs Serial bus clock for APA102 RGB LEDs For additional information see the XC7SET08 Data Sheet
LED LED_Data U31 on page 5 NXP XC7SET08GW,125 IC,Digital,Gate,And,TTL Thresholds On Inputs Serial bus Data for APA102 RGB LEDs For additional information see the XC7SET08 Data Sheet
SPI SPI_ADDR1..0=0b00 U7 on page 5 Measurement Specialities MS560702BA03-00 Sensor,Pressure,Absolute,SMT Absolute pressure for pressure altitude For additional information see the MS5607 Data Sheet
SPI SPI_ADDR1..0=0b01 U6 on page 5 ST Microelectronics H3LIS331DLTR Sensor,Acceleration,3 axis,High G, I2C/SPI Interface High G accelerometer, 3 axis For additional information see the H3LIS331 Data Sheet
SPI SPI_ADDR1..0=0b10 U18 on page 7 Texas Instruments ADS7957SDBTR IC,Linear,A/D,10 Bit, 16 Channel,SPI Interface 16 channel analog to digital converter. CH0=keypad, CH7=temperature, CH8=Current Fire_A, CH9=Current Fire_B, CH10=Current Fire_C, CH11=Current Fire_D, CH12=Voltage Fire_A, CH13=Voltage Fire_B, CH14=Voltage Fire_C, CH15=Voltage Fire_D For additional information see the ADS7957 Data Sheet
UART UART U1 on page 6 SkyTraq Venus838FLPx-L Module,GPS,50Hz Update Rate,-165dB Tracking Sensitivity GPS, 9600 baud, 8N1 For additional information see the GPS Data Sheet

End of report                 Copyright © 2018 Robert Rau