Author |
Message |
Topic: BMP085 Pressure Sensor |
ajt
Replies: 27
Views: 194285
|
Forum: Code Library Posted: Mon Sep 16, 2013 10:01 am Subject: BMP085 Pressure Sensor |
I am using MPLAB X with XC16 compiler.
I just downloaded MPLAB X plug-in. However, it seemed that I need more than that.
Yes, of course you do. You need the CCS compiler to use the built-in CC ... |
Topic: BMP085 Pressure Sensor |
ajt
Replies: 27
Views: 194285
|
Forum: Code Library Posted: Mon Sep 16, 2013 9:56 am Subject: BMP085 Pressure Sensor |
Forgive me that I am new to this forum. Where can I find those functions? I am actually trying to use PIC24E microcontrollers to interface with this sensor.
http://www.ccsinfo.com/content.php?page ... |
Topic: BMP085 Pressure Sensor |
ajt
Replies: 27
Views: 194285
|
Forum: Code Library Posted: Mon Sep 16, 2013 9:28 am Subject: BMP085 Pressure Sensor |
Just a quick question, where did you get the i2c library in order to use i2c_start(), i2c_write(), etc?
They are all built-in CCS functions. |
Topic: BMP085 Pressure Sensor |
ajt
Replies: 27
Views: 194285
|
Forum: Code Library Posted: Tue Jul 30, 2013 10:06 am Subject: Re: integer library |
I have tested above library, but I cannot read pressure, however temperature seems good. I have researched step by step and I found faulty in calibration coefficient routine. First value, ac1, comes ... |
Topic: BMP085 Pressure Sensor |
ajt
Replies: 27
Views: 194285
|
Forum: Code Library Posted: Mon May 20, 2013 3:18 pm Subject: BMP180 Driver |
I tested the BMP180 with the exact driver code and example for the BMP085 previously posted and it works fine. |
Topic: BMP085 Pressure Sensor |
ajt
Replies: 27
Views: 194285
|
Forum: Code Library Posted: Thu Apr 18, 2013 10:20 am Subject: BMP085 Pressure Sensor |
I received a notification in mid-Feb. that the BMP085 is at EOL and now obsolete. There are still some left in distribution and places like eBay. The BMP085 is not recommended for new designs.
... |
Topic: BMP085 Pressure Sensor |
ajt
Replies: 27
Views: 194285
|
Forum: Code Library Posted: Wed Apr 17, 2013 12:30 pm Subject: BMP085 Pressure Sensor |
Maybe you should use the ICD1 or ICD2 switch in your #USE i2c statement since your PIC has two I2C hardware peripherals. I don't know if the compiler sets the correct hardware by specifying the pins ... |
Topic: BMP085 Pressure Sensor |
ajt
Replies: 27
Views: 194285
|
Forum: Code Library Posted: Wed Apr 17, 2013 11:04 am Subject: BMP085 Pressure Sensor |
Make sure you have a #use i2c statement in your code in one place. The following is the default in the BMP085.c file. Obviously, change it to the pins you are using:
#use i2c(master, sda=PIN_ ... |
Topic: BMP085 Pressure Sensor |
ajt
Replies: 27
Views: 194285
|
Forum: Code Library Posted: Wed Apr 17, 2013 7:45 am Subject: BMP085 Pressure Sensor |
The code is the latest revision and from the code snippet you sent should work. However... I can't help at all since I don't know what PIC you are using, what the hardware schematic looks like, or wh ... |
Topic: USB HIDDemo in Delphi5 |
ajt
Replies: 1
Views: 4322
|
Forum: General CCS C Discussion Posted: Tue Oct 30, 2012 9:23 pm Subject: Re: USB HIDDemo in Delphi5 |
I bought the board and software and the demo works. BUT, when I try to compile the source (even without any modifications) I get an error that it can't find the TJvHidDeviceController component which ... |
Topic: BMP085 Pressure Sensor |
ajt
Replies: 27
Views: 194285
|
Forum: Code Library Posted: Fri Aug 17, 2012 12:25 pm Subject: BMP085 Pressure Sensor |
After spending a lot of time trying to convert integer arithmetic Arduino driver code for this device to CCS, I gave up and wrote my own integer based driver. Both of these exercises were basically a ... |
Topic: TCPIP Examples Case Sensitive |
ajt
Replies: 3
Views: 6854
|
Forum: General CCS C Discussion Posted: Tue Jul 17, 2012 10:48 am Subject: TCPIP Examples Case Sensitive |
It has to be turned on SOMEWHERE... otherwise, CCS is case insensitive.
look in the CCS help for PREPROCESSOR items.
In this case (no pun),
#CASE
Cheers,
-Ben
I had done all sorts ... |
Topic: TCPIP Examples Case Sensitive |
ajt
Replies: 3
Views: 6854
|
Forum: General CCS C Discussion Posted: Mon Jul 16, 2012 7:28 pm Subject: TCPIP Examples Case Sensitive |
TCPIP examples appear to be case sensitive. For example, ex13.c is clearly case sensitive. I cannot find a #case or #device ANSI line anywhere in the TCPIP folder.
How is the CCS default of non ... |
Topic: HTTP GET using TCP Client |
ajt
Replies: 5
Views: 11358
|
Forum: General CCS C Discussion Posted: Fri Jul 13, 2012 4:26 pm Subject: HTTP GET using TCP Client |
Hi,
I did it work sometime ago using the same sample and include dns client.
First look seems you forget to include "<CR><LF>" at the end of get sentence HTTP/1.1<CR> ... |
Topic: HTTP GET using TCP Client |
ajt
Replies: 5
Views: 11358
|
Forum: General CCS C Discussion Posted: Fri Jul 13, 2012 4:24 pm Subject: HTTP GET using TCP Client |
2. HTTP/1.1 requires a Host header (HTTP/1.0 does not):strcpy(str,"GET /timestamp.php HTTP/1.1\r\nHost: testani.net\r\n\r\n");
BTW, all HTTP servers should include the cur ... |
|