Sponsored Link :

. .


Article1

AVR Internal Registers

You can manipulate the internal register values directly from BASCOM. They are also reserved words. Each register acts like a memory location or program variable, except that the bits of each byte have a special meaning. The bits control how the internal hardware functions, or report the status of internal hardware functions.  Read the data [...]

September 17, 2011 0
Article2

Attaching an LCD Display

A LCD display can be connected with two methods. · By wiring the LCD-pins to the processor port pins. This is the pin mode. The advantage is that you can choose the pins and that they don’t have to be on the same port. This can make your PCB design simple. The disadvantage is that [...]

August 9, 2011 0
Article3

AVR Internal Hardware

The AVR chips all have internal hardware that can be used. For this description of the hardware the 90S8515 was used. Newer chips like the Mega8515 may differ and have more or less internal hardware. You will need to read the manufacturers data sheet for the processor you are using to learn about the special [...]

July 24, 2011 0
Article4

USB162 module

The USB162 from Atmel is great new chip with USB device support. The only downside for most hobbyists will be that it is not available in DIP format. MCS Electronics created a small converter board with normal pins with the size of a 28 pin DIP chip. Keyword :wireless ,search ,project ,platine ,networking ,microsin,software ,microcontroller [...]

July 14, 2011 0
Article5

XRAM microcontroler AVR

family such as a 74FHC573 if you go beyond 4 MHz. You can also program an extra wait state, to use slower memory. Here you will find a pdf file showing the STK200 schematics: http://www.avr-forum.com/Stk200_schematic.pdf If you use a 32 KB SRAM, then connect the /CS signal to A15 which give to the range of [...]

February 27, 2011 0
Article6

motor driver program in the AVR microcontrollers using BASCOM

Most of AVR microcontrollers have PWM channel in its chips. This facility makes use PWM become simpler and more accurate. Timer or Counter in the AVR can be used in PWM mode without disturbing the basic functions of the timer. Timer1 can be pre-configured in PWM mode by setting bits to the register PWM11 and [...]

May 2, 2010 0
Article7

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 [...]

April 27, 2010 0
Article8

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 [...]

April 27, 2010 0
Article9

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 [...]

April 27, 2010 0
Article10

Memory usage in avr microcontroler

SRAM Every variable uses memory. This memory is also called SRAM. The available memory depends on the chip. A special kind of memory are the registers in the AVR. Registers 0-31 have addresses 0-31. Almost all registers are used by the compiler or might be used in the future. Which registers are used depends on [...]

April 27, 2010 0
Article11

AVR Internal Hardware Port D

Port D Port D Pins Alternate Functions Port Pin Alternate Function PORTD.0 RDX (UART Input line ) PORTD.1 TDX (UART Output line) PORTD.2 INT0 (External interrupt 0 input) PORTD.3 INT1 (External interrupt 1 input) PORTD.5 OC1A (Timer/Counter1 Output compareA match output) PORTD.6 WR (Write strobe to external memory) PORTD.7 RD (Read strobe to external memory) [...]

April 27, 2010 0
Article12

AVR Internal Hardware Port B

Port B Port B is an 8-bit bi-directional I/O port. Three data memory address locations are allocated for the Port B, one each for the Data Register – PORTB, $18($38), Data Direction Register – DDRB, $17($37) and the Port B Input Pins – PINB, $16($36). The Port B Input Pins address is read only, while [...]

April 26, 2010 0
Page 1 of 212»

Select Category