Assembling and Testing the P16Pro PIC Programmer hardware The P16Pro PIC programmer is one of the popular, low-cost, PIC microcontroller programming hardware that can be easily build and assembled by hobbyists and students. It is parallel port-based and requires a supply voltage of approximately 15V. If your PC still has a vacant parallel port, then [...]
Shift Register
The MC74HC595A consists of an 8?bit shift register and an 8bit type latch with three state parallel outputs. The shift register accepts serial data and provides a serial output. The shift register also provides parallel data to the 8bit latch. The shift register and latch have independent clock inputs. This device also has an asynchronous [...]
ATmega PCB Design with RS232
Minimum system ATmega 8535/16/32 schematic circuit that is integrated with RS232 serial communication. Minimum System is a microcontroller circuit that used to work. This circuit usually consists of: 1. Crystal = to generate pulse 2. a series reset = to do the “Restart” work microcontroller Components that can be used as input and output such as: 1. display = LCD, dot [...]
DC MOTOR DRIVES : Pulse Width Modulation
Pulse Width Modulation (PWM) uses digital signals to control power applications, as well as being fairly easy to convert back to analog with a minimum of hardware. Analog systems, such as linear power supplies, tend to generate a lot of heat since they are basically variable resistors carrying a lot of current. Digital systems don’t [...]
serial communication microcontroller and mobile phones
In communicating the cell phone / cell phone with the microcontroller to be used as a remote-controlled device required an interface that can synchronize the two devices so they can exchange data. Interface system in this study using phone data port communication lines embedded on the bottom of the phone to be able to communicate [...]
Electronics cable programmer
Sample Electronics submitted the simple cable programmer. They produce professional programmers too. This simple programmer you can make yourself within 10 minutes. What you need is a DB25 centronics male connector, a flat cable and a connector that can be connected to the target MCU board. The connections to make are as following: DB25 pin [...]
ISP programmer ( parallel Downloader )
BASCOM supports the STK200 and STK200+ and STK300 ISP programmer from Atmel. This is a very reliable parallel printer port programmer. The STK200 ISP programmer is included in the STK200 starter kit. Most programs were tested with the STK200. For those who don’t have this kit and the programmer the following schematic shows how to [...]
USING RS485 serial communication
RS485 RS485 is used for serial communication and well suited for transmission over large distances. Similar to RS232 we need a level shifter. sample above uses a MEGA161 or MEGA162 which has 2 UARTS. This way you can have both a RS232 and RS485 interface. The RS232 is used for debugging. In order to test [...]
AVR Internal Hardware TIMER1
The 16-Bit Timer/Counter1 The 90S8515 was used for the documentation. Other chips might have a somewhat different timer. The 16-bit Timer/Counter1 can select its clock source from CK, pre-scaled CK, or an external pin. In addition it can be stopped (no clock). The different status flags (overflow, compare match and capture event) and control signals [...]
keypad on AVR microcontroler
Action Configure the GETKBD() function and tell which port to use. Syntax CONFIG KBD = PORTx , DEBOUNCE = value [, DELAY = value] Remarks PORTx The name of the PORT to use such as PORTB or PORTD. DEBOUNCE By default the debounce value is 20. A higher value might be needed. The maximum is [...]
USB Downloader for AVR microcontroler
For programming the AVR microcontrollers, Atmel has provided special software that can be downloaded from the Atmel website. Software is AVRStudio. This software uses assembly language as the language of instrumentality. AVRStudio addition, there are some third party software that can be used to create programs on the AVR. These third-party software using high level [...]
