Date of registration: Oct 25th 2013
Name: Jafar Al-Mansoor
Location: Köln
Occupation: Schüler, bald professioneller Casemodder :P
Date of registration: Oct 25th 2013
Name: Jafar Al-Mansoor
Location: Köln
Occupation: Schüler, bald professioneller Casemodder :P
This post has been edited 1 times, last edit by "pau55" (Jul 24th 2015, 7:35pm)
Ich bin bis jetzt mit 10kOhm Potis ganz gut gefahren. hatte nie Probleme. So ein "Einrastpoti" kenne ich jetzt auch nicht. Du kannst entweder wie Paz meinete einen Stufendrehschalter verwenden, oder ein normales Poti, da hast du allerdings dann nicht die Einrastfunktion. Musste dir dann halt die Schaltstellung markieren. Der Vorteil des Potis wäre, dass du nur einen Pin am Arduino belegst.Bei deiner Schaltung mit dem Arduino solltest du mind. 100kOhm nehmen, denn je kleiner der Widerstand ist, desto mehr Strom fließt.
Date of registration: Oct 25th 2013
Name: Jafar Al-Mansoor
Location: Köln
Occupation: Schüler, bald professioneller Casemodder :P
Date of registration: Oct 25th 2013
Name: Jafar Al-Mansoor
Location: Köln
Occupation: Schüler, bald professioneller Casemodder :P
This post has been edited 1 times, last edit by "JeffModder" (Jul 25th 2015, 12:03am)
Date of registration: Oct 25th 2013
Name: Jafar Al-Mansoor
Location: Köln
Occupation: Schüler, bald professioneller Casemodder :P
Date of registration: Oct 25th 2013
Name: Jafar Al-Mansoor
Location: Köln
Occupation: Schüler, bald professioneller Casemodder :P
Date of registration: Oct 25th 2013
Name: Jafar Al-Mansoor
Location: Köln
Occupation: Schüler, bald professioneller Casemodder :P
Date of registration: Oct 25th 2013
Name: Jafar Al-Mansoor
Location: Köln
Occupation: Schüler, bald professioneller Casemodder :P
This post has been edited 2 times, last edit by "Scynd" (Jul 26th 2015, 9:12pm)
Date of registration: Oct 25th 2013
Name: Jafar Al-Mansoor
Location: Köln
Occupation: Schüler, bald professioneller Casemodder :P
![]() |
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 |
void loop() { // Manuelles Programm if(digitalRead(schaltstellung1 == HIGH)) { hier den Code für die manuelle steuerung vorstellen :-) } // Show 1 Programm else if(digitalRead(schaltstellung2 == HIGH)) { hier den Code für die Show 1 vorstellen :-) } // Show 2 Programm else if(digitalRead(schaltstellung3 == HIGH)) { hier den Code für die Show 2 vorstellen :-) } // Show 3 Programm else if (digitalRead (schaltstellung4 == HIGH)) { hier den Code für die Show 3 vorstellen :-) } // Ausschalten else { analogWrite(ledRot, 0); analogWrite(ledGruen, 0); analogWrite(ledBlau, 0); } } |
© 2011-2014 We-Mod-It.com | Das Forum von Moddern für Modder | © Design by Jama