Our Products...
jQuery Banner
Interface GPS receiver with AT89S51(NMEA format)
GPS has become an efficient tool in the field of scientific use, commerce, surveillance and tracking. This project presents a small application based on Global Positioning System. It depicts the use of GPS module/receiver to find latitude and longitude of its location. The data obtained from GPS rec...
Digital Clock with RTC 12887
Real time clock or commonly called the RTC is a component electronics which contains an electronic clock that never stopsworking unless the register is filled code to OFF. This component storesthe start time of seconds to years, and always Replaces all the time automatically,the val...
Generate Sound 89S51 (Asm program)
This article I discuss how to generate sound using microcontroller AT89S51, taken from several orders, and that allows me to write a sample program using the sound-producing asember code, easy and inexpensive please try ... if you ever learn to code basic asember program before this program memahapi...
LCD 8 Bit Databus
We wrote this article might be outdated, but we want to share with visitors and electronics hobbyist who wants to learn basic microcontroller
This article discusses how to connect the microcontroller with LCD 16x2, showing only a sentence or word. Microcontroller used is a series AT89S15-16x2 LCD d...
Simple Digital clock using 8051 microcontroller (AT89S51)
A digital clock is one that displays time
digitally. The circuit explained here displays time with two ‘minutes’ digits
and two ‘seconds’ digits on four seven segment displays. The seven segment and
switches are interfaced with 8051 microcontroller AT89S51. This circuit can b...
Generate sound using 8051 microcontroller (AT89S51)
This article
explains the concept behind generating sound from the 8051 microcontroller (AT89S51). This concept can be used to generate sound with any MCU. It can be
used to generate specific sounds or alarms. This circuit has wide applications
like in cars to produce sound while reversing, i...
Pelatihan
Team RnD Laros-Edu mengadakan pelatihan mikrokontroller untuk siswa-siswi jurusan elektronika Industri, SMK N1 Glagah tgl 2 Maret 2011 yang di ikuti 32 siswa. Pelatihan ini berlangsung selama 1 minggu...dan akan dilanjutkan di sekolah lain...
Seven Segment Multiplexer with AT89S51(Assembler)
We had seven segment display mulplexer viewer program using C language, here we write the program with the same theme but with assembler language. Within this web there are also seven segment viewer program using assembler language, but only 1 (one) digit, In this paper we give examples of 4 digit s...
Up down counter using 8051 microcontroller (AT89S51)
This article shows an easy to build up down counter. The counter is based around the 8051 microcontroller (AT89S51). Two switches are provided, one for increment and second for decrement. The switches can also be replaced by sensors to increment or decrement.
In this circuit, four seven segment dis...
Rotate Right ( C language-basic )
Some people have said to us, that the tutorials that we provide are simple or outdated. But we believe the simplicity of it we can give lessons and can teach beginners to be able to create new, more powerful thing than what we teach. Below are examples of applying the C language for microcontroller...
C programming AT89S51
Programming Language C already 30 years using that human to make a variety of applications related to computer, from the 60's the creator of the C language ....Danish R... I forgot his name and up to now continue using that to create a new application program operating systems such as computers, mac...
3 Color RGB Message board ( RGB dotmatrix )
We are developing a case of RGB LED Matrix looked at the picture, we use a combination of software and some electronic devices that we developed. actually we've been wanting to make it but still constrained cost.
This application is still relatively simple, the development of Led Matrix 1 color. Eac...
A Word about Interrupt Latency
Interrupt latency is the time between the generation of an interrupt by a device and the servicing of the device which generated the interrupt. In other words it is the time taken to service the interrupt or the longest time between when the interrupt occurs and when the microcontroller suspends the...
Implementation of Minutes Counter
This program implements a seconds counter on the serial seven- segment LED. Timer 0 is used for the generation of delay of a minute. With elapsing of the delay routine the count is incremented and dis- played on the serial seven-segment LED. The 4 seven-segment display is se...
Interrupts in Microcontrollers
Interrupts are of immense importance in any microcontroller-based system. A peripheral such as timer/counter, A to D converter, or even a memory or a keyboard can interrupt the microcontroller from its ongoing sequentialexecution to let it know that it requires attention. This may be due to several ...
Seven Segmen Multiplexed
A simple example to show the digits seven segments using AT89S51, please observe the example source code, please try to understand with practice it to be more
;==================================; Program menampilkan angka ke ; display 7 segment yang dipasang; pada Port 0;===========================...
ADC 0804 + AT89S51 in ASM
Some fellow
website visitors ask us to provide tutorial or examples of applications
that connect ADC 0804 with the AT89S51 programmed with assembler
language, for more details please read the source code below, we
compile it using ASM51 or ASM compiler like
READ51, KEIL, etc., please give comments a...
Multiplexed 7 Segment Displays in a counter
If you have already seen the digital thermometer schematic then by using same circuit diagram you will be able to make your own counter
The Program for the counter is given below while the circuit diagram is same as Digital thermometer without LM35 and 3rd display #include #include #include...
Scanning of Keypad in C
Here...this articels how to scanning keypad 4X4, i use this for 8051 family microcontroller,keypad on Port 1, you can also use the other exp. AT89S51, AT89s8252 etc, the schematic you can draw by your self, if any question you can send some comments to discust with our team....download-->le...
Dot Matrix Display / Moving signs 6 characters
Moving signs are a common enough sight today but off-the-shelf units areinvariably expensive and somewhat inflexible. The six-character moduledescribed in this article can be cascaded up to 16 modules long and hasa character set that can be customised to suit your application. See on figure below
T...
Interrupts in Microcontrollers
Interrupts are of immense importance in any microcontroller-based system. A peripheral such as timer/counter, A to D converter, or even a memory or a keyboard can interrupt the microcontroller from its ongoing sequential execution to let it know that it requires attention. This may be due to several...
LCD Interfacing ( obsolete )
//give your commnets.....plzz
LCDs are commonly used as an output interface to embedded systems products like cell phone, data loggers and process control instruments.
Figure bellow shows LCD controller Hitachi 44780 that provides a relatively simple interface between a ...
Analog to Digital Conversion with C
To be able to implement analog to digital
conversion using the ADC0804LCN 8-bit A/D converter. You will design a
circuit and program the chip so that when an analog signal is given as
input, the equivalent digital voltage is displayed on an LCD display.
Thus, in effect, your circuit should function ...
Developing Stop Watch Applications
Using the Module Microcontroller Laros Elector v2.2
Stopwatch / Clock Counters are often used in various sports
activities such competitions running, swimming, soccer, and other.
Usually a coach or jury to use a digital stopwatch in mini size . However, in reality, the audience must know the
leng...
2nd Lesson C programming for 8051
//just an example you cantry it, no doubt for this articel
#include void main(){int bil1,bil2; bil1=13; bil2=2;P1=bil1%bil2; //hasil modulus dikeluarkan ke P1}//Program 5.9.#include void main(){char a, lampu;lampu=0x01;for (a=0;a<8;a++) //melakukan loop sebanyak 8 kali{P1...
Fisrt Lesson C Programming
/*Contoh 1:
Editor : Notepad++
Compiler : SDCC
*/
#include //header at89S51void main(void) { P1=0; }
/* Contoh 2 :
Editor : Notepad++
Compiler : SDCC
*/
#include #include
//prototip fungsi putcharvoid putchar(char c) //definisi fu...
Interfacing Dot Matrix Display 5x7
What makes the text scrolling on the
silicon chips? The heart of scrolling display is dot matrix led display
unit. One or more dot matrix display is multiplexed to form a display
panel. A set of hex values define a character which are send to the dot
matrix display. To minimize the pin usage led mat...
Interfacing AT89C51 with Nokia 3310 LCD
In this tutorial we will interface Nokia 3310 LCD
with AT89C51.The Nokia 3310 LCD is based on a PCD8544 48x84 pixels matrix LCD controller.
Pin Diagram
Circuit Diagram
NOTE:Nokia 3310 LCD works on voltage level of 3.3v.To get this voltage level 10K resistor array, LED, d...
How Controling Electronic Equipment via Telephone Network
Discusses how to utilize the telephone network to control electronic equipment. This allows remote control equipment ... Utilize the facility with the DTMF signals on the phone network The schematic on figure below...please spread to your friends about this articel....we wait your comments..
 ...
