Raspberry Pi DV AVR

The design of the Raspberry Pi DV AVR board is a GMSK board combined with the basic circuitry of an Arduino. This allows the ATMega328 chip to handle all the interrupts and bit managing so that the software on the Pi can think it is communicating with a GMSK board connected via virtual serial port over USB. The added devices and larger PCB mean a slightly higher BOM cost than the original RasPi DV board.

Raspberry Pi DV AVR board

Schematic

The schematic diagram and PCB layout was done using Eagle CAD. They offer a limited free version of the software available for Windows, Mac and Linux. The PDF of the schematic diagram can be found on the GMSK downloads page.

Mode jumpers

The board hardware has been designed to operate in any one of three modes:
  1. GPIO serial mode - this is the typical mode which has all communication with the Pi going over the serial port on the GPIO connector. J3 and J7 connected, J4 not connected
  2. GPIO I2C mode - this is an alternate mode that uses the shared I2C bus instead of the non-shareable serial port. J4 connected, J3 and J7 not connected
  3. FTDI interface mode - This mode uses the standard FTDI adapter to give a USB connection to the PC. J3, J4 and J7 not connected
The jumpers are small contacts on the bottom of the PCB. A little bit of solder is all that is needed to complete the jumper.

Raspberry Pi DV AVR jumpers

ISP header

This is a 6 pin (3x2) male header used to program the ATMega328 chip. It is the standard ATMEL AVR In-Sysmtem Programming (ISP) connector. The ATMega328 can be programmed with various hardware such as the USBASP or AVRISP boards.

Raspberry Pi DV AVR jumpers

FTDI header

This is a 6 pin (6x1) female connector which allows the use of a USB connection to the computer via a standard FTDI breakout board such as the Sparkfun FTDI Basic Breakout.
Raspberry Pi DV AVR jumpers

Status LEDs

There are four status LEDs on the board:

Test points

There are two test points on the board. The first one is JP3 which is the receive analog feedback signal, and the second one is JP4 which is the transmit analog signal. These two signals can be used to help adjust the variable resistors. See the tuning instructions here.

Software

The ATMega328 chip on the board uses the exact same firmware as the DV for Arduino board. The firmware is compiled for the Arduino UNO and uses the standard UNO Optiboot bootloader. The host side software on the Raspberry Pi is The G4KLX DStar Repeater application using DV-RPTR V1 modem mode. The links to the firmware and software test files can be found on the downloads page.

Bill of Materials

For the most part, all the parts are available from either Mouser and/or Tayda Electronics. The PCBs can come from a service such as OSH Park or Seeed Studio.The prices below are based on purchasing enough parts in bulk to make kits for at least 10 boards. Buying the parts for just a single board would cost quite a few dollars more. The pricing for the resistors and capacitors is based on buying at least multiples of 100 at a time. The pricing for parts at Tayda assumes using 15% discount they regularly post on their Facebook page.

CategoryDescriptionQtyDesignatorsPriceExtVendor link
Semiconductors
CMX589AE21U1$3.700$3.700eBay
MCP6002-I/MS1U2$0.330$0.330Mouser
ATMEGA328P-AU1U4$2.840$2.840Mouser
TXS0102DCTR1U5, U6$0.948$1.898Mouser
IRLML20601Q3$0.149$0.149Mouser
2N70021Q5$0.034$0.034Tayda
LEDs
LED G1D1$0.051$0.051eBay
LED Y1D2$0.054$0.054eBay
LED R1D3$0.051$0.051eBay
Crystals
4.9152MHz1Y1$0.330$0.330Mouser
16.000MHz1Y2$0.085$0.085Tayda
Capacitors
22p (22)1C6$0.008$0.008Tayda
30p (30)4C2, C3, C18, C19$0.071$0.284Mouser
33p (30) alternate4C2, C3, C18, C19$0.008$0.032Tayda
470p (471)2C1, C16$0.008$0.016Tayda
27n (273)4C7, C8, C20, C21$0.100$0.400Mouser
.1u (104)4C4, C10, C14, C22$0.008$0.032Tayda
1u (105)4C5, C11, C13, C15$0.037$0.148Mouser
47p (47)2C9, C17$0.008$0.016Tayda
Resistors
200K potentiometer1Rx$0.162$0.162Tayda
50K potentiometer1Rx (alternate)$0.162$0.162Tayda
500K potentiometer1Tx$0.162$0.162Tayda
100K potentiometer1Tx (alternate)$0.162$0.162Tayda
3302R21, R23$0.008$0.016Tayda
2.7K5R11, R15, R22, R26, R27$0.008$0.040Tayda
1.5K1R29$0.008$0.008Tayda
3.3K1R28$0.008$0.008Tayda
47K8R5, R6, R8, R9, R10, R14, R16, R17$0.008$0.064Tayda
100K6R1, R3, R4, R13, R25, (C10)$0.008$0.048Tayda
820K1R12$0.008$0.008Tayda
1M3R2, R7, R24$0.008$0.024Tayda
Connectors
2x3 conn1$0.025$0.025Tayda
2x13 conn1$0.187$0.187Tayda
PCB
2 sided PCB1$0.825$0.825Seeed Studio
2 sided PCB - Qty 31$9.95$9.950OSHPark
Shipping
Mouser1$0.675$0.675
Seeed1$1.000$1.000
Tayda1$0.280$0.280
Total$12.395

All text and images on ki6zum.com are copyright (c) 2010-2014 and may not be reproduced in any form without written permission.
ki6zum