Voltage suddenly drops while reading on analog input

Hi, I'm using an Arduino NANO 33 BLE to read the voltage across a pressure sensor (with the circuit advised by the manufacturer and a low-pass filter) from second to second on analog pin 7 to an SD card. Yesterday, the measurements were just fine, but today, when I tried reading it again, suddenly the voltages drop when the mass on the sensor increases (resistance across the sensor decreases). For a moment, I thought that I had burnt the pin, but when I turn on the Arduino when the sensor already has the mass on top of it, the first 10 seconds correspond to the correct value; then the voltage drops again and stays around that value.

I'm unable to identify the issue here. Any help would be appreciated!

Thanks in advance!

Please read and follow the posting instructions in the "How to get the best out of this forum" post.

1 Like

The next best thing to following the posting instructions is to post an annotated schematic showing exactly how you have wired it, be sure to include all power, ground, and power sources. Hint: I do not read picture diagrams very well. At this point it sounds like a hardware problem.

I'm sorry, I'm new here. I think I have done all the necessary changes, thank you!

Please fix the schematic. It is not correct or complete, and the circuit shown cannot possibly do anything useful. Post a link to the pressure sensor.

If you built this circuit based on someone else's work, please post a link to that work.

I hope that now it's correct - thanks! I used the circuit advised by the manufacturer to obtain a linear answer (https://www.uneotech.com/uploads/product_download/tw/GHF10-500N%20ENG.pdf).

Should I modify the circuit in any way? I required a negative voltage across the sensor (as shown in the link), so I attempted to create a virtual ground.

Sorry, no, there are far too many errors to make any sense out of the revised circuit.

You have a very simple force sensitive resistor. To get something to work, try this circuit out of the data sheet.

Thank you, I'll try that instead and hope that I only get the linear part since that is a need in this project.

There is no "linear portion" to the output of the voltage divider circuit, but you can fit a calibration curve to it and get data as accurate as the sensor is capable of producing.

On the other hand, why not just try the first suggested circuit? You don't need a "virtual ground", but you DO need to choose a good quality rail to rail op amp and a stable negative bias voltage source.

2 Likes

@jremington
Thank you so much for this suggestion! I'll likely try this first since I already have some familiarity with how the sensor behaves in this configuration. I apologize for my limited experience in this area. Could you please recommend a rail-to-rail op-amp and provide more details about its application? Currently, I am using an LM324N op amp (octa).

Regarding the stable negative bias voltage, my initial thought was to acquire a Voltage Inverter IC. Would this be suitable for the intended purpose?

I genuinely appreciate all your assistance! Thank you so much.

Sorry, that means nothing. Op amps have official designations and data sheets. To communicate on this forum, please use the official designations.

For this application, the Microchip MCP6001 rail to rail op amp would probably be acceptable.
Voltage reference ICs are available in many forms and voltages.

2 Likes

I've already corrected the answer above with the proper designation.

I'll explore that option further!
I've been considering the LTC1044A (https://www.analog.com/media/en/technical-documentation/data-sheets/1044afa.pdf), LTC660 (https://www.analog.com/media/en/technical-documentation/data-sheets/660fa.pdf), and LTC1044A/LTC7660 (https://www.analog.com/media/en/technical-documentation/data-sheets/ltc1044_7660.pdf). All of them appear to be suitable, but do you have any simpler suggestions in case I can't find these at the store?

Thank you for your assistance!

Any modern rail to rail op amp (the LM324 is neither) should work in the manufacturer's suggested circuit.

The most serious problem with the LM324 is that the output voltage can never exceed (supply voltage - 1.5V), which is a disaster for the circuit you posted above.

Hi, @aakkds
Welcome to the forum.

Are you trying to power the Nano 33 with a 9V transistor battery?
It will not last long powering your project.

Do you have a DMM?
If so check the 9V battery voltage.

Thanks... Tom... :grinning: :+1: :coffee: :australia:

I see, so if I change it to the rail to rail op amp, this one won't get damaged?

I'm trying to think of a simpler and safer way of getting the negative supply (around - 0.7V). I've looked around at the stores and I didn't find the voltage inverter. Do you have any suggestion? Should I opt for a op amp that allows negative voltage and do a voltage follower (buffer)?

Thank you very much for all your help!

Hi, first of all, thank you for your time! Yes, I've already checked it and it's around 9.2 V, so I didn't though it was the problem... I was using this one since I already had it, but my objective is to use a rechargeable Li-Po, I just didn't find any with more than 3.7V.

Thabk you!

@aakkds
It is possible to build a circuit using the LM324 without the need of a negative supply that will provide a linear output.

Could you please elaborate? Are you suggesting that I use the other configuration or the one I'm already using?

A completely different circuit. It will use a LM324 and be powered by a 9V battery.
I'm working on the details.
What is the resistance of the sensor when no load is applied?

Hi, @aakkds
How are you applying a testing mass to the sensor?
As a point contact or as a full sensor surface load?

You will have to decide so that you can calibrate your system.
A point contact will give a different resistance to a full surface applied force of the same magnitude.

Have you got metal or rigid plates either side of the sensor to even out the mass forces.

Can you please post some pictures of your project?
So we can see your component layout and how you are loading the sensors.

Thanks... Tom... :grinning: :+1: :coffee: :australia: