+ All Categories
Home > Documents > The Picaxe Microprocessor

The Picaxe Microprocessor

Date post: 21-Jan-2016
Category:
Upload: linore
View: 49 times
Download: 4 times
Share this document with a friend
Description:
The Picaxe Microprocessor. What is it???. Well, first a large company called Microchip Technology inc. created a Programmable Interface Controller (PIC). A pic is essentially a computer built into a single chip. - PowerPoint PPT Presentation
Popular Tags:
33
The Picaxe The Picaxe Microprocessor Microprocessor What is it??? What is it???
Transcript
Page 1: The Picaxe Microprocessor

The Picaxe MicroprocessorThe Picaxe Microprocessor

What is it???What is it???

Page 2: The Picaxe Microprocessor

Well, first a large company called Well, first a large company called Microchip Technology inc. created a Microchip Technology inc. created a Programmable Interface Controller Programmable Interface Controller

(PIC). A pic is essentially a computer (PIC). A pic is essentially a computer built into a single chip.built into a single chip.

This PIC was designed to be used in This PIC was designed to be used in thousands of products such as thousands of products such as

televisions, calculators, microwaves, televisions, calculators, microwaves, computers, watches, dish washers, computers, watches, dish washers, washing machines, telephones, and washing machines, telephones, and

so on………so on………

Millions of pics were and are being Millions of pics were and are being made.made.

Page 3: The Picaxe Microprocessor

But the limitation of the blank pic was that But the limitation of the blank pic was that it had to be programmed by skilled it had to be programmed by skilled

engineers in a difficult to understand engineers in a difficult to understand language. Also, an expensive programmer language. Also, an expensive programmer

was required to program each chip. was required to program each chip.

For a company designing consumer For a company designing consumer electronics, this was not too much of a electronics, this was not too much of a

hindrance as only one complex program hindrance as only one complex program had to be written per batch of electronic had to be written per batch of electronic goods, and only one programmer could goods, and only one programmer could

program thousands of chips on a program thousands of chips on a production line.production line.

Page 4: The Picaxe Microprocessor

Then along came Revolution Education, a Then along came Revolution Education, a UK company, funded by gas and oil giants. UK company, funded by gas and oil giants.

Revolution Education wrote a program that Revolution Education wrote a program that could be called an operating system, just could be called an operating system, just

like Windows on your PC.like Windows on your PC.

This made the pic much easier to program. This made the pic much easier to program. Revolution Education also created an easy Revolution Education also created an easy to use programming editor, which used the to use programming editor, which used the programming language known as Basic to programming language known as Basic to

program the pic.program the pic.

Page 5: The Picaxe Microprocessor

Now students can program the Now students can program the Picaxe processor very easily, and Picaxe processor very easily, and use it for many applications such use it for many applications such

as:as:

Page 6: The Picaxe Microprocessor

Controlling hobby servos to make things Controlling hobby servos to make things move/walkmove/walk

Page 7: The Picaxe Microprocessor

Controlling single digitsControlling single digits

Page 8: The Picaxe Microprocessor

Controlling multiple digitsControlling multiple digits

Page 9: The Picaxe Microprocessor

Controlling motorsControlling motors

Page 10: The Picaxe Microprocessor

Sensing light levelsSensing light levels

Page 11: The Picaxe Microprocessor

Displaying info on LCD screensDisplaying info on LCD screens

Page 12: The Picaxe Microprocessor

Model washing machinesModel washing machines

Page 13: The Picaxe Microprocessor

Range sensors (distance)Range sensors (distance)

Page 14: The Picaxe Microprocessor

Temperature sensorsTemperature sensors

Page 15: The Picaxe Microprocessor

Speech modulesSpeech modules

Page 16: The Picaxe Microprocessor

Robot armsRobot arms

Page 17: The Picaxe Microprocessor

Even colour sensorsEven colour sensors

Page 18: The Picaxe Microprocessor

And the internetAnd the internet

