You are on page 1of 28

JosephLoo

5/19/14
SPAWAR

ProjectsthatIfoundinterestingwithArduinoandRaspberryPi

ArduinoProjects
Blink
MorseCodeFlasher
Fade
Music
Calibration
Debounce
RGBLEDlamp
Trickswitch
Analoginput
MagicLightBulb
PocketStageLight
Sunset
Rocketgame
twinLED
AndLogicGate
OrLogicGate
RaspberryPiProjects
Soundboard
QuickReaction
BlinkLED
Digitalswitches

Plansforgettingtheprogramssetup

SomeActivitiesthatstudentscanworkon

1. TrickSwitch
2. MagicLightBulb
3. RocketGame
4. Stagelight
5. Soundboard

Notes
MostoftheprojectsareontheArduinoprojectpdforasexamplesontheArduinosoftware.
SomeRaspberryPiprojectsareintheGettingStartedManualandsomeareonline.

Ihavetogetthepdfprojectcodessavedintoafolder.

Resourcesused:

GPIOpins
http://makezine.com/projects/tutorialraspberrypigpiopinsandpython/
https://learn.adafruit.com/adafruitsraspberrypilesson4gpiosetup/thegpioconnector

MakerShieldassembly
http://makezine.com/projects/buildamakershield/

MAKE:BasicArduinoProjectsPDF


Arduinoactivitylogs

CreatenewlogforeachprojectyoudowiththeArduino

Putallofthemon1document

Makesureyoufilltheseoutattheendofeverydaysoitsfreshinyourmind!

Arduinoprojects
NameofActivity:Blink

Link/placewhereactivitywasfound(iffoundinbook,specifypagenumber):
http://arduino.cc/en/Tutorial/Blink

Difficultylevelonascaleof1to5:1

Interestlevelonascaleof1to5:2

Hardwareused:

EitheraredorgreenLEDlight

Arduinounoboard

220ohmresistor

Otherobservations:

Thisisagoodintroductoryprojectthatstudentsshouldworkonbecauseitgetthemusedto
howArduinocontrollerswork.

Prettyeasycircuitry.

ThecodingisprettyeasytounderstandonceyouknowhoweachoftheArduinoprogramming
termsworked.

NameofActivity:Music

Link/placewhereactivitywasfound(iffoundinbook,specifypagenumber):
http://arduino.cc/en/Tutorial/Tone

Difficultylevelonascaleof1to5:2

Interestlevelonascaleof1to5:2

Hardwareused:

minispeakers

arduinoboard

breadboard(optional)

jumperwires(optional)

100ohmresistor(notsureifitisoptionalorrequired)

Otherobservations:

Thepartsrequiredforthisprojectwasalittlemisleading.Iactuallygotthemusictoplaywithout
theresistor.

Theotherhardwareisntnecessary.

Thelittletunewascool.

Thecodingforthedifferenttoneshadtobeonaseparatetabandthecodehadtobeinthe
formofacommentinorderforthenotestoregisterwiththemainmusiccoding.


NameofActivity:Calibration

Link/placewhereactivitywasfound(iffoundinbook,specifypagenumber):

http://arduino.cc/en/Tutorial/Calibration

Difficultylevelonascaleof1to5:2

Interestlevelonascaleof1to5:2

Hardwareused:
RedorGreenLEDlight
Breadboard
Arduinoboard
Photocelloranyanalogsensor
10kohmresistor
220ohmresistor
about5jumperwires(alsocalledhookupwires)

Otherobservations:

TheLEDreactstohowcloseyouputsomething(likeyourfinger)nearthephotocellby
dimmingthelight.

Itisaninterestingwayhowsensorsarerelatedtocalibrationbecauserecordingtheminimum
andmaximumvaluesduringtheloopsisdeterminedbythesensors.

Hookwireshavetobeintheexactspotsinorderforthecircuittowork.

NameofActivity:RGB(Red,greenblue)LEDLamp

