You are here

Basic Analog inputs | Cypress Semiconductor

Basic Analog inputs

Summary: 3 Replies, Latest post by Stub for 369269732 on 01 Apr 2014 06:09 AM PDT
Verified Answers: 0
Last post
Log in to post new comments.
fufu70's picture
1 post

 Hey Guys I'm coming from a basic arduino Uno and was wondering how I would be able to get a analog input and display it using a Serial output (already know how to get that to work). Right now the issue is that I have a basic moisture sensor (YWROBOT moisture sensor) and any attempts are worthless on my part

user_1377889's picture
9249 posts

Would be helpful when you post a link to your sensor's datasheet. Within a PSoC4 are OPAmps for signal conditioning that could help you.



user_78878863's picture
2551 posts

For starters, look at this example from "100 projects in 100 days" initiative: "thermistor example". It does basically what you want - take an ADC reading and send it to the UART. You just need to remove the thermistor handling / temperature conversion (except when your sensor happens to be a thermistor, of course :).

Stub for 369269732's picture
33 posts

Are you using DHT11 sensor, it requires a One Wire interface ?


Google "bit bang one wire" and there is code base out there to use a GPIO

pin on various processors to implement interface that you could possibly port.


Regards, Dana.

Log in to post new comments.