PSoC™ 4 Forum Discussions
Hello everyone,
I am new to this field. I want to convert an analog input (from a potentiometer) to PWM output. Which mean,
if 0 V analog input --> 0% duty for PWM
if 3.3 V (max) analog input --> 100% duty for PWM
PWM output connected to LED
By searching online and in the community, I am able to do the project attached below.
The problem I am facing is if I change a potentiometer nothing happens on the LED. Please help me!
Hello,
We want use some ProC module but in few quantity, and whitout having to programm MAC adress for each device (and whitout buying a set from IEEE if possible).
Reading a MAC address from an EEPROM chip with 48 bits embeeded EUI, and set it the first run is a good way to do it ? ( with CyBle_SetDeviceAddress())
Or can we just use a random static address ( generated at the first run / can be changed if the user want it by pressing a button for exemple), i am not sure for this one ,because nobody seems to use it...
Im afraid of some compatibility problem with phones for exemple .
Thanks in advance for your answers.
Show LessHello!
So I'm in my first year of messing around with a PSoC and have gotten the CY8KIT-042 pioneer kit.
As project I'm trying to get the PSoC the be programmed by the ESP.
I've gotten it to work so it would flash over USB but I honestly have no idea on how to start this project with the ESP.
Any help? Thanks in advance ^.^
Show Lesshi,
I am using
PROJECT #045: PULSE OXIMETRY HEART RATE MONITOR
Example for my project.
when i open the example in psoc creator 4.1,topdesign file is showing only ble component,code is getting compiled and running succssfullly on Psoc4 ble pioneer board,
I need to add one more adc channel in same example project ,for that i need adc component,with configuration used in this project.
please help
Show LessHello,
i stardet with a Cy8Ckit-049 to programm a I2C bootloader. To overwrite the UART Bootloader I used a Miniprog3. That works fine. I can select the Miniprog3 in the Bootloader Host programm as I2C Brigde and can programm the Psoc.
Now I tried to use the own I2C Bridge from the Cy8Ckit. I Split the Board´s and configurated the USB Brige as USB to I2C
But my problem is, that the device is not listed in the Bootloader Host, to programm the PSOC via I2C.
With the other tool from Cypress i could find the device .. see here:
Could you please help me to find a solution to use the I2C Brige in the Bootloader Host. Thank´s
Show LessWell, to be more precisely, dead on the day after it arrived. All 4 kits of them.
I was quite happily to receive the ordered all 4 of CY8CKIT-142 kits yesterday
and do some quite VDDx-GND check with ohm measuring with Agilent U1242A.
All 4 kits with all their VDDA/-R/-D behaved normally (measured around dozens
of k-ohms back and forth). Then it was stored in a PP box, a way
(or kind of boxes) was used for keeping many eval-board here for years.
Then the most weird thing happened: earlier this morning when I was about to start
using these kits, I found all their VDDx-GND are shortened, i.e. lesser than
5 ohms was measured when I did the same test, with same instrument as yesterday!
And it was further confirmed when I tried to supply power to it: I got 200 mA passed
even the voltage is not over 0.5 V! I am quite sure that there should be no ANY
additional operating from yesterday to this morning.
I am running a project of some consumer goods and used to enjoying what was
provided by cypress. However, I cannot be sure if I should rely on something so
unpredictable like this! All 4 dead on the day after arrival really surprised me.
Please, is there anyone in cypress could help me?
Show LessMy Pioneer Kit not communicate to PC ( No one port in Teraterm). Status LED blinks slow.
In Guide I see that need " bootload the new .cyacd file using the Bootloader Host tool shipped with PSoC Creator."
I run Bootloader Host tool but it can't communicate by USB because this problem.
So I connected to Kit with MiniProg3 by 5 pin connector (J7) .
I can comunicate to device by this MiniProg3 for write firmware (see attached PK1.png) but Bootloader Host tool can`t ( see attached PK2.png)
Other same Kit is working well so it`s only this Kit problem.
How can I solve this problem ?
Show LessFirst of all, after program the code (build the project + program main.c). and press SW 2 the motor not rotate as well. (And i redo it press SW1 to reset and SW2 to start the motor). By the way the problem is.
1. No bug ( successful when compile the code, also update the component), no blinking and light on LED 2 on EVK board
2. my input is 5VDD on 042 pioneer kit, and the wire connected red ,yellow, black. and the jumper.
So anyone can tell me what's the factor of this problem and how can i fixed. Thanks for your advise.
Show LessHello,
I would like to know what is the good approach to structurers custom services and caracteristics :
What i have actually is :
2 custom services, let say Custom service A and custom service B
Custom service A has 6 characteristics
Custom service B own 11 characteristics
+ generic access service + generic attribute + batterie services
Does i have to rework that to keep the number of custom services and caracteristics lower ? Does i have to just use 1 service, because 1 custom service for 1 product is just sufficient.
What the maximum number of services or characteristics that Posc or Proc devices can handle ?
I had a problem actually with my phone app, when sometimes the connection just fail (it's totally random, and the BLE stack don't even enter in the connection state, but my app catch a connection error, and from HCI log on the phone i have a "connection failed to be etablished (0x3e)".
Other thing that i don't understand is about customm uuid (i have read the Cypress app note about UUID but it doesn't help me).
What i have done actually is to generate for each service or caracteristic a random UUID made by a generator, is that a correct way ? I have seen that in other device some generate a base UUID and have some incrementations of a part of the UUID. Cypress app note doesn' t help me because my companie doesn't own an UUID from sig.
Thanks for you help in advance.
Show Less