« first day (38 days earlier)      last day (309 days later) » 

10:35
10:50
@erick it is permanent by IP, it is lower level than account — Jeff Atwood ♦ Dec 14 '10 at 17:34
 
5 hours later…
15:48
Now, a charged capacitor has voltage but doesn't have any current through it right @hippa
"has voltage" doesn't really mean anything
Voltage is between two points
But yeah, a charged capacitor is like an open switch
yes, btw its 2 legs ?
Btw I found a very easy capacitor meter (first one) circuitbasics.com/how-to-make-an-arduino-capacitance-meter
Capacitance meter ?
It tells you the capacitor's capacitance
15:50
Oh ok.
But which unit is that, farad ?
So if I place a LED face to a capacitor, so that the legs touch each other, should the LED light up or not @hippa
@Ramanewbie It' all written.
@Ramanewbie If you want to fry the LED then go ahead
fry the LED ^^
You mean burn it ?
Yes. Damage it.
Well I tried that, and nothing happened.
It didn't light up ! Why ?
Because it wasn't charged
15:56
It was, it had voltage btw its 2 pins but no current flow.
Either it wasn't charged enough, or you haven't put the LED the right way, or you forgot to tell me a detail
But if there is no current flowing, how could it even light up ?
A charged capacitor acts as a source in a closed circuit. It's only an open switch if you try to charge it more.
in fact it works, I just tried again.
But i don't thinnk this link ^ really tells me about bow capacitors work.
16:19
@hippa I confirm, it works...
But what does it represent how much farad it is ?
Read what it says ._.
It displays the unit too
Or, just use the LCD
No, using the LCD requires hours of setup.
Not at all
It's quite simple
What it says, you mean what the program outputs ? Or the webpage
@Hippalectryon No, I have to link many wires to the ardui.
@Ramanewbie "many"
16:22
Yes, at least 5.
wow so hard ._. I bet that takes at least 3 minutes
so tiring .__.
And, I have to take it out of its box...
grinegrine
Then put it back when done...
________________________________________
Anyway the program outputs the unit too
16:23
Exactly, and ?
🎺🎺🎺 AND HIS NAME IS JOHN CENA 🎺🎺🎺
??
anytime someone says "and ?" Chemobot says that or what ? @hippa
And what ? The unit is in front of you
4 mins ago, by Ramanewbie
But what does it represent how much farad it is ?
What, mS ? I didn't get that, 2.
mF. Microfarad.
16:24
Yes, and what ?
??
mS is millisecond
Yes I got that.
Capacitances are measured in Farad
That's all ._. I don't get your question
And time is measured in seconds.
16:25
@Hippalectryon (I was being sarcastic if you couldn't tell...)
@hippa What I was asking is, what does it represent, the ammount of farads you have for a given capacitor ?
What does it change if you have less ? More ?
It's the capacitor's capacitance
More capacitance = can hold more energy
Energy stored = C*U^2
More energy, like U*A ?
?? C*U ?
Current * U ? @hippa
Capacitance * Tension^2
Current is always I
So C is in farad.
16:27
Energy in Joules ? U in Volts ?
But U can be as large as you want can it not be.
In theory yes
In practice 1) your Ard only supplies up to 5V 2) the capacitor will blow if you give it 100000000 V
blow up ? Is there a limit, directly associated to the farad stuff
It's not really related to the capacitance
16:37
BTW how many % ? @hippa
Beuh...
Only 5% in a full day ?
I thought it was going to be 50 or so
Still, It's still running
In order to charge multiple capacitors at once, should I put them in linear or parallel ? I heard both worked fine. @hippa
But parallel = more capacitance
I'm not sure which one is faster
idc about speed.
16:53
@hippa Kwyk question, you make those circuits yourself right ? From an online software maybe ?
yes, I knew it
But what are those grey stuff ^
There are lots of grey things. Which ones ?
The 2 rectangle circling the capacitor.
With 3 pins
Switches
It connects the two pins on the "white" side (the one with vertical white stripes)
16:55
yes
I'm off for dinner.
17:41
back ?
Alright, I had another question
What's the use of a transistor, when you could simply use a digital pin and switch it on and off ?
No...
What else ?
Nothing. Yeah, I knew it...
.__. pins can't act as switches
Why not ?
How can they ?
17:51
I can switch a pin on or off. So if I have a LED connected to the pin and to the ground, when I turn the pin off the LED turns off.
A pin sends current. A switch doesn't send any current
A pin can't stop current from flowing right in the middle of a circuit. it can only send/don't send it at the entrance
Ok, but how do you trigger the transistor anyway ?
Using the gate voltage
Btw transistor =/= MOSFET
Yes, that's not what I meant...
When the gate reaches a given voltage, the transistor conducts.
But how do you actually make that gate the right voltage ? @hippa
transistor == MOSFET
"When the gate reaches a given voltage, the transistor conducts. " Nope. When the voltage between the gate and the source reaches a given voltage, the transistor conducts
25 secs ago, by Ramanewbie
transistor == MOSFET
no
17:57
That meaned approx equal
== means exactly equal
A MOSFET is a transistor. But not the other way around.
Yes yes. So ?
So what ?
4 mins ago, by Ramanewbie
Yes, that's not what I meant...
When the gate reaches a given voltage, the transistor conducts.
But how do you actually make that gate the right voltage ? @hippa
Usually the gate voltage is sent by the pin
18:01
Hahahaaaaa You see
?
I don't see anything
So it's the pin what controls everything !
Not necessarily. Plenty of circuits don't use pins at all for the gates.
Now, you have a device which voltage is increasing, and when it has increased enough you want it to activate the transistor.
Can that situation happen ?
18:04
So assuming your transistor conducts from 2V, how do you make your trigger component be that exact voltage ? It could be lower, or much higger so it wouldn't work.
Do you have to use transformators or sth ?
Much higher works as long as it's below the thresold (around 15-20V)
So that's the way. What if it's lower, how can you make it be high enough ?
Yeah resistors can do that
What ?? Resistors make the voltage higher ?
Yeah. But the current will decrease. You're not creating free energy.
18:09
Yes of course. So it acts like a tranformator
There are a lot of different ways of doing the same thing
You could do it with capacitors or even coils
Really
18:59
Done : better images through the img command. Also, fixed the John Cena appearance frequency
19:13
!!img/ammonium monophosphaste
No result found.
!!img/oxygenated water
No result found.
!!img/H2O2
19:14
Yeah :):)
@hippa What was even that John Cena thing ?
What triggered it
I'll give you a hint
M _ _ _ c
Ok another hint
Oh it's a pendu...
M _ g _ c
You know that word's censored right.
19:16
NO MORE MAGIC
See ^
NO MORE MAGIC
I only see "NO MORE"
It's automatic
Whaaat ??
Send a screen
._. it's an old joke
Oh...
I thought it appeared when sb said "and ?"
Then it would say "AND HIS NAME IS JOHN CENA" as answer.
19:58
@hippa So in that MOSFET the current goes from drain to source.
Is it a big deal if I mistake and make it go from src to drain ? What would happen ? Would it harm it ?
@Ramanewbie It should act as an open switch I think
Anyway, I just tried a circuit and it doesn't work idk why, I'm sending a photograph.
Can you see well ?
If not I can try to make a drawing from 123d.circuits.io @hippa
20:13
What is it supposed to do ?
When I press the left button, the capacitor charges; when I press the right button, it decharges into the yellow LED. @hippa
discharges*
What's the red LED for ?
And what's on the two top horizontal lines ?
It's an indicator when you charge the capacitor (because I didn't have an amperemeter)
In the top right corner ?
Oh so it goes out when it's charged ?
What you mean
20:20
The led is lit when it's charging and off when it's charged ?
Yes, it slowly decreases, so that I know when it's charged.
Is the MOSFET open or closed ? (since you told me you only push the buttons, its state can't change. I don't even know why it's here.)
It's closed normally, but it opens when I press the right button.
Oh ok I see what you mean
Wait
_____________________________
20:21
So the Ard just gives +5V on the bottom ?
Adr ?
Ardui ?
Yes indeed.
const int buttonPin = 2; // the number of the pushbutton pin
const int circuitPin = 8; // the number of the LED pin

// variables will change:
int buttonState = 0; // variable for reading the pushbutton status

void setup() {
// initialize the LED pin as an output:
pinMode(circuitPin, OUTPUT);
// initialize the pushbutton pin as an input:
pinMode(buttonPin, INPUT);
}

void loop() {
// read the state of the pushbutton value:
buttonState = digitalRead(buttonPin);

// check if the pushbutton is pressed.
This is code I run to charge the capacitor
_____________________________
const int buttonPin = 4;
const int circuitPin = 9;

int HasBeenSwitchedOn = 0;
int buttonState = 0; // variable for reading the pushbutton status

void setup() {
// initialize the LED pin as an output:
pinMode(circuitPin, OUTPUT);
// initialize the pushbutton pin as an input:
pinMode(buttonPin, INPUT);
}

void loop() {
buttonState = digitalRead(buttonPin);

if (buttonState == LOW) {
digitalWrite(circuitPin, LOW);

} else {
if (HasBeenSwitchedOn == 0) {
digitalWrite(circuitPin, HIGH);
HasBeenSwitchedOn = 1;
Waat ._.
This is to discharge
You don't need code for that
I do to handle buttons
20:23
Buttons are just switches
Not those ones
Aren't they the "pushbuttons" ?
Those are push buttons, there send a digital signal to the ardui, then I switch a pin on/off @hippa
If not, what's their official name ?
I rest my case; it is just a switch
Give me 5 mins I'll show you
"I rest my case" What does it mean ?
show me ?
20:35
._. my connection is slowing me down a lot
I told you, you need to get the internet out there.
Oh ._. I get it now
There are two types of pushbuttons, they look exactly the same and they have the same name .__.
Except the one I know switches the connected pins when pressed, whereas yours connects all four pins when pressed
No, those have nothing mechanical inside, they just send a digital signal. @hippa
I doubt it. Try this very simple circuit
You doubt what ?
this ?
1 min ago, by Ramanewbie
No, those have nothing mechanical inside, they just send a digital signal. @hippa
20:46
Owait no it didn't save the good one.
Bottom is red=+5, black=GND
When you try it the top led lights up; when you press the button both leds light up
Because the pushbutton connects all four pins
Given your circuit, connecting the four pins does send a UP signal to the arduino
But the two bottom left resistors seem totally useless to me. The pin should totally be able to handle 5V ?
Yes it works.
Anyhow now I see what the left half of your circuit does
So no code needed ?
It's alright, we'll use your coe
Just confirm the pins used for the two buttons : I read 3 and 1
But you said it's useless did you not say it was.
20:57
@Ramanewbie I thought those were the other kind of pushbuttons
So... Use the code ? Not use it ? That is the question...
thsoe I have ?
Tell me the pins used to read the leftmost button and the one on its right
@Hippalectryon But with the pushbuttons I have this circuit works.
@Ramanewbie Ah ok. great then :D
So no code needed. Right ? @hippa
20:59
Wait wat
You're saying your capacitor circuit works ? Or ... ?
If the circuit I told you to build above works as I predicted, then you need the code.
Why do I need it ?
Well actually wait maybe you don't ._. let me think
Yeah indeed you don't :D
Great, I like that better.
So wait a min.
Ta résistance fait combien (celle du circuit de charge) ?
And what's the capacitor's capacitance ?
100microF
very small resistance
21:14
What's the value of both ? 1kOhm ?
I found the circuit :D it finally works. No code needed
resistor : 250ohm
capacitor infinite
@hippa So you have that circuit ?
Infinite ????
You told me 100mF anyway
That's not possible ._.
yes, I mean 1
Infinite ????
Almost infinite
Very high
extra big
That's what the voltmeter tells me.
You there
21:25
Voltmeters can't give you capacitance ...
I can, actually. It's a voltmeter, that gives you the resistance of a dipôle.
Resistance =/= capacitance
And U=RI only works for resistors btw
Yes, I never tallked about capacitance with the voltmeter.
6 mins ago, by Ramanewbie
capacitor infinite
No, that meant : "And the capacitor has an infinite resistance" @hippa
21:28
._. that's obviously false
Anyway
__________________________________
That would mean that no current can go through it
Current does go through a capacitor though
I took the thing from the circuit, discharged it then passed it through the ohmmeter.
And it returned 1.
21:29
an ohmmeter is only for resistances
An ohmmeter will charge your capacitor
It uses the battery
@Hippalectryon WHY THE HELL DID YOU ASK ME FOR THE RESISTANCE OF THE CAPACITOR THEN ???
I didn't
Both = both resistances
But what was the 2nd one then ?
The one above the MOSFET (which is useless btw)
Oh ok then.
21:32
Anyhow
So do you have that circuit ?
And I don't get how those buttons work (without code)
Ok so you have 4 sides. On two of those sides, you have two pins
Are you only going to write ? Don't you have a diagram ?
??
Oh, are you explaining me the button stuff ?
Ok, I get it, you can go on.
By default (if the button isn't pressed) the current flows through the wires with the same color
(the black pin is supposed to be green)
Ok. And when you press it, the 2 lines are connected ?
21:36
When you press the button, the four pins become connected
I get it.
So, how do you use it as a switch ?
Well,
This explains well
When not pressed, only the top one lits, because it makes a loop through the right line of the button.
When you press it, the 4 pins are connected, so both light up.
Well, you get the idea. More simply, just connect one wire to one pin and another wire to the diagonally opposed pin : the switch will close when you press it.
yes.
But how does it even send a digital signal to the ardui then ?
21:41
Instead of connecting the green wire to the ground, you were connecting it to the ard's pin
Therefore when not pressing (switch open) the signal was low, and when pressing (switch closed) it was high
Oooh so there's nothing special inside the button.
Exactly. I'm pretty sure it's mechanical though (not all switches are!)
Yes, I guess. When you press it a little metal bar, attached to the circle on the top, gets down and connects the 2 lines inside.
I guess.
@hippa So, do you have that circuit ?
◟(`ﮧ´ ◟ )dᴉuƃ
!!!img/ice-nine
Of course we can't, he's almighty.
21:49
The voltmeter isn't actually necessary, the capacitor charges to >70% in less that a second
Make sure you understand the circuit before building it though. It helps a lot in debugging it
Ok I will.
I'm making an even clearer one
So I will have to make changes ?
It's the same circuit, I'm just putting the pieces a clearer way. You can build the one above, or do the one below
^ here we clearly see the two loops (charge/discharge)
wait for what ?
22:04
@Ramanewbie I sent the message 5 minutes ago but it didn't get send. I was saying to wait 5 minutes (for the "new" circuit)
Why did you change resistors ?
I just unpacked a new type for nothing... ._.
In the first one they were 500Ohms, I changed them to 250, like yours
It doesn't have any impact really (well it does but we don't care)
It works.
(off to bed)
22:15
Wololololo
._. it's fine if you don't get it :P
It's obscure references
No, I'll google that later on...

« first day (38 days earlier)      last day (309 days later) »