Reliable Custom Design Click here to contact AirBorn
 
--AirBorn Electronics-- US SITE · AUS SITE
ABOUT US
Company Detail
Enquiry Form
Sitemap
WHAT WE MAKE
Our Design method
Spec'ing your job
Hardware design
Firmware design
Examples: Circuits
Examples: Photos
Subject Overview     Next Subject     Exit Site
Example project
OUR CIRCUITS
Serial to Parallel
Navy SMD Trainer
Danfoss tester
89C2051 project
Weighscale
Light Key Tone Gen
Index - Main Library
OUR DESIGN STEPS
Design step-by-step
Circuit diagrams
PCB Layout
PCB Etching
Prototyping
Firmware design
Documentation
Manufacturing
Economies of scale
Test Procedures
ECOs - changes
SPECIFY YOUR WORK
Overview
Specification Intro.
Writing a Spec
Tech Ingredients
Example Specs
Engineer employment
R&D Economics
Design Inspiration
EXAMPLE BOARDS
A PCB Factory
Example projects
...more ...more
A real design Lab
REFERENCE
Our PicoBus IO Std
RS232 RS485 FR4 Autotrax CAD Library P89LPC932 Program Header
Past products
Using a Multimeter
FURTHER INFO
Complete site index
Offsite Links (15000+)
Google search
©2010 AirBorn
Apollo the pig

A serial to parallel converter using the AT89C2051

This page describes a serial to parallel converter that was originally included as part of our PG2051 evaluation kit. It is a basic serial to parallel converter written in 8051 assembler, and is written in the format of an example or tutorial. The circuit, gerbers and software - everything you need to build the project - are here. It would be hard to get a serial to parallel converter much simpler than the single 20 pin IC in this circuit.

The converter runs at 9600 baud, 89C2051 and outputs each byte received on a centronics style parallel port, together with a nominal 50 microsecond strobe. The converter buffers up the bytes received if busy is active, and is bidirectional - when the sample switch is pushed, the converter samples the parallel port and transmits the value back out the serial port. All the parameters are adjustable in the code.

The example program should be assembled with the shareware assembler TASM. This assember is actually a very good assembler for 8051, (and other 8 bit micros) with 32 bit arithmetic, and a linux version available. TASM is produced by Squak valley software.

The serial-to-parallel example program was intended to run on an AT89C2051 using the prototype board that was originally supplied as part of the evaluation kit in our programmer. But the circuit is pretty darn simple, and a competent electronics person could build one up themselves, by hand, if they need to. The code should run on any 8051 target with modification to the port locations - the equates for the pin & port locations are near the start of the code.

Note the pin functions are not shown on the circuit, as the circuit was intended to be a general purpose evaluation board, not just a serial to parallel converter. The pin functions and a good thorough description are included in the firmware which is one of the parts you should download (below).

You are welcome to download and use this material, but if you do, please include a link back to this web page on your website.

Was this useful? We hope you'll look at the rest of our site , or subscribe to our email newsletter so we can keep you up to date with any additional things we put here.

The serial to parallel converter design is a free project -
But we will be happy to customize it and produce it for you commercially.

If you require quantities of these devices we can produce them for you in whatever format you require, with the features you require - our business is custom electronics. We can produce this device in a gender changer style case. The is a requirement to make a volume of 100 units to make the cost of custom design and manufacture worthwhile. (Smaller volume requirements are possible with other projects). If you were after an RS232 to RS485 converter, we have this also.

Serial to parallel PCB