![AWC GP3 Скачать руководство пользователя страница 11](http://html.mh-extra.com/html/awc/gp3/gp3_manual_3035292011.webp)
be able to use any digital pins for the serial port (it depends on what serial library you use). The example
programs use pins 8 and 12 on the Arduino. Connect pin 8 to pin 3 of TTLSER and pin 12 to pin 4 on TTLSER.
For software, download the Arduino-compatible library at
http://www.awce.com/gp3ard.htm
. Unzip the files to
your Arduino/libraries directory. Once you restart (or start) the Arduino IDE, you will be able to use the library
like any other library. Example code is installed and you can access it via the Arduino Examples menu. In
addition, online documentation is available at
GPMPU28
GPMPU28 Parts List
Designator
Description
C1-C4
1 uF capacitor
C5
0.1 uF capacitor
C6
330 uF capacitor
D1
5V LED
IC1
GP3 CPU and 28 pin narrow socket
IC2
MAX232
IC3
7805
JP1
11 pin header; normally installed so the plastic and long pins are on the bottom of the board and
soldered on the top of the board.
J1
DB9 connector (female, short reach)
R1
10K resistor
X1
3 pin 20MHz resonator
Reset
(optional) 2 pin 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 connect to a solderless
breadboard. For best results, install JP1 on the bottom of the board so that the plastic and long part of the pins
are under the board. Then solder the short pins as the protrude through the top side of the board (the side with
silk screen markings). You can also solder wires to the holes along the long edge of the board near IC1 to
connect to external circuitry or use any other connection on 0.1” centers.
GPMPU28 External Connections
Pin
Description
JP1-1
Ground
JP1-2
Hardware PWM output
JP1-3
Ground for normal operation; +5V to run compiled and downloaded script (GP3A1 and above only). Note
GP3 chips have a simple LED blinking test program preloaded, so connecting JP13 to +5V is a good way to
test your GP3.
JP1-4
External count input
JP1-5
Analog input #4
JP17
Analog input #3
JP1-8
Analog input #2
-8-