Author |
Message |
Topic: DS18B20 with PIC16F876A, need help! |
milkman41
Replies: 4
Views: 7734
|
Forum: General CCS C Discussion Posted: Fri Mar 19, 2010 2:14 pm Subject: DS18B20 with PIC16F876A, need help! |
Thanks alot, I'll check it out next week when I'm off break. |
Topic: DS18B20 with PIC16F876A, need help! |
milkman41
Replies: 4
Views: 7734
|
Forum: General CCS C Discussion Posted: Fri Mar 12, 2010 8:26 pm Subject: DS18B20 with PIC16F876A, need help! |
I looked at it before, and I wasn't sure quite how to change my code. However, now, upon further review, it looks like I should write my onewire_write function to imitate the write_byte function you ... |
Topic: DS18B20 with PIC16F876A, need help! |
milkman41
Replies: 4
Views: 7734
|
Forum: General CCS C Discussion Posted: Fri Mar 12, 2010 1:47 pm Subject: DS18B20 with PIC16F876A, need help! |
Hey all,
I'm trying to use a DS18B20 1-wire temperature sensor with a PIC16F876A, and I'm having some trouble with it. I'm using a board built by olimex, and then subsequently programmed by Paul H ... |
Topic: DS18S20 & DS18B20 Codes |
milkman41
Replies: 54
Views: 641659
|
Forum: Code Library Posted: Fri Mar 05, 2010 3:01 pm Subject: DS18S20 & DS18B20 Codes |
Hi all,
I'm using the original code posted by Han Solo on the first page, and I can't get a temperature other than 85 C, which I think I read was the startup temperature. I'm using a PIC16F876A wi ... |
Topic: measure button's pression time |
milkman41
Replies: 2
Views: 3435
|
Forum: General CCS C Discussion Posted: Thu Aug 28, 2008 1:16 pm Subject: measure button's pression time |
If you get the PIC development kit, example 14 in the exercise book does exactly what you want - it uses Timer1 and an interrupt. Check it out if you can, its pretty simple. |
Topic: Need help with temperature sensors |
milkman41
Replies: 4
Views: 5624
|
Forum: General CCS C Discussion Posted: Sat Aug 02, 2008 3:54 pm Subject: Need help with temperature sensors |
What temperature sensors are you using? |
Topic: Timer question |
milkman41
Replies: 8
Views: 8234
|
Forum: General CCS C Discussion Posted: Fri Aug 01, 2008 8:10 am Subject: Timer question |
Take care when copying code examples. The thread you refer to mentions the code is not working... Garbage In = Garbage Out.
Yeah but it was the latest post, which noone had responded to, so I tho ... |
Topic: Timer question |
milkman41
Replies: 8
Views: 8234
|
Forum: General CCS C Discussion Posted: Thu Jul 31, 2008 1:45 pm Subject: Timer question |
I'm not asking you to write any code for me, I've been trying to get my code to work for a couple days now, but I dont really know programming as well as the people on this board, so I thought I would ... |
Topic: Timer question |
milkman41
Replies: 8
Views: 8234
|
Forum: General CCS C Discussion Posted: Thu Jul 31, 2008 12:39 pm Subject: Timer question |
Thanks for the reply PCM, I looked at the thread and it seemed pretty good, the thing is, I don't really want to multi-task, my thinking is that a command is given to the PIC, and then it runs this fu ... |
Topic: Timer question |
milkman41
Replies: 8
Views: 8234
|
Forum: General CCS C Discussion Posted: Thu Jul 31, 2008 11:34 am Subject: Timer question |
I am currently trying to use one of the internal timers for an application in my program, and I'm not entirely sure how to do it, I've searched through some of the topics but haven't found quite what ... |
Topic: AT help |
milkman41
Replies: 12
Views: 13253
|
Forum: General CCS C Discussion Posted: Tue Jul 29, 2008 10:42 am Subject: AT help |
Hey man thanks alot thats flippin genius, haha, the program works better now, I can now read what comes into the buffer, so thats better. Unfortunately, its still not working as I want it too, as all ... |
Topic: AT help |
milkman41
Replies: 12
Views: 13253
|
Forum: General CCS C Discussion Posted: Mon Jul 28, 2008 1:02 pm Subject: AT help |
A minor remark:
Add the ERRORS directive to the #use RS232 line so the compiler adds code to clear some common errors. Very unlikely, but if your program is slow in reading the UART the UART will sta ... |
Topic: AT help |
milkman41
Replies: 12
Views: 13253
|
Forum: General CCS C Discussion Posted: Fri Jul 25, 2008 11:51 am Subject: AT help |
I wrote the messages into an external EEPROM chip that came with the development kit I go, and then read them with another program, and apparently all the PIC received from the modem simulator was a n ... |
Topic: AT help |
milkman41
Replies: 12
Views: 13253
|
Forum: General CCS C Discussion Posted: Fri Jul 25, 2008 8:02 am Subject: AT help |
The simulator was created by someone else, someone who presumably knows what they're doing (unlike me :p), and it is on the computer. The company I work at uses it often for their products, so it see ... |
Topic: AT help |
milkman41
Replies: 12
Views: 13253
|
Forum: General CCS C Discussion Posted: Thu Jul 24, 2008 11:19 am Subject: AT help |
oh yes, of course, sorry about that, here are the protoalone.h and utility.c files.
protoalone.h:
#include <16f877A.h>
#fuses HS,NOLVP,NOWDT,PUT,NOPROTECT
#use delay(clock=20000000& ... |
|