guentherbentherr:
Why to choose RISING over FALLING?
which (output) pin (3, 7) on the 555 are you measuring and is that pin driving any other circuitry?
guentherbentherr:
Why to choose RISING over FALLING?
which (output) pin (3, 7) on the 555 are you measuring and is that pin driving any other circuitry?
Why to choose RISING over FALLING?
The 555 timer has been around since this playlist, so I guess it would be good to know the exact part# because it could be bipolar or CMOS technology, it might be limited to 100kHz or 89MHz, different output specifications, etc.
6v6gt:
Show your 555 schematic.You get away with the bipolar version of the 555 but not with CMOS version which must have a decoupling capacitor to prevent instability.
Hi All.
The schematic and the photo! is attached. To pin 5 is a 10nF cap. attached.
How can you tell between bipolar and cmos?
BTW,
The last form of the code is as follows:
//[const byte ledPin = 13; //If you want to check visually, put a led to D13+gnd. Unrem the [ lines.
const byte interruptPin = 2; //555 output to D2. GG.
volatile byte state = LOW;
volatile int i=-2;
volatile unsigned long vStart;
volatile unsigned long vStop;
volatile unsigned long vDelta;
volatile unsigned long vSum;
void setup() {
Serial.begin(57600);
interrupts();
//[ pinMode(ledPin, OUTPUT);
pinMode(interruptPin, INPUT_PULLUP);
//HIGH veya LOW yaparsan interrupt misal 0 olduğu sürece tetiklenir.
//FALLING hep fazladan interrupt'a düşürdü.
attachInterrupt(digitalPinToInterrupt(interruptPin), blink, RISING);
vStart = micros();
}
void loop() {
//[ digitalWrite(ledPin, state);
}
void blink() {
//[ state = !state;
i++;
vStop = micros();
if (i>0){
vDelta = vStop-vStart;
vSum = vSum+vDelta;
Serial.print(vSum/i); //Average
Serial.print(" ");
Serial.println(vDelta); //Last value
};
vStart = micros();
}
The result is very satisfying, thank you All again for the support.
Want to hear something funny: I tested at least 100 capacitors between 100nF and 2200uF. Nearly all worked well.
But, one type of cap. -100uF 16V Elite brand- shows open circuit. Could be broken that happens i thought at first. But 90% were showing the same symptom. Guess what, as i connected them as a serial pair, they worked very stable. WHY?
dlloyd:
The 555 timer has been around since this playlist, so I guess it would be good to know the exact part# because it could be bipolar or CMOS technology, it might be limited to 100kHz or 89MHz, different output specifications, etc.
Playlist not bad. But Fleetwood Mac in that time? Wow.
What's the part number on your chip? There are many 555 variants.
WHY?
No LED current limiting resistors? Check "555 output to D2. GG."
Not a good idea → //If you want to check visually, put a led to D13+gnd.
Doesn't the builtin led "L" work? 
have you tried? ...
pinMode(LED_BUILTIN, OUTPUT);
Nice E-Z Grip breadboard jumper! 
guentherbentherr:
Playlist not bad. But Fleetwood Mac in that time? Wow.
Fleetwood Mac formed in 1967.
CrossRoads:
What's the part number on your chip? There are many 555 variants.
TI NE555P
Max 100kHz. Which is no problem for me.
Origina 555 was 1971
The 555 timer IC is an integrated circuit used in a variety of timer, delay, pulse generation, and oscillator applications. Derivatives provide two or four timing circuits in one package. It was commercialized in 1972 by Signetics. Wikipedia
TI NE555P is not CMOS
It would need much lower supply current if it was
This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.