Page 19: The Picaxe Microprocessor

Micro-switches and motorsMicro-switches and motors

Page 20: The Picaxe Microprocessor

Data logging boardsData logging boards

Page 21: The Picaxe Microprocessor

Infra-Red remote controlsInfra-Red remote controls

Page 22: The Picaxe Microprocessor

See excel for product comparisonSee excel for product comparison

Page 23: The Picaxe Microprocessor

We have been working on an ASISTM grant with 5 We have been working on an ASISTM grant with 5 secondary schools.secondary schools.

La Trobe Secondary, Diamond Valley College, La Trobe Secondary, Diamond Valley College, Lalor North Secondary, Peter Lalor Secondary, Lalor North Secondary, Peter Lalor Secondary,

and Essendon Keilor College.and Essendon Keilor College.

As part of the grant, students start out with a As part of the grant, students start out with a universal project board; The UniBoard ™universal project board; The UniBoard ™

After building and programming the UniBoard, After building and programming the UniBoard, students are then open to build and design their students are then open to build and design their

own unique projects.own unique projects.These projects can be ANYTHING to do with These projects can be ANYTHING to do with electronics, mechatronics, Picaxe chips and electronics, mechatronics, Picaxe chips and

science!!science!!

Page 24: The Picaxe Microprocessor

One such project could be:One such project could be:

Releasing a Picaxe powered weather Releasing a Picaxe powered weather balloon to the stratosphere:balloon to the stratosphere:

Page 25: The Picaxe Microprocessor

The onboard picaxe could log the The onboard picaxe could log the temperature, light level, atmospheric temperature, light level, atmospheric

pressure, humidity.pressure, humidity.

It could also control a camera to take It could also control a camera to take photos of Melbourne…photos of Melbourne…

Page 26: The Picaxe Microprocessor
Page 27: The Picaxe Microprocessor

Other projects could be:Other projects could be:

A giant LED clock/thermometer just like the A giant LED clock/thermometer just like the Nylex clock in the cityNylex clock in the city

An external weather monitorAn external weather monitor

An alarm systemAn alarm system

The list goes on……The list goes on……

Page 28: The Picaxe Microprocessor

Now it is your turn to program the picaxe Now it is your turn to program the picaxe processorprocessor

We will start off by blinking a few LEDs.We will start off by blinking a few LEDs.

You will see the UniBoard in front of you. You will see the UniBoard in front of you. There are three onboard LEDS. Red, Yellow There are three onboard LEDS. Red, Yellow

and Green.and Green.

Each LED is connected to an output pin.Each LED is connected to an output pin.Red = pin 0Red = pin 0

Yellow = pin 1Yellow = pin 1Green = pin 2Green = pin 2

Page 29: The Picaxe Microprocessor

We can use the “high” and “low” commands to We can use the “high” and “low” commands to turn the LEDs on and off.turn the LEDs on and off.

See what this program does:See what this program does:

Main:Main:

High 1High 1

Pause 1000Pause 1000

Low 1Low 1

Pause 1000Pause 1000

Goto mainGoto main

Page 30: The Picaxe Microprocessor

Now let’s use the play command to play a Now let’s use the play command to play a tune:tune:

Main:Main:

Play 0,1Play 0,1

Pause 1000Pause 1000

Goto mainGoto main

Page 31: The Picaxe Microprocessor

Now let’s write a program for a stop lightNow let’s write a program for a stop light

RememberRemember red = 0 red = 0

Yellow = 1Yellow = 1Green = 2Green = 2

Page 32: The Picaxe Microprocessor

Main:Main:

High 0High 0

Wait 30Wait 30

Low 0Low 0

High 2High 2

Wait 30Wait 30

Low 2Low 2

High 1High 1

Wait 3Wait 3

low 1low 1

Goto mainGoto main

Page 33: The Picaxe Microprocessor

Thank you!Thank you!

More info is atMore info is at

www.apmp.com.auwww.apmp.com.au


Recommended