PICee Development System

Similar documents
FMS Flight Simulator Encoder

The Guitar Chord Learning System

QUASAR PROJECT KIT # /24 HOUR GIANT CLOCK

DIY KIT 141. Multi-Mode Timer

Universal Square Wave Generator Stable all the way up to RF

JX pin PIC Microcontroller Project Board

About LC Meter This is one of the most accurate and simplest LC inductance / capacitance Meters that one can find, yet one that you can easily build y

PID MOTOR CONTROLLER. Version 1.0. October Cytron Technologies Sdn. Bhd.

Elektor Datalogger Review

Controlling DC Brush Motor using MD10B or MD30B. Version 1.2. Aug Cytron Technologies Sdn. Bhd.

Houngninou 2. Abstract

CMU232 User Manual Last Revised October 21, 2002

List of Items Available in the Laboratory the Lab

(THEORY) (ANALOG) (DIGITAL) (SOFTWARE) (HOME) Matjaz Vidmar, S53MV (ex YU3UMV, YT3MV)

AN2158. Designing with the MC68HC908JL/JK Microcontroller Family. Introduction. Semiconductor Products Sector Application Note

Build this Direct Digital Synthesizer "Development Kit" By: Diz Gentzow, W8DIZ

ATX Power Sup. Ton Giesberts

ATX Power Sup. Ton Giesberts

Design and Development of Smart. Harmonic Analyzer

Professional Development Board (#28138)

Hardware Guide. Control Made Simple. Model 401A Signal Generator

Introduction to Using the PIC16F877 Justin Rice IMDL Spring 2002

Design of the distributed data server using PIC_SERVER v3.7

PIC Station3. Multi-processor starter kit for PIC microcontroller. Kit content : PIC Station-3 experiment board

JUMA-TRX2 DDS / Control Board description OH2NLT

EVDP610 IXDP610 Digital PWM Controller IC Evaluation Board

HAW-Arduino. Sensors and Arduino F. Schubert HAW - Arduino 1

Microcontroller Based Inductance Capacitance Meter

Construction of the "4 lines decoder for reading information contained in 406 beacon message

K1EL Granite State Crystal Matcher GS XTAL

StartUSB for PIC. Development System. Manual

AVL-10000T AUDIO VIDEO LINK TRANSMITTER TECHNICAL MANUAL

Embedded Systems and Software

PS2-SMC-06 Servo Motor Controller Interface

Fig.1. A basic inductance and capacitance. (CR) oscillator.

WIRELESS MICROPHONE. Audio in the ISM band

AM Receiver. From DC to 1.8 MHz RADIO&TELEVISION

HAMRADIOINDIA. Volume

Remote Switching. Remote Gates. Paging.

AMC A Power LED Driver

16 Bit Micro Experimenter Assembly and Check out Instructions

Remote Switching. Remote Gates. Paging.

The Skiidometer. Hardware Description By: Adam Lee ; Etec474; Prof. Morton; WWU

Crystal oscillator Phase accumulator Look-up table D/A converter

Servo Sequencer Servo Robot motion controller & General Purpose microcontroller board

GF of 9 THE GADGET FREAK FILES CASE #165. Analog Clock Measures Time in Meters

OZ4HZ TXtracker Assembly Instruction.

User Manual. CC1000DK Development Kit

Simulation Of Radar With Ultrasonic Sensors

Providing an LCD Readout

Frequency Generator (Wobbler) to 4GHz

Ten Tec DDS Board Assembly Procedure

Frequently Asked Questions DAT & ZX76 Series Digital Step Attenuators

HD66702 (LCD-II/E20) (Dot Matrix Liquid Crystal Display Controller/Driver) Description. Features

Ocean Controls KT-5198 Dual Bidirectional DC Motor Speed Controller

Frequency Synthesizer Project ECE145B Winter 2011

SilverMax Datasheet. QuickSilver Controls, Inc. NEMA 23 Servomotors.

LCD MULTIMETER FOR YOUR SHACK. MEASUREMENT U, I, P, Ah FOR GREEN ENERGY - WIND TURBINE, SOLAR PANELS. MEASUREMENT U, I, P, Ah, kwh

Motor Control Development Kit

Adjustable Parametric Equalizer Hardware Description

AL3157 Evaluation Module

ACT30. Active- Semi. High Performance Off-Line Controller ActiveSwitcher TM IC Family FEATURES GENERAL DESCRIPTION APPLICATIONS.

Design and Fabrication of High Frequency Linear Function Generator with Digital Frequency Counter using MAX038 and a PIC microcontroller

RC Filters and Basic Timer Functionality

Handy dandy little circuit #17 #17

Fox Delta FC Amateur Radio Projects & Kits. FC3 Project Info: PIC18F /500MHZ Frequency Counter & RF Meter

High Voltage Supply. 330 V from 12 V. For the Valved RIAA Preamplifier and other applications POWERSUPPLY

DDS VFO 2 CONSTRUCTION MANUAL. DDS VFO 2 Construction Manual Issue 1 Page 1

ST600 TRANSMITTER OPERATING INSTRUCTIONS

MFJ-249B HF/VHF SWR ANALYZER

Data sheet. MATRIX

Screening Audiometer

PART. Maxim Integrated Products 1

Features. General Description. EV Kit Contents. EV Kit Photo

SmartRadio Transmitter / Receiver

User s Manual. ACPL-339J Isolated Gate Driver Evaluation Board. Quick-Start. Testing Either Arm of The Half Bridge Inverter Driver (without IGBT)

EVAL-ADM8843. Evaluation Board for Charge Pump Driver for LCD White LED Backlights. Preliminary Technical Data

Instructions for the Galbraith Track05 APRS GPS sensor and modem, using the Byonics Tinytrack modem.

GCE A level 1145/01 ELECTRONICS ET5

ATV Modulator User Manual

DEPARTMENT OF ELECTRICAL ENGINEERING LAB WORK EE301 ELECTRONIC CIRCUITS

3.3V regulator. JA H-bridge. Doc: page 1 of 7

NAU82011VG 3.1W Mono Filter-Free Class-D Audio Amplifier. 1 Description VIN. Output Driver VIP. Class D Modulator VDD VSS NAU82011VG

406 MHz Distress Beacon decoder: New features with the "DECTRA" PCB

BAND DECODER and CONTROLLE R. Accessibility Upgrade and Operating Instructions

ZKit-51-RD2, 8051 Development Kit

MD04-24Volt 20Amp H Bridge Motor Drive

Figure 1 Typical Application Circuit. Figure 2 Application Circuit for Less Than 4 LEDs

2pcs 1.8" 0507 Dot Matrix Display Information Board User s Guide

A simple Roger Beep using a PICAXE microcontroller

Application Note. External Oscillator Solutions with GreenPAK AN-CM-233

Introduction. Circuit diagram

DEMO CIRCUIT 1057 LT6411 AND LTC2249 ADC QUICK START GUIDE LT6411 High-Speed ADC Driver Combo Board DESCRIPTION QUICK START PROCEDURE

Blue Point Engineering

SKY3000. Data Sheet TRIPLE-TRACK MAGNETIC STRIPE F2F DECODER IC. For More Information. Solution Way Co., Ltd

Bill of Materials: PWM Stepper Motor Driver PART NO

NAU82011WG 2.9 W Mono Filter-Free Class-D Audio Amplifier. 1 Description VIN. Output Driver VIP. Class D Modulator VDD VSS

DATA SHEET. HEF4541B MSI Programmable timer. For a complete data sheet, please also download: INTEGRATED CIRCUITS

' The PicBasic Pro Compiler Manual is on line at: '

Display on 4 lines of the information contained in the message of a 406 MHz beacon: decoder construction

Transcription:

PICee Development System a PICF-based single-board computer by Reinhardt Weber, DCZM weber.reinhardt@t-online.de This single-board computer, using the popular low-cost PICF microcontroller, has been developed with educational applications in mind. The PICee single-board computer described in this article is a versatile training and development system based on the well-known Microchip PICF microcontroller. The microcontroller s flash memory is electrically erasable: hence the ee in the title. In contrast to the 9C Flash microcontroller board described in our December 00 issue, the F processor used here is a so-called RISC (reduced instruction set computer) microcontroller with only a small number of instructions. The PICee board allows experimentation with all of the processor s instructions without additional hardware. The board encompasses a wide range of applications, from a simple LED flasher to an elegant crystal-controlled clock. The programming hardware The socket can accept all varieties of the Microchip PICF, with clock frequencies from to 0 MHz. The clock can be generated using a quartz crystal or an RC oscillator. Switch S selects between the two oscillator types. Using the slower RC oscillator is particularly convenient during experimentation or development. The clock Elektor Electronics /00

0Ω K DB9 R 9 CUR LIM CAT L IC 00µH TL9 ANO C IN 0 COL OUT FREQ INH C SUBS E OUT 0p S 9...VDC C C C C0 µ 00n 00n 00n V R 0k R 0k R 0k k k 0k R IC.B EN IC = HCT IC.D EN R9 0Ω IC.C 0 EN R 9 0Ω IC.A EN IC D R R K N C D D 0k µ N V R k R +UB N00 C C 0µ 00n V R k T 0k D R0 x BC T IC 0 C 00n k P 00k R S C 00n RC CLOCK CLOCK C 00n C µ V MCLR IC PICF RA RA RA RA RA0 RB RB RB RB RB RB RB RB0 OSC OSC X 0MHz C p 0Ω k R D R C9 p K VSS 0 9 VDD VEE C 00n P RS R/W E S9 LCD -E C 00n 0k k R D LCD CONTRAST LCD Module D0 D D D D D D D k R D9 k R D0 k R D A Ω k R K k R9 D R k R0 D S k S LIGHT R D D k R D S 0Ω D D D R S x N k k LED's S0 I R R D S C B A R k k R D k 0k R D R0 BC k R D9 +UB k T R9 D0 K a a a a a a a a a 9 a0 a a a a a a a a a9 a0 a a a a a a a a a9 a0 a a S RESET 000 - Figure. The microcontroller training board includes a wide range of peripherals for experimentation. frequency is continuously variable via trimmer P. Diode D and resistor R ensure that V is fed to the MCLR input of the microcontroller in normal operation. Pushbutton S can be used to reset the processor. If a DC voltage of around. V is applied to the MCLR input, the microcontroller switches into programming mode. The programming voltage is generated on the circuit board using a TL9 step-up converter (IC) and enabled using switch S, which takes pin of IC to ground. LED D indicates when programming mode has been activated. The board is connected to a PC over the serial interface via 9-pin sub-d connector K. Connection can be made using a normal RS cable (not a null modem cable) with a 9- pin D-type plug at the PICee end and the usual 9-pin D-type socket at the PC end. Connection should be made with the unit switched off only when the unit is connected should power be applied and the programmer software started up. The two programming signals DATA and CLOCK are taken via drivers IC.C and IC.D to microcontroller inputs RB and RB. Driver IC.B delivers data read from the microcontroller back to the interface. Driver stage IC.A is used to control the programming voltage and reset the microcontroller. A microcontroller can become the heart of a microcomputer system with the addition of peripheral components. The circuit board includes three typical applications that allow experimentation with the microcontroller s instruction set. These expansion circuits can also be built into other applications you may develop. LEDs D to D0 indicates the logic values present on the RA and RB ports of the microcontroller. These are very helpful when debugging applications at low speed using the RC oscillator. They can also be used in your first programming exercises: for example, a LED flasher, running light, bar graph display, or LED dimmer. The port LEDs can be enabled or disabled via miniature switch S. Switches S, S and S form a mini-keyboard. Pressing S or S produces a logic at port inputs RA or RA0, while pressing S produces a logic at both inputs, thanks to the wired-or configuration around D and D. It can be determined in software which button has been pressed. Three buttons can give rise to a wide range of control possibilities if one button is allocated to a mode function to select a value to be changed, while the other two are used to adjust the selected value, up or down. Think of how alarm clocks or time switches are set, or how car radios are controlled. /00 Elektor Electronics

H H ELEKTOR (C) 000- H H H H D D9 D0 D D D D D D D D D9 D0 D D H H S R R R R R9 R0 R R R R R R R R R9 R R D D D D R R S 000- S C K R R C0 S S9 S S S0 P K C C IC R R0 T S C P C C C C C R R9 R C R C9 R R R L C R R X IC D IC K S R D C T K C IC T R0 R C D 000- (C) ELEKTOR Figure. The layout of the single-sided printed circuit board for the PICee single-board computer. When bright light falls on the LEDs, a voltage can be developed at the high-impedance inputs to the microcontroller that can lead to false readings: for this reason R and R are fitted across monitor LEDs D and D to pull the input signals down to ground, avoiding this unwanted effect. A -line by -character alphanu- Elektor Electronics /00

meric LCD dot matrix module can be fitted to allow the system to display more complex information. This module is based around the Hitachi HD0 controller, which has become something of an industry standard. The display is driven using the E (enable) and RS (register select) signals, which are connected to port pins RA and RA. The read/write (R/W) input of the module is tied permanently to ground (GND), since it is only rarely that read mode is wanted. Trimmer P allows the display contrast to be set, and the backlight can be turned on and off via switch S. The LCD controller can be enabled and disabled via switch S9. All the microcontroller pins as well as the input power supply voltage and the regulated V supply are available on a -way DIN- style female connector. Special application circuits can be constructed on low-cost prototyping board and connected to the single-board computer via a complementary -way male connector. Power for the single-board computer comes from an external mains supply connected via low-voltage connector K. The input voltage can be anywhere between 9 V and V. The built-in fixed voltage regulator IC produces a stabilised V output. LED D indicates when power is applied. If the input reverse polarity protection diode D and the regulator are dispensed with, battery operation from four NiCd cells (. V total) is possible. Construction of the circuit on the printed circuit board shown in Figure should present no problems; sockets should be used for all ICs and for the crystal. The circuit board surprisingly for a single-board computer is only single-sided and therefore inexpensive. The price for this is wire links in the well-spaced layout. COMPONENTS LIST Resistors: R,R-R,R-R9 = kω R,R,R,R = kω R,R,R...R,R0 = 0kΩ R,R = kω R9,R = 0Ω R = kω R = 0Ω R = Ω R0 = 0kΩ R,R = 0Ω R = kω P = 00kΩ preset P = 0kΩ preset Capacitors: C,C,C,C,C,C,C0,C,C = 00nF C = 0pF C,C9 = pf C = 0µF V radial C,C,C = µf V radial Semiconductors: D = N00 D-D = N D-D,D-D9 = LED, mm, yellow, low current D-D,D0,D = LED mm, red, low current D = LED, mm, green, low current T,T,T = BC IC = 0 IC = TL9AC IC = PICF IC = HCT Miscellaneous: K = mains adaptor socket, PCB mount K = 9-way sub-d socket (female), angled pins, PCB mount K = DIN connector, model B (Conrad Electronics # ) K = -way SIL connector* L = 00µH S,S,S,S,S9,S0 = toggle switch, c/o contact, or -way pinheader with jumper S,S,S,S = pushbutton, e.g., ITT/Schadow type D X = quartz crystal socket with crystal* Heatsink for IC, e.g. type ICK (Fischer) (Dau Components) PCB, order code 000- Disk, contains example programs, order code 000- All of the microcontroller s port pins as well as the power supply are brought to the connector in the middle of the circuit board, next to which, as can be seen from the main photograph, the LC display is fitted. The electrical connection to the display can be made /00 Elektor Electronics

with a combination of SIL connectors or alternatively short wire links can be used. The switches shown in the circuit diagram can be replaced with jumpers. Free programming software A wide selection of literature is available on learning to program the PIC microcontroller family. A few starting points are given in the references, and the Internet is also a rich source of information, with numerous articles and items of hardware and software available. Also, almost every technical college will have some information on their homepage about the PIC microcontroller: just type PICF into your favourite search engine. You will need some programming tools to develop assembler programs. The Windows program MPLAB.EXE (editor, assembler and simulator) and the DOS programs MPASM.EXE (assembler) and PSIM.EXE (simulator) produced by Microchip are recommended. These are freeware and can be freely downloaded from the Internet. Datasheets for the microcontroller and numerous example programs are also available. One example of free programming software is NTPicprog, which can be found at http://home.swipnet.se/~w/ntpicprog (Figure ). ICPROG.EXE, available from www.ic-prog.com also works well. When setting up the hardware, the PICee system appears as JDM Programmer (Figure ). The trusty PIP0 software is also available for those who would rather work under DOS. Once the source code for the program (*.asm) has been prepared and successfully converted to a *.hex file using the assembler, this can be downloaded into the flash program memory in the microcontroller. A large number of example programs can be found on the project software disk ref. 000-. References: David Benson Easy PIC n Publisher: Square David Benson PIC n up the Pace Publisher: Square F. Volpe PICs in Practice Publisher: Elektor Electronics (Publishing) (000-) Figure. The NTPicprog programming software. Figure. Hardware settings using ICPROG. Relevant Internet sites: http://www.microchip.com http://www.wolfgang-kynast.de/pic.htm http://www.ludwig-geissler-schule.de/docs/picee/picee.html Back to school This circuit was developed and tested at the Ludwig-Geissler school in Hanau, Germany with a particular view towards its use in teaching. The single-board computer has been used there very successfully for several years in various classes, both for training in the use of microcontrollers and in project work. For a component cost of only about thirty pounds, it also offers the radio amateur or electronics hobbyist an ideal platform for experimenting with and developing ideas. Elektor Electronics /00