Show Posts
|
|
Pages: 1 [2] 3 4 ... 118
|
|
20
|
Using Arduino / General Electronics / Re: Calculating input voltage beforehand [Newbie question]
|
on: May 16, 2013, 05:21:33 am
|
no, vOut and GND are at the same level in your drawing.
MrDumle, I think it's best if you lose all the lines inside your dotted Arduino, leaving that as a "black box" and not try to visualise what happens inside. If you do that, and mark the dot you have marked as Vout as PinX just to indicate some Arduino i/o pin or other, then you'll be good. If you want the drg to be complete, move the Vout label to the dot between the resistors. What you'll have then, is this tutorial
|
|
|
|
|
21
|
Using Arduino / Programming Questions / Re: reading Vin pin
|
on: May 16, 2013, 01:34:59 am
|
Sure think, I don't want to apply that voltage into any pin, it should be already at the Vin - it has the same voltage as the input voltage connector, right? So can I read the Vin in software in similar way I read analog pins A0 through A5?
Well no, because it'll be 12v, so you WILL be putting 12v into a pin although yes, it starts out at the Vin pin but you'll be shoving it into an analog pin. Hence CR's response re a voltage divider....
|
|
|
|
|
26
|
Using Arduino / Motors, Mechanics, and Power / Re: Help an art student!!
|
on: May 15, 2013, 10:18:21 am
|
|
Presumably the board supplies the 5v to the pot, and reads back the value of the middle pin.... So, it "might" be feasible to put the Arduino ground pin to the Control 0v and then to PWM the Control "INP" pin from the Arduino, which will give it a "pseudo-voltage" between 0 and 5 for speed. Not sure though, more knowledgeable folks than I should comment on that idea before you hook it up... E&OE
|
|
|
|
|
29
|
Using Arduino / Project Guidance / Re: Linefollowing robot: troubleshoot with sourcecode
|
on: May 15, 2013, 01:40:36 am
|
but there seems some things to be wrong. Is there somebody out there who's sees the mistakes and can help me out!? What things seem to be wrong?- You can't reasonably expect anyone to trawl through that almost totally comment-free code when we a) don't know what it's supposed to do and b) don't know what it is doing. Does it compile?- if not with what errors? If it compiles, what's it doing that you don't expect it to do? (Or, not doing that it should?) Have you tried to isolate parts of the code to try to identify the problem/s?
|
|
|
|
|