AWC GP3 Manual Download Page 13

You should check your work before installing IC1 in its socket. Power the board up using your choice of 
methods (9V to the Vin connector or 5V regulated to JP1-11) and verify that 5V appears either at JP1-11 or 
another 5V test point (e.g, the exposed lead of R1 nearest IC3).

Next, proceed to the Final Checkout section below.

GPMPU40

GPMPU40 Parts List

Designator

Description

C1-C4

1 uF capacitor 

C5

0.1 uF capacitor

C6

330 uF capacitor 

C7, C8

Optional. Capacitors matched to X1 if needed.

D1

5V LED

IC1

GP3 CPU and 28 pin narrow socket; install so pin 1 matches pin 1

IC2

40 pin footprint; used for wiring connections in this case

IC3

MAX232 

IC4

7805

IC5 (not marked)

An 8 pin socket can be placed so pin 1 matches pin 17 of IC1. An MCP602 may be supplied (see text). 
This socket is not wired to anything by default so you can place anything you wish here (or nothing).

JP1, JP2

Forms one 40 pin connector with JP1-1 being pin 1 and JP2-1 being pin 21. These are normally 
installed on the bottom of the board so the board can plug into a solderless breadboard. However, it is 
possible to install on the top side of the board or use different connectors on .1 inch centers.

J1

DB9 female (right angle; short reach)

R1

10K resistor

R2 (not marked)

Dropping resistor for D1, if required. LED supplied does not require R2.

X1

3 pin 20MHz resonator (supplied) or 20MHz crystal with matching capacitors at C7 and C8

Reset

(optional)  2 pin header for reset jumper

Pgm Run (not 
marked)

3 pin header and jumper

Vin/J2

9V battery snap or optional coaxial power jack

The GPMPU40 board is not specifically designed for the GP3 – it is simply a general purpose board and you 
can read more about it in the GPMPU40 manual (see 

http://www.awce.com/doclib.htm#GPMPU40

). The goal is

to essentially duplicate the GP3X or GPMPU28 schematics (at the end of this manual) on the board.
Building the GPMPU40 version of the GP3 requires you to install parts and then wire the different areas of the 
board together (see table below). You can also customize the board in several ways.
The 28-pin IC socket goes in the IC1 footprint with pin 1 aligned. If you wish to use the optional 8 pin socket, 
place it in IC1 also with pin 1 of the socket lined up with pin 17 of the footprint. 
Other required components for the CPU are X1 and R1. Note that X1 is normally a 20MHz 3 pin resonator. If 
you use a 2 pin resonator or a crystal you'll need matching capacitors (C7 and C8) depending on the crystal you 
select. R1 is the reset resistor and you should also install a 2 pin header at the RESET holes unless you prefer to 
wire an external switch to this port (not supplied). 
If you are using RS232 (the default for this board) install J1, C1-C4, and IC3. It is possible to connect a 
UB232R or other USB to serial board into the spare area under IC1 (the optional 8 pin socket).
The board can be powered by a 5V regulated supply (connected to the Vcc holes or the 5V connector on the 
edge). You can also install IC4 and C6 to provide power on board. In this case you need to supply 8-12V on the 

-10-

Summary of Contents for GP3

Page 1: ...GP3 PC Analog Digital I O Kit 2010 2015 by AWC All Rights Reserved AWC http www awce com v1 6 15 April 2015 For the latest documentation see http www awce com doclib htm gp3 ...

Page 2: ......

Page 3: ... Compatible Notes 7 Arduino Compatible Notes 7 GPMPU28 8 GPMPU28 Parts List 8 GPMPU28 External Connections 8 GPMPU40 10 GPMPU40 Parts List 10 GPMPU40 Connections 11 GPMPU40 Edge Connector 12 Final Checkout 13 Software 13 Reference 16 Quick Reference 20 Additional Prototype Space Wings 21 Specifications 22 Schematic GP3X 23 Schematic GPMPU28 24 ...

Page 4: ...ts nearly anywhere Convenient to plug into a solderless breadboard 2 The GPMPU40 Larger and more customizable than the GPMPU28 Simple to plug into a solderless breadboard or connect in a fixed installation 3 The GP3X This board offers the ultimate customization capabilities for the GP3 There are 6 sections on any GP3 system CPU The CPU chip contains the firmware and memory for the system Note that...

Page 5: ...kit IC3 7805 not included with USB kit IC4 USB cable or daughter board UB232R If daughterboard used includes two 4 pin socket strips and is usually mounted on bottom side of board If not used IC4 can be used for other purposes see options J1 J2 Connectors on 2 centers usually installed on bottom of board but may be installed on top if preferred see options Standard kit comes with pin headers which...

Page 6: ...r there are several options available First you can rewire the port so it selectable between DTE and DCE Near J3 there is a 2x4 pin header marked DTEDCE The PC board has traces running across the pins You can carefully remove the traces between each of the four pairs of pins using a hobby knife or razor the traces are on the top side of the board the side with the silk screen markings Then you can...

Page 7: ...ghter board is installed under the board the pin numbers are reversed That is pin 1 of the module corresponds to IC4 pin 8 and the module s pin 8 will connect to IC4 pin 1 With the USB port on the underside of the board it is usually a good idea to use spacers or bolts in the four corner mounting holes to form feet for the board so it does not rest on the USB interface The connections between the ...

Page 8: ...ult the GP3X kits however have a 5mm tact switch that can install in the holes pins 1 and 3 to provide a true reset switch Interface The primary external access to the board s functions is via J1 and J2 The markings on the board explain what each pin does The 4 corners marked with are ground points There is another ground on J1 right after the analog channels The analog channels are marked A0 to A...

Page 9: ...st to install first Then you can install discrete components like the smaller capacitors resistors and LEDs Large components like the connectors C6 and IC3 should be installed last Construction Notes If your kit is supplied with two 24 pin 1 inch headers simply remove every other pin with pliers so that the headers fit in the J1 and J2 slots C1 C4 have polarity markings but it is not necessary to ...

Page 10: ...can do this via the 2 pin header installed or the screw terminals as you prefer if you plan to only use the screw terminals you don t need to install the two pin header Connect the PI s P1 8 pin to the GP3X TTLSER pin 3 and P1 10 to TTLSER pin 4 This enables serial communications with the Pi The serial port on the Pi is used as the system console This has to be disabled in order to free the port f...

Page 11: ... header for reset jumper Vin Gnd 9V battery snap The board requires no modifications to work with the GP3 However you may want to consider any special power supply connections or serial connections you d like to make In addition you ll need to connect the outside world to the GP3 as appropriate for your situation If you are prototyping you may want to install the header at JP1 and use it to connec...

Page 12: ...ole Although it is customary to put the body of the resistors in the hole that has the white circle around it putting one in backwards will not affect circuit operation Also it is customary to put the ceramic resonator or crystal so that the markings face away from IC1 but putting it backwards will not affect circuit operation Normally C1 C4 are not polarized capacitors However if you use polarize...

Page 13: ...n header for reset jumper Pgm Run not marked 3 pin header and jumper Vin J2 9V battery snap or optional coaxial power jack The GPMPU40 board is not specifically designed for the GP3 it is simply a general purpose board and you can read more about it in the GPMPU40 manual see http www awce com doclib htm GPMPU40 The goal is to essentially duplicate the GP3X or GPMPU28 schematics at the end of this ...

Page 14: ... Required IC2 10 CLK hole not used by IC2 9 Required JP1 14 LED long lead Optional JP1 15 LED short lead Optional IC2 15 IC2 26 1K resistor Optional used with normal LED IC2 15 Ground any hole Optional used with 5V LED JP4 26 Ground any hole Optional used with normal LED IC2 29 T Required IC2 30 R Required IC2 31 Ground any hole Required IC2 32 Vcc Required IC2 34 r Required IC2 35 t Required JP7 ...

Page 15: ...M output 14 Onboard LED output 27 Digital I O 1 28 Digital I O 2 29 30 Must be disconnected serial I O 31 Ground 32 5V 33 Digital I O 0 34 35 Must be disconnected serial I O 36 Digital I O 3 37 Digital I O 4 38 Digital I O 5 39 Digital I O 6 40 Digital I O 7 You can use the extra pins in the IC2 foot print to mount an op amp MCP602 is optionally supplied note the MCP602 is designed to operate off ...

Page 16: ...ble and the appropriate COM port Once these checks are complete or you are feeling lucky you can fit a jumper on the Pgm Run header so that the center pin connects to the pin closest to the word Run on the GP3X For the GPMPU40 the jumper at JP7 should have a short between JP7 2 and JP 3 For the GPMPU28 connect JP1 3 to the 5 volt supply pin JP1 11 for example Install IC1 and power up the board The...

Page 17: ...anguages Very simple to use ActiveX not portable Must have correct MS dependencies This page has more info see below Core installer has ActiveX and standard DLLs Example with VB Express Windows DLL or Library Standard library can produce a standard library a DLL or you can just include the source code in your C or C program Portable same code usable on Linux Windows Cygwin Windows CE DLL usable wi...

Page 18: ...mbas Linux Gambas is a VB like RAD tool for Linux that supports the GP3 Easy visual development Linux only Gambas Example GNUPlot Linux This article shows a simple way to stream data from a GP 3 to GNUPlot No real programming flexible and easy Linux only not the fastest solution GNUPlot Example Arduino Libraries to interface the GP3 A to Arduino Works with any GP3 board if interfaced to Arduino In...

Page 19: ...n addition there is a 16 bit argument ARG that can be set by special commands Some commands use this argument word as an additional source of data When the GP3 sends data to the PC it is not encoded in any particular way since the GP3 only responds to queries from the PC there is no chance of desynchronizing All data back and forth is in binary although the results from a raw inp command happen to...

Page 20: ...ication The cselect argument can be 0 1 or 4 The default 0 uses ground and the supply voltage as references A value of 1 selects analog input 3 as the positive reference the negative reference is still ground in this case A value of 4 uses analog input 2 as the negative reference and analog input 3 as the positive reference This is useful for expanding the sensitivity of the A D converter So using...

Page 21: ... is made an output The duration in 2uS units uses ARG in raw command mode The pulse is formed by inverting the current state of the output pin for the time specified Raw command 0 1 0 0 P P P 1 where P P P is the pin number freq This command generates a simulated sine wave using PWM on one of the 8 digital I O pins The duration is specified in milliseconds and the frequency in Hertz For raw comman...

Page 22: ...k This function returns TRUE if the GP3 is responding errflag If an error occurs this flag will be set to true readbyte Reads a byte from the GP3 This is useful when using a repeating command that returns bytes readword Reads a word from the GP3 This is useful when using a repeating command that returns words Direct only Commands There are several commands the GP3 recognizes that are not exposed b...

Page 23: ...WM for specified duration Automatically makes pin an output count pin duration word Counts pulses on specified pin for duration in mS or 2mS for Pi Automatically makes pin an input rctime pin state word Measures time pin stays in state 2uS resolution 4uS for Pi Automatically makes pin an input pulsein pin state word Measures pulse 2uS resolution 4uS for Pi Automatically makes pin an input pulseout...

Page 24: ...se wings you will order the GP3 X with pins instead of screw terminals The pins will mount on the bottom of the PCB so you will solder them from the top Then you can solder the wings to pins on the sides you want to add prototyping space While you can put them anywhere it is best to put the pins in the edge of the first group of 4 holes in a row the breadboard holes The pins will consume one colum...

Page 25: ...ut low voltage maximum 0 8V Input high voltage minimum 2 0V Input leakage current maximum 1uA Output low voltage maximum 0 6V Output High voltage minimum Vdd 0 7V EEPROM endurance minimum 100 000 write cycles A D resolution 10 bits A D Integral error 1LSB A D Differential error 1LSB A D Offset error maximum A D Vref minimum 2 7V Recommended analog input impedance 10k ohm Vref input current maximum...

Page 26: ...Schematic GP3X 23 ...

Page 27: ...Schematic GPMPU28 24 ...

Reviews: