Microcontroller Circuits
- Page 3
-
In many applications, a single on/off button switches the power supply on or off. Usually, the system switches off regardless of the processing function or workload the microcontroller or DSP circuit is currently handling. The small circuit in Figure 1 is....
-
-
To maintain content in the event of power loss, many designs that include SRAM require a dedicated device that can automatically switch from a standard power supply to battery operation. Microcontrollers seldom find use in power-switching applications.....
-
In many µC applications, a signal conditioner modifies an analog input signal from a sensor and passes it to the µC for processing. The last stage of the signal conditioner is always a device that transforms the signal level to a value acceptable for the....
-
Finding out where your microcontroller`s firmware spends most of its time can be a tedious task when you use a conventional in-circuit emulator and breakpoint techniques. Other such tasks include discovering why a state machine doesn`t work as you intended....
-
For designers of radar or sonar echo-ranging systems, an echo imitator can ease development and adjustment chores by generating a controllable pulse that's similar to an incoming echo signal. A decade ago, you'd probably use several 555 timers and their....
-
OSU8 began as a student project in 1994 to create a simple but functional 8-bit microprocessor, starting with a definition of the architecture to implementation in a Xilinx FPGA chip, and full-custom CMOS implementation. Over a period of about six months,....
-
-
After reading the Mobile Robots Book, written by Joseph L. Jones and Anita M. Flynn, and get the Interactive-C file from ftp://cher.media.mit.edu, I found a very nice S19 downloader written by Randy Sargent. I started to download the pcode to my HC-11 board,....
-
A microcontroller, by default, can execute only one program at a time. What do you do if, in a given project, you need to perform more than one operation at a time? Add more microcontrollers to the design? In certain cases it`s unnecessary...
-
With the proliferation of dual-voltage architectures and multiprocessor boards, even simple applications can require several processor voltage rails. With each processor having its own power-up and -down requirements, power-rail sequencing and control can....
-
Figure 1 shows an efficient and cost-effective frequency counter using an Atmel 89C2051 µC (Reference 1). The design can use any µC of the 8051 family. The circuit counts frequency and sends the count to a PC via the serial port. The signal connects to pin....
-
In designing µC-based systems, you often face a situation in which the µC has to respond to an external event happening at an uncertain moment in time. One example is receiving an echo from an object in a pulse-range measuring system. In these situations,....
-
-
Some microcontroller applications usually use too many I/O pins to read keys or onboard switches; in many cases, few pins remain available for other uses. Some alternative ways to read keys yield more free pins. First, consider some ways to effect key....
-
The major building blocks for a white-LED driver are an oscillator, a charge pump, and a regulated current source. National Semiconductor (www.national.com) produces a device that contains all these building blocks in the highly integrated LM2791/2 IC. You....
-
The traditional frequency multiplier requires many elements: a phase comparator to detect the phase error between the input and the output signals, a lowpass filter to convert the phase error to a dc control signal, a VCO to generate the output, and a....
-
RS-232 is the most common serial interface in the PC world. Most RS-232 interfaces communicate with the receiver at a fixed transmission rate, such as 9600 baud. But what happens if the transmitter operates with different transmission rates? Different....
-
A project required an inexpensive oscillator whose frequency increased step by step from 200 to 400 Hz and then decreased to 200 Hz. The first step was to design a VCO with a staircase driver. However, this approach entailed at least four ICs and many....
-
Driving a bare LCD does not necessarily require specialized interface circuitry or peripherals. This Design Idea describes an alternative drive scheme, which you can easily implement using the general-purpose outputs of a microcontroller. Many....
-
The use of public-key-encrypted algorithms within licensed applications can prevent hackers from cracking the licensed algorithms. Moreover, you can use them to disable licensed features that a user doesn`t purchase. Licensing schemes eventually arrive at....
-
There is enough of poorly constructed RS232 alike TTL level interfaces (+5volt) , this one generates it`s own +/- 10..11volts as RS232 specs. require , and is able to use very long cables like RS232 can , and protects computer as well , nice in funny....
-
Building a stable noise generator for audio-frequency purposes requires only a few components. The circuit in Figure 1 relies on linear-feedback shift registers and some simple software. An eight-pin Microchip (www.microchip.com) PIC12C508 controller (IC2)....
-
A discussion recently on the mp3projects discussion board, about using DRAM memory with small 8-bit processors without DRAM controllers, got me to take up an old idea. I thought it should be possible to hook up a DRAM to a small processor (in this case an....
-
The potentiometer portion of a mixed-signal, digitally programmable potentiometer adds variability to an analog circuit, and its digital controls provide programmability. You can use a digital potentiometer in two ways in an analog circuit. You can use it as....
-
This is the hardware and source code for an Atmel ATmega8 / MX-614 based UI only TNC. The intent was to provide inexpensive basic TNC functionality for APRS related packet activities. We also have the flexibility to modify the operations of the TNC by....
-
This was my second Nixie clock project. I wanted something a little smaller / cheaper / simpler then my rather large B-7971 clock. I will post the design for that one of these days. I was trying to simplify everything. And basically wound up with a one chip....
-
This is a new design of a tutorial board based on the popular PIC16F84A microcontroller. It features eight single leds, a 7-segment display, an LCD display and five push buttons. It is an ideal solution for the beginner to take his/her first programming....
-
Since I implemented a D type flip flop using the PIC Logic Elements I thought I might go the other way and implement an entire D type flip flop in a single PIC. This uses the edge triggered and port change status interrupts and was an opportunity to have a....
-
The cross compiler works on any host supported by GNU tools (Solaris, GNU/Linux, FreeBSD, HP/UX, MacOS X, Windows,...)...
-
The 8052.com SBC is a single-board computer designed to be both useful and instructive in illustrating certain concepts commonly encountered in 8052-based development...
-
If you're not familiar with the Arduino, it is "an open-source electronics prototyping platform based on flexible, easy-to-use hardware and software". It has a small microcontroller, a USB port to connect to your computer for programming, a power socket for....
-
This page covers only the details of MIDI communication on the Arduino module. For a more general introduction to MIDI on a microprocessor, see the MIDI notes on Tom's physical computing site. MIDI, the Musical Instrument Digital Interface, is a useful....
-
A basic circuit of the 89C2051 shown here can be made easily using point-to-point soldering with a universal PCB. Use an ordinary 20-pin socket, do not use a circle-pin socket. D1 is a small dot LED. U2 can be either 7805 or 78L05. U3 is optional for....
-
This single sided proto board provides an economical solution for developing and testing the projects around Atmel 20 pin series u-controllers (89Cx051 & AVR)..