Microcontrollers
Microcontrollers
Microcontrollers
Sensors
Microcontrollers
Actuators
Variety of microcontrollers
Atmel AT90S8535
Motorola 68HC11
Intel - 8051
Texas Instruments Microchip PIC16F84, PIC16F877
PIC 16F877
PIC 16F877
8 kbytes of FLASH Program Memory
368 bytes of Data Memory (RAM)
256 bytes of EEPROM Data Memory
33 input or output pins
20 MHz operating speed(200 ns instruction
cycle)
Max. 25 mA current from an output pin
Parallel port
Serial port
(MPLAB)
(Pic Basic Pro)
(HITEC PICC)
PORTB.0
500
PORTB.O
500
LOOP
BUTTON
INPUT
PORTD.2
LOOP:
IF PORTD.2=1 THEN
HIGH PORTB.O
ELSE
LOW PORTB.0
ENDIF
GOTO LOOP
LCD
DEFINE
DEFINE
DEFINE
DEFINE
DEFINE
DEFINE
DEFINE
DEFINE
DEFINE
DEFINE
DEFINE
OSC 4
LCD_DREG PORTB
LCD_DBIT 4
LCD_RSREG PORTB
LCD_RSBIT 0
LCD_EREG PORTB
LCD_EBIT 1
LCD_BITS 4
LCD_LINES 2
LCD_COMMANDUS 2000
LCD_DATAUS 50
LCDOUT
LCDOUT
254,1, "MERHABA"
254,192,"2x16 LCD"
END
PORTA.0
PORTA.0,ABC
254,1,#ABC
100
LOOP
VAR BYTE
VAR BYTE
DONGU:
FOR i=0 TO 255
HPWM
1,DUTY,1000
DUTY=DUTY+1
PAUSE
50
NEXT
GOTO
DONGU
Links
www.microchip.com (Official website of the PIC manufacturer, PIC16F877 datasheet &
some application notes are avaliable)
www.antrak.org (Ankara amateur radio society website, biggest pic source in Turkish)
www.eproje.com (Some applications are avaliable in Turkish)
www.picproje.net (A discussion forum on PIC microcontrollers in Turkish)
www.elektroda.pl (A discussion forum on PIC microcontrollers)
robot.metu.edu.tr (METU Robot Society website, some tutorials and application notes will be
avaliable)