ABC Mini Magazine Review |
| Are you currently learning about microcontrollers?
Thinking about a project that has real potential? Need to do something
more than flash a LED or sound a buzzer? The "Hot Chip Starter Kit"
is worth a close look. This new micro kit from Quasar Electronics will interest both the beginner and expert alike. Beginners will find that they can write and test a simple program, using the BASIC programming language, within an hour or two of connecting it up. Experts will like the power and flexibility of the ATMEL microcontroller, as well as the ease with which the little Hot Chip board can be "designed-in" to a project. What's in the boxThe Hot Chip Starter Kit includes just about everything you need to get up and experimenting right away. On the hardware side, there's a pre-assembled microcontroller PC board with both parallel and serial cables for connection to your PC. Software on CD-ROM for Windows 3.1, Windows 95 and Windows 98 is included, and features an Assembler, BASIC compiler and in-system programmer. HardwareThe Hot Chip PC board measures just 20 x 70mm but using surface mount components and a powerful microcontroller, it packs an incredible amount of functions into a small space. What is a microcontroller? A microcontroller integrates a microprocessor core with key peripherals such as RAM, ROM, I/O ports, counter/timers, serial ports, A-D converters, etc - all on a single chip. This kit uses the AT90S8535 microcontroller IC, one of the latest and greatest from ATMEL Corporation. 8Kb of program ("Flash") memory, 512 bytes of non-volatile data memory (EEPROM) and 512 bytes of RAM are all included on-chip. The program memory can be electrically erased and reprogrammed up to 1,000 times (throw away that old EPROM programmer!), whereas the EEPROM can be reprogrammed up to 100,000 times. Using the in-system programming (ISP) features of the microcontroller the Hot Chip software can erase and reprogram both program and data memory via your PC's parallel port, all in a matter of seconds. Table 1 lists all the major features of this little powerhouse. Further information can be downloaded from the ATMEL web site at www.atmel.com - look under the "AVR 8-bit RISC" Microcontrollers section. (As a matter of interest, we used a similar, though smaller, ATMEL microcontroller IC back in the November 1999 issue to control our LED Christmas Tree project). So far we have only talked about the microcontroller chip itself, but the Hot Chip PC board includes a number of other components to make it easier to use "out of the box". DC power between 9 and 12V is supplied to the board via a 2-pin connector. This supply is regulated and filtered to 5V. The kit includes a power cable for connection to a 9V battery (it draws only 30mA), but any DC supply within the specified range could be used. A series diode provides polarity protection at the input. Power-on reset and brownout (low voltage) protection is provided for the microcontroller and a 32kHz crystal has been included to make it easy to set up a "real time" clock. A Maxim RS-232 IC converts the microcontroller's serial port signals to RS232 levels, which are then made available on a 10-pin connector. A cable is supplied with the kit for connection to COM1, 2, 3 or 4 on your PC. (Your computer only has COM 1 and 2 and both are used? Have a look at your PC's instruction manual - you'll almost certainly find that COM 3 and 4 are also available.) As mentioned above, programming the microcontroller's memory is performed via your PC's parallel (LPT) port. All hardware support for this feature is provided within the microcontroller chip itself, with the necessary signals brought out to a 5-pin connector via current-limiting resistors. A cable is supplied with the kit for connection to either LPT1 or LPT2 on your PC. Similarly to COM ports, many computers only have LPT1 brought to an outside socket at time of manufacture (to save a few cents!). As most printers are hooked up to LPT1, you'll find it much more convenient to use LPT2 if it is available. Again, check your PC operating manual. The parallel cable is supplied is only 80cm in length and the serial cable is even shorter, so you'll need to position the Hot Chip PC board right next to your PC. Although you could easily extend the serial cable without problems (simply use an appropriate male/female serial cable), we wouldn't recommend extending the parallel cable as programming errors may result. Design-inThe Hot Chip PC board has two rows of 20 pads that provide convenient access to all microcontroller pins. It's no accident that these pads have the same spacing as a 40-pin IC! If two 20-way SIL (single in-line) pin headers are installed, the board can be plugged into a 40-pin IC socket as part of a larger project. Does it get any easier than this? Alternatively, if you want to use the board in "stand-alone" mode, you can do that too. Individual pins or stakes can be soldered into whichever pads you desire - loose pins are provided with the kit. The Hot Chip on-line documentation includes a circuit diagram and PCB layout that can be printed for ease of reference. SoftwareSoftware for Windows 3.1x, 95 and 98 is provided on CD-ROM, along with a complete technical manual for the AT90S8535 microcontroller in Windows help file format. The software consists of several major components, all of which are accessible from a simple to use graphical interface called "Debug ABC" (Fig. 1). Programs are entered using any text editor (Fig. 3). Windows Notepad is preferable to using your normal word processor: most word processing programs can be a trap for young players, especially if you forget to save in text-only mode. Most word processors embed codes in your text which are invisible to you - but not the software! By the way, if you don't already have a good text editor, we suggest giving Programmers File Editor (PFE) a try. It is available for free download from www.simtel.net/pub/simtelnet/win95/editor/pfe101i.zip Programs can be written in BASIC or Assembly language (or both). Before BASIC programs are ready to run they must go through a two-step process. First, the BASIC compiler converts (compiles) instructions in Assembly language (Fig. 4). Then the Assembler translates these instruction into machine code (binary) format (Fig. 5), ready for programming into the microcontroller's Flash memory. If you're familiar with BASIC programming, you'll find most of the syntax is quite familiar. Even if you're not, one of the best things about BASIC is that you will have your first program up and running in quick time. Note that although compiled BASIC programs are notorious for their slow execution speeds, the ATMEL AVR series of microcontrollers are specifically tuned for running compiled code ('C' in particular but we can't see why this wouldn't apply to BASIC as well). So unless you have a time-critical application that requires microspeed accuracy, you will probably find that BASIC does the job just fine. Once you have a program that you are ready to commit to memory, it's simply a matter of clicking the Erase button, then the Program button to write it to the microcontroller's Flash memory (Fig. 1). Support is also provided to enable reading and writing of EEPROM memory, either as individual bytes or from data stored in a file. Once programming is complete, execution begins when you click on the UNreset button, releasing the microcontroller's reset line. If your program reads and/or writes to the microcontroller's serial port (UART), you can 'talk' to it via the serial communications module (Fig. 6). Once again, this is accessible from the main (Debug ABC) window. This is of course the purpose of the serial cable connecting the Hot Chip board to the PC's COM port. SummaryThe only negative comment about the kit is that the software lacks any kind of real debugging tools or support for industry-standard tools such as those found in AVR Studio. If you need to do any serious debugging, you're on your own... Nevertheless, we think that the low cost, power and versatility of the Hot Chip Starter Kit makes it an excellent choice for students, hobbyists and professionals. This review was written by Peter Smith and appeared in Silicon Chip magazine, February 2000 issue. For product details please visit the ABC Mini page
|
ABC Atmel AVR Mini Board Add-On Boards |
|
The ABC Atmel AVR Mini Board (aka
Hotchip) can be expanded into a very flexible development and training
system using various Add-on Boards.
|
ABC Support Group |
|
For a very good free introductory tutorial booklet (download), information and advice on the ABC products please check out the new ABC support group at: www.egroups.com/group/ABCboardshotchip
|
|
ABC Mini ABC Maxi Add-On Boards Software News Downloads Support Home |
![]() |
||
Save money on postage by ordering online or call 08717 177 168
|
|
|
Electronics Specialists Since
1993 || Offers |
News |
Contact Us | Ordering |
Newsletter |
Catalogue |
Search |
|
||
|
|
Order before 2pm for same working day despatch
|
|
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
||
|
|
Browse By Category |
Electronic Kits, Projects & Hardware Superstore
|