I am using a pressure regulator that receives input signals as a voltage ranging from 0V-5V. I have the input pin on the regulator connected to a PWM digital pin, and was using an Uno but have switched to a Due. I am a bit unsure of if this will work with the Due, based on this warning:
"Warning: Unlike most Arduino boards, the Arduino Due board runs at 3.3V. The maximum voltage that the I/O pins can tolerate is 3.3V. Applying voltages higher than 3.3V to any I/O pin could damage the board."
Does that refer to the input the pin can tolerate or does it refer to both the output and input? I only need a voltage output from the pin, but the range is up to 5V, so I don't want to make a silly mistake and damage the entire board by trying to connect it.
The DUE is powered by 3.3V (NOT 5.0V). There is an internal regulator to reduce the power supply from the 7 - 12 volts you provide to 3.3V.
So the most the output can be is 3.3V. In actuality
the output will be slightly below 3.3v with minimal current load and lower if more current is being drawn from that I/O pin.
tinman13kup:
What exactly does this regulator do? Does it take an input and change pressure, or does it take pressure and send a signal?
It takes an input (a voltage from 0-5), and outputs a corresponding pressure (0-15 psi). It runs on a separate 12V power supply, the voltage I am referring to here is simply for the input signal.
JohnRob:
The DUE is powered by 3.3V (NOT 5.0V). There is an internal regulator to reduce the power supply from the 7 - 12 volts you provide to 3.3V.
So the most the output can be is 3.3V. In actuality
the output will be slightly below 3.3v with minimal current load and lower if more current is being drawn from that I/O pin.
That makes sense, but what throws me off is that there is still a 5V output pin, so I assume the board can output 5V (unless, of course, I am completely confused [which is very possible] and those are actually controlled by two different things).
If my program is requesting a voltage higher than 3.3V, will that damage the PWM pin or will it just default to the maximum 3.3V without any type of issue? Also, is there any possible way to get a higher voltage output (I think I know the answer intuitively is no but I thought I'd double check)?
The 5V output pin is just from a regulator to power 5V devices, it is nothing to do with the processor.
To get a higher output voltage put the signal through a transistor. To prevent damage from a 5V signal input use a voltage divider to cut the signal down to a maximum of 3V3.
Blade:
I am using a pressure regulator that receives input signals as a voltage ranging from 0V-5V. I have the input pin on the regulator connected to a PWM digital pin, and was using an Uno but have switched to a Due. I am a bit unsure of if this will work with the Due, based on this warning:
"Warning: Unlike most Arduino boards, the Arduino Due board runs at 3.3V. The maximum voltage that the I/O pins can tolerate is 3.3V. Applying voltages higher than 3.3V to any I/O pin could damage the board."
Does that refer to the input the pin can tolerate or does it refer to both the output and input? I only need a voltage output from the pin, but the range is up to 5V, so I don't want to make a silly mistake and damage the entire board by trying to connect it.
5V will instantly destroy the Due. You have been warned. Note that its output current limits are
much less than the 5V arduinos, and vary from pin to pin. This is a chip done in a low voltage process:
internally its a 1.8V chip, only the I/O is 3.3V with 4.0V as the absolute limit, 3.6V is the operating maximum.
This appears to be an intermediate voltage provided for the convenience of powering external circuits that require 5V to operate. It has nothing to do with the I/O pins on the processor which are limited to 3.3V
5V.This pin outputs a regulated 5V from the regulator on the board. The board can be supplied with power either from the DC power jack (7 - 12V), the USB connector (5V), or the VIN pin of the board (7-12V). Supplying voltage via the 5V or 3.3V pins bypasses the regulator, and can damage your board.
Following this same concept, I also have a sensor that sends an analog signal ranging from 0-5V to the board. I now have the same issue, but in reverse. Per the Arduino site,
"the Due’s analog inputs pins measure from ground to a maximum value of 3.3V. Applying more than 3.3V on the Due’s pins will damage the SAM3X chip".
How can I drop the voltage to 3.3V? I tried creating a voltage divider with two resistors of equal value to simplify things and cut the voltage in half, following this concept: Voltage Dividers - SparkFun Learn.
However, for whatever reason I am still getting strange results from my sensor(using a code that had previously worked with the Uno), and from what I can tell I still appear to be getting an input from 0-5V. Are there any other methods that I can try?
I tried creating a voltage divider with two resistors of equal value to simplify things and cut the voltage in half,
A bit of a waste then you only need to cut it down to 3V3. What exact values did you use?
Do you know that for a Due that you don't get measurements from 0 to 3V3 but only from 1/6 to 5/6 of the reference. voltage. That is between 0.55V to 2.75V
Grumpy_Mike:
Do you know that for a Due that you don't get measurements from 0 to 3V3 but only from 1/6 to 5/6 of the reference. voltage. That is between 0.55V to 2.75V
I thought that was for the DAC pins only? I'm just using an analog input pin.