- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi ,
I'm using PsoC 4.0 BLE and CY8C4247-LQI-483 ,I'm connectiong the sensor DS18B20 water proof sensor,I'm using the code and screenshots below.I'm getting the build succeeded and able to program,but not able to see the temperature output on UART.I have made the changes in UART (115200,57200) but still I can't find the output.
In the code the top design is for CY8C4245AXI-483 ,I have made the device selector to CY8C4247-LQI-483,can able to build and program the code.I'm getting the warning of Unable to locate and customize component 'PSoC_4_Pioneer_Kit' used in schematic.Can I know why I'm not able to get the data on UART.Can I know the wiring too?Thanks in advance.
Regards,
Radhika.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You are missing the library the Kees library.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Bob,
Thanks for the reply,I'm very new to Cypress.Please help me.What are the library files that I'm missing?? and where Can I download ??Can I know and where Can I find the Kees library?? I have followed the link
Regards,
Radhika
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have a program that is working but I don't have a DS18B20 device I have ordered one and it will be here on 11/11/2016. Once I get this I will check the program and them send it to you. I also have the correct Kees library.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You missed something
No OneWire_SendTemperatureRequest ();
must be a timer or delay (> 700mSec):
check this:
if (1) // DS18 completed temperature measurement - begin read dataa
{
OneWire_ReadTemperature(); // parse sensor data
ReportTemperature(); //report Temperaure
CyDelay(750);
OneWire_SendTemperatureRequest(); //
}
- 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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thanks pavloven,I'm able to get the code build and program.I have removed the kees library.As I said earlier ,I'm using CY8C4247LQI-BL483 ,PsoC 4200 BLE kit.As in the top design the given zip contains the wiring of CY8C4245AXI-BL483 ,Can I have the wiring diagram of DS18B20 with CY8C4247LQI-BL483 please??I'm using PsoC 3.3 version.I'm connecting
DS18B20'red - V5.0
DS18B20'blue(digital) - P 3.3
DS18B20'ground - gnd
I'm unable to get the data with this connection.
Regards,
Radhika.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Here is the screenshot of the connection...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Another question is what should be the baud rate to be fixed in UART??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
1. Simply select your chip:
Project -> Device Selector -> select chip
2.Set Rx as P1 (4) and Tx as P1 (5)
It is necessary for your USBUART PsoC 4200 BLE kit (KitProg USB-UART in you PC)
Double-click on the UART, you will see the speed setting
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Here are my pin connections.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Here are my pin conncetions...
- 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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks,Its working.