Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > PSoC® 3 > ADC-to-PC Data Acquisition Project

Bookmark and Share
Cypress Developer CommunityTM
Forums | Videos | Blogs | Training | Rewards Program | Community Components



ADC-to-PC Data Acquisition Project
Moderator:
RKRM

Post Reply
Follow this topic



ADC-to-PC Data Acquisition Project

jram posted on 17 Aug 2011 3:42 PM PST
Top Contributor
31 Forum Posts

Hopefully this post will become a resource for you guys wanting a ADC-to-PC solution.

I'm having limited success developing a complete solution that allows me to collect and display data from the PSoC's ADC to a PC. I've read several threads with the same issues, but there doesn't seem to be any complete solutions. I would prefer an USB solution, but at this point I will settle for a serial port solution.

Please, could anyone that has a working ADC to PC solution (USB or Serial) upload their project files here for myself and others to learn from!




Re: ADC-to-PC Data Acquisition Project

U2 posted on 18 Aug 2011 10:23 PM PST
Cypress Employee
589 Forum Posts

A new App Note for PSoC3/PSoC5 will be made available to everybody soon. This App Note will address this very issue. A C# GUI is provided with this App Note, that will accumulate ADC samples from Delsig ADC(PSoC3 and PSoC5) or SAR ADC(PSoC5 only). The GUI will provide a histogram plot of the ADC sample collected. It wil also provide Various analog parameters(RMS Noise, P to P Noise) and ENOB values. Using this tool one can characterise the analog performance of the board that has been designed. 

The PSoC3/PSoC5 project provided consists of ADC alone. Users can modify this project to have other analog modules and get an estimate of various analog parameters of the entire system. 



Re: ADC-to-PC Data Acquisition Project

kmmankad posted on 16 Nov 2011 05:48 AM PST
Top Contributor
268 Forum Posts
seeing as many appnotes seem delayed,is there some way that the non-employee members of the Cypress Developer Community could assist with appnotes?

Re: ADC-to-PC Data Acquisition Project

H L posted on 16 Nov 2011 02:51 PM PST
Top Contributor
679 Forum Posts

What is required?

Read An analog signal, send it to 232 port? What do you expected from the 232 port, a number say x.xxV? Are you using hyperterminal for receiving and display the value?



Re: ADC-to-PC Data Acquisition Project

PSOCR posted on 29 Nov 2011 10:26 AM PST
Member
8 Forum Posts

This feature - data from PSOC (from ADC or whatever) streaming via USB to PC is also important to me.

Also - what plans if any for USB 2.0 Hi or later on PSOC?



Re: ADC-to-PC Data Acquisition Project

hli posted on 29 Nov 2011 11:10 AM PST
Top Contributor
675 Forum Posts

My admScope project might what you are looking for. Look at http://www.cypress.com/?id=3312&conID=235 for a video, and at http://www.cypress.com/?app=forum&id=2233&rID=51610 for a discussion, and links to the latest code. Basically its a 2-channel scope with an 8-bit logic analyzer. It can be used stand-alone, or with a PC client (using Jawi's OLS client).



Re: ADC-to-PC Data Acquisition Project

U2 posted on 30 Nov 2011 02:54 AM PST
Cypress Employee
589 Forum Posts

Hello we are working on this. At this point of time, I can give you some preliminary information. Please wait until the final project is made available on the web. The tool will be called "Cypress Analog Performance Analyser". It will run windows platform with .Net Framework 3.5. It can talk to PSoC via USB and UART. It can be used to characterise Delsig and SAR ADC performance or the performance of any analog system. Please note that these performance are also dependent on the noise levels on your specific board. More about the tool can be found in the App Note that will be released. Here is a "sneak peek preview" of the tool, for the PSoC freaks on the forum !

Re: ADC-to-PC Data Acquisition Project

H L posted on 30 Nov 2011 07:57 PM PST
Top Contributor
679 Forum Posts

 Nice  Any idea when the tool will be released?



Re: ADC-to-PC Data Acquisition Project

priyank posted on 10 Mar 2012 03:11 AM PST
Member
3 Forum Posts

 I want to read the analog values and display on the PC. I have PSOC 3 FTK kit.. So how to do it?



Re: ADC-to-PC Data Acquisition Project

Gautam Das posted on 10 Mar 2012 05:34 AM PST
Cypress Employee
742 Forum Posts

Hi priyank,

 

Which communication interface would you like to use?

You can use UART to send the converted ADC values to PC via Hyperterminal. For this you'll have to use external MAX232 to convert the data to RS232 level.



Re: ADC-to-PC Data Acquisition Project

priyank posted on 10 Mar 2012 07:25 PM PST
Member
3 Forum Posts

 I was thinking of using UART..... Also, can I use that only cable from which I program my PSOC? As in other microcontrollers such as Arduino there is a option that u can read and write the values. Can this thing be done PSOC?  

But at this forum, I came to know about the tool they have talked above. Is it released? Thanxs for the reply......



Re: ADC-to-PC Data Acquisition Project

kmmankad posted on 11 Mar 2012 11:36 PM PST
Top Contributor
268 Forum Posts

Hey priyank,

as already pointed out,you will need an external TTL->232 converter,if you intend to do UART.

Also,the mini-usb cable that you use for your PSoC FTK can not be used for serial communication,UART or USB.

The FTK can not do USB based designs out of the box.(Which is one of the many reasons I find it to be a crappy kit.)



Re: ADC-to-PC Data Acquisition Project

U2 posted on 12 Mar 2012 10:47 PM PST
Cypress Employee
589 Forum Posts

 Priyank, you need to undersatnd that, in Arduino the UART interface is USBUART interface. The FT232 on the arduino board connects to PC via USB abd talks to the controller over UART. Even in PSoC you can place a USB component to implement a USBUART interface and connect the device to a PC over USB. If you are thinking about using the same port for programming as well, then you got to implement a USB Bootloader, the Arduino implememts a similar logic. The tool will be released soon, we are making some final changes. But the tool is available for download somewhere on the forum, a little bit fo searching should get you there.



Re: ADC-to-PC Data Acquisition Project

priyank posted on 14 Mar 2012 11:03 PM PST
Member
3 Forum Posts

 Thanxs a lot for reply...

In reply to U2, so you are implying that I can use this in my PSOC 3 FTK. Can u give me some more details of how to implement it. It will be very useful for me. As I am having FTK kit so I cant use that USBUART. As I read somewhere it works for development board kits. Thanxss

 



Re: ADC-to-PC Data Acquisition Project

U2 posted on 26 Mar 2012 02:30 AM PST
Cypress Employee
589 Forum Posts

Priyank, please see this link, http://www.cypress.com/?app=forum&id=2233&rID=45003. Here you can find a cool way of how to hack in to the FTK to get a fully functional USB on your board. Once you have that ready, you can program PSoC's USB to function as USBUART. Then you need to be able to bootload over USBUART. Once you are done with the first 2 steps we cqan look at Bootloader later.



Re: ADC-to-PC Data Acquisition Project

Quijote posted on 31 May 2012 09:10 AM PST
Member
2 Forum Posts

Any news about the app note or the analog performance analyser software?

My project is slightly different: I want to to read analog values and send them wirelessly to the computer. To achieve it I have two wireless modules with SPI interface: one must be connected to the PSoC (transmitter) and the other to the computer (receiver). So I need another device to connect the USB port of the PC to the SPI port of the receiver module (as far as I know PCs don't have SPI ports).

Any hint on how to SPI to USB?



Re: ADC-to-PC Data Acquisition Project

danaaknight posted on 31 May 2012 11:41 AM PST
Top Contributor
1773 Forum Posts

Here is an ap, free for non commercial applications, thats very extensive in its

plotting and collecting capability. UART, USB, ETHERNET

 

http://www.selmaware.com/stampplot/index.htm

 

Regards, Dana.



Re: ADC-to-PC Data Acquisition Project

zeta posted on 31 May 2012 09:11 PM PST
Top Contributor
174 Forum Posts

@Quijote

There are several off-the-shelf USB to SPI protocol converter chips that you can use. Cypress does not have one but you can easily use a uC to do the protocol convertion.

These app notes may help you:

AN50989 - PSoC® 1 - USB TO SPI Bridge using PSoC1  http://www.cypress.com/?rID=34330

AN14558 - Implementing a SPI Interface with EZ-USB FX2LP™ http://www.cypress.com/?rID=49544



psoc to pc communication using usb data logger

Gopikrishna posted on 14 Sep 2012 10:07 AM PST

1 Forum Post

 hey i am working over a project on oscilloscope in my laptop using psoc


that is converting analog signal to digital using psoc adc convertor and plotting in my system using a data logger
 
but i have a problem that i don't have com port for serial communication (uart) in my laptop so help me finding a data
 
logger software which uses usb port for communication between psoc and laptop

 
reply me its urgent 


Re: ADC-to-PC Data Acquisition Project

danaaknight posted on 14 Sep 2012 10:48 AM PST
Top Contributor
1773 Forum Posts

Here is an ap, free for non commercial applications, thats very extensive in its

plotting and collecting capability. UART, USB, ETHERNET

 

http://www.selmaware.com/stampplot/index.htm

 

You can also just get a UART to USB dongle for your Laptop.

 

Regards, Dana.






ALL CONTENT AND MATERIALS ON THIS SITE ARE PROVIDED "AS IS". CYPRESS SEMICONDUCTOR AND ITS RESPECTIVE SUPPLIERS MAKE NO REPRESENTATIONS ABOUT THE SUITABILITY OF THESE MATERIALS FOR ANY PURPOSE AND DISCLAIM ALL WARRANTIES AND CONDITIONS WITH REGARD TO THESE MATERIALS, INCLUDING BUT NOT LIMITED TO, ALL IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT OF ANY THIRD PARTY INTELLECTUAL PROPERTY RIGHT. NO LICENSE, EITHER EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, IS GRANTED BY CYPRESS SEMICONDUCTOR. USE OF THE INFORMATION ON THIS SITE MAY REQUIRE A LICENSE FROM A THIRD PARTY, OR A LICENSE FROM CYPRESS SEMICONDUCTOR.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms and Conditions of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms and Conditions of this site. Cypress Semiconductor and its suppliers reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Spec No: None; Sunset Owner: KXP; Secondary Owner: VWA; Sunset Date: 01/01/20