PSoC™ 4 Forum Discussions
Hi, as an intern student I am new at Psoc 4 and I am stuck with a problem. I have been given a project on home energy monitoring, therefore I have to make some calculations like phase difference, active and reactive power. I want use a shunt resistor with small value to measure the current passing through the system. However, because the harmonics are crucial for power calculations and we want to observe detailed features like "harmonic signatures" of the devices, we want to make like 1000 measurements per second. And the magnitude of the current is expected to be in the range of 10mA-10A. According to my employer, although the bandwidth of the current is broad, the shunt resistor approach is fine. Until here, everything is okay, but the problem is I am having trouble on these calculations. I know, I should use a SAR ADC to pass the measurements into the digital and maybe a PGA if the current is too low for ADC, but after passing to the digital I do not know how to calculate phase and power. For example, does the fact that I have to measure the current and voltage 1000 times in a minute mean that I should calculate phase and power(both active and reactive) in each time? Or is the phase difference constant as in simple circuits? As an approach, could I find the phase difference by finding when the current and voltage achieve their peak values in a period then by subtracting these values and dividing the result by the line voltage period( 1/50Hz )?
I know, I asked lots of questions and my writing is a little bit messy. I will be grateful for any help&idea,
Thanks.
Show LessHi all
Yday i got PSOC 4200 prototyping kit ,I started working on that ,i started from bootloading by seeing app. note AN68272 and i used PSOC 3.2 as software but it does n't bootloading.
so pls suggest the steps after getting this board and where to start with this.
thanks in advance
Show LessDear All,
I tried to search on forum for support on interfacing DS1307 with PSOC4 CY8C4245AXI-483 but i didnt get any older forum for same.
Can i get support for same ?
Naintech.
Show Lesshi folks please help me.
My psoc4 device is not recognized as com port device after writing (bootloadable) program.
My device is CY8CKIT-049-4245. Last program contains one PWMunit and sysclock.
First I make it as non bootloadable program and add "Bootloadable" later. After uploading
it works well (as I intended). But I modified program and tried to write, I find the device is only
recognized as only "USB-Serial (Single channel)vendor MFG"(BlueLED is on- off fast)
What shall I do for this phenomina? I use PSOC Creator 3.2.
Show LessHi I am new to cypress.
->I have brought PRoC Remote Control kit.I have downloaded PSoC creator, and other IDE's,but I cant find a link to download PRoC RDK,the link in the pdf goes to the PRoC RDK hoempage,there i cant find to download the software for it.
-> Through PRoC Remote can we communicate through our voice with another blutooth device say a mobile phone..i.e like a phone call?
->My idea is this,to make use of my device to communicate other mobile(bluetooth device) by voice,Can some one guide me in this?
Show LessI need to implement the Bluetooth standard on the PSoC BLE device such that I can stream audio from my phone using the Bluetooth redio receiver. Does anyone know of an example project or tutorial that would help me get started. Other tips are will also be appreciated.
Show LessHow to you use the RTC_ConvertDecToBCD(uint32 decNum) command when using the RTC component? I am trying to set the time of the RTC from terminal inputs. I have 32 byte hour minutes and Seconds and I am trying to use this equation . New_Time = ((uint32)(Hour << HR_OFFSET)| \
(uint32)(Min << M_OFFSET)| \
Sec);
RTC_SetDateAndTime(RTC_ConvertDecToBCD(New_Time),DATE_MONTH_DAY_YEAR); It works but he RTC get binary time and Minutes instead of decimals
Thanks
BobGoar
Hi,
I'm developing an application based on this UART TO BLE BRIDGE project:
http://www.cypress.com/blog/100-projects-100-days/project-020-uart-ble-bridge.
When data com from the UART interface, function CyBle_GattsNotification() is used to send data to the Central device.
For small frames ( tested with 15-16 bytes), it's works well.
For bigger frames ( tested with 24 bytes ), CyBle_GattsNotification() return an error ( CYBLE_ERROR_INVALID_PARAMETER ).
- My MTU is bigger than 24 ( actually 300 set on GAP settings , BLE component )
- Data characteristic size is bigger than 24 (30)
Do you have any idea about this problem ? Why i can't send more datas ?
Regards,
Thomas POINSOT,
ATEC Electronique
Show Less
yday i got a new prototype PSOC4200 board from cypress,pls explain me the steps where to start with and how to work on this board.
thanks in advance.
Show Less