Link/placewhereactivitywasfound(iffoundinbook,specifypagenumber):
http://makezine.com/projects/rgbledlamp/

Difficultylevelonascaleof1to5:1or2

Interestlevelonascaleof1to5:2or3

Hardwareused:

RGBLEDlight

4jumperwires

BreadBoard(clear)

Arduinoboard

Otherobservations:

TheLEDjumperwireshavetobeintheexactspotsontheboardandonthecorrectdigitalpin
spotsontheArduinoboard.

Thelightslookedcool.

Nottoohard


NameofActivity:Trickswitch

Link/placewhereactivitywasfound(iffoundinbook,specifypagenumber):Arduinoprojectbook
pdfpages17

Difficultylevelonascaleof1to5:3

Interestlevelonascaleof1to5:3

Hardwareused:

Arduinoboard

RedorGreenLEDlightsonly

Breadboard(clear)

jumperwires

oneminipushbutton

10kohmresistor

330ohmresistor

Otherobservations:

Thewiringisstraightforward,butitcanbealittleconfusingtofigureoutwhereeverything
shouldgoatfirst.


NameofActivity:AnalogInput

Link/placewhereactivitywasfound(iffoundinbook,specifypagenumber):
http://arduino.cc/en/Tutorial/AnalogInput

Difficultylevelonascaleof1to5:2

Interestlevelonascaleof1to5:3

Hardwareused:
ArduinoBoard
jumperwires
RedorGreenLED
Forpotentiometerway
Potentiometer
Forphotocellway
Photocell(alsocalledphotoresistor)
Breadboard
10kohmresistor

Otherobservations:
Itisinterestinghowtherearetwowaystosetupthisproject.
Thisisaprojectwhereitismoreaboutwhichwayyouprefertosetthecircuitryup.
Whenyouputyourfingerclosertothephotocell,theLEDblinksfasterandfaster
becausethelightintensityisincreasingwhileresistancedecreases.
Whenyouusethepotentiometer,ifoneofthewirestouchesotherpartsofthe
potentiometer,thecomputerregisterstheactionasunpluggingaUSBcord.
Thepotentiometermethodrequireslittlesetup,butthewiresseemtoslipoutoftheholes
alittlebit.Thephotocellmethodrequiresmoreparts,butitiseasiertokeepthecircuitry
flowing.


NameofActivity:Debounce

Link/placewhereactivitywasfound(iffoundinbook,specifypagenumber):
http://arduino.cc/en/Tutorial/Debounce

Difficultylevelonascaleof1to5:2

Interestlevelonascaleof1to5:2

Hardwareused:
Button
RedorGreenLEDlight
Arduinoboard
breadboard
jumperwires
10kohmresistor

Otherobservations:
Thisprojectgivesstudentsanideaofhowswitchesoperatebecausethebuttontoggles
thelighttoturnonandoff.
Therehastobewiresconnectingthenegativeandpositivesidesofthebreadboardand
beplacedintheexactspotsonthebreadboardandontheArduinoboardinorderforthe
circuittowork.
Nottoohard,butthecircuitrycanbeconfusingthefirsttimeyoutrythisactivity.


NameofActivity:SunriseSunset

Link/placewhereactivitywasfound(iffoundinbook,specifypagenumber):ArduinoPDF
chapter2

Difficultylevelonascaleof1to5:2

Interestlevelonascaleof1to5:2

Hardwareused:
Arduinomicrocontroller
minipushbutton
redLED
greenLED
100uFelectrolyticcapacitor
10Kohmresistor(brown,black,orangestripes)
330ohmresistor(orange,orange,brownstripes)
photocell
Fullsizeclearbreadboard
Jumperwires

Otherobservations:
ThisprojectcangoalongwellwiththeTrickSwitch.
InterestingwithhowthephotocelliscontrollinghowbrightanddimtheLEDis.



NameofActivity:MagicLightBulb