Interfacing the DS1307/1308 ( RTC )with 8051 Microcontroller and over PC Serial Port
INTRODUCTION The DS1307 Serial Real Time Clock, which incorporates a 2–wire
serial interface, can be controlled using an 8051–compatible.
The DS1307 is connected directly to two of the I/O ports on a microcontroller
and the 2–wire handshaking is ha...
Display Keypad 4 x 4 with 8x7 Seven Segmen
Continuing your sucsess, will try your knowledge with more
complex experiment by read out the keypad 4 x 4 data with 8x7 Seven
Segmen.
Figure 2.8.4.Keypad Connection to Microcontroller with
8x7 segmen
Step 1st Build the circuit as shown in figure 2.8.4. As you...
Display Keypad 4 x 4 with LCD Character 2 x16
After doing lesson 2.8.1. you can see that how easy to scan keypad
and read data out to LED. In this lesson it's look like lesson 2.8.2.
but the data will read out with LCD Character 2 x16.
Figure 2.8.3.Keypad Connection to Microcontroller
Step 1st Build the circuit as shown in fi...
Display Keypad Data to LED
In this lesson we are like to design, how to scan keypad
4 x 4, and then display it to LED.
Figure 2.8.2. Keypad connection and display to LED
Step 1st Build the circuit as shown in figure 2.8.2. As you seen on figure 2.2.8.
P3.0 trough P3.7 is connected to keypad 4 x 4 and to d...
K E Y P A D 4 x 4 (2)
Keypads are often used as a primary input device for
embedded microcontrollers. The keypads actually consist of a number
of switches, connected in a row/column arrangement as shown in Fig 2.8.1.
In order for the microcontroller to scan the keypad,
it outputs a nibble t...
Generating a Stair Step Voltage from DAC
In this lesson we are like to design, how to generate
stair step voltage from 0volt trough 5 volt, with resolution 1 volt
each step. There is something you must to do is to calculate the konstanta
K, as you have learned in previous lesson.
Step 1st Build the circuit ...
Simple Experiment to Generate a Voltage from DAC
In this lesson we are like to design, how to generate
a voltage 2 volt from DAC0808. There is something you must to do is
to calculate the konstanta K, as you have learned in previous lesson.Step 1st Build the circuit as shown in figure 2.6.2 As you seen on figure 2.6.2.
...
Build Digital to Analog Converter Using 0808
The first task this week is to build a simple D/A convertor
and evaluate its performance. You will be using a DAC0808 (DAC0808 datasheet).Your
design should take 8 bits from the microcontroller (use the 8 8bits
on Port 0 of the AT89s51 as the input to the D/A convert...
Displaying data ADC 0804 in 8x7 Segmen as a Decimal(2)
Step 1st Build the circuit as shown in figure 2.5.2. As you seen on figure 2.5.2.
P3.0 trough P3.7 is connected to DB0 - DB7 ADC0804, and P2.0- P2.7.
is connected to transistor driver, and P3.0 trough P3.7. is connected
to 7 Segmen. Remember, that all we want to do w...
Simulating to Display Temperature by Using Look Up Table
WHAT IS THE LOOK UP TABLE ?
Why do we need a look up tabel ? Look up tabel is just
couple data that safe in ROM and it's used to manipulate data. So we
can avoid a very confusing prosess of math. In this case we are going
to display temperature with three digit and o...
Displaying data ADC 0804 in 8x7 Segmen as a Decimal
In this lesson will be learn how to display data ADC on 8 x
7 segmen, for a simple task, we assume ADC have input ranges 0 - 5 volt,
and then will display data as desimal that must be 3 digit 0 - 255,
and each digit would be placed on 3rd, 2nd and 1st 7 segmen.
F...
Displaying data ADC 0804 in LCD Character as a Decimal
In this lesson will be learn how to display data ADC on LCD Character, for a simple task that we assume
ADC have input ranges 0 - 5 volt, and then will display data as desimal
that must be 3 digit 0 - 255.
Figure 2.5.1. Display data ADC to LCD Character as decimal
Step...
Analog to Digital Converter (2)
The easiest way to do analog to digital conversion
is to use an IC such as the ADC0804 that does the work for you. The
analog voltage is applied to pin 6 and the result is available at pins
11 through 18. We will connect pin 1 and 2 (Chip Select and Read) to
...
Receiving Data From The Microcontroller
In the last article we sent data to a microcontroller and had it respond to the data that we sent...In this article we are going to learn how to receive data from a microcontroller and make the PC respond. For simplicity we are going to get the Port 0 and send to the PC for us to receive using VB.Vi...
Sending Data From The PC to a Microcontroller
In this article we are going
to learn how to send data to a microcontroller and make the
microcontroller respond to the data. For simplicity we are just going
to send data to turn on and off an LED which is connected at port P2.0.
So lets start off with
designing a communications protocol. From VB ...
Controlling Rotation of LED Serially - RS232 Serial
Standart communication using serial data RS232 is very efective way to minimize cable connection.
This experiment will be done to arrange the rotation direction of LED
by using DELPHI Programming and conducted serially.
Figure 4.1. Sending Command to LED
Step 1st Build...
Basic Turn LED On-Off Serially- RS232 Serial
This experimen is a basic thing you shoul to know, how to convert data
serial to parallel, in this case you may need Basic serial RS232
Communication to learn
Figure 4.1. Turn On and Off LED
Step 1st Build the circuit as shown in figure 4.1. As you seen on figure 4.1.
Remember, that all...
Standard Serial Interface
Standard Serial Interface
SM0
SM1
Mode
Description
Baud Rate
0
0
0
Shif Register
fosc/ 12
0
1
1
8 bit UART
variable
1
0
2
9 bit UART
fosc/64 fosc/32
1
1
3
9 bit UART
variable
Note:
SM2
Enables the multiprocessor communication...
Timer/ Counter acts as Counter Mode 3 with output LCD Char. In this lesson will do, the experimen
Timer/ Counter acts as Counter Mode
3 with output LCD Char.
Timer/ Counter Mode 2 : 8 bit Auto Reload
Mode 2 configures the Timer register as an
8-bit Counter (TL1) with automatic reload, as shown in Figure 9. Overflow
from TL1 not only sets TF1, but also reloads TL1 with the contents of
TH1, which is preset by software. The reload leaves TH1 unchanged.
Figure 3.3. ...
Timer/ Counter Mode 1 : 16 bit Counter
Mode 1 is the same as Mode 0, except that the Timer register is being
run with all 16 bit
Generate pulse by using
Timer 1 mode 1
By using Timer function, we can design a pulse generator
and outputs data to port. as you see on figure 3.3.1., with frequency
1 Hz
...