Trompbots: verschil tussen versies

Uit TrompBot
Naar navigatie springen Naar zoeken springen
Regel 9: Regel 9:


=Trompbots=
=Trompbots=
* Claire & Pim
==Claire & Pim==
* Niek & Sanne
{| style="border-collapse: collapse; border-width: 1px; border-style: solid; border-color: #000"
* Cas & Doortje
|-
* Linda & Sam
! style="border-style: solid; border-width: 1px;"| Tekening
* Jeroen & Stef
! style="border-style: solid; border-width: 1px;"| Programma
* Kim & Fleur
|-
| style="border-style: solid; border-width: 1px"| [[Bestand:vb1.png|300px]] <br/><br/>[[Bestand:vb2.png|300px]]
| style="border-style: solid; border-width: 1px"| <syntaxhighlight> Programma </syntaxhighlight>
|}
==Niek & Sanne==
{| style="border-collapse: collapse; border-width: 1px; border-style: solid; border-color: #000"
|-
! style="border-style: solid; border-width: 1px;"| Tekening
! style="border-style: solid; border-width: 1px;"| Programma
|-
| style="border-style: solid; border-width: 1px"| [[Bestand:vb1.png|300px]] <br/><br/>[[Bestand:vb2.png|300px]]
| style="border-style: solid; border-width: 1px"| <syntaxhighlight> Programma </syntaxhighlight>
|}
==Cas & Doortje==
{| style="border-collapse: collapse; border-width: 1px; border-style: solid; border-color: #000"
|-
! style="border-style: solid; border-width: 1px;"| Tekening
! style="border-style: solid; border-width: 1px;"| Programma
|-
| style="border-style: solid; border-width: 1px"| [[Bestand:vb1.png|300px]] <br/><br/>[[Bestand:vb2.png|300px]]
| style="border-style: solid; border-width: 1px"| <syntaxhighlight> Programma </syntaxhighlight>
|}
==Linda & Sam==
{| style="border-collapse: collapse; border-width: 1px; border-style: solid; border-color: #000"
|-
! style="border-style: solid; border-width: 1px;"| Tekening
! style="border-style: solid; border-width: 1px;"| Programma
|-
| style="border-style: solid; border-width: 1px"| [[Bestand:vb1.png|300px]] <br/><br/>[[Bestand:vb2.png|300px]]
| style="border-style: solid; border-width: 1px"| <syntaxhighlight> Programma </syntaxhighlight>
|}
==Jeroen & Stef==
{| style="border-collapse: collapse; border-width: 1px; border-style: solid; border-color: #000"
|-
! style="border-style: solid; border-width: 1px;"| Tekening
! style="border-style: solid; border-width: 1px;"| Programma
|-
| style="border-style: solid; border-width: 1px"| [[Bestand:vb1.png|300px]] <br/><br/>[[Bestand:vb2.png|300px]]
| style="border-style: solid; border-width: 1px"| <syntaxhighlight> Programma </syntaxhighlight>
|}
==Kim & Fleur==
{| style="border-collapse: collapse; border-width: 1px; border-style: solid; border-color: #000"
|-
! style="border-style: solid; border-width: 1px;"| Tekening
! style="border-style: solid; border-width: 1px;"| Programma
|-
| style="border-style: solid; border-width: 1px"| [[Bestand:vb1.png|300px]] <br/><br/>[[Bestand:vb2.png|300px]]
| style="border-style: solid; border-width: 1px"| <syntaxhighlight> Programma </syntaxhighlight>
|}
==Daan & Eveline==
==Daan & Eveline==



Versie van 21 okt 2012 21:51

Trompbots en Trompbot-orkesten gemaakt door leerlingen van het Dr Knippenberg College in Helmond

Orkesten

(Wordt nog verder ingevuld)

Trompbots

Claire & Pim

Tekening Programma
Bestand:Vb1.png

Bestand:Vb2.png
 Programma

Niek & Sanne

Tekening Programma
Bestand:Vb1.png

Bestand:Vb2.png
 Programma

Cas & Doortje

Tekening Programma
Bestand:Vb1.png

Bestand:Vb2.png
 Programma

Linda & Sam

Tekening Programma
Bestand:Vb1.png

Bestand:Vb2.png
 Programma

Jeroen & Stef

Tekening Programma
Bestand:Vb1.png

Bestand:Vb2.png
 Programma

Kim & Fleur

Tekening Programma
Bestand:Vb1.png

Bestand:Vb2.png
 Programma

Daan & Eveline

Tekening Programma
EenD1.png

EenD2.png
// beweeg.ino: Beweeg een servo tussen twee posities
 #include <Servo.h>    // zeg de computer dat we de servo functies willen gebruiken,  
//anders kan hij die niet vinden
 
 Servo motorA;  // definieer een servo met de naam motorA 
 Servo motorB;  // definieer een servo met de naam motorA 
 
 void setup() 
 {                
   motorA.attach(4); // vebind servo met aansluitpen 13
   motorB.attach(10); // vebind servo met aansluitpen 13
   pinMode(5, INPUT_PULLUP); // drukknop, als input
   pinMode(2, OUTPUT);
   motorA.write(0);
   motorB.write(60);    // LED als output

   while ( digitalRead(5) == HIGH ) 
      digitalWrite(2, HIGH);      //  zet dan de uitgang HOOG (lamp aan) 
  digitalWrite(2, LOW);   
 }
 void slag1()
 {
   motorA.write(70);
   motorB.write(180);
   delay(300);
 }
 void slag()
 {
   motorA.write(70);
   delay(100);
   motorA.write(15);
   delay(800);
 }
 void slag2()
 {
   motorB.write(180);
   motorA.write(70);
   delay(100);
   motorB.write(70);
   motorA.write(15);
   delay(500);
 }
 void start()
 {
   motorA.write(15);
   motorB.write(70);
   delay(300);
 }
 
 void slag3()
 {
   motorA.write(70);
   delay(150);
   motorB.write(180);
   motorA.write(15);
   delay(500);
   motorA.write(70);
   motorB.write(70);
   delay(150);
   motorA.write(15);
   delay(500);
 }
 void bas()
 {
   motorA.write(70);
   motorB.write(180);
   delay(300);
   motorA.write(15);
   delay(150)
   motorB.write(70);
   motorA.write(70);
   delay(200);
   motorB.write(180);
   motorA.write(15);
   delay(300);
 }  
 void loop() 
 {
   start();
   delay(200);
   slag3();
   start();
   slag();
   start();
   slag2();
   slag3();
   slag3();
 }

Noortje & Thijn

Tekening Programma
Bestand:Vb1.png

Bestand:Vb2.png
 Programma

John & Kevin

Tekening Programma
Bestand:Vb1.png

Bestand:Vb2.png
 Programma