BiPOM Electronics MINI-MAX/51-C2 Technical Manual Download Page 5

5

 

Micro-controller 

MINI-MAX/51-C2 has an ATMEL AT89C51ED2 micro-controller (U2). Micro-controller ports and power 
lines are provided on a 20-pin expansion bus for interfacing to peripherals and other external circuits. 
AT89C51ED2 has 4 ports that are available on the 8051 family of micro-controllers: P0 … P3. 

P0 has open collector outputs that are available on the LCD connector with 4.7K pull-up (RB1). P1 and 
P2  are  general-purpose  bi-directional  input/output  ports.  Port  2  is  available  on  the  keypad connector. 
P1  and  P3  are  available  on  the expansion connector. P3 pins can either be used as general-purpose 
input/output pins or have special purposes such as asynchronous serial port, interrupt inputs and timer 
inputs. 

More information on the AT89C51ED2 micro-controller can be obtained from ATMEL web site at 

http://www.atmel.com

 

Secondary Micro-controller 

MINI-MAX/51-C2  has  a  Microchip  PIC16F818  micro-controller  to  select  an  In-circuit  Programming 
mode or Run mode of the main Flash micro-controller.  When a Run mode is used, PIC16F818 works 
as an I2C slave peripheral device and can provide 5-channel 10-bit ADC using the 4.096V internal or 
an external voltage reference source.

 

 

In-System Programming 

AT89C51ED2  micro-controller  can  be  re-programmed  remotely  over  the  RS-232  interface  using  a 
second  micro-controller  on  the  board  (  PIC16F818  ).  The  in-circuit  programming  feature  simplifies 
program  development  on  the  board  since  downloading  programs  from  a  host  PC  takes  only  few 
seconds. User programs can also be debugged over the serial port. 

8051/52, BASCOM51, SDCC development systems based on Micro-IDE Integrated Development 
Environment from BiPOM Electronics, fully support In-System Programming and debugging on 
the MINI-MAX/51-C2 using the serial port. 

The on-chip Downloadable Flash of AT89C51ED2 allows the program memory to be reprogrammed in-
system through RS-232 serial interface.  

The board operates in the two modes: 
1- RUN mode 
2- PROGRAM mode 

Run mode is a standard mode when AT89C51ED2 is running its own program.

 

Program  mode  is  a  special mode when 

t

he hardware conditions during the reset pulse forces the on-

chip boot loader execution. 
 
PC changes the board mode through the RS-232 serial interface by a using of RTS line. 
PIC16F818 is polling this line permanently and if the signal changes the level then PIC16F818 
switches the board mode. 

 

EEPROM

 

MINI-MAX/51-C2 uses a 24C04 (U3) 512 byte Electrically Erasable Programmable Read-Only-Memory 
(EEPROM).  Typically  this  EEPROM  is  used  for  storing  calibration  values  for  sensors,  customer 
identification,  serial  number  and  other  parameters.  This  EEPROM  is  on  a  socket  and  can  easily  be 
replaced with higher capacity EEPROM’s ( up to 128 Kilobytes ). 

Summary of Contents for MINI-MAX/51-C2

Page 1: ...e Board Computer Technical Manual Date 4 March 2005 Document Revision 1 02 BiPOM Electronics 16301 Blue Ridge Road Missouri City Texas 77489 Telephone 1 713 283 9970 Fax 1 281 416 2806 E mail info bipom com Web www bipom com ...

Page 2: ... option replace or repair the board This warranty is voided if the product is subjected to physical abuse or operated outside stated electrical limits BiPOM Electronics will not be responsible for damage to any external devices connected to MINI MAX 51 C2 BiPOM Electronics disclaims all warranties express or implied warranties of merchantability and fitness for a particular purpose In no event sha...

Page 3: ...pheral boards http www bipom com peripherals shtm Microchip PIC16F818 secondary micro controller to provide In circuit Programming of the main Flash micro controller through the RS232 Serial Port and to provide 5 channel 10 bit ADC using the 4 096V internal or an external voltage reference source On board 5 Volt regulator 6 VDC power supply Other 6 to 12VDC power sources can be used Dimensions of ...

Page 4: ... diagram of the MINI MAX 51 C2 system Figure 1 AT89C51ED2 Controller PIC16F818 controller Expansion connector LCD connector 22 MHZ Crystal 24C04A EEPROM 6 12V Power connector 5 volt Regulator Analog Input Connector Keypad connector RS232 connector ...

Page 5: ...ed remotely over the RS 232 interface using a second micro controller on the board PIC16F818 The in circuit programming feature simplifies program development on the board since downloading programs from a host PC takes only few seconds User programs can also be debugged over the serial port 8051 52 BASCOM51 SDCC development systems based on Micro IDE Integrated Development Environment from BiPOM ...

Page 6: ...RS232 port can be used by both a PC for In circuit Programming of the T89C51ED2 through PIC16F818 microcontroller and by T89C51ED2 for data communications RTS line is used by an external host such as a PC to put MINI MAX 51 C2 in program or run mode Therefore user applications must not use RTS Many users try to use HyperTerminal to send some data bytes to a Mini Max 51 C2 board HyperTerminal force...

Page 7: ...xpansion bus The 16 control pins and 5 Volt power supply pins are available on the 20 pin connector J4 for interfacing to existing peripheral boards A peripheral board can be connected to MINI MAX 51 C2 either as a piggyback daughter board using standoffs or can be placed away from the MINI MAX 51 C2 board using a 20 wire ribbon cable Part EXPCABLE 6 Table 4 shows the pin assignments for the conne...

Page 8: ... Volts unregulated DC power supply Other power supplies can also be used External power supply should be able to supply 6 to 12 Volts DC at minimum 200mA current more if peripheral boards will be used The inner pin of the supply connector is positive and the outer ring is negative WARNING Correct polarity should be observed when applying external DC supply to Power connector MINI MAX 51 C2 has an ...

Page 9: ... Card socket RTC board MMC RTC board A peripheral board with four 7 segment LED displays with decimal point LED 1 Peripheral boards can either be stacked on top of MINI MAX 51 C2 using stand offs or connected in a chain configuration using flat ribbon cable Figure 2 shows how MINI MAX 51 C2 can be connected to a peripheral board in a stacked fashion Figure 3 shows chain connection PERIPHERAL BOARD...

Page 10: ... system from http www bipom com 8051dev shtm http www bipom com bascom51 shtm http www bipom com sdcc shtm Any of the development systems provides MINI MAX 51 C Loader Also stand alone loaders are available to download program codes to the Mini Max 51 C2 Windows MINI MAX 51 C Command line Loader DOS MINI MAX 51 C Command line Loader WinLoad Windows Loader Please visit http www bipom com mm51csoft ...

Page 11: ... 6 Board Layout Layout of MINI MAX 51 C2 board is shown below Expansion Connector EEPROM Socket Analog Terminals AT89C51ED2 CPU Keypad Connector LCD Connector Voltage Regulator Power Connector RS 232 Port ...

Page 12: ...12 7 Schematics ...

Reviews: