- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi!
I am really new with MCUs and especially with PSoC 6. I have a Groove GSR sensor and Cypress PSoC 6 BLE kit and i need to connect them and plot the data chart with Bridge Control Panel (or something similiar).
According to this Arduino manual (Grove - GSR Sensor - Seeed Wiki) I have connected my GSR sensor WITHOUT base shield, straight to the PSoC 6 like this site said.
GND | Black |
5V | Red |
NC | White |
A0 | Yellow |
Now i just have not a single idea how to continue and how to code such a simple device to work. Should i use UART?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
It seems like the Grove Sensor gives Analog data. For plotting the data in Bridge Control Panel, you will need to create a project which takes the analog data (using ADC) and send that over UART/I2C.
For sending the data over UART and plotting on Bridge Control Panel you can have a look at the MPU6050 PSoC6 Interface - Hackster.io , project.
Thanks,
Hima
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for the fast answer!
I'll check out the hackster.io project if i get something out of this thing.
-Osku
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Hima,
I tried to transfer my data with your code to bridge control panel that i look at the MPU6050 PSoC6 Interface - Hackster.io , project. However, nothing seems to be happening at the BCP, no movement in the graph tab or in the table. I tried to put in the exact UART code in my main.c.
Is there any special settings I need to do to transfer the data?
Thanks, I'll look forward to your response!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Ok, I had a hard time to work with this, because hackster project gave me only tons of errors, so i wanted to try something easier and just print out the voltages read from GSR to teraterm with uart.
I had not a single idea how to get this work, but im not sure if this is right at all?
I read a lot of sample projects and managed to create ADC component and UART component.
Then i managed to do this:
UART bps is 115200 so i changed TeraTerm port to the same bps.
Everything builds and works just fine, but nothing happens in TeraTerm.
I have no idea where is the problem, because i get 0 errors and everything seems to work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Have you selected the right UART Pins? Can you check if the Creator Code example for UART is working fine.
Thanks,
Hima
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Well yes i tried UART_prinf and it seems to work.
I have actually not a single idea what pins i should even put in UART.
It looks like this now in my gsr project:
I have only connected these to my board besides usb:
Black = NC
Red = 3.3V
White = GND
Yellow = A0 (10.2)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Well here is with correct bps, so it is working.