Вы находитесь на странице: 1из 9

BasicATOM 28-M

Data Sheet

BasicATOM 28-M
Data Sheet

(c) 2009 BasicMicro. All Rights Reserved.

BasicATOM 28-M

Data Sheet

Feature Overview:

14 KB of Program Space (FLASH)


368 Bytes of User Memory (RAM)
256 Bytes of User Memory (EEPROM)
19 Input / Output Pins
Built-in 5V Regulator
RS232 Port for In-Circuit Serial Programming
Analog-to-Digital Capable I/O Pins
Buffered Hardware Serial Port
2 Capture Compare
2 Hardware PWM
Hardware Interrupts
32 Bit Floating Point Math
32 Bit Integer Math
NTSC Video Display Generation
Over 33,000 BASIC Instructions Per Second

SOUT

VIN

SIN

VSS

ATN

RES

VSS

VCC

P0

P15

P1

P14

P2

P13

P3

P12

P4

P11

P5

P10

P6

P9

P7

P8

P16

P19

P17

P18

Basic Description
The BasicATOM 28-M is a self contained microcontroller designed for demanding embedded use. It is
built upon the Microchip PIC16F876A (RevD Module uses PIC16F886) processor and is designed to be
pin-compatible to both the BasicATOM Pro 28-M module and the Basic Stamp line of modules.
Hardware Overview:

D
B
C

Pin 1

A: BasicATOM CPU PIC16F876A (RevD Module uses PIC16F886). Stores and executes program code.
B: Resonator circuit. Generates primary clock for CPU.
C: RS232 level shifting circuit. This allows the BasicATOM to connect directly to a PC.
D: Power regulator. Input 6 to 9VDC.

(c) 2009 BasicMicro. All Rights Reserved.

BasicATOM 28-M

Data Sheet

Pin Assignment Overview


Pin

Description

P0

General purpose I/O Pin.


Individually controlled interrupt-on-change.
Individually enabled pull-up.
A/D Channel 12 (RevD Only).

P1

General purpose I/O Pin.


Individually controlled interrupt-on-change.
Individually enabled pull-up.
A/D Channel 10 (RevD Only).

P2

General purpose I/O Pin.


Individually controlled interrupt-on-change.
Individually enabled pull-up.
A/D Channel 8 (RevD Only).
PWM Output.

P3

General purpose I/O Pin.


Individually controlled interrupt-on-change.
Individually enabled pull-up.
A/D Channel 9 (RevD Only).
Comparator C1 or C2 negative input.

P4

General purpose I/O Pin.


Individually controlled interrupt-on-change.
Individually enabled pull-up.
A/D Channel 11 (RevD Only).
PWM Output.

P5

General purpose I/O Pin.


Individually controlled interrupt-on-change.
Individually enabled pull-up.
A/D Channel 13 (RevD Only).

P6

General purpose I/O Pin.


Individually controlled interrupt-on-change.
Individually enabled pull-up.

P7

General purpose I/O Pin.


Individually controlled interrupt-on-change.
Individually enabled pull-up.

P8

General purpose I/O Pin.

P9

General purpose I/O Pin.


Capture/Compare/PWM2.

P10

General purpose I/O Pin.


PWM Output.
Capture/Compare/PWM1.

P11

General purpose I/O Pin.


SPI Clock.
I2C Clock.

P12

General purpose I/O Pin.


SPI data input.
I2C Data Input / Output.

(c) 2009 BasicMicro. All Rights Reserved.

BasicATOM 28-M

Data Sheet

Pin

Description

P13

General purpose I/O Pin.


SPI Data output.

P14

General purpose I/O Pin.


EUSART asynchronous transmit.
EUSART synchronous clock.

P15

General purpose I/O Pin.


EUSART asynchronous input.
EUSART synchronous data.

P16

General purpose I/O Pin.


A/D Channel 0.
Ultra Low-Power Wake-up input.
Comparator C1 or C2 negative input.

P17

General purpose I/O Pin.


A/D Channel 1.
Comparator C1 or C2 negative input.

P18

General purpose I/O Pin.


A/D Channel 2.
A/D Negative Voltage Reference input.
Comparator C2 positive input.

P19

General purpose I/O Pin.


A/D Channel 3.
A/D Positive Voltage Reference input.
Comparator C1 positive input.

SOUT

Programming output pin (connects to RS232 RX


pin).

SIN

Programming input pin (connects to RS232 TX


pin).

ATN

Active-High reset signal for programming (Connects to RS232 RTS pin).

VSS

Ground (GND)

VCC

Regulated power input / ouput. 5VDC 50 mA


output. 5VDC 100 mA input.

VIN

Unregulated power input. 9VDC maximum input.

RES

Active-low reset. Pin is pulled high internally and


can be left disconnected (non-reset).

(c) 2009 BasicMicro. All Rights Reserved.

BasicATOM 28-M

Data Sheet

Programming Interface
The BasicATOM 28-M can be programmed from a simple RS232 serial programming interface. Only 4
connections to a RS232 DB9 cable are required.

SOUT
SIN
ATN
VSS
P0
P1
P2
P3
P4
P5
P6
P7
P16
P17

VIN
VSS
RES
VCC
P15
P14
P13
P12
P11
P10
P9
P8
P19
P18

1
2
3
4
5
6
7
8
9

SOUT
SIN
ATN
VSS

DCD
RX
TX
DTR
VSS
DSR
RTS
CTS
RING
DB-9

USB Programming Interface


The FTDI FT232 USB to serial microcontroller is recommended for your own custom designs requiring an USB interface. The schematic is setup for bus power. The FTDI is powered when plugged into a
USB port. You will need to power the module separately through a normal power regulator.

U1
J1

1
VBUS
2
D3
D+
4
GND
5
SHELL
6
SHELL
USB Type B

L1
Ferrite Bead

4
20
16
15

VSS

8
19
24
27
28
26
7
18
21
25

FT232RL

VCCIO
VCC
USBDM
USBDP
NC
RESET#
NC
OSCI
OSCO
TEST
GND
GND
GND
AGND

TXD
RXD
RTS#
CTS#
DTR#
DSR#
DCD#
RI#
CBUS0
CBUS1
CBUS2
CBUS3
CBUS4
3V3OUT

1
5
3
11
2
9
10
6
23
22
13
14
12

SIN
SOUT
ATN

17
C1
.1uf
VSS

(c) 2009 BasicMicro. All Rights Reserved.

BasicATOM 28-M

Data Sheet

RS232 Cable Pinout


Below are pinouts for both male and female RS232 DB-9 cabling.

DB9 View Looking into


Female Connector

DB9 View Looking into


Male Connector

BasicATOM Programming Interface Wiring Table


DB9 Pin

Signal

In/Out

DCD

In

Data Carrier Detect

RXD

In

Receive Data

SOUT

TXD

Out

Transmit Data

SIN

DTR

Out

Data Terminal Ready

NC

VSS

Ground

VSS

DSR

In

Data Set Ready

NC

RTS

Out

Request To Send

ATN

CTS

In

Clear To Send

NC

RI

In

Ring Indicator

NC

(c) 2009 BasicMicro. All Rights Reserved.

Description

Atom Pro Pin


NC

BasicATOM 28-M

Data Sheet

Electrical Characteristics
Characteristic

Value (Units)

VIN Range (min - max)

6 9VDC

VCC Range (min - max)

4.9 - 5.2VDC

Current Draw (Sleep mode)

10 mA

Current Draw (Idle)

20 mA

Current Draw (maximum)

50 mA

I/O Voltages (Low / High)

0.0 V / 5.0 V

I/O Logic

TTL

I/O Pin Assignments

P0-P19

I/O Maximum Current

25 mA sink, 25 mA source
Note: Total current for all pins should not exceed 90 mA sink and 90 mA source

Memory (RAM)

368 Bytes

Memory (Flash)

14 KB

EEPROM Memory (For User)

256 Bytes

Temperature Range

-40 to +125 C

(c) 2009 BasicMicro. All Rights Reserved.

Y1
20.00Mhz

RES

R1
1Meg

8
19

9
10

11
12
13
14
15
16
17
18

VSS

MCLR

P8
P9
P10
P11
P12
P13
P14
P15

1
2
3

PIC16F886-I/SS

VSS
VSS

MCLR/VPP

OSC1/CLKI
OSC2/CLKO

NC

OUT

MIC5207-5.0YM5

IN
VSS
EN

U2

RB0/INT
RB1
RB2
RB3/PGM
RB4
RB5
RB6/PGC
RB7/PGD

VDD

RA0/AN0
RA1/AN1
RA2/AN2/VREF-/CVREF
RA3/AN3/VREF+
RA4/T0CKI/C1OUT
RA5/AN4/SS/C2OUT

RC0/T1OSO/T1CKI
RC1/T1OSI/CCP2
RC2/CCP1
RC3/SCK/SCL
RC4/SDI/SDA
RC5/SDO
RC6/TX/CK
RC7/RX/DT

U1

VSS

VIN

VIN

VCC

20

2
3
4
5
6
7

21
22
23
24
25
26
27
28

+ C1
10uf

VCC

P16
P17
P19
P18
TX

P0
P1
P2
P3
P4
P5
P6
P7

SOUT
SIN
ATN
VSS
P0
P1
P2
P3
P4
P5
P6
P7
P16
P17
P18
P19
P8
P9
P10
P11
P12
P13
P14
P15
VCC
RES
VSS
VIN

J1

EDGE PINS 28

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28

VIN
VSS
VCC

D2
1N4148
R9
10K

VCC

VIN
VSS
VCC

MCLR

SIN

D1
1N4148

VCC

Q2
BC857B

SOUT

1
2
3
4
4.7K

RP1

Date:
File:

A4

Size

Title

XN04211

6 Q1

4.7K

R10

VSS

VCC

VSS

ATN

RX

TX

2/19/2009
E:\PCBDesigns\..\Atom28RevD.sch

Number

Revision

Sheet of
Drawn By: Dale Kubin

BasicATOM28 RevD - (c) 2009 Basic Micro Inc.

8
7
6
5

10uf

C2
+

RX

BasicATOM 28-M

Data Sheet

Warranty
Basic Micro warranties its products against defects in material and workmanship for a period of 90
days. If a defect is discovered, Basic Micro will, at our discretion, repair, replace, or refund the purchase price of the product in question. Contact us at support@basicmicro.com. No returns will be
accepted without the proper authorization.
Copyrights and Trademarks
Copyright 2009 by Basic Micro, Inc. All rights reserved. PICmicro is a trademark of Microchip
Technology, Inc. The Basic Atom and Basic Micro are registered trademarks of Basic Micro Inc.
Other trademarks mentioned are registered trademarks of their respective holders.
Disclaimer
Basic Micro cannot be held responsible for any incidental, or consequential damages resulting from
use of products manufactured or sold by Basic Micro or its distributors. No products from Basic Micro should be used in any medical devices and/or medical situations. No product should be used in
a life support situation.
Contacts
Email: sales@basicmicro.com
Tech support: support@basicmicro.com
Web: http://www.basicmicro.com
Discussion List
A web based discussion board is maintained at http://www.basicmicro.com.
Technical Support
Technical support is made available by sending an email to support@basicmicro.com. All email will
be answered within 48 hours. All general syntax and programming questions, unless deemed to be
a software issue, will be referred to the on-line discussion forums.

(c) 2009 BasicMicro. All Rights Reserved.

Вам также может понравиться