Picaxe AXE401 Скачать руководство пользователя страница 7

7

revolution

Revolution Education Ltd.     Web: www.picaxe.co.uk

Version 1.3 04/11

AXE401.PMD

AXE401 PICAXE-28X2 Shield Base

3.0 Power Supply

The shield base is primarily

designed to be used with an

external ‘plug in the wall’ regulated

power supply that provides 9-12V

DC on a 2.1mm, centre (tip)

positive connector. A suitable

power supply for UK use (only) is

part PWR009A.

A minimum of about 6.5V is required via the 2.1mm power connector, and voltages

above 12V may cause the regulators to get hotter (some warmth is normal). Do not

use a PP3 9V battery via this connector, this type of 9V PP3 battery is designed for

long term minimal current use (e.g. in a smoke alarm) and so is simply not suitable

for long term use of any type of shield base.

The board can also be powered via batteries (e.g. 4.5V from 3 x AA alkaline cells)

via the 5V power header. Connect the red positive wire to ‘5V’ and the black

negative wire to ‘GND’. Alternately, if assembling your own board, leave off the 5V

regulator and solder in a battery clip instead (see the minimum battery powered

circuit assembly example).

The shield base contains both 5V and 3V low-drop out regulators, each rated at

500mA. Therefore for 3V work there is generally no need to build a separate 3V

regulator onto the shield. However if the shield already has a 3V regulator fitted this

may still be used.

3.1 Why the 5V / 3V Jumper H1?

Most shields are designed to work with a 5V system voltage, so jumper H1 should

be left in the 5V position. However when building your own circuit using a proto

shield with a third party 3V only device, for instance an XBee or GPS module, this

third party device may be 3V tolerant only and hence damaged at 5V. So rather than

build 5 to 3V conversion circuits on to the proto shield it is simply much easier to

run the entire system voltage at 3V to start with. This is no problem for the PICAXE-

28X2, which can be used at any system voltage between 2.1V and 5.5V.

3.2 Can I power the board from the USB port of my computer?

We are not keen supporters of the USB powering method. The majority of PICAXE

shield projects are only connected to the computer whilst programming, so

generally require a separate power supply system for the actual project use anyway.

Therefore we suggest that you might as well use this power supply all the time!

Many users also fail to recognise the power limitations of USB (e.g. when a laptop

goes to sleep), and the current limitations when using the more complex shields

with additional on board regulators or motors. However if you so desire you may

naturally choose to use a USB breakout board or USB breakout cable to provide 5V

to the board (via the power header).

H3

Default positions of the 4 jumper links

3V3

H1

5V

H4

H2

H1 - 5V - Top

H2 - RXD - Bottom

H3 - TXD - Bottom

H4 - LED - On

LED

AXE401 PICAXE Shield Base - Power Circuit

C5

100n

RG1

LD50V

+

+

+

H1

D1

1N4001

RG2

LD33V

C4

100n

C3

22u

C2

22u

C1

22u

R8

330

L2

Vin

V5V

V3V3

VIC

GND

Reset

V3V3

V5V

GND

GND

Vin

Power

Header

CON1

Содержание AXE401

Страница 1: ...multiple different shields that are now available The shield base has been very carefully designed to be compatible with the vast majority of existing shields Each PICAXE shield base is also provided...

Страница 2: ...am 12 7 0 Kits Why offer a self assembly kit as well as pre assembled boards 13 7 1 AXE401 Contents pre assembled shield base 14 7 2 AXE401Kit Contents self assembly kit 14 7 3 AXE401PCB Contents PCB...

Страница 3: ...ct boards and chips so by buying this permanently low priced promotional shield PCB we hope you will consider purchasing further PICAXE microcontrollers and project boards in the future We will post t...

Страница 4: ...function which is now allocated to a completely different pin to the normal shield layout Therefore the PICAXE shield base has been very carefully laid out to ensure the special functions match the e...

Страница 5: ...In Out ADC Touch hserout kb clk C 6 18 2 S 2 In Out ADC Touch hpwm B hint 2 B 2 8 3 S 3 In Out ADC Touch pwm hint0 B 0 12 4 S 4 In Out ADC Touch hpwm C hint 1 B 1 10 5 S 5 In Out ADC Touch pwm B 5 13...

Страница 6: ...has 4 not 6 PWM channels Therefore if a required PWM hardware feature is not on an available pin a very simple modification may be required As a real world example let us look at the Sparkfun Ardumot...

Страница 7: ...are designed to work with a 5V system voltage so jumper H1 should be left in the 5V position However when building your own circuit using a proto shield with a third party 3V only device for instance...

