PICAXE DEVELOPMENT BOARD _AXE091_ by linzhengnd

VIEWS: 70 PAGES: 8

									PICAXE DEVELOPMENT BOARD (AXE091)

Description:
     The PICAXE development board allows circuits for any size/revision of PICAXE chip (8 / 14 / 18 / 20 / 28 /
     40) to be quickly tested using a prototyping breadboard. The development board provides power and
     computer download connections, aswell as simple input and output devices for testing purposes.
     This datasheet provides circuit information for the PICAXE Development board only. Please see the main
     PICAXE manuals for information on how to use the software and how to build circuits.




Features:
     •   Supports all 8/14/18/20/2840 pin PICAXE chips.
     •   Computer download circuit pre-configured on PCB.
     •   Large breadboard area.
     •   Regulated power supply or battery powered, with LED power indicator.
     •   3 LED indicator outputs.
     •   3 Digital switch inputs.
     •   LDR and preset resistor analogue inputs.
     •   DS18B20 digital temperature sensor
     •   Infra red sensor and LED output
     •   Keyboard connector
     •   Serial (inverted and true (MAX202 buffered)) RS232 connectors
     •   Sockets for I2C and SPI memory chips (not supplied)
     •   Socket and battery connector position for DS1307 Real Time Clock (not supplied)


Assembly:
     The PICAXE development board is supplied fully assembled and tested and is fitted with a PICAXE-18X
     microcontroller. Other PICAXE chips may be purchased separately.

     If desired the spacer set provided may be fitted to lift the bottom of the board off the worksurface. Please
     use all 6 spacers to help prevent the board flexing whilst in use.




revolution           Revolution Education Ltd.   Email: info@rev-ed.co.uk Web: www.rev-ed.co.uk Version 1.0 01/09
                                                                                                                    AXE091.PMD
AXE091 PICAXE DEVELOPMENT BOARD                                                                                                2




Optional Components (not included)

      9V Power Supply (UK style plug)                             PWR009A
      DS1307 Real Time Clock IC                                   MIC055
      3V CR2032 Lithium Cell                                      BAT004
      Lithium Cell Holder                                         BAT004H-SM
      25LCxx SPI EEPROM                                           -
      Radio Control Servo                                         GBX010
      PS2 style Computer Keyboard                                 -
      9 way Serial Cable                                          CAB010


PICAXE Circuit Diagram (08 / 14/ 20 pin devices)

                                                                                                                   5V




                                                                       1         8
                                  22k
                                                          serial in
                                                                       2         7                    out 0
                                                                                      serial out
                                                                            08




                                                    in / out 4         3         6                    in / out 1

                                                         in 3          4         5                    in / out 2
                            10k


               1
               2
               3
                                                                                                                   0V

                                                                                                                    5V




                                                                       1         14
                                   22k
                                                           serial in
                                                                       2         13                     out 0
                                                                                         serial out
                                                           in 4        3         12                     out 1

                                                           in 3        4         11                     out 2
                                                                            14




                             10k
                                                           in 2        5         10                     out 3

               1                                           in 1        6             9                  out 4
               2
               3                                           in 0        7             8                  out 5




                                                                                                                   0V


                                                                                                                   5V




                                                                       1         20
                                 22k
                                                          serial in
                                                                       2         19
                                                                                         serial out
                                                         in 7          3         18                   out 0

                                                         in 6          4         17                   out 1
                           10k
                                                         in 5          5         16                   out 2
                                                                            20




           1                                             in 4          6         15                   out 3
           2
           3                                             in 3          7         14                   out 4

                                                         in 2          8         13                   out 5

                                                         in 1          9         12                   out 6

                                                         in 0          10        11                   out 7


                                                                                                                   0V




revolution           Revolution Education Ltd.   Email: info@rev-ed.co.uk Web: www.rev-ed.co.uk Version 1.0 01/09
                                                                                                                         AXE091.PMD
AXE091 PICAXE DEVELOPMENT BOARD                                                                                               3




PICAXE Circuit Diagram (18 pin devices)


                                                                                                                   5V

                                   4k7


                                                   in 2          1                18   in 1
                                                  serial out
                                                                 2                17   in 0
                        22k
                                                   serial in
                                                                 3                16   in 7




                                                                      PICAXE-18
                                                                 4                15   in 6

                                                                 5                14
                  10k
                                                 out 0           6                13   out 7
   1                                             out 1           7                12   out 6
   2
   3                                             out 2           8                11   out 5

                                 reset           out 3           9                10   out 4


                                                                                                                   0V



PICAXE Circuit Diagram (28 / 40 pin devices)


                                                                                                              5V

                                     4k7


                                                                 1                28   out 7
                                                  ADC 0          2                27   out 6
                                                  ADC 1          3                26   out 5
                                                  ADC 2          4                25   out 4
                                                  ADC 3          5                24   out 3
                                                                 6                23   out 2
                                                                      PICAXE-28




                                                     serial in
                          22k
                                                    serial out   7                22   out 1
                    10k                                          8                21   out 0
                                                                 9                20
                                                  8MHz
       1                                                         10               19
       2
       3                                              in 0       11               18   in 7
                                                      in 1       12               17   in 6
                                                      in 2       13               16   in 5
                                                      in 3       14               15   in 4
                         reset



                                                                                                              0V




revolution          Revolution Education Ltd.   Email: info@rev-ed.co.uk Web: www.rev-ed.co.uk Version 1.0 01/09
                                                                                                                        AXE091.PMD
AXE091 PICAXE DEVELOPMENT BOARD                                                                                                                 4




Using the PICAXE Development Board:
      Important Notes:
      1. Up to 3 PICAXE chips can be fitted at any one time in the following sockets:
            - Top socket          - either 08 or 14 or 20
            - Centre socket       - 18
            - Lower socket        - either 28 or 40
      2. Only one power source should be connected at any one time.
      3. PICAXE chip polarity (pin 1 to top left) should be observed at all times.

      Failure to observe any of these points may result in damage to the PICAXE chip.




PICAXE Input/Output Pin Connections:
      Every pin of the PICAXE chip is brought out to a numbered position on a header
      beside the IC socket:
             - top socket for 08 / 14 / 20 pin devices
             - centre socket for 18 pin devices
             - lower socket for 28 / 40 pin devices

      Note that on the left hand side of the lower socket there are separate header points
      for the 40 pin (outer row) and 28 pin (inner row) parts. On all other parts the
      headers are common for all size parts.

      The following connections are already made via the PCB:
      08/14/20 pin socket
             - power and serial download circuit


      18 pin socket
             - power and serial download circuit
             - 4k7 pull up and reset switch on PICAXE reset pin


      28/40 pin socket
             - power and serial download circuit
             - 4k7 pull up and reset switch on PICAXE reset pin
             - 8MHz resonator


Computer Connection:                                                                                                             serial out
                                                                             Above view
      Only use the AXE027 PICAXE USB cable                                                                                       serial in
                                                                                                                           22k   0V
      or AXE026 serial cable.                                                  x           x
                                                                               x           x a
                                                                                                                     10k
                                                                       a
      The standard PICAXE 22k/10k download          b
                                                                                     x
                                                                                             b                                     PICAXE
                                                           c
                                                    c
      circuit is used on each of the three
      download sockets, aswell as the fourth
      (inverted “N” RS232 communication) socket at the bottom
      of the board.

      The 9 way D connector socket is used for True (“T”) RS232 communication, not for
      new program downloads.



revolution            Revolution Education Ltd.   Email: info@rev-ed.co.uk Web: www.rev-ed.co.uk Version 1.0 01/09
                                                                                                                                          AXE091.PMD
AXE091 PICAXE DEVELOPMENT BOARD                                                                                            5




Reset Switch:
      The reset switches only reset PICAXE chips with an external reset pin (18/28/40).
      To reset the 08/14/20 pin devices you must disconnect and reconnect the battery
      (or power supply).



Power Supply:
      There are two options on how to provide power to the Development board, but
      ensure only one option is connected at any one time. The green PWR LED indicates
      power to the board.
      1. Battery - connect a 4.5V (3xAA cell, not supplied) battery box to the screw
         terminals, ensuring correct polarity. Do not use 6 or 9V battery packs.
      2. Power supply - connect a regulated 9V DC power supply with 2.1mm (positive
         tip) connector (not supplied e.g. part PWR009A).
      Do not use both power options at the same time!


                      1N4001
             9V                                  7805                                      +5V
                                                 regulator

                                                                           +
              In                                                                           Out
                                                              100n             100u
             0V                                                                            0V




      The power supply connection is regulated to 5V by the 7805 regulator and reverse
      polarity protected by a diode. The screw terminal battery connection is not
      regulated and so connects directly to the PICAXE chip.
      Do not use a 9V PP3 battery on this connection. Only use a 4.5V (not 6V) battery
      pack.




revolution           Revolution Education Ltd.    Email: info@rev-ed.co.uk Web: www.rev-ed.co.uk Version 1.0 01/09
                                                                                                                     AXE091.PMD
AXE091 PICAXE DEVELOPMENT BOARD                                                                                           6




