Author |
Message |
Topic: PIC16F886 and MLX90614 |
ep.hobbyiest
Replies: 10
Views: 25329
|
Forum: General CCS C Discussion Posted: Thu Oct 26, 2017 9:53 am Subject: PIC16F886 and MLX90614 |
Yes my definition is correct only. After connection i checked in code then i was corrected it in code and made it as FORCE_SW.
Result of i2c_scanner:
Start:
ACK addr: 10
ACK addr: ... |
Topic: PIC16F886 and MLX90614 |
ep.hobbyiest
Replies: 10
Views: 25329
|
Forum: General CCS C Discussion Posted: Thu Oct 26, 2017 9:40 am Subject: PIC16F886 and MLX90614 |
I am using Pull up of 1K8 ohm.
As i mentioned on your post on the library..... the serial streams dont match.
are you talking about uart communication? If yes, then Yes it is working properly.
... |
Topic: PIC16F886 and MLX90614 |
ep.hobbyiest
Replies: 10
Views: 25329
|
Forum: General CCS C Discussion Posted: Wed Oct 25, 2017 8:19 pm Subject: PIC16F886 and MLX90614 |
Yes. It was 0x5A only. But i was checking how it working with wrong address.
I was using 0x5A only and not working with that also.
I ran i2c scanner for this device, but got more than 50 address ... |
Topic: PIC16F886 and MLX90614 |
ep.hobbyiest
Replies: 10
Views: 25329
|
Forum: General CCS C Discussion Posted: Wed Oct 25, 2017 12:39 pm Subject: PIC16F886 and MLX90614 |
Hi,
I am using MLX90614 Temp. Sensor and PIC16F886. Following is my code
I am facing problem as i am not able to make it wok. I spend few days in the same. I got following code from forum only.
P ... |
Topic: MLX90614 Driver |
ep.hobbyiest
Replies: 5
Views: 49344
|
Forum: Code Library Posted: Wed Oct 25, 2017 12:23 pm Subject: MLX90614 Driver |
Hi,
I am using your code. But data is not being read correctly.
I could see some variation in temperature. But not correct.
Object Temp:-272.01
Ambient Temp:-270.98
Object Temp:-272 ... |
Topic: oled example code is not working |
ep.hobbyiest
Replies: 13
Views: 28672
|
Forum: General CCS C Discussion Posted: Wed Sep 27, 2017 10:33 am Subject: oled example code is not working |
Okay. Right now I don't have 3v3 regulator spare. But i will have to mention method because my pcb are on the way.
I am not against software i2c. I was thinking that if Chip has built in I2C then ... |
Topic: oled example code is not working |
ep.hobbyiest
Replies: 13
Views: 28672
|
Forum: General CCS C Discussion Posted: Tue Sep 26, 2017 9:12 pm Subject: oled example code is not working |
Okay.
i am using PIC 18f25k22 which has 2 hardware i2c built in on RB1/RB2 and C3/C4 pins. But pin mapping is not mentioned in the datasheet neither INLVL.
Yes. I have option to use software i2c ... |
Topic: oled example code is not working |
ep.hobbyiest
Replies: 13
Views: 28672
|
Forum: General CCS C Discussion Posted: Tue Sep 26, 2017 12:03 pm Subject: oled example code is not working |
It is working on different port than Hardware.
I tried C0 and C1 for SDA and SCL resp. And it it working.
But in my hardware i have used C3 and C4 pins. On that pins i2c is not working.
What ... |
Topic: oled example code is not working |
ep.hobbyiest
Replies: 13
Views: 28672
|
Forum: General CCS C Discussion Posted: Tue Sep 26, 2017 11:52 am Subject: oled example code is not working |
I don't have any other data. I got it through ebay.
But yes we will get plenty of data online.
Yes i tried I2C scanner program which gave me result as Nothing Found. |
Topic: oled example code is not working |
ep.hobbyiest
Replies: 13
Views: 28672
|
Forum: General CCS C Discussion Posted: Tue Sep 26, 2017 11:38 am Subject: oled example code is not working |
I tried following setting as well.
#use i2c(Master,Slow,I2C1,SMBUS)
But no effect.
Should i use software I2C on other pins?
I tried 3.3V power supply as well but for complete circuit. |
Topic: oled example code is not working |
ep.hobbyiest
Replies: 13
Views: 28672
|
Forum: General CCS C Discussion Posted: Tue Sep 26, 2017 11:27 am Subject: oled example code is not working |
I am using 5 volt for the circuit as display also works on 5 volt
I am using following Display module SSD1306 i2c.
I tried i2c Scanner but nothing found on that.
But i have attached pull up ... |
Topic: oled example code is not working |
ep.hobbyiest
Replies: 13
Views: 28672
|
Forum: General CCS C Discussion Posted: Tue Sep 26, 2017 10:25 am Subject: oled example code is not working |
Hi,
I am referring to a code example from one old post:
#include <18F25K22.h>
#device ADC=16
#FUSES NOWDT //No Watch Dog Timer
#FUSES WDT128 //Wa ... |
Topic: UART not working 18f25k22 |
ep.hobbyiest
Replies: 2
Views: 10405
|
Forum: General CCS C Discussion Posted: Sat Sep 09, 2017 5:32 am Subject: UART not working 18f25k22 |
Thanks. It worked. I checked the manual and i saw printf. So, i just use same printf function as normal stdio.h includes. |
Topic: UART not working 18f25k22 |
ep.hobbyiest
Replies: 2
Views: 10405
|
Forum: General CCS C Discussion Posted: Sat Sep 09, 2017 1:56 am Subject: UART not working 18f25k22 |
Hi,
I am using pic18f25k22 PIC. Code is working on proteus but not on real hardware.
Led blinking is working properly on hardware.
Here is the code.
#include <main.h>
void main() ... |
Topic: where is the mpfsimg.bin file for ethernet code |
ep.hobbyiest
Replies: 1
Views: 5481
|
Forum: General CCS C Discussion Posted: Tue Oct 14, 2014 9:34 am Subject: where is the mpfsimg.bin file for ethernet code |
Hello i understand the code little bit. Now there is file missing from installation.
This file is mpfsimg.bin
Which is missing. If anyone have please upload this. |
|