Страница 8: ...3 A single download cable can be used for all your different PICAXE projects even those not built upon shield bases Therefore the initial cost of the intelligent AXE027 download cable is slightly mor...

Страница 9: ...oldered onto the board in position X1 As the PICAXE 28X2 contains an internal 4x PLL multiplier an external 16MHz resonator provides a 64MHz operating frequency An external 8 MHz resonator would provi...

Страница 10: ...d provide additional program or data storage memory space The 28X2 program could also be updated using the booti2c command using an EEPROM inserted into this socket A suitable part would be the Microc...

Страница 11: ...E software is available as the Programming Editor for Windows and AXEpad for Mac and for Linux All three titles are completely free to download and use If you prefer to program in a different third pa...

Страница 12: ...and the COM port is set to the AXE027 PICAXE USB cable Click OK 6 Type in this program picaxe 28x2 do high S 13 pause 1000 low S 13 pause 1000 loop and then click the PICAXE Program menu If all is we...

Страница 13: ...re provided with a completely free AXE405 prototyping shield PCB A starter pack including the AXE027 USB cable as well as the assembled shield base is also available AXE410U The self assembly board is...

Страница 14: ...1 RG1 1 5V 500mA LD1117V50 regulator LD50V RG2 1 3 3V 500mA LD1117V33 regulator LD33V C1 C2 C3 3 22uF 35V electrolytic capacitor 22u C4 C5 2 100nF polyester capacitor 104 or 1 L1 L2 2 3mm yellow LED S...

Страница 15: ...aders into the following combinations 8 2 8 2 6 3 1 6 3 1 7 3 not required on preassembled kit The 1x 2 way and 3x 3 way lengths are used on the AXE401 PICAXE shield base The 2x 8 way and 2x 6 way len...

Страница 16: ...ther anyway 6 Solder the two LEDs in positions L1 and L2 The long leg positive anode of the LED must be in the hole nearest the marking on the PCB 7 Solder the two 100nF marked 100n or 1 capacitors in...

Страница 17: ...embly is now complete 7 7 Optional Components not supplied Peel the protective covering from the rear of the PCB over the pads for X1 ICSP and IC2 if present This can be easily lifted with a finger na...

Страница 18: ...2 6 way 2 54mm socket I O3 4 2 8 way 2 54mm socket This is the minimum parts list required for a minimalistic very low cost solution Here the shield base is configured for permanent battery power eit...

Страница 19: ...n this case the solder joints will be on the bottom side of the PCB 8 1 Using the proto shield The proto shield is a tri pad design where most of the prototyping solder pads are joined together in set...

Страница 20: ...ut any I O pin S 2 recommended 10 0V GND 14 Vref 3V3 It is also common to connect an LED and 180R resistor between these XBee pins and GND so that the status of the XBee module may be observed 6 RSSI...

Страница 21: ...4 5 6 7 8 9 10 11 12 13 14 VIC GND 28 27 26 25 24 23 22 21 20 19 18 17 16 15 S A0 A 0 S A1 A 1 S A2 A 2 S A3 A 3 TXD S 8 C 0 S 9 C 1 S 10 C 2 B 7 S 7 B 6 S 6 B 5 S 5 B 4 S A5 B 3 S A4 B 2 S 2 B 1 S 4...

Страница 22: ...100n C3 22u C2 22u C1 22u R8 330 L2 Vin V5V V3V3 VIC GND Reset V3V3 V5V GND GND Vin Power Header CON1 Appendix B Circuit Schematics Power and optional EEPROM Circuits IC2 A0 A1 A2 GND Vcc WP SCL SDA R...

Страница 23: ...23 revolution Revolution Education Ltd Web www picaxe co uk Version 1 3 04 11 AXE401 PMD AXE401 PICAXE 28X2 Shield Base Appendix C Dimensions TOP...

Страница 24: ...ree Free Support for Windows Yes Yes Support for Mac Yes Yes Support for Linux Yes Yes Downloads via USB port Yes Yes The microcontroller comparison is Program Slots 4 x 4k 1 x 14k 30k User RAM bytes...

Страница 25: ...cts both chips will do a very good job In global terms Microchip have a larger market share of the commercial microcontroller market and in 2008 attempted an unsuccessful buyout of Atmel Each chip has...

Страница 26: ...a PIC microcontroller but program it in assembler or C or other language instead of using the PICAXE system Can I do this Of course you can use whichever PIC programming system you like On the side o...

Отзывы: