Netduino home hardware projects downloads community

Jump to content

The Netduino forums have been replaced by new forums at This site has been preserved for archival purposes only and the ability to make new accounts or posts has been turned off.

Netduino 1 Pressure Sensor

resistornetduino one airride car pressure sensor

  • Please log in to reply
No replies to this topic

#1 StingerTopGun


    New Member

  • Members
  • Pip
  • 2 posts

Posted 19 October 2014 - 08:13 PM

Hello guys!


I have a Netduino 1 here and a pressure sensor with a range of 12-180 Ohm.

I want to somehow get a signal of this sensor into the netduino to work with it. It's for controlling a airride of a car.

I already tried to just take the 3.3V through the sensor to a analog input, but the resistance of the sensor is too low. I always get 1023 as the Value, no matter if its 12 or 180 Ohm.

Is there another way of reading the resistance of the sensor?


Here is the code I used for now:

using System;
using System.Threading;
using Microsoft.SPOT;
using Microsoft.SPOT.Hardware;
using SecretLabs.NETMF.Hardware;
using SecretLabs.NETMF.Hardware.Netduino;

namespace ButtonApp
    public class Program
        public static void Main()
            AnalogInput adcPort = new AnalogInput(Pins.GPIO_PIN_A1);

            while (true)
                int digitalValue = adcPort.Read();

I hope you can help me, thanks :)


Regards, Ben

Also tagged with one or more of these keywords: resistornetduino, one, airride, car, pressure, sensor

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.