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.


Member Since 18 Oct 2014
Offline Last Active Oct 28 2014 10:28 PM

Topics I've Started

Netduino 1 Pressure Sensor

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

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.