Link/placewhereactivitywasfound(iffoundinbook,specifypagenumber):
ArduinoProjectPDFChapter10

Difficultylevelonascaleof1to5:3

Interestlevelonascaleof1to5:3

Hardwareused:
RGBLED
MiniBreadboard(solderless)
Arduinoboard
Makershield(assembled)
jumperwires
pushbutton
330ohmresistor(orange,orange,brown)
1kohmresistor(brown,black,red)
Battery

Otherobservations:
Prettycool.
IfyouhavesomeofthewiresdisconnectedfromtheLED,itwontflashaparticularcolor
whenyourunthecode.


NameofActivity:PocketStageLight

Link/placewhereactivitywasfound(iffoundinbook,specifypagenumber):ArduinoPDF
chapter23

Difficultylevelonascaleof1to5:3.5

Interestlevelonascaleof1to5:4

Hardwareused:
Arduinoboard
jumperwires
RGBLEDlight
Thermistors
330ohmresistor
10kohmresistor
1kohmresistor
EitherabreadboardortheMakerShield(assembled)

Otherobservations:
Thisgavemeaninsightwithhowstagelightsworked.
Thiswasanotherprojectwhereitisuptopersonalpreferenceregardingsettingupthe
circuit.
Thewiringwasalittlebittrickierthanotherprojects.


NameofActivity:RocketGame

Link/placewhereactivitywasfound(iffoundinbook,specifypagenumber):

Difficultylevelonascaleof1to5:3

Interestlevelonascaleof1to5:3

Hardwareused:
ArduinoController
MakerShield(optional)
51kohmresistors
4pushswitches
jumperwires
breadboard

Otherobservations:
YouwillneedtousetheprogramProcessinginordertoseethefulleffectsofthecode.
Itisinterestingthatthenumberswhenyouholddownmultiplebuttonschange.
ItisinterestingtoseethatyouneedseparatecodesfordoingthegameontheArduino
softwareandonProcessing.
IwonderwhyIcantlaunchRocket4?


NameofActivity:MorseCodeFlaser

Link/placewhereactivitywasfound(iffoundinbook,specifypagenumber):
http://makezine.com/projects/arduinomorsecodeflasher/

Difficultylevelonascaleof1to5:1.5

Interestlevelonascaleof1to5:2

Hardwareused:
Arduinocontroller
LEDlight(RedorGreenONLY)
Otherobservations:
Nottoohard.
Thecodemaybealittleconfusing.
ThiscanbeagoodprojecttogoalongwiththeBlinkproject.


NameofActivity:AndLogicGate

Link/placewhereactivitywasfound(iffoundinbook,specifypagenumber):ArduinoPDF
chapter6

Difficultylevelonascaleof1to5:2

Interestlevelonascaleof1to5:

Hardwareused:
MakerShield
ArduinoBoard
minipushswitch
jumperwires
greenLEDlight
Photocell
330ohmresistor
1kohmresistor
10kohmresistor
Battery(optional)

Otherobservations:
Thegroundpinhadtoconnectwiththedigitalpinsinordertogetthedigitalpinsworking.
Thelightstillturnsonevenifthebatteryisnotturnedon.


NameofActivity:OrLogicGate

Link/placewhereactivitywasfound(iffoundinbook,specifypagenumber):ArduinoPDF
chapter7

Difficultylevelonascaleof1to5:1

Interestlevelonascaleof1to5:2

Hardwareused:
MakerShield
ArduinoBoard
minipushswitch
jumperwires
greenLEDlight
Photocell
330ohmresistor
1kohmresistor
10kohmresistor
Battery(optional)


Otherobservations:
ItisinterestingthatboththeANDandORLogicgatesusetheexactsamecircuitryset
up.


NameofActivity:

Link/placewhereactivitywasfound(iffoundinbook,specifypagenumber):

Difficultylevelonascaleof1to5:

Interestlevelonascaleof1to5:

Hardwareused:



Otherobservations:


NameofActivity:

Link/placewhereactivitywasfound(iffoundinbook,specifypagenumber):

Difficultylevelonascaleof1to5:

Interestlevelonascaleof1to5:

Hardwareused:



Otherobservations:


NameofActivity:

Link/placewhereactivitywasfound(iffoundinbook,specifypagenumber):

Difficultylevelonascaleof1to5:

Interestlevelonascaleof1to5:

Hardwareused:



Otherobservations:


NameofActivity:

Link/placewhereactivitywasfound(iffoundinbook,specifypagenumber):

Difficultylevelonascaleof1to5:

Interestlevelonascaleof1to5:

Hardwareused:



Otherobservations:





RaspberryPiprojects

NameofActivity:QuickReactionGame

Link/placewhereactivitywasfound(iffoundinbook,specifypagenumber):
http://www.raspberrypi.org/learning/quickreactiongame/

Difficultylevelonascaleof1to5:4

Interestlevelonascaleof1to5:4

Hardwareused:
RaspberryPicontroller
monitor
jumperwires
adafruitpicobbler(ifyoudonthavefemaletomalejumperwires)
breadboard
led
resistor(used220ohm)
2switches

Otherobservations:
Thecodingisprettytoughifyoudontknowwhatyouaredoing.
Alotofdebuggingisrequiredifyoumessup.


NameofActivity:BlinkanLED

Link/placewhereactivitywasfound(iffoundinbook,specifypagenumber):Raspberrypi
manualpage102

Difficultylevelonascaleof1to5:3

Interestlevelonascaleof1to5:2

Hardwareused:
RaspberryPicontroller
monitor
jumperwires
breadboard
led
resistor(used220ohm)



Otherobservations:
NottoobadtointroduceRaspberryPitostudents,oncetheygetusedtoprogramming.
Alotmorecodingisinvolved.


NameofActivity:DigitalSwitch

Link/placewhereactivitywasfound(iffoundinbook,specifypagenumber):RaspberryPi
manualpage104

Difficultylevelonascaleof1to5:3

Interestlevelonascaleof1to5:3

Hardwareused:
RaspberryPicontroller
monitor
jumperwires
adafruitpicobbler
breadboard
led
resistor(used220ohm)
switch


Otherobservations:
Sometimes,youcangetaChannelinuseerrorandthatcanpotentiallyscrewupyou
progress.
Nottoohard,butthingscangowrong,especiallywiththeprogramming.


NameofActivity:Soundboard

Link/placewhereactivitywasfound(iffoundinbook,specifypagenumber):RaspberryPi
manualpage106

Difficultylevelonascaleof1to5:3

Interestlevelonascaleof1to5:3

Hardwareused:
RaspberryPicontroller
3pushdownbuttons
310kohmresistors
jumperwires
breadboard
speakers

Otherobservations:
Thiswasasimpleprojecttodo.
prettycoollisteningtothevoices.
mostoftheprojectsinRaspberryPirequiresknowledgeofGPIO(GeneralPurposeInput
andOutput)pinsandsomecoding
Ifyoutryandmakeothersounds,youwouldjustgetsomestaticwhenyoupressoneof
thebuttons.
Agoodsecondorthirdprojectforstudentstodo.


NameofActivity:

Link/placewhereactivitywasfound(iffoundinbook,specifypagenumber):

Difficultylevelonascaleof1to5:

Interestlevelonascaleof1to5:

Hardwareused:



Otherobservations:



NameofActivity:

Link/placewhereactivitywasfound(iffoundinbook,specifypagenumber):

Difficultylevelonascaleof1to5:

Interestlevelonascaleof1to5:

Hardwareused:



Otherobservations:



NameofActivity:

Link/placewhereactivitywasfound(iffoundinbook,specifypagenumber):

Difficultylevelonascaleof1to5:

Interestlevelonascaleof1to5:

Hardwareused:



Otherobservations:

You might also like