Cypress CY3210-PSoCEVAL1

Thread Starter

jey11

Joined Jun 7, 2010
25
I have Cypress CY3210-PSoCEVAL1 kit and CY8C29466-24PXI IC. I am new to microcontroller programming. I would like to build a circuit and programming for the following requirements.

Only one Input 2-14 V. For example 2,4,6,8,10,12 V
The Output should be LEDs. assigend led for depends on the input.

How can I do this? Any suggestions and help much appreciated.

Please suggest any good site for MCU programming tutorials.

Thanks for the help.
 

Markd77

Joined Sep 7, 2009
2,806
Sounds like a good project to start on. If the voltage you are measuring has reasonable current capability then a simple resistor voltage divider can be used to reduce it to a voltage range that the micro's ADC can handle. If not then an op amp buffer and voltage divider can be used.
 

Thread Starter

jey11

Joined Jun 7, 2010
25
Sounds like a good project to start on. If the voltage you are measuring has reasonable current capability then a simple resistor voltage divider can be used to reduce it to a voltage range that the micro's ADC can handle. If not then an op amp buffer and voltage divider can be used.
The input current about 4-8 mA. Is that possible to get sample code I can start work with.

Your help much appriciated.
 
Top