Input and Output Header Summary:

      Right hand header
             V+    Positive power supply
             0V    Ground
             KD    Keyboard Data
             KC    Keyboard Clock
             IRR   Infra-red receiver
             IRL   Infra-red LED
             L3    Red LED L3
             L2    Yellow LED L2
             L1    Green LED L1
             SVO Servo header
             LDR LDR sensor
             TMP DS18B20 temperature sensor
             SW3 Switch SW3
             SW2 Switch SW2
             SW1 Switch SW1
             POT Preset resistor
             V+    Positive power supply
             V+    Positive power supply
             0V    Ground
             0V    Ground

      I2C header
             WP    24LCxx EEPROM write protect (pulled low)
             SDA   i2c Data (24LCxx and DS1307)
             SCL   i2c Clock (24LCxx and DS1307)
             OUT   DS1307 open collector output

      RS232 header
            N      TXD        Inverted polarity transmit (via 3.5mm jack socket)
                   RXD        Inverted polarity receive (via 3.5mm jack socket)
            T      TXD        True polarity transmit (via MAX202 / 9 pin socket)
                   RXD        True polarity receive (via MAX202 / 9 pin socket)

      SPI header
             CS    25LCxx EEPROM Chip Select
             SDO   25LCxx Data Out
             SDI   25LCxx Data In
             SCL   25LCxx Clock

      Seven Segment Display
             A-G LED segments (no resistor provided)
             DP    Decimal point LED (no resistor provided)
                   Common cathode is connected to 0V

      BAT Header
                   Optional 3V backup supply for DS1307 RTC
                   (note a SM socket may also be fitted under the board)




revolution           Revolution Education Ltd.   Email: info@rev-ed.co.uk Web: www.rev-ed.co.uk Version 1.0 01/09
                                                                                                                    AXE091.PMD
AXE091 PICAXE DEVELOPMENT BOARD                                                                                                                                                                         7




Input and Output Device Information:                                                                                 5V
                                                                                                                                                                               4k7         4k7
                                                                                                                                                                    4
                                                                                                                                                                   V+




                                                                                                                                                        KEYBOARD
      Keyboard Connector (KD,KC)                                                                                                 6           5
                                                                                                                                                                        Clock 5                   SCL
                                                                                                                             4                   3                      Data                      SDA
      The 6 pin mini DIN connector provides a connection and power to a computer                                                     2   1

                                                                                                                                                                   0V
                                                                                                                                                                                1
                                                                                                                          Socket (on pcb)
                                                                                                                                                                    3
      style keyboard (not included). A 4k7 pull-up resistor is included on the data and                              6-pin Mini-DIN (PS/2)
                                                                                                                     1 - Data (to PICAXE input7)
                                                                                                                     2 - Not used
                                                                                                                     3 - 0V Ground
      clock lines.                                                                                                   4 - +5V Supply
                                                                                                                     5 - Clock (to PICAXE input6)
                                                                                                                     6 - Not used

      Comamnds - kbin, keyin, keyled                                                                                 0V



                                                                                                                     5V
      Infra-red receiver (IRR)




                                                                                                                                                               330R
                                                                                                                                             4k7
      The infra-red receiver circuit including pull up resistors in built onto the board. The
      infra-red signal may be generated via the on-board infra-red LED or an external
                                                                                                                            1                                                   IRR
      device like a TV style remote control.                                                                                2
                                                                                                                            3

      Comamnds - irin, infrain, infrain2
                                                                                                                     0V

      Infra-red LED (IRL)
      The infra-red LED will light when a positive signal is applied. The cathode of the                              pin

      LED is connected by a 330R resistor to 0V.
                                                                                                                                                                                330R
      Comamnds - irout, infraout

      Output LEDs (L1, L2, L3)
                                                                                                                          0V
      Three LEDs are provided (L1 to 3). The LED will light when a positive signal is
      applied. The cathode of the LED is connected by a 330R resistor to 0V.
      Comamnds - high, low, toggle
                                                                                                                                                             V+

      LDR Analogue Input (LDR)
                                                                                                                                                     miniature
      The LDR is arranged with a 10k resistor in a potential divider arangement. The LDR                                                             LDR

      is connected between the input and V+, the resistor between the input and 0V.                                                                          pin
      Commands - readadc, readadc10
                                                                                                                          10k




      Preset Pot Analogue Input (POT)                                                                                                                    0V
      The preset pot is a 10k device connected directly between the V+ and 0V power rails.
      The wiper of the preset pot is connected to the input.
      Commands - readadc, readadc10
                                                                                                                                                                        V+
      Digital Input Switches (SW1, SW2, SW3)
      Three switches are provided. The input is tied low by a 10k resistor, with the switch
      connected between the input and V+. Therefore pressing the switch will result in a                                                                                Pin
      high signal.                                                                                                               10k
      Commands - if pin... then
                                                                                                                                                                        0V

      DS18B20 Temperature Sensor (TMP)
      The digital temperature sensor (located at the bottom right of the breadboard) and
                                                                                                                                             5V
      includes the 4k7 pull up resistor on the data line.
                                                                                                                                                                          4k7
      Commands - readtemp, readtemp12
                                                                                                                                 DS18B20                                             TMP


      Servo header (SVO)                                                                                             temperature
                                                                                                                     sensor

      The servo header provides a convenient way to connect a radio control style servo.
      The power supply is connected directly to the header (R & B) and the signal wire
                                                                                                                                         V+
                                                                                                                                         data
      (Y) is connected to the SVO header.                                                                                                0V
                                                                                                                                             0V
      Commands - servo, servopos




