You Are Here: Home » Posts tagged "c"

Experimenting the 2051 withC Programming using 89C2051

Learn yourself, how to write a simple program using Clanguage for the 89C2051/89C4051. Write a C source program, compile,and download the HEX code to the chip directly, connect DC adapter, seewhat happen after power up the board. No need ICE, in-circuit programmer,everything can be made by yourself easily. Introduction This page was provided forBeginnerswho interested in using C and Assembly languageto do s ...

Read more

4×4 keypad example using AVR-GCC C language

This is as simple routine how to read 4x4 keypad keys using AVR-GCC language. The keypad is connected to AVR microcontroller 8 bit port. In this example it is B port. You can change ports depending on your needs – this is only an example ant it is not the only way to this. Howt it works. Well very simply. PORTB is divided into two nibbles PINB0 – PINB3 as inputs (as rows) and PINB4-PINB7 as outputs (columns ...

Read more

Remote Control based Robot using C language

Concept The customer’s demands were to develop and build a kit, consisting of a small mechatronic system with educational concept. In particular, he asked for a driverless robot for training purposes abroad. The idea behind this is that our customer needs a kit for sending it to partner schools around the world to help the teachers there to set up project work based on a mechatronic system. The robot combin ...

Read more

A Simple FM Stereo Transmitter using ATTINY12 microcontroller

The parts to the right of the green capacitor are the FM radio transmitter. The parts between the 8 pin DIP and the transmitter are the resistor matrix. One capacitor, C5, is mounted on the back of the board, and one other capacitor, C11, had not yet been installed. It was later installed just below the 560k resistor. The connector in the upper-left is the unregulated power input. The connector in the lower ...

Read more

A 1 Khz Digital Sine Wave Signal Source using ATmega8515 microcontroller

• 1 Khz From a Quartz Crystal • 1 V P-P Sine Wave Calibrated Output • 1 KHz Square Wave Output • 900 mv Inverted Sine Wave Output (Uncalibrated) Downloads Download the WINAVR main source for the 2313 version of the firmware: 2313sine.c Download the complete zipped WINAVR project for the  2313 version of the firmware: 1_kHz_sine_2313.zip Download the WINAVR main source for the 8515 version of the firmware: 8 ...

Read more

Digital Stop Watch with ATmega8 using microcontroller

Hello Friends, In this tutorial we will make a "Digital Stop Watch" using an AVR ATmega8 Microcontroller. This will help you learn many concepts like Multiplexed Seven Segment Display Interfacing Using AVR Timers Using Interrupts And many others too. The code is written in C language for avr-gcc (WinAVR) . Steps to Build the "Digital Stop Watch" using AVR ATmega8 MCU Make the circuit according to the schema ...

Read more

Relay Timer with ATmega8 AVR MCU

Timers are widely used in industrial and domestic application for automating tasks. Microcontrollers can be used to design versatile and accurate timers with ease. Here I present a simple timer that can be used to turn on/off a load after user specified time. The Timer uses a standard 16x2 lcd module for user interface (UI). User can set the time using a 3 button keypad. After that Timer is started. While c ...

Read more
Scroll to top