¿Cómo puedo medir la diferencia de potencial en un período de tiempo utilizando adc y usb psoc 5?
how do I measure potential difference over a period of time using adc and usb psoc 5?
A PSoC5 has got an ADC with differential inputs (configurable). Care must be taken that no input exceeds the absolute maximum ratings, ie. not below PSoC GND and VddA
The USB inside the PSoC cannot act as a host, so it usually will be connected to a PC. Here the easiest interface is to use an USBUART component which emulates a serial com-port on the PC side.
There are example projects for ADC and USB on the start page of Creator. See last
picture at bottom of attachment.
With regards to allowed pin voltage see attachment.
If you want a quick and dirty way of plotting the data on PC or showing on an
idicator (using UART) -
how do I send voltage measurement data in decimal as the example to observe the herd in hexadecimal ???
If you want to send decimal on Tx side (PSOC) convert the numeric to string, sprintf() best
approach, then transmit character string out thru USB, and on receive side (PC)
convert string back to numeric.
Rx side could be Python, Vis Studio, Java......
Formatting of string with sprintf() see attachment.