Pages: [1] 2   Go Down
Author Topic: Supply voltage  (Read 1961 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 13
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi all!
I'm new bie. Hope everyone help!
I'm using Arduino Nano v3.0 Board (ATM328P).
+ I use one potentiometer. It uses the reference source AREF
+ Frequency_Board uses +5V source on board.
I'm afraid that USB power is not enough to provide in my application
I hope everyone to explaine my problem.
Thank all!
Logged

Valencia, Spain
Offline Offline
Faraday Member
**
Karma: 143
Posts: 5309
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

You should be OK.


Logged

No, I don't answer questions sent in private messages (but I do accept thank-you notes...)

Germany
Offline Offline
Faraday Member
**
Karma: 56
Posts: 2983
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I don't understand the connection between the Inverter output and the 5V line.
( I guess it's a drawing problem only, and should go to Vcc pin of your 74HC14 )

If I understand http://arduino.cc/en/Reference/AnalogReference properly, there's an internal resistor, if you use AREF as a voltage source, which would affect your potentiometer reading.
Rather connect Vcc (ATMEGA Pin7)  to the high end of your pot, if you need the full 0..5V range.  (?)

Quote
I'm afraid that USB power is not enough to provide in my application
USB Power (max 500mA) is by far sufficient, IMHO.
Logged

Manchester (England England)
Offline Offline
Brattain Member
*****
Karma: 597
Posts: 33314
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
I hope everyone to explaine my problem.
No not at all. You said:-
Quote
I'm afraid that USB power is not enough to provide in my application
But you did not say what you thought that, what problems, if any, you were having.
Apart from using the Vref which you should not. And probably blowing up your 74HC14 buffer by connecting it to the power line, you seem to be making no other mistakes.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 13
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks your reply!
My purpose: I have a 3D program, my program will read value of sensors from Arduino board throught USB cable.  
+ Hardware:
According to the comments, I have to fix:

Is that right?
  * Frequency_board: Measuring frequency form encoder, sent to PC (my froject is written in VC++2008)
  * Potentiometer: Mesuring analog input (A0 pin), sent to PC (my project ís written in VC++2008)
+ Software:
  *Communication between PC and Arduino board:
      -I am writing an application in VC++2008. I use SerialPort Class (MSDN) (http://msdn.microsoft.com/en-us/library/system.io.ports.serialport.aspx) to read each byte that Arduino board posted
      -On the board,I use "Serial" to read requests from the computer (Serial.read, Serial.ReadBytes) and send the value of the sensor to the computer (Serial.write, Serial.print)
  *Progamming for chip:
      -Analog input: i use function "analogRead(A0)"
      -Frequency from encoder: I used library "FreqMeasure" of Paul Stoffregen (best for 0.1 Hz to 1 kHz)
---->>>>It is my understanding. I'm not sure about my methods. Hope you guide, please!
Thank in advance!
Logged

Germany
Offline Offline
Faraday Member
**
Karma: 56
Posts: 2983
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
Is that right?
Much better, still to remove the connection from c1 to pin2 of your 74HC14.
c1 is just between 5V and GND and intended to be parallel (and close to) to the power pins of the 74HC14 

"Software" is fine so far, IMU ( description is not as detailed as your circuit picture ) 
Logged

Offline Offline
Edison Member
*
Karma: 116
Posts: 2205
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
Frequency_board

No need to have that buffer there.
Logged

Worst state in America
Offline Offline
God Member
*****
Karma: 32
Posts: 792
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi all!
I'm new bie. Hope everyone help!
I'm using Arduino Nano v3.0 Board (ATM328P).
+ I use one potentiometer. It uses the reference source AREF
+ Frequency_Board uses +5V source on board.
I'm afraid that USB power is not enough to provide in my application
I hope everyone to explaine my problem.
Thank all!


You are fine. That circuit looks like it only uses a 10 to 20 milliamps. USB will give you 500 mA.
Logged

Gentlemen may prefer Blondes, but Real Men prefer Redheads!

Worst state in America
Offline Offline
God Member
*****
Karma: 32
Posts: 792
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
Frequency_board

No need to have that buffer there.


I'll bet he's using that HC14 to sharpen up the detector output.
Logged

Gentlemen may prefer Blondes, but Real Men prefer Redheads!

Manchester (England England)
Offline Offline
Brattain Member
*****
Karma: 597
Posts: 33314
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

That circuit still has the buffer output connected to 5V
Logged

Worst state in America
Offline Offline
God Member
*****
Karma: 32
Posts: 792
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

That circuit still has the buffer output connected to 5V

I know... but I figured that it's just a mistake in the drawing. Hopefully it's not ACTUALLY wired that way.
Logged

Gentlemen may prefer Blondes, but Real Men prefer Redheads!

Anaheim CA.
Offline Offline
Faraday Member
**
Karma: 46
Posts: 2865
...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

@ *dhenry* a Schmidt trigger input inverting buffer is good engineering practice to 'clean up' the output of a photo-transistor.
The connection from the buffer output to Vcc isn't though.

Bob

{Edit}Data Sheet attached

* 74HC14N.pdf (519.73 KB - downloaded 23 times.)
« Last Edit: December 15, 2012, 02:33:03 pm by Docedison » Logged

--> WA7EMS <--
“The solution of every problem is another problem.” -Johann Wolfgang von Goethe
I do answer technical questions PM'd to me with whatever is in my clipboard

Offline Offline
Edison Member
*
Karma: 116
Posts: 2205
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
he's using that HC14 to sharpen up the detector output.

Which isn't needed at all: look at the pin's internal diagram.
Logged

Anaheim CA.
Offline Offline
Faraday Member
**
Karma: 46
Posts: 2865
...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

@ *dhenry* you are expecting my feeble brain to anticipate you... Which Pin? I see an NPN transistor, a photo transistor with a 104 resistor from collector + 'HC14 input to Vcc.
I don't see any "Pin" that would counter indicate the use of a schmitted buffer, replace it or in any other way mitigate the requirement... Let the rest of us in on your little secret because
I still don't see where my original observation has changed in any way...

Quote
@ *dhenry* a Schmidt trigger input inverting buffer is good engineering practice to 'clean up' the output of a photo-transistor.
The connection from the buffer output to Vcc isn't though.


Bob
Logged

--> WA7EMS <--
“The solution of every problem is another problem.” -Johann Wolfgang von Goethe
I do answer technical questions PM'd to me with whatever is in my clipboard

Offline Offline
Newbie
*
Karma: 0
Posts: 13
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

That circuit still has the buffer output connected to 5V

I know... but I figured that it's just a mistake in the drawing. Hopefully it's not ACTUALLY wired that way.

You're right. I draw the wrong. It must be like this:


Thank all comments!
Logged

Pages: [1] 2   Go Up
Jump to: