cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC 5, 3 & 1

Anonymous
Not applicable

I need to send a signal by sin function generator for the pin0 and send the signal by bluetooth to the PC.

   

I'm having trouble understanding the logic on this board.

   

Help me please

0 Likes
1 Solution
HeLi_263931
Honored Contributor II

'PSoC3' is not a board - are you using the CY8CKIT-030?

   

What is your actual question? There are several application notes available that explain how to use the ADC to capture analog data, did you have a look at them?

View solution in original post

0 Likes
10 Replies
ETRO_SSN583
Esteemed Contributor

Some questions -

   

 

   

1) What board are you using ?

   

2) Do you what to digitize the sine then send it to PC ? If so use

   

a bluetooth USB UART would be straightforward.

   

3) Max frequency of sine ?

   

 

   

Regards, Dana.

0 Likes
HeLi_263931
Honored Contributor II

Do this in steps. First, get comfortable with the ADC, maybe by writing the data you read over UART to the PC.

   

Since you are on a PSoC3 device, you need an external Bluetooth device. So maybe choose one which can act as a transparent UART-over-BT bridge (using the SPP profile), something like the HC05 modules. Doing so makes this straightforward, the BT module will just appear as a wireless UART cable 🙂

0 Likes
Anonymous
Not applicable

Hi dana,  

   

1) What board are you using ?

   

PSOC 3

   

2) Do you what to digitize the sine then send it to PC ? If so use

   

a bluetooth USB UART would be straightforward.

   

Yes. I need to send signal to PSOC3 to  PC and use HC-05 but unfortunately I didn't 

   

3) Max frequency of sine ?

   

 the frequency varies from 10 to 400 Hz 

0 Likes
HeLi_263931
Honored Contributor II

'PSoC3' is not a board - are you using the CY8CKIT-030?

   

What is your actual question? There are several application notes available that explain how to use the ADC to capture analog data, did you have a look at them?

View solution in original post

0 Likes
ETRO_SSN583
Esteemed Contributor

Here is a bridge using the BLE Pioneer board -

   

 

   

    

   

          http://www.cypress.com/?rID=109234

   

 

   

Note this is a PSOC 4 solution. There is not a BLE stack solution running

   

on PSOC 3 (that I am aware of), you would have to port to PSOC 3 a solution.

   

Maybe best solution here would be PSOC 3 talking to PSOC 4 BLE. Or consider

   

using PSOC 4 BLE  for the whole solution

   

 

   

Regards, Dana.

0 Likes
Anonymous
Not applicable

 i use the board CY8CKIT-001 Development Board and the module is CY8C38 Family Processor.

   

 

   

I need to send the sinwave to psoc and the psoc send the signal to pc over HC-05.

   

I didn't understand how can i do it?

   

 

   

Regard,

0 Likes
HeLi_263931
Honored Contributor II

You connect whatever is generating the sine wave to your PSoC. In the PSoC you route that pin to your ADC, configure that one according to your needs (for a 400Hz since wave 4000 samples per second seem fine), and start reading its data.

   

If you are unsure where to start, select the ADC in the component list (on the right hand side), right-click, 'example projects'.

   

The -001 kit comes with at least 3 different ADC sample projects. One of them actually takes ADC reading and send them to the UART. This might be a good starting point for your project.

0 Likes
ETRO_SSN583
Esteemed Contributor

First of all when using A/D the input must be offset, it cannot handle

   

voltages < Vssa. There is an example project you can look at on start

   

page of Creator, "Find Example Projects".

   

 

   

Attached is some info on handling negative voltages.

   

 

   

   

 

   

Regards, Dana.

0 Likes
Anonymous
Not applicable

 Thanks for helping me.
 

   

Regards

0 Likes
ETRO_SSN583
Esteemed Contributor

You are always welcome !

   

 

   

Regards, Dana.

0 Likes