PSoC™ 4 Forum Discussions
text.format{('custom.tabs.no.results')}
Hi,
I have connected to the ESP8266 WIFI module with help from Pavloven's excellent software example. I am able to connect to WIFI, and even open a TCP connection, but I cannot seem to upload data to the 'dweet.io' and 'freeboard.io' interfaces. The project is attached.
dweet from Arduino:
https://www.openhomeautomation.net/cloud-temperature-logger-esp8266/
ESP8266 commands:
http://www.pridopia.co.uk/pi-doc/ESP8266ATCommandsSet.pdf
I am very grateful in advance for any help, and I think this could be an important cost effective WIFI module, especially as it was just FCC certified.
Regards,
Tom
Show LessHello
there is alarm handler , main function , two alarm structure , what I have to do to set next alarm, next mask ?
can you please check the sequence of program
Show LessHello,
Iam using CY8CKIT-042-BLE with CY8C4247LQI module with UART to BLE example project. When I send over UART a long message (about 40 bytes) it sends it in 3 messages over the Bluetooth. My problem is that there is a delay between these messages about 100 ms.. Send 40 bytes message then takes about 200ms. Is there a way how to increase the speed of the communication? Thanks
Show LessI tried to change the modes of the ADC via firmware.
code:
void SetADCMode (enum sar_mode mode) {
uint32 reg_sar, reg_sample;
reg_sar = CY_GET_REG32 (CYREG_SAR_CTRL);
reg_sar & = ~ 0x00000EF0;
reg_sample = CY_GET_REG32 (CYREG_SAR_SAMPLE_CTRL);
reg_sample & = ~ 0x00000004;
switch (mode) {
case vref: //
reg_sar | = 0x000002C0;
reg_sample | = 0x00000004;
break;
case vref2:
reg_sar | = 0x00000EC0;
break;
case vdda:
reg_sar | = 0x00000270;
reg_sample | = 0x00000004;
break;
}
CY_SET_REG32 (CYREG_SAR_CTRL, reg_sar);
CY_SET_REG32 (CYREG_SAR_SAMPLE_CTRL, reg_sample);
CyDelay (5);
}
And I received false readings ADC.The project is built with the ADC configuration as shown in Figure 1.
+[0] 1A -+[1] 1A -+[2] 1A -+[3] 1B -+[4] 1A -+[5] 1B -+[6] 1A -+[7] 1A -+[8] 1A -+[9] 1A -+[10] FFFFF856 -+[11] FFFFF896 -+[12] FFFFF8BF -+[13] FFFFF8CA -+[14] FFFFF908 -+[15] FFFFF91C -+[16] FFFFF920 -+[17] FFFFF922 -+[18] FFFFF922 -+[19] FFFFF922 -+[20] FFFFFA09 -+[21] FFFFF988 -+[22] FFFFF93F -+[23] FFFFF8D7 -+[24] FFFFF8B9 -+[25] FFFFF876 -+[26] FFFFF84A -+[27] FFFFF83E -+[28] FFFFF800 -+[29] FFFFF800 -
Hello Everybody!
Creator suggests using a control file for making it fit my project into four UDBs. When using the suggested lines, nothing changes. Please see my Forum-entry "Unable to pack the design into 4 UDBs - Control file doesn't help form 3rd of August. Thanks!
Show LessA new Beta version of RSVP (Reference System Virtual Platform) has been released for PSoC4/CY8CKIT-049 at :
https://github.com/rsvpsis/rsvpsis/tree/master/rsvpsis/brds_lib/Cypress/CY8CKIT-049
RSVP includes a fully populated project with UART, I2C, ADC, DAC, etc.
components already wired up and ready for your application.
RSVP is an easy way for new users to start with a working project
that includes the most used components along wth a IPMI compliant metadata store,
command line interface, and many other features.
best regards,
Tom
@PatternAgents
Hello,
I'm trying to measure a capacitive 'button' that changes by around 10pF between no-touch and full-contact scenarios. I would like to be able to quantify intermediate values as well (so being able to measure 25%, 50% or 75% of full-contact by reading capacitance values between the no-touch and the touch limits).
My issue is that I would like to use the SmartSense to do this because the manual settings seem to be less reliable; however, I can't get a large enough range in SmartSense mode. Even with the sensitivity at 10, I easily saturate the sensor when changing from no-touch to touch.
Is there any way to lower the sensitivity (increase the range) even more in the SmartSense mode? I would like to have the full-contact at around 80% of the max sensor value (around 200 for 8-bit sensor).
Thanks,
Dillon
Show LessI see that in the iOS and Android apps, I can perform an OTA update. Using the example project I can connect to the device and I see the bootloader service then I am given the option to "Select upgrade option" this takes me to a page "Select Firmware Upgrade files". This is an empty page.... How do I load a file (both iOS and Android)
Thank you in advance for your help!!
Show LessIs there a way to write to a txt file or something through UART? I tried to just use fopen, fwrite etc. But the file isn't created and it gives the error "function not implemented".
Show Less