revolution            Revolution Education Ltd.   Email: info@rev-ed.co.uk Web: www.rev-ed.co.uk Version 1.0 01/09
                                                                                                                                                                                                 AXE091.PMD
AXE091 PICAXE DEVELOPMENT BOARD                                                                                                                                             8




      SPI
      The SPI header provides connection to the on-board SPI EEPROM socket, which
      may be fitted with a 25LCxx series EEPROM.                                                                                                                                  5V
                                                                                                                               0.1uF
      Commands - spiout, spiin, hspiout, hspiin
                                                                                                                                            1              16

                                                                                                                              0.1uF         2              15          0V
      RS232
                                                                                                                                            3              14          TX
      Two methods of RS232 communication are provided.                                                                                                                          Computer




                                                                                                                                                 MAX 202
      The inverted (N) method uses a 10k/22k style circuit to the 3.5mm jack socket. This                                                   4              13          RX
                                                                                                                               0.1uF
      allows the normal PICAXE download cable to be used for serial communication via                                                       5              12          RXD
                                                                                                                                                                                 PIC
      the input/output pins.                                                                                                                6              11          TXD

      The true (T) method uses a MAX202 circuit connected to the 9 way D serial socket.                                                NC   7              10     NC
                                                                                                                              0.1uF
      This requires a 9 way serial cable e.g. part CAB010.                                                                             NC   8               9     NC

      Commands - serout, serin, hserout, hserin
                                                                                                                                                                                  0V


      I2C
      The I2C header provides connection to the on-
                                                                          5V
      board I2C EEPROM socket, which may be fitted
      with a 24LCxx series EEPROM, and to the                                                                 4k7       4k7

      DS1307 RTC socket. The SDA and SCL pins
      connect to both device sockets.                                                      OUT
                                                                                           SCL
      The WP pin connects to the EEPROM WP pin,                                            SDA
                                                                                            WP
      and is pulled low by a 10k resistor.
                                                                                                                     DS1307                     24LC16B
      The OUT pin connects to the DS1307 OUT pin.
                                                                                                                 X1            Vcc              A0              Vcc
      Note that this is an open collector (current sink                                     32.768kHz
                                                                                            watch crystal        X2           OUT               A1              WP
      only) type of connection.
                                                                                                                 Vbat         SCL               A2              SCL
                                                                                           BAT
                                                                                                                 GND          SDA               GND             SDA
      A 3V lithium backup cell may be optionally
                                                                                                                     CLOCK                      EEPROM
      connected to the DS1307 RTC chip. This can be
      achieved in either of two ways:
                                                                                                                                                                        10k
              - by soldering a BAT004H-SM socket to
                 the bottom of the board and
                inserting a CR2032 (BAT004) cell                              0V
              - making a connection to the BAT
                header on the top of the board
      Commands - hi2cout, hi2cin, readi2c, writei2c



Prototyping board (breadboard):
      The breadboard has 60 sets of vertical 5 hole connection sets (30 top sets and 30
      bottom sets) for making connections. The vertical sets are not connected across the
      centre of the breadboard.

      The breadboard also has 4 sets of horizontal 25 hole power rails (2 top sets and 2
      bottom sets). The horizontal sets are connected all the way across the top (bottom)
      of the breadboard. The four rails are all independant (not connected).

      Power connection points (marked V+ and 0V) are provided on the header beside
      the ends of the power rails for connecting power to the breadboard rails.




revolution            Revolution Education Ltd.   Email: info@rev-ed.co.uk Web: www.rev-ed.co.uk Version 1.0 01/09
                                                                                                                                                                 AXE091.PMD

								
To top