Thursday, March 27, 2014

ARM Processor

ARM  Instruction set PPT

ARM  Instruction set Notes

Monday, March 17, 2014

Atmel 89c51 datasheet

Atmel 89c51 datasheet

80C51 family hardware description

80C51 family hardware description

80C51 family programmer’s guide

Uvision intro

A brief intro about Keil uvision to include in the lab record.

Detailed user guide about Uvision can be found here:

Wednesday, February 26, 2014

RepRap Project

The RepRap project is an initiative to develop a 3D printer that can print most of its own components. RepRap (short for replicating rapid prototyper) uses a variant of fused deposition modeling, an additive manufacturing technique. 

As an open design, all of the designs produced by the project are released under a free software license, the GNU General Public License.

Tuesday, February 25, 2014

Resonance in Stepper motors

Stepper motors have a natural resonant frequency as a result of the motor being a spring-mass system. When the step rate equals the motor’s natural frequency, there may be an audible change in noise made by the motor, as well as an increase in vibration. The resonant point will vary with the application and load, but typically occurs somewhere between 70 and 120 steps per second. In severe cases the motor may lose steps at the resonant frequency. Changing the step rate is the simplest means of avoiding many problems related to resonance in a system. Also, half stepping or micro stepping usually reduces resonance problems. When accelerating to speed, the resonance zone should be passed through as quickly as possible.

Stepper motor basics and control

A very good you tube link that explains stepper motor funda in 8 minutes.

Stepper wiring

For any stepper motor to be wired up properly, we'll need to determine which wires are "pairs" or connected to the ends of each coil.

Using an ohm-meter: On six-wire motors you'll find two groups of three wires in which all three wires are electrically connected to each other. These wires are connected to the same coil, one in the center of the coil, two at their ends. Accordingly, two of the possible pairings have a lower resistance, one pair has a higher one. Take the pair with the higher resistance and ignore the third wire.

Thursday, February 13, 2014

8051 microcontroller - 13 bit timer (mode 0) a relic from the Intel 8048 microcontroller

The 13 bit timer (ie, timer mode 0) is rarely used these days in 8051 uc based applications. The only reason  there is such a timer mode is to maintain compatibility with its predecessor the Intel 8048  microcontroller (Intel MCS 8048 family).

The 8048 had a divide by 32 prescaler, so the Intel guys set up the mode 0 of 8051 timer with lower five bits of TLx register acting as divide by 32 element which is then cascaded to the 8 bits of THx to give a 13 bit timer.

Microcontroller: Features and Applications  By D. S. Yadav, Arun Kumar Singh

The Computer History Museum

The Computer History Museum offers many online exhibits on a variety of topics related to the history of computing. Some online exhibits like Visible Storage and Mastering the Game complement physical exhibits you can also experience when you visit the Museum in person. Other online exhibits are available only through the Internet and extend the reach of the Museum to virtual visitors around the world.

Friday, January 24, 2014

Parity bit (PSW.0)

A parity bit, or check bit, is a bit added to the end of a string of binary code that indicates whether the number of bits in the string with the value one is even or odd.

There are two variants of parity bits: even parity bit and odd parity bit. 

In case of even parity, the parity bit is set to 1 if the count of ones in a given set of bits (not including the parity bit) is odd, making the count of ones in the entire set of bits (including the parity bit) even.

When using odd parity, the parity bit is set to 1 if the count of ones in a given set of bits (not including the parity bit) is even, making the count of ones in the entire set of bits (including the parity bit) odd.

8051 Parity flag (PSW.0)
The parity flag reflects the number of 1 s in the A (accumulator) register only. If the A register contains an odd number of Is, then P = 1. Therefore, P = 0 if A has an even number of Is. 

8051 data sheet

Tuesday, January 21, 2014

RIDE 7 Raisonance microcontroller tools

Raisonance microcontroller tools - RIDE 7

Go to the above link and create an account to download RIDE 7 for 8051.
Please register to continue using the software after 7 day evaluation period..

EdSim51 Simulator

The EdSim51 Simulator for 8051 microcontroller

┬ÁVision IDE download

The ┬ÁVision IDE from Keil combines project management, make facilities, source code editing, program debugging, and complete simulation in one powerful environment.

To download the evaluation version of  ┬ÁVision IDE please visit the site
1) Select the link C51 : Development tools for all 8051 devices
2) Fill out the contact info. You will get a download link.
Evaluation version is limited to 32K code size ( more than enough for educational  purposes).

Alternate download links: