kalle123 hat geschrieben:Hallo Manfred.
Schöner kleiner Oszi![]()
Bitte mal einen Link.
Grüße KH
ZB
http://www.ebay.de/itm/DSO-Nano-V2-Pock ... 3cba5f46ff
kalle123 hat geschrieben:Hallo Manfred.
Schöner kleiner Oszi![]()
Bitte mal einen Link.
Grüße KH
Super, danke!dynai hat geschrieben:@tüftler
meinst du sowas?
Code: Alles auswählen
const int kanal4 = 7; const int kanal3 = 6; const int kanal2 = 5; #include <Servo.h> Servo servo_outputPin; // create servo object to control a servo int inputValue = 0; int lastval = 0; int oldInputValue = 0; void setup() { pinMode(kanal3, INPUT); pinMode(kanal4, INPUT); pinMode(kanal2, INPUT); servo_outputPin.attach(9); } void loop(){ inputValue = pulseIn(kanal3, HIGH); // if(abs(lastval - inputValue) > 200) inputValue = lastval; if(inputValue<=1500) { inputValue=pulseIn(kanal4, HIGH); servo_outputPin.write(inputValue); } else { inputValue=pulseIn(kanal2, HIGH); servo_outputPin.write(inputValue); } // lastval = inputValue; }
dazu muss ich sagen das die Interrupt variante zum einlesen des Servo-Signals (pulseIn Ersatz) wesentlich zuverlässiger läuft da sich die variante ab und an mal "verschluckt"
weshalb ich die inputValue = lastval abgfrage drin hab.
gruß Chris
Code: Alles auswählen
const int kanal4 = 7;
const int kanal3 = 6;
const int kanal2 = 5;
#include <Servo.h>
Servo servo_outputPin; // create servo object to control a servo
int inputValue2 = 0;
int inputValue3 = 0;
int inputValue4 = 0;
int lastval2 = 0;
int lastval3 = 0;
int lastval4 = 0;
void setup() {
pinMode(kanal3, INPUT);
pinMode(kanal4, INPUT);
pinMode(kanal2, INPUT);
servo_outputPin.attach(9);
}
void loop(){
inputValue2 = pulseIn(kanal2, HIGH);
if(abs(lastval2 - inputValue2) > 200) inputValue2 = lastval2;
lastval2 = inputValue2;
inputValue3 = pulseIn(kanal3, HIGH);
if(abs(lastval3 - inputValue3) > 200) inputValue3 = lastval3;
lastval3 = inputValue3;
inputValue4 = pulseIn(kanal4, HIGH);
if(abs(lastval4 - inputValue4) > 200) inputValue4 = lastval4;
lastval4 = inputValue4;
if(inputValue3<=1500)
{
servo_outputPin.write(inputValue2);
}
else
{
servo_outputPin.write(inputValue4);
}
}
Torsten, aller Erfahrung nach ist eine solche Frage in einem Forum gaaaaanz falsch! Führt nur zu endlosen Glaubenskriegen...Hallo sehr Interessant das mit dem mini- Ozzi , wie schaut es aus, reicht so ein Gerät für Hobby Zwecke ?
Weiß aber leider noch nicht so richtig wie so was funktioniert, muss mich mal schlau machen.
Danke.dynai hat geschrieben:@tueftler:
hab grad nochn fehler bemerkt...
das sollte besser sein
gruß ChrisCode: Alles auswählen
const int kanal4 = 7; const int kanal3 = 6; const int kanal2 = 5; #include <Servo.h> Servo servo_outputPin; // create servo object to control a servo int inputValue2 = 0; int inputValue3 = 0; int inputValue4 = 0; int lastval2 = 0; int lastval3 = 0; int lastval4 = 0; void setup() { pinMode(kanal3, INPUT); pinMode(kanal4, INPUT); pinMode(kanal2, INPUT); servo_outputPin.attach(9); } void loop(){ inputValue2 = pulseIn(kanal2, HIGH); if(abs(lastval2 - inputValue2) > 200) inputValue2 = lastval2; lastval2 = inputValue2; inputValue3 = pulseIn(kanal3, HIGH); if(abs(lastval3 - inputValue3) > 200) inputValue3 = lastval3; lastval3 = inputValue3; inputValue4 = pulseIn(kanal4, HIGH); if(abs(lastval4 - inputValue4) > 200) inputValue4 = lastval4; lastval4 = inputValue4; if(inputValue3<=1500) { servo_outputPin.write(inputValue2); } else { servo_outputPin.write(inputValue4); } }
Danke zurück, Manfred.Zuse hat geschrieben:Hallo Kalle,
einen Link habe ich nicht mehr parat, die A(u)ktion war im August schon beendet.
Verkäufer ist "yourlab", keine Ahnung, ob es den noch gibt...
Das DSO Nano V2 (so wie Nico richtig bemerkte) hat mich seinerzeit knappe 49Euro komplett gekostet, sollte aber sicher noch immer zu haben sein...
Fähigkeiten sind natürlich beschränkt... nicht, dass es darüber Diskussionen gibt, ne...![]()
Gruss nach MG
Manfred
Edit:
da isser ja....
http://www.ebay.de/itm/2Msps-sampling-r ... 415c4ab5c5
r0sewhite hat geschrieben:Hi Nico,
RC Rate ist auf 1.2, kein Expo, alles andere ist auf Standard.
Mit den Keda musste ich noch ordentlich Throttle PID reinschrauben, da der Spider in engen Kurven immer gejammert hat, doch mit den Roxxy spurt er absolut ruhig durch die engsten Kurven.
Props sind 8x4,5. Paul hat mir neulich ein paar CF geschickt, ich hatte heute aber noch die deulich weicheren EPP 8x4,5 CF drauf. Die 1380KV sind echt eine Hausnummer, zumal die Motoren voll durchziehen. Auf einem Quad ziehen sie schon brachial, hier auf dem Flyduspider haben sie im Verhältnis nochmal deutlich weniger Gewicht pro Motor zu stemmen. Für mich die absolute Traum-Kombination.
Ich habe ja auch kürzlich einen Quad mit den KEDA 20-26M gebaut. Zunächst war ich von der Laufruhe begeistert, aber sobald ich gas gebe jammert es auch bei mir.r0sewhite hat geschrieben:Hi Nico,
RC Rate ist auf 1.2, kein Expo, alles andere ist auf Standard.
Mit den Keda musste ich noch ordentlich Throttle PID reinschrauben, da der Spider in engen Kurven immer gejammert hat, doch mit den Roxxy spurt er absolut ruhig durch die engsten Kurven.
Props sind 8x4,5. Paul hat mir neulich ein paar CF geschickt, ich hatte heute aber noch die deulich weicheren EPP 8x4,5 CF drauf. Die 1380KV sind echt eine Hausnummer, zumal die Motoren voll durchziehen. Auf einem Quad ziehen sie schon brachial, hier auf dem Flyduspider haben sie im Verhältnis nochmal deutlich weniger Gewicht pro Motor zu stemmen. Für mich die absolute Traum-Kombination.