picaxe
TRANSCRIPT
![Page 1: Picaxe](https://reader035.vdocuments.us/reader035/viewer/2022081504/55518593b4c90580128b4894/html5/thumbnails/1.jpg)
PIC microcontrollers
Electronics and Computer Systems Engineering
![Page 2: Picaxe](https://reader035.vdocuments.us/reader035/viewer/2022081504/55518593b4c90580128b4894/html5/thumbnails/2.jpg)
PIC microcontrollers come in a wide range of packages from small chips with only 8 pins and 512 words of memory all the way up to very powerful devices that have 32 Kilo words of memory and 84 pins to connect to electronic circuits.
Electronics and Computer Systems Engineering
![Page 3: Picaxe](https://reader035.vdocuments.us/reader035/viewer/2022081504/55518593b4c90580128b4894/html5/thumbnails/3.jpg)
8 and 16 bit EEPROM/EPROM/ROM CMOS Microcontroller
Applications in personal care, security systems, remote transmitter/receivers
Programmable input/output terminations
Electronics and Computer Systems Engineering
![Page 4: Picaxe](https://reader035.vdocuments.us/reader035/viewer/2022081504/55518593b4c90580128b4894/html5/thumbnails/4.jpg)
This block diagram shows a PIC microcontroller application in a vacuum cleaner
http://www.microchip.com
Electronics and Computer Systems Engineering
![Page 5: Picaxe](https://reader035.vdocuments.us/reader035/viewer/2022081504/55518593b4c90580128b4894/html5/thumbnails/5.jpg)
Microchip’s Infrared products enable the embedded system designer to easily add infrared wireless connectivity
http://www.microchip.com
Electronics and Computer Systems Engineering
![Page 6: Picaxe](https://reader035.vdocuments.us/reader035/viewer/2022081504/55518593b4c90580128b4894/html5/thumbnails/6.jpg)
Electronics and Computer Systems Engineering
![Page 7: Picaxe](https://reader035.vdocuments.us/reader035/viewer/2022081504/55518593b4c90580128b4894/html5/thumbnails/7.jpg)
Internal view of a microcontroller
Electronics and Computer Systems Engineering
![Page 8: Picaxe](https://reader035.vdocuments.us/reader035/viewer/2022081504/55518593b4c90580128b4894/html5/thumbnails/8.jpg)
PIC development boards are used to program and run simple programs
Serial PC interface to
program IC
Some small PICs though powerful have only 35 instructions that control its operation.
Electronics and Computer Systems Engineering
![Page 9: Picaxe](https://reader035.vdocuments.us/reader035/viewer/2022081504/55518593b4c90580128b4894/html5/thumbnails/9.jpg)
PROGRAM DEVELOPMENT TOOLS Icon Assembler (CoreChart) Simple Flowchart
Electronics and Computer Systems Engineering
![Page 10: Picaxe](https://reader035.vdocuments.us/reader035/viewer/2022081504/55518593b4c90580128b4894/html5/thumbnails/10.jpg)
Pin Description for PIC12C508AGP0 Bi-directional I/O port/ serial programming data mode.
GP1 Bi-directional I/O port/ serial programming clock.
GP2/T0CKI I/O Bi-directional I/O port. Can be configured as T0CKI.
GP3/MCLR/VPP Input port/master clear (reset) input/programming voltage
input.
GP4/OSC2 I/O Bi-directional I/O port/oscillator crystal output.
GP5/OSC1/CLKIN Bidirectional IO port/oscillator crystal input/external clock
source input
VDD— Positive supply for logic and I/O pins
VSS— Ground reference for logic and I/O pins
Electronics and Computer Systems Engineering
![Page 11: Picaxe](https://reader035.vdocuments.us/reader035/viewer/2022081504/55518593b4c90580128b4894/html5/thumbnails/11.jpg)
THE PICAXE MICRO CONTROLLER
The PICAXE is a low-cost ‘FLASH’ memory based microcontroller.
These microcontrollers can be programmed over and over again (typically 100 000 times).
The PICAXE uses a simple BASIC language (or graphical flowcharts).
Electronics and Computer Systems Engineering
![Page 12: Picaxe](https://reader035.vdocuments.us/reader035/viewer/2022081504/55518593b4c90580128b4894/html5/thumbnails/12.jpg)
It is much easier to learn and debug than industrial programming languages.
PICAXE programming is at the ‘chip’ level.
The microcontroller is programmed via a 3-wire connection to the computers serial port.
THE PICAXE MICRO CONTROLLER
Electronics and Computer Systems Engineering
![Page 13: Picaxe](https://reader035.vdocuments.us/reader035/viewer/2022081504/55518593b4c90580128b4894/html5/thumbnails/13.jpg)
Has an internal A to D converter enabling analogue inputs with digital outputs.
THE PICAXE MICRO CONTROLLER
Electronics and Computer Systems Engineering