INSPIRATIEBOEK
EDISON V.2
Werken&met&ELedLfetisfitnolfirngah!r!tesdeLnEsDor Pagina!3!van!7
Les!3
Left red LED
!
Er!staat!nu:!
on’s sensors and buttons
Edison&leest&dit&als:&
presses = rea1d.barKcondiepper!een!keer!met!je!linker!licht!
2. Toeter!
3. Knipper!een!keer!met!je!rechter!licht!
E4d.isonTo’selitneer!tracking sensor is made up
of two parts a red LED light and a light
sNeniesot!rm. Toheeilriejkd!tLoEcDh?sh! ines light on the
gZrouulnledn, !iwf thee!dger!ooupnddriascwhhtieten!aanadn!Edison!geven?!
therefore, reflects light then the light
slgroeD\\erwofnlaeuslszncinogeltd&urhmtliiwt!igtshor!ihledebletategltta!dhe!&gckjietneekanagl&baue.thnheeiiddegln!!hatvl&hipagaleihangnrthae!!odstfroep&redern!!edaiisPn,doedagir!nokdeggePo!ne.zlsup&togIsdfntt!hetohoaehlteaoeethnrfedo:r&!eomndnoo\fagthaeenElidsjCklou!mimTcnabgle!vintaonEd!idsoen !aisPshaodwn!.en!Edison!
sor
your
ablet.
EdComm programming cable
\ Druk!op!Edison!op!de!RECORD\knop!(ronde!knop)!
\ druk!in!de!app!op!de!STARTTo !dDowOnlWoadNthLeOteAstDpr!okgnraompfo!llow these steps:
\ Druk!op!Edison!op!de!PLAY\kn1o. Ppre!s(sdErdiiseonh’soreecokrd!k(ronunodp) b)u!tton once
2. In EdWare press the ‘Program Edison’ button and then ‘Start Download’
3. Press Edison’s play (triangle) button to start the program
Edison will now run the test program and spin left and right, flashing his lights and
beeping.
data icons (green) and flow icons (yellow). icons (blue), data icons (green) and flow icons (yellow).
Werken&met&Edison!!ehoggssgwwuswheettbdetnrrhhrrhiieeooeeeooaessiieeciemffcceeufcte,wwwaEoooiionnrrtinsraccceeiiennidn))ualli)ioolonllcnaalassBsclaannauunoludddhsonntssssnossssnsyoeeddiiedeeifsaepccuucukeeetooseoffssfs(aahallLA&lgnnwooeesnttoetlletlhhemmhhrmsswwddnswdeoeeeesieoocwwdofewiii!wiinninEEoccssE3crsiniieicellioottnlotddllEEld)lEorlanneesneWWbbWbaddeunddssvvsveeesWWnsWs&eeaaeaoei((de(ccccrrrryyurryaaeaeeyypooeoyoeefsearrrlvvnveedtlloiieepplilpllcchlcmeeooes..owd.rrrrooeorroorwwoTTwaToweenneniggignEhh))shccdd)di..rraa.rlateeodehlaaEaiittietssnWnnbsmmntmdlleevleseeeeeWfffmmeamuuaauaaan(acrryttssiitasrreiyrouunn&uneeettetrvrrggrigeplooeecoleeccco.rnnommnmoorooEEwETeccncnngnaaaddheed)dettrta.nnnrrBBer..Ba.ooiotuuunsSSoomSollllaaaeeooooiiofimllcclcuakkmmkam[[oo[otsssiddsdrunnneene..te.uuurgsssFFoeF2aiTeeooeocnnoom((d0off(hfofEFFrrFrcrro1vrttreenteahheedeohearmm5mddtdnmPeeBbbur.ebn]))a)ouoo.rrogS,,roc,gammuumluarrrihrreoronteeaaeieealieoocaoodkomrraa[r!aorr4suryydnyeeiddee!dn.ctvuaasoFteonhbno!f(7iForssrteuhe,mEdtebs)douar,muBrclrleaheoooraoryfaedktshwetheiecworeinllasudsseieceoantlhmseowEsiltdl eWbveeacrreyovipceroroengdraaitnmlefmuatsiuntrgoenmEcadenB.uSo
eehaoguuswhdetbnrrrhiiieoaeosscciemmfcteu,waEoooinraatsceindi)uaiilonncnnlasBclanouldsshttonssnosyyoedisefppacuketeeosfs(ahND!lgssnwoetlethrmhisawdeooeteieaoffc!ewiwiznEocsiisnriccieliotntjd)lEloolna!nesWbadnnduds!vensWssdseeaedi(ecceuu!rryaereyoofsse!aorlbvnoeeetlipllcrhmdeoswddl.reoaeroweToweniicuignnEhc!)sdeio.rawlotedlEEaiitpnesWnbvmddelesvdeeeWWf!meauoa(ra&crrydtaaasireypouneetrrcavrgdeelipolechetco..rrnomaortowETTaecnen:gahhc)ded&tn.rlaneerhB.aaoitu!ssnSomthallaeeeeooitfemlcuankaa!m[objtssidrr:ounneee.bt!urgusFoeeeoccwnom(foonEFrcrnntea!!hedeEmwttdnrreBb.d)oouoreS,omlluiarros!oeiiaeloccookmra[oorosydnednne.uk!ssFleo!udo((fFrrireteeshemdd!tebbe))or,,lmurrarreeaeeounraarywedd!nea!ar!eenETi!cahodnendrWsee(abrarelue!erEf)oed,udirsiacomtaonaiincnostnyspe(gsroefeinc)oannsd
aoohhdbnniiaosssstu,,aEEtssddiuuacBBcclol hhoonooosfaakktss(h!gwwettrhheeeieecewwonrreeiin)llllaasauuddnsssediieecceoofaalnnotllrhmmssweeoowwmiEcssiillottdlloneeWbbtsvveeeeea(&ccrrryceyyooeovvliiplccneeoroorrowteennrg)ddo.raaaiilttnnm:ll&eelffmauuattssaiuuntttrrgoo!eejnnmoEEccuaddeenwBB.. uSSoo!aEoooolkkdmm[ssdiee..suoFFeoooonffFrrtt!hhelmmueebooirmmsurrteeaooerrryreeen!naar!a2Tiafnd0shfot1vraoar5munn].gcadhetsiodobuniect aotdhbniioessu,nEtsiduanBclgl hooofaktshwetheiecworeinllasudsseie
about all of the icons see trheeaEdd&Wkeayreppardo:g&rlaamatm!jionguwma!Enduaislo[dnu!eluFisetberurearny!naar!een!toetsenbord
!
!
detect&clap:&laat!jouw!Edison!luisteren!naar!een!handklap
!
! detect&obstacle:&laat!jouw!Edison!zien!hoeveel!licht!er!is.
! detect&line:&laat!jouw!Edison!zien!of!er!een!lijn!is.
ction ! sense&light:&laat!jouw!Edison!zien!hoeveel!licht!er!is
ur new robo! t buddy who will teach you about electronics, programing and
fun and engaging way.
ed with all t!he sensors, oruetapdu&tsHmanedrm:&loataotrs!jonueewd!eEddtiosoinnt!rdodeu!Tcme yeoru!letozethne,!hoort!bij:
rld of robotics.
, but what is robotics? Well Edison the LEGO compatible robot
n easy question to answer.
eator, Brenton O’Brien says “a
achine that can behave
sly” . This means that a robot
make decisions on its own
hose decisions. Many other
e different definitions, but we
as it’s nice, simple and
hat you’re about to learn.
ouldn’t be possible without electronics, so Edison has his own electronics and
it all through his transparent top. There are resistors, capacitors, transistors,
ow iconisco(ynesll(obwlu).e), data icons (green) and flow icons (yellow).
Werken&met&Edison!!avnooeeeentlliptlllllchmmhemooswwdd..sroeerowwTTooweonwiiiignnEhhcc))ssEdsii..ralootteeltdlEEadlitnneesseWnbmWbddleessvvaTi2veeeWWnfmeeae0dauha((aafccrrroyyrrv1taasirreyyoeyunooeearee5trr!Lmvrguveelliinpi]polleccececc.ooeg..crarnoomooorsorwwohETTetecnnennn!iggaodhh))do3Eeddtt..raarnuaeerrBn.aaiooidttuictssnSomnmallollateeleeoehoWiibfnfmlmccuaakuaaaimoss[ootsssitdsrriuu,nunnneee.ttEtautrgsrgssFooeoeedoccuarnnom((nmBfooclEFrrElccercnnteehoaaohedeedemttddonnfrreBba..Bi.))ookuoutcrsSS,,oSohmlluarawrroooooeeiiotaeelcclohkmmekmraa[oo[niersydscdeddnneewe..uousrssFeiFenooeollao((osfffFrruFdrrtteetshheshemmddeieeebecb))eoro,,rammumurrnrrtleaeheeamoosoreaarrrryoyweeddeEsiltdl eWbveeaPcrraeyogviinpcearo!ro5en!gvdaranait!n7mlefmuatsiuntrgoenmEcadenB.uSoaoolkm[sde.uFeoofFrthemebormureaorrye
vnetliplcheos.roerowTwengEh)di.raledlaitsWnbmleeefmauaacrtsireounetEvrgpoeencrnmoro!EecwngadTiedtcrnrBe.haooiunSeo!mnlharoosifmleceukm[o(tsbidabunne.urlbrgsueFeeoeeom(fEFr)norte,ahedu!mddndeBbr)auore,momtuararo!eaaeglokiria[rcrnsydedoo.utneFyesponFer(egesm!rbcoeorofeureinamc)roymannsadunfsldoeowd ’isinc!o!EndsW(yaerello. wTh).ese are control icons (red), read
vipceroroengdraaitnmlefmuatsiunt!!rgoenmEcadTia2ennB0d.hfuov1Soraoar5oomlun]km.[gcasdhee.tuisodoFeoeunofiFcttrta&othemmhbnebioossremuu,rEematsodruaryoBecllhoroyofak:ts&huwethietieclweoreignllas!uldassetieceeoarntlhmseowEsiltdl eWbveeacrreyovipceroroengdraaitnmlefmuatsiuntrgoenmEcadenB.uSoaoolkm[sde.uFeoofFrthemebormureaorrye
kele(lo.gswwTreoeh)fe.weincsi)loel anuanssrdeeu!! fsacloelomwdnotiirncsootEl neidcsvWoe(nryacyseroeli(lcpro.eowTydnh&))d.a,etarseleteaaaad:sr&etuoictnolcenetgr.o!Sllaoictmeonerso(frtehde),mreoared
vitpscheroetrohengiedcraaoritnemnlaesfmudastsiueinct!!regooenntmhEsceadewnB.EiuSlodlaooWblkme[sadec.rueocFeoavopfeFlrrtcrohemeugebdorrlmauarinematoerfrmyue&btiunyrgetmeE:ad&unBuiotaollek[gsd.!ulFeaotFreemrborureary
calculate&word:&uitleg!later
control EicdoWn!sar(ere.dT)h, eresaedare
used in control icons (red), read
flow icons (yellow).
oeroeanfeElcincmd)eoanBo.nssSodutoofsleoekmwdvseei.inc!rFooEynodfsiWrct(hoymaeernelolo.marwTetoh).elreseeasamrteoicnnoncuteros.l&iSccooonmus (neretdo:)f,&urtehiatedlemgo!rleater
gceomnwsaillnuwusieallalblm[edouscteoevvFeeerrybeircduonainarytfluetaustreonEced. BSoomoekosf.thFeomromreore
heetrheeadEicdonWs wairllebeprcoovgerraedminmfuintugremEdaBnouokasl. F[dour meoFreebruary
e icons see the EdWare programming manual [due February
plus&count:&uitleg!laterof icons used in EdWare. These are control icons (red), read
!reen) and flow icons (yellow).
e will use almost every icon at least once. Some of the more
!he read icons will be covered in future EdBooks. For more
e icons see the EednW!agreeplreog!craommminmg maannudaol [d’su!e!February
!
!
een!loop!(herhaling)! ! een!voorwaarde:!! ! ! even!wachten!
maken! ! ! ! als&ja!dan!……..!
! ! ! ! ! als!nee!dan!……!
Werken&met&Edison!! Pagina!6!van!7
Les!3
EdVenture 1- Flash a LED
EdWare. These are control icons (ETrehdde)rW,ereaaaredrfoeuricmoainn stypSesiomf icponlseusleodoinpEdWparreo. gThresaemare tcoontrmol icaonkse(retdh), reealdeft LED flash
ons (yellow). Werken!miecotn!se(belune)!,ldoaotapico!(nesT(eghrneee!nht)reaandrdhiftloiaowlniicnaonglsf)i(!ryseltlopw)r.ogram to write is to make a LED light flash. This is a v
t every icon at least once. Some ofTthhreoumgohroeut this EdBoopk wroegwrilal umse aalmnodstaevsertyhiceonnaat lmeaset osnuceg. gSoemsetsof tthuermnosreon and off the left LED light.
Kijk!eens!naar!dit!programma:!ll be covered in future EdBooks. Foardmvaonreced icons, such as the read icons will be covered in future EdBooks. For more
!EdWare [due iFnfeobrrmuaartiyon about all ofDtheraicgonas scereotshesEtdhWeariecporongsramtomifnog rmmanuthale[duperFoegbrruaamry
programming manual 2015]. below, then click on each icon a
! properties box as shown.
!
loop
end
These are control icons (red), read
wn). ture 1- Flash a LED
n at least once. Some of the more
ehdesine afuretucreonEtrdoBl iocooknss.(Freodr),mreoared the left LED flash
loop program to make)g.ramming manual [due February
nitaitolenasat lonfcires. Stopmreoogf trhae mmoreto write is to make a LED light flash. This is a very simple
rgdoraaisnmnsfmdutiutnahrgesemEadtinBchuooaeolL!kn[sdnes.uaFeeotmForsem!befhorouresearrmuyt!gpgthreoesgtpsrraotumgrrnamsmao!bneeaeElonnwdds,,oV!twfhfeeathntne!cgtlleeiucbfktreLoeuEnrD1te!aeli-cgrhFh!dti.lceaonnsk!ahjned?a!seLt EtheD
es box as shLoawtenn. !we!nog!een!aantaSli!dminpgleenlo!ionpstperlloeng:r!am to make the left LED flash
The traditional first program to write is to make a LED light flash. This is a ve
bij!! !!!!!!!!!stel!zo!in:!! program and as the name suggests turns on and off the left LED light.
loop&forever&=! Drag across the icons to form the program below, then click on each icon an
blijf!herhalen! properties box as shown.
bij!!!!!!!!!!!!!!stel!zo!in:!! How the program works
LleEED&&LSEeDK&=n!lga&mOnp!!=li!nlakms! p!gEdaidraeitsc!oatinoa’nsn!omficthroecsotnetpros.lleLret(’bsrafoinllo) wfoltlhoewssteeapcshinictohne as a step and the arrows
program above.
Step 1: the program begins at the start icon
bij! !!!!!!!stel!zo!in:!! Step 2: the program follows the arrow out of the top of the loop icon
Step 3: the LED is set to on by the flash LED icon
Seconds&pass&5!=!lamp!bSrtaenpd4!:5t!hseecporongdraemn!waits for 0.5 seconds by the event wait icon (keep the
Step 5: the LED is set to off by the flash LED icon
Step 6: the program waits for 0.5 seconds by the event wait icon (keep the
he program works
microcontroller (brain) follows each icon as a step and the arrows show the
program to write is to make a LED light flash. This is a very simple
e name suggests turns on and off the left LED light.
ons to formWtheeprrkoegrnam&mbeelotw&E, tdheisnocnlic!k! on each Pagina!7!van!7 the
shown. Les!3
icon and set
!
bij! !!!!!!!stel!zo!in:!!!
EdWare icons
leE&LED&=!lamp!links!There are four main types of icons used in EdWare. These are control icons (red), read
icons (blue), data icons (green) and flow icons (yellow).
LED&SeKng&Off!=!lamp!gaat!uit!Throughout this EdBook we will use almost every icon at least once. Some of the more
EdWare iconsadvanced icons, such as the read icons will be covered in future EdBooks. For more
information about all of the icons see the EdWare programming manual [due February
bij! !!!!!!!stel!zo!in:!!Th2e0r1e5]a.re four main types of icons used in EdWare. These are control icons (red), read noitcudort
icons (blue), data icons (green) and flow icons (yellow).
ThEroduWghoautrtehisicEodBnosok we will use almost every icon at least once. Some of the more
adTvhaenreceadreicfoonusr ,msauicnhtyapsetshoef riecoandsicuosnesd winilEl bdeWcaorev.eTrehdesine faurteurceonEtdroBloicooknss. F(roerd)m, roeraed
dna gnimargorp ,scinortcele tuoba uoy hcaet lliw ohw yddub tobor wen ruoy si nosiinifcoormnsa(tbiolunea),bdoauttaailcloonfsth(gereiceonn)sasnedefltohweiEcodnWsa(yrelplorwo)g.ramming manual [due February
Seconds&p2a0T1hs5ro]s.u&g5ho!u=t !thlias EmdBpoo!kbwreawinll udse!5alm!soest cevoerny icdoneant le!ast once. Some of the m.yoreaw gnigagne dna nuf a ni scitob
advanced icons, such as the read icons will be covered in future EdBooks. For more
information about all of the icons see the EdWare programming manual [due February
Dite!hget boet urot2y0!e15er].!cduodoorr!htneito!ptrdoegdraemenmsar:o! tom dna stuptuo ,srosnes eht lla htiw deppiuqe s’
! 1 het prog.sracmitmoabsotarrtfo dlrow gniza
lleW ?scitobor si tahw tub ,taerg s’ta
program works 2 .rewsnabegoint nvaonitdseehuerqhaylinsgae na ton s’ta
icrocontroller (brain) follows each icon as a step and the arrows shao“wstyhaes neirB’O notnerB ,rotaerc s’nosi
the steps. Let’s follow the steps in the program above. 3 evahheetblinnkearclamtaphjetgeaantiahacnam a si tob
program begins at the start icon tobor a taht snaem sihT . ”ylsuomonot
nwo sti no snoisiced ekam ro kniht n
apmrowgraomrkfsollows the arrow out of the top of the loop icon
4 rehto ynEadMiso.nswnaocihst i5cseedcoendseonht no tca d
mtprpLosrEb.lolDeeLggreriaist(n’bmsssraefawoitntlalto)toihtwfseoolnftlsohotbreway0rsstto.tt5hieebceapooscsernfhlceainolsibcnhtiohtdanLespEapmbDsryooaitcgchrosOeantemGepvEaeaLbnnoetdvhwettah.nietoiascirodrnoEw(ksesehpotwhethLeE5 Deown.)tnudrbanea,slhenoelottpliitmntuiknoeisirbflea,aemdceptjirnen’uegsaorae’yttifuftsiiatdahewevnaooht sseiehlpitlpoe
mspLerEfootDgtllooriaswomnssewtbt,hdysatenorittohaasoertffrssfooficlbrswaiy0nnso.htao5hurrLetsttEceof,lDefcsaotrlsheionchedtoniLstncowEabpDopyoaitsfchciotehhn,eessvrlaooehontsptniwsiocaeosirntidiecEroano(eskree,eshpcTitnh.oeproLtcEt6eDtnleoefrtfua) ophsntiwaErdteisslobinhiswshaogchput o5ersbhectto’lnnladdeltnui oewessncaitocbu
m waits for 0.5 se.creonllodsrtnbyocthoerceivmenst ’wnaoitsiicdoEn s(kieterappthceinLEorDtcoenl)e7tnatropmi tsom eht tub ,erom dna sroto
het programma stopt
set to off bylltaheefrleashhwLsE’DtI i.cnoinarb s’nosidE ekil si rellortnocorcim ehT
m waits for V0yo.5reeysrvle!nhcsoeoint,r!rdepeslrtlouobygprtrmtnahoemoccemovareacne!immtdwaissaani’trni!ioecpoesinhindcs(Ek!ureo.iestsp!ns(wteehpceepoeLartEp!hjDee’!oghhfneft)itok!ntnorihagtl?‘im)s:!iihs
r\\\\oefh’sDzdkTelrruntuu.ii!sthkhka!m!td!eio‘nnteadp!!i!gdrnk!gpEeeaadiol!bhuairsecsippndolp!ro!sanvo!iaao!assonhpniscp!!!eoredd!decpdeeeol!!l!doSie!rPRpTerkatEA!anakdCRmoo!OzeTcpoRk&ootD!ieDhtrlOclant\eiskWrmofudnosjN!oosimddpnL’nnEoO!\(oaAgrAwasoeD.ninoldrise!jdlEkkllaleunl!a!,ioskrTmepnmn.ts!ofgulaep!phrvs)gcma!mounormi!hpcde!iPad!erenl!loErdtnisooconr!cim s’nosidE
o\t teDgruUkO!oYp!Etadhistosni!o,npr!adeel!PoLtAtuYo\kbnaoepr!(’udoriyehtaohewk!kdnnoap,)nosidE tuoba gniht gnizama tsom e
sih ot dnopser dna evaheb ,kniht ot woh nosidE llet nac uoY !smargorp s’nosidE eti
taht margorp elpmaxe na s’ereH .ysae ylgnisirprus si nosidE gnimmargorP .tnemnoriv
.enil a wollof ot nosidE sll
Werken&met&Edison!!
Les&4of icons used in EdWare. These are control icons (rePdag),inrae!a1!dvan!5
reen) and flow icons (yellow).
we will use almost every icon at least once. Some of the more
ethiecorenasdseiceonthsewEildl WbeacreovpeErrodegdirasinmofmuntiun&prgermEoadgnBuroaaolkm[sd.uFmeoFreembroreureanry&Deel&2&
In!deze!vierde!les!gaan!we!weer!een!stapje!verder.!
Je!bent!al!een!beetje!bekend!met!de!app!“EdWare”!
De!vorige!keer!hebben!we!deze!codes!gebruikt:!
!
Vraag:!weet!je!nog!wat!de!codes!betekenen?!
!
TIPS&
een!programma!begint!alGjd!met&&
een!programma!eindigt!alGjd!met!!
Nieuwe&code&
is!een!nieuwdnea!cogdneim!vaorogro!Orpzo,sbcoitn!o! rtcele tuoba uoy hcaet lliw ohw yddub tob
Je!ziet!twee!draaiende!wielen.!! .yaw gnigagne
Dat!is!wat!edhet!cootdueo!zyeegtc:u!Eddoirstonni &ogtedberudieke&2n&wsrieolteonm! dna stuptuo ,srosnes eht ll
! .scito
tobor elbitapmoc OGEL eht nosidE lleW ?scitobor si t
.rewsna ot noitse
a“ syas neirB’O notn
evaheb nac ta
tobor a taht snaem
nwo sti no snoisic
rehto ynaM .snoisi
ew tub ,snoitinifed
dna elpmis ,ec
.nrael ot tuoba
dna scinortcele nwo sih sah nosidE os ,scinortcele tuohtiw elbissop
WerEkdeEnVd&emVneetntu&tEruedri4seo4–n!L–! eLte’st’gsegtemt omvoinvging
Les&4EDdriDisvorenivEheadsEiswdohinseoeinnls,ainsopaaleptt’taseturtsnetrhnePmag! iDnar!a2g!vaanc!5ross two dual drive icons and two event wait
Maaksic!edotniEitctisnd!opginasrssnoo.dnagnarhadrarmsaanrwmrgaheane!gteeheleestm,nhsseoa!misnle!astE’hssdosuWwhsnoat.whrNneeo.m! wN!,oDswrea,tgstehatectrhfooesusfrotpuwrrooppdreourptaieel rsdtirbeivosexbeiocsoxwenssithwantithdhettwhsheoosewhvnoewntnwait
settings.
!
!1 2
!
!
!
34
!!A!!! l213s!jefTsHEasdsT!odpeoDDSSSrrhhxoroiteeppvewiiiaTTssHsEfdptsuwoerrhtecee!poearrohhdneeexcoredioioteseevriewiduorptcccts‘)duwneethFpdd..aioah??aod.dnemediordTOl!!nsrieudTeooorc==vt‘)drdhsFsp.ea.nwgioaehhsnn!!.rp&emorSSTOl!crnnperaiaeTo!!vgvayrrnnde==hsfntarenwegehenimodrpenees!!dcrstneraieRRab’vihiagayllrescmfnxewthhreaiirenimlo!ordccnstdvu=nteepaeena’ihhhiga2decmd!iliviixewaseteSklGGddmunorestsvnpaeateatnac!!nn2npede!==dtlivtcwlomsethwtcrmungges!!ssdoonaoeaw15at!!cnppergoo||ttntrniwlo!0irahwttcreevr!!eosrdddonaSF!ioeawieetpclktsrgfotemoprnidoira!iobteeivrscjorndicriraineosiee5ontcltwkosf!m1stod!owniobuh&nnis(ciRcarhnaopssg5owoatomcarie1sntoenughtcnhgad(lcdhotfhapshgha!iwo!metctEease=nessnottnthapelcd!edh!!otpgrfd=fa=VieosineetotEress.ssno!!ooenr1!psotDdWewpgrphgddfo2ens!ieorEerarsh).aohreaa.rsotsttWadwuahgidomTale2nttieErraish)uihhctdah!.!osttadrdg!toeinormeTnlhenttieionisuvahecnn’dhcetdosergathoeereagnhspsn.ioerndxvneern’Y!cettdwsiteorohrwneadsopseee.ghedx!nhoturcvYrcitihwitolnaoe!rwteehdoeeieaghmeovCnhottucvrrEihlneutselaeas!teeiedian!wl.msneoCtneloidrETelsnaetenwasyoihndinsiw.sconttcaeneopid:oTusaioinw!cyituohgninfsiiocotmnciarnreoponuiaorgasicaeitiugngtnfginomiknisEsrroedhdneargasdaaedutisgtgnsiihksrEaaessedhttdoeiooltotdmadutusdpssntihraaaenostrtposdiooltoditdim.veus1adpsdnteaenoanrpdssddiddminci.verse1acdideeev1aoconds?idomn0rnncirecenidegv1oc(oidsf?io0rnun,enlg(lidsfu,ll
! 4 UMth!SsaieitMUstnhcdsgsaoiriistnLinovdsgEednriGsLiosvE&OehnpGsimabOhsritismchb!k=rrosti!chuSckrgeorshecucaogtrhtnheeeadtahtmeeesnaahm!zIownesarthtarzwomoceirhtdtahwutmzo!icet=uahtt!ifzo2ooheun!rittfEtohindrigtiEtsintodhgniestothsoneidttresoaisvdt.reealsvt.ehlrothurgohu.gThh. eTnhewnritweriateparopgrroagmram
!
PVrrSSSoaabzDsgeelErfdTrueot:uerih!d!twhbikwv!refdTErd!eFoo!eeortemhrahtpde!awbi!sgvstkee!eEFeoca!aeyrutmdglcbteustra!ssihaseemsitedecoealyaau!c!ma.nstmrvantshae!aTt!oiaeaenacnhhpim.nr!m!sanoed!i!dTyslipuaectcehp!i!!ntaiidsai!pysPtRiayesll.palEcrr!eb!pkdtCteoLaisysdoe!aOsezlgpplcortebRaetrtoeoa!esDdeharsfu‘lawScde!mtakdsErofoaiodnoefrdfufm‘!iorowdemvkidsipntesiro.aoef!rSe(oafairgre!svTHarEarEtnkahoiloodenmuhtlddeeyrabbtn.onltaiie’iuotaiooss!ssa’satjdwshnooz’ttsknslteilsinocneuilnnel!syqesgtsom’!go!sidiuirakssmpGatiteowinwcptrnatymnau!rrhlipoeaosneoptssvgae,erduaelmlfpeycebd!durrttvc”trhaou)nhnowho’ria.isr!stinve,foayaiTanewetegwBrhenhqbto!htnrstddrihurabhe’asroorda!eoaenletoalabmodsntttti!tisoombthticcngebiiPotntostearaaoorobd’.onangnOsomesbutdisettbn’odmoBbisnn!togetttdehiraoas’hcoyi,sawneooncnsa!!wttnras?vme!deavssaEowhyes,We.nodneeraonoocoryeiuw.bn!esaisvfultlknoipole“lntkstuaionhtteaje!s!ifkueajnn,aect!snhyhswm?adeyoemd!on,oamuoiysmstrtaoeo!etbdreooscmciuesrrntotieee!tvoegmecelcendeetcoenmitvdboramoewotnnneonmincadiunastl,wosrrknropeynt.dardo.usqElg!csktrrueeadey.miymsirqEosietnuuoedsgstionmirastvent’hhsodseseanrttvy’hsearty
S druk!in!de!app!op!de!START&DOWNLOAcaDn!tkhninok por! make decisions on its own
S Druk!op!Edison!op!de!PLAYSknop!(driepahenodoepalkec!tkhoannvoethpdo)isffeerdeenctisdieofninsi.tiMonasn,yboutthweer
like this one as it’s nice, simple and
applies to what you’re about to learn. Edison the LEGO compatible robot
Robotics wouldn’t be possible without electronics, so Edison has his own electronics and
you can see it all through his transparent top. There are resistors, capacitors, transistors,
motors and more, but the most important electronic part is Edison’s microcontroller.
The microcontroller is like Edison’s brain. It’s where all
his ‘thinking’ happens. Edison’s microcontroller is very
similar to the processor chip inside a computer, only
Werken&met&Edison!! Pagina!3!van!5
Les&4
S
Gebeurde!dit:!
Als!je!op!PLAY!drukt:!
S gaat!Edison!een!stukje!vooruit!
S wacht!Edison!even!
S draait!Edison!naar!rechts!
S en!wacht!Edison!weer!even!
hese are control icons (red), read
).
daitnlefuatsutroenEcHAEdelBe.ds!SorEVoohdkmeiasse.nloeFontofnu!rithe&mreteosm!rme6oreee–r!Wdanh!éaétn’s!ketehr!emhoeutr!droyen?,!nLoeetm’senw!waei!td!at!een!herhaling.!
gramming mIMann!edueaitl!p[tdhruoeegeFrvaeembrnumtariayn!lethreene!wveen!wt ewrakeitni!cmoent!een!LOOP,!en!kijken!we!of!Edison!naar!
jEed!wisoiln!lucaisntewraeitnf.o!r more than just time. He can wait for a specific event to occur before
progressing through your program. This program takes advantage of Edison’s clap sensor.
2
1
These are control icons (red), read
w).
on at least once. Some of the more
red in future EdBooks. For more
ogramming manual [due February
3 456
!How the program works
Once again we have a loop, which you should be familiar with now. The first icon in the
!!wtlohaoeiptrihigseh1rttheaeunendvtilelenafttcLwlEaapDitisiscaodhLnneiodetoaerepncbndteFecgodiosin.ruetsOnvedtneeet crrthose=eawtrbhhnlaiaosjiflttidnhhuogaenoprtripelgeavaenacnsnla,t ptwhaiesitpdirceootgenrcawtemidthp, rsthooegtrhseeasmsperesosgteoratttmiunrgnwsiolalns
the first one. When another clap is detected the program progresses to turn off the right
hEaiveroer unwntadhcahaptgpEaedinnis.son= (maar niet op tijd)
and lef2t LEDs, and loops tot er iets gebeurt = Detect Clap = Hoor je me klappen?
Important!
The clap detection sensor becomes overwhelmed with noise when the motors are running,
so you can’t detect for claps while Edison is driving.
EdFact
Werken&met&Edison!! Pagina!4!van!5
Les&4
! En!WAT!gaat!Edison!doen!als!‘ie!je!hoort!klappen?!
!
!3 hier bedien je de lichten van Edison
! Control Right LED = lichtje RECHTS = On = aan
!4
! hier bedien je de lichten van Edison
Control Left LED = lichtje LINKS = On = aan
!5 hier bedien je de lichten van Edison
! Control Right LED = lichtje RECHTS = Off = uit
6 hier bedien je de lichten van Edison
Control Right LED = lichtje LINKS = Off = uit
Vraag:!Wat!denk!je!dat!er!gebeurt:!
1. Ozobot!gaat!luisteren:!als!je!in!je!handen!klapt!gaan!de!lichtjes!aan!en!uit!
2. Ozobot!gaat!luisteren:!als!je!in!je!handen!klapt!gaan!de!lichtjes!aan,!als!je!
nog!een!keer!in!je!handen!klapt!gaan!de!lichtjes!weer!uit!
Probeer!het!maar!……!!
Leer!Edison!het!programma!en!kijk!wat!er!gebeurt!…….!
anlltyopf ethseoifciocnosnsseuesethdeinEEdWdWaraerep.rToghreasmemarinegcmonatrnoulaicl o[dnuse(rFeedb),rureaaryd Pagina!5!van!5
cons (green) and flow icons (yellow).
Book we will use almost every icon at least once. Some of the more
Werken&met&Edison!!uch as the read icons will be covered in future EdBooks. For more
Les&4all of the icons see the EdWare programming manual [due February
Voorwaarden&(condi?on)&
Soms!moeten!we!Edison!een!beslissing!laten!nemen,!laten!kiezen.!
HieEr!dlaVteen!nwteu!Erdeiso5n!–goWed!hkiajktenI:F!is?!er!een!lijn?!
AAllssG!!NJAivE,eE!d,E!addna!inds!oodenotet!Ehtd!eEidspoiosnow!niee!itrest!tso!amnadekres!decisions
! The introduction said that a robot can think or make decisions on its own and act on those
! decisions. Well, now were going to see how that happens using the IF icon.
! ICFr=eaeteentAheLSproopgdrraamchtand download it tJoAE, dikiszoien.ePenlalcijne him next tDoiraecthtiiocnk:bFlaocrwkalrindeRoignhta
hwiehri:teLisnuerfTarcaeckaenrd press the play button. He will follow the line. dus als JA: ga vooruit en
dus: ziet Edison een lijn? naar rechts (van de lijn)
NEE, ik zie geen lijn
Line Tracker LED: On Direction: Forward Left
HEdoiswont’shsepepcriaolegrlijanemn-owoog:rakasn
The first thing the program does is dtuursnaolsnNthEeE:lingae vtroaocrkuiint egnLnEaDa.r Nlinekxst,(nthaearpdreoglijrna)m enters
an endless loop. In the loop is the, all important, IF icon. The IF icon asks: Is the line
ElEijeingrhotteesriciuantnmkt!clz!ikozpeojeifkanj_rtn!tthpheoo”el.nnoat!hbDu!gaweoteatroebnnteofl!f!!azmllwteahc’ncekteote!i!fsltvEinonptedhp!eeweis.socueBIofiFra!utfnEahlite!cd,eceo!ieilfeIsniFjt(on.nhwin!Teecbh!honiaketinesSniej.o)sktd?TowjeuehIgneafe!!rml!taohddisaeefur!niNtavea!,elrdOn!ed!siie,ctrnwiet!ovh!peznneerre!ontiligcuisgjotgrnhnrYneae!sEintmspuES!.wrr!dm,onitegssharo!eEda:n!nmdulitesshf:fooet!n“lalpEonrrwdidgoishgsdtrot.rahinvTmee!hkcsfisirojoEkldlsod!rsowiisvfpseo!aenstthrho!eff
Alst!heer!leineen. !Tlihjne!ipsr:o!ggaraamt!Ethdeisnolono!vposoarruouitn!edna!gnaaina,r!arnedchatgsa!i(nd,uasn!dv…an!de!lijn!af)!
Als!er!geen!lijn!is:!gaat!Edison!vooruit!en!naar!links!(dus!naar!de!lijn!toe)!
FMMlaaaEfWuoaadwrrkhwi!!sew!hahonerenedhtl?.i!!esep!’seirnonoagf!flrectahoumenks!mlgitnaeaenz!thmicbehaawttat!lar…en!e.wt!snit!thloahgaimet!thsoeenltf.!iEtW.dFhirseuonsnthr!auet’eistdvoomneotrhveeenml!in…een…,t h.bey wants to get off it.
movement he moves
EdFact
This program is very simple, but demonstrates the principal of ‘artificial’ decision making
(intelligence). Scientist still don’t fully understand how the human brain works and are now
using computer scientists to help make sense of their research. Do you think your brain is
a giant computer?
WerkeWnhamt toedto EdBlockswith EdBlocks
Go to the EdBlocks app online at www.edblocksapp.com
EdBlocks is eUesninagppthoepEhdeBtloncektswaapaprm, aererajengeeentvhoeudbilogcdkes EindtisootnhVe.2prroobgorat m below.
programmeert.
Dat ziet er zo uit:
EdisoHn aentdisEdeBelonckesenAcvtoivuitdyig14 Programmer’s Name
script met slechts 4
commando’s.
Let’s stop at a black lineWhat does the program do?
EdisHHonee’ttsetwterresaetedcekciocnsTmoghememcsomfeanninarddnssbodtoloorzbcelzoiskgectgttkEtehdtElelseidsliolsEssndoeEinnshdsoevisontoosrotncrotrutihipwotattadteteirtrlivesiujtetdansertftnieloEanrodwpbislaaeocrendknsosweuniertatfetawhceheities
surface. Th
detected. W
diffoenrdeenrgcreonbde.tbwlacekesnudrfaarckeainsddeligthetctseudr, ftahecepsro. Wgreamcamnouvsees tohisthseetnhsirodrbinlock, w
manHyewt daeyrdse ucsotimnegmllsEaEndddBisoloozcnektgsot. Esdtiosopn. te wachten tot een zwarte ondergrond
wordt gezien.
This Hteimt vei,elredte’scomWmhamakteantadoopdrzooetwgEridtaihmsoEndtihtseaostntoupspeesn tahlsedtart aincdkeinrdgasadenzsooisr. to tell
Edison to stop DdorwivninlogadonthaebplarocgkrsaumrftoacEedi.son. Put Edison on the white part of th
track on the next page, pointing towards the black line. Run the prog
by pressing the play (triangle) button.
Did Edison stop?
Now try again, but point Edison at one of the coloured lines. What
happens?
www.edblocksapp.com
What to do with EdBlocks
Go tDootwhneloEaddBhloect kNsedaeprplanodnslitnaeligaetlewspwlawn .oepd:blocksapp.com
Usinhgtttphse://mEdeBetloedcikssona.cpopm, a/wrrpa-cnognetetnht/eupbllooacdkss/2i0n1t7o/0t6h/eEdpBrloocgkrsa-Lmesbsoenlo- w.
Plans-Dutch.pdf
What does the program do?
The first block tells Edison to drive forward on a white surface. The
second block tells Edison to wait until a black surface is detected. When a
black surface is detected, the program moves to the third block, which
tells Edison to stop.
What to do with Edison
Edison programmeren
Een script naar Edison brengen doe je zo:
1. Controleer je computer (laptop, chromebook, ipad) en zet het geluid
op zo hard mogelijk
2. Open de EdBlocks app: ga naar www.edblocksapp.com
Step 6: Plug Edison in verbind Edison door
3. Sluit de kabel aan,Connect Edison to the computer
with thedEdeCoEmdmCcoamble.kabel met de computer
Step 7: G5et. EZdeisotnErdeaidsyon aan (onderop) en
Push thedrercuokrdébéutntmona(raolunodpbudtteono) ponnEadmisoen konneotpime.
Step 8: tPhr6eo.gtrSoapemrleiEgdhctistoecnoerrnePr RofOthGe RapAp.MSeeEDISON
Look in
where it says ‘Program Edison’? Click on Program Edison
Program7Ed. isJeon.hoort nu dat het programma naar Edison wordt gestuurd.
A new pop-up message box will open. Program Edison
8. Pas als je een piepje hoort, mag je de kabel losmaken.
9. Druk op de START-knop (driehoekje) om het programma te starten
In the bottom of the box, click on Program Edison
Program Edison.
Edison commando’s voor bewegingYou will hear the program being downloaded to Edison. Once it is done
downloading, Edison will beep. Don’t unplug Edison until you hear the beep!
To run the program, unplug Edison, then push the play button (triangle button).
ActivityGA VOORUIT GA VOORUIT
Let’s tavkeooErd…iso.n. sfeocroandweanlk in the dark.
zolang ………..
Get a torch ready and put Edison on the floor.
Press the play button (triangle button). Turn the lights off in the room.
Now, shine the torch at Edison.
Edison will drive around following the light of the torch. Take Edison for a
walk in the room.
Can you make Edison do tricks?
Try to make Edison turn around or do a spin!
1. Altijd
2. Er licht is links-voor
3. Er licht is rechts-voor
4. Er een witte ondergrond is
5. Er een zwarte ondergrond is
GA ACHTERUIT GA ACHTERUIT
voor ….. seconden zolang ……
1. Altijd
2. Er licht is links-voor
3. Er licht is rechts-voor
4. Er een witte ondergrond is
5. Er een zwarte ondergrond is
GA LINKS | RECHTS GA LINKS | RECHTS
voor ….. seconden zolang ……
ZET SNELHEID STOP EDISON
langzaam | normaal | snel
VOLG DE LIJN VOLG DE LIJN VOLG DE LIJN
voor —— seconden oneindig totdat: obstakel gezien
We starten een Edison - script bijvoorbeeld met
Edison voert je programma dan uit zodra je klapt
Er zijn nog veek meer mogelijkheden
om Edison te laten beginnen
Ben je klaar voor de eerste Breinbrekers?
Wat heb je nodig?
- een Edison V.2 robot
- een computer (laptop, Chromebook of iPad)
- een EdCom kabel
- een Breinbreker
Veel succes ermee ………..
BREINBREKER 1 | 001
OPDRACHT
Zet Edison voor de START-lijn en
schrijf een script zodat hij precies
NA de FINISH-lijn uitkomt.
Hoeveel seconden moet Edison
vooruit?
BREINBREKER 1 | 002
OPDRACHT
Zet Edison voor de START-lijn
en schrijf een script zodat hij
precies NA de FINISH-lijn
uitkomt.
- probeer ook eens Edison de bocht
te laten nemen als je met een
zaklamp schijnt
BREINBREKER 1 | 003
BREINBREKER 1 | 004
BREINBREKER 1 | 005
BREIN
BREKER
2 | 001
BREINBREKER
2 | 002
BREINBREKER
2 | 003
BREINBREKER NB
2 | 004 Zet bij het verkeersbord iets
op de weg. Laat Edison dit
herkennen, terugrijden en zijn
weg vervolgen naar FINISH
Edison commando’s voor licht en geluid
LICHTEN AAN | UIT STUUR
- beide lichten aan BOODSCHAP
- rechter licht aan
- linker licht aab - blauw
- beide lichten uit - rood
- rechter licht uit - groen
- linker licht uit - lila
- oranje
- paars
SPEEL TOON SPEEL METRONOOM
diverse - langzaam
toonhoogtes en - normaal
toonlengtes - snel
MAAK
GELUID
toeter
Edison commando’s voor wachten
WACHT WACHT WACHT WACHT
TOT TOT
1 seconde bij obstakel
- 1 klap klinkt - blauwe boodschap komt
- ronde knop IN - rode boodschap komt
- driehoek knop IN - groene boodschap komt
- 2 klappen - lila boodschap komt
- zwarte ondergrond - oranje boodschap komt
- witte ondergrond - paarse boodschap komt
- licht schijnt links
- licht schijnt rechts
Edison commando’s voor herhalen
HERHAAL HERHAAL HERHAAL
…. keer oneindig stoppen
HERHAAL HERHAAL
TOT TOT
ronde knop IN obstakel ontdekt
driehoek knop IN
Edison commando’s voor starten
START ALS START ALS
automatisch 1 klap klinkt
START ALS START ALS
driehoek knop IN witte ondergrond
START ALS
zwarte ondergrond
Als een script gemaakt is, druk dan op
Het volgende venster verschijnt:
VERTALING:
Voordat je Edison programmeert, denk dan aan het volgende:
1. Edison is verbonden met de koptelefoon-aansluiting via de EdComm kabel
2. Het volume van de computer staat op maximaal
3. Druk de ronde (opname) knop op Edison éénmaal in
Kies daarna: Program Edison
Edison is ook heel goed te combineren met LEGO
Maak je eigen fantastische voertuigen
Op de volgende pagina’s vind je enkele BreinBrekers met de opdracht:
Laat Edison binnen de zwarte lijnen rijden. Edison mag niet stoppen, maar kies een andere weg.
Steeds binnen de zwarte lijnen. Laat Edison pas stoppen als je klapt …….
Tip: gebruik dit commando in je script
Gebruik dezelfde opdrachten voor een script waarbij Edison de lijn volgt.
Tip: gebruik deze comando’s
Maak je eigen weg voor Edison met deze wegdelen: