I am trying to get an analog signal from a potentiometer using Arduino UNO, but I don't see any thing on the front panel!!
I checked the port number, used both baud 115200 and 9600 and measured the potentiometer out voltage, it ranges between 0 and 5 volts so there is nothing wrong with the components but still no output on the front panel!! Any suggestion?
See please the attached picture.
Solved! Go to Solution.
Do you get anything at all or just zero?
BTW: You do know that tha Arduino analog read is only going to return a number between 0 and 1023, you need to scale this to determine what voltage that represents.
Have you tested your setup using just the Arduno IDE and the serial monitor?
I am pretty sure there is basically the same analog read demo code in the Ardunio examples folder.
On the IDE I see results on the serial port between 0 and 1023, I do not know what exactly you mean by uploading the LINX to the Arduino!!
So the LabVIEW code that you showed is part of the LIFA packet that need a speciel LIFA code to run on the Arduino.
What is the code that is running on your Arduino?
So as I understand from you that I have to upload the LabVIEW code to the Arduino!! if yes how can I do that, I can choose the COM, the connection type, the baud. and the Arduino type which is UNO then I hit run!
No, not the LabVIEW code, but the LIFA arduino code. There should be a LIFA ino file that you can upload to the Arduino using the Arduino IDE.
Here is a link that explain it:
Have you selected the right board in the IDE?
One thing to note is that LIFA is not supported any more, this means that it might not work with the newest Arduino IDE.
For the newest IDE, you might need to switch to LINX.