CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

Temperature controller with PIC18F452
Goto page Previous  1, 2
 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
artohautala



Joined: 17 Nov 2011
Posts: 187

View user's profile Send private message Send e-mail

PostPosted: Sun Nov 12, 2017 11:55 am     Reply with quote

temtronic wrote:
Here's a link to what I've been using, connects to PIC via I2C:

https://www.banggood.com/DS3231-AT24C32-IIC-High-Precision-Real-Time-Clock-Module-For-Arduino-p-81066.html

Only $3 CDN and comes WITH battery ! One actually had a rechargeable battery in it !! I bought 5 pcs.

I haven't done any long term testing, though the 'specs' says it's a lot better than the DS1307

GPS NEEDS a clear 'line of sight', so a metal roof kills the signals. The only way around that is to put GPS + HC-12 outside and transmit to the PIC time project.

Jay


HI temtronic,

Laughing

I tested many days that RF link easy to use module :
robokits RKI-1197 ... it worked about 2 or 4 hours now and then ... but then it tried to RX and TX same time ...
and sure there was any communication anymore between RX and TX.... !

... maybe some error checking because there's lot of signals in the air all the time ... but I don't know how ...

... I think RF communication is very complicated if we try to avoid data errors ?

I wonder if HC-12 works better ?

any idea ?

brdgs
-arto-
artohautala



Joined: 17 Nov 2011
Posts: 187

View user's profile Send private message Send e-mail

PostPosted: Sun Nov 12, 2017 12:16 pm     Reply with quote

temtronic wrote:
Here's a link to what I've been using, connects to PIC via I2C:

https://www.banggood.com/DS3231-AT24C32-IIC-High-Precision-Real-Time-Clock-Module-For-Arduino-p-81066.html

Only $3 CDN and comes WITH battery ! One actually had a rechargeable battery in it !! I bought 5 pcs.

I haven't done any long term testing, though the 'specs' says it's a lot better than the DS1307

GPS NEEDS a clear 'line of sight', so a metal roof kills the signals. The only way around that is to put GPS + HC-12 outside and transmit to the PIC time project.

Jay


Hi temtronic,

I tested many days that RF link easy to use module: Robokits RKI-1197.
It worked about 2 or 4 hours now and then, but then it tried to RX and TX same time, and sure there was any communication anymore between RX and TX!

Maybe some error checking because there's lot of signals in the air all the time, but I don't know how.

I think RF communication is very complicated if we try to avoid data errors ?

I wonder if HC-12 works better ?

Any idea ?

brdgs
-arto- Laughing
Ttelmah



Joined: 11 Mar 2010
Posts: 19195

View user's profile Send private message

PostPosted: Sun Nov 12, 2017 2:28 pm     Reply with quote

The basic simple way is just to add a checksum.
Transmit more frequently than you need.
Simply test the checksum, and reject the packet if it isn't right.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group