The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024

Latest message you have seen: Re: mv1000


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Thermostat Hysterysis



Hi Dave

>Where you using floating point of printf in your code?
=20
Cant recall to be honest.......It all got too frustrating for me ..trying
t=
o get familiar with a new micro and also learn "C"... I gave up
;-(( and we=
nt back to the pics and purchased PICBASIC PRO which i used on the Probe
Hu=
b project......Its certainly a lot quicker than coding in ASM ..although i
=
feel as if i need to see whats  under the hood .....


>As for CAN bus it is dead easy once you have the devices >working
and
>understand the basics. I think I have some PIC code that >I ported
from th=
e
>Microchip website before I ported again to the AVR. I'll >try and
dig it o=
ut.

That would be good ... some snippets of code ......

Who supplies the transciever chips ??

The can bus developement  stuff is very expensive unfortunetly....

Have you tried the Can bus i/o chips as yet ???


>There is DEVICENET but this is processor
>intensive and needs lots of code space.

Is this the "Alan Bradley"devicenet..?? Thats were i came across
the Can_Bu=
s system....

>If you want any more info let me know and if anyone >would prefer us
to mo=
ve
>this off the list, we could chat about it more direct.

This isnt OT....is it ??? ..

Frank
PS.....Nice Menu,s on your touch screen.......
=20





.----- Original Message -----=20
From: Dave McLaughlin=20
To: ukha_d@xxxxxxx=20
Sent: Wednesday, October 08, 2003 5:51 AM
Subject: RE: [ukha_d] Thermostat Hysterysis


Hi Frank,

Where you using floating point of printf in your code?

If so, these tend to be quite memory hungry. I tend to use integer maths
where I can and use integers for printout. You can even use them for
printing floating point. Check out the sample code from Codevision.

As for CAN bus it is dead easy once you have the devices working and
understand the basics. I think I have some PIC code that I ported from th=
e
Microchip website before I ported again to the AVR. I'll try and dig it o=
ut.
There is no standard format for the way data is encoded and you are
basically free to use your own. There is DEVICENET but this is processor
intensive and needs lots of code space. I designed my own for the home
automation control. At present I only use the 11 bit identifier, but I am
slowly changing over to the 29 bit identifier to allow a much simpler
sender, receiver and message ID type system. I could send you the PCB
layouts for a simple board that you can use with the AVR along with softw=
are
etc. From this I had PCB-Pool make up a load of boards (about 8) based on
the minimum size. With a min of 2 you can have a CAN bus network working =
in
minutes.

If you want any more info let me know and if anyone would prefer us to mo=
ve
this off the list, we could chat about it more direct.

Regards
Dave...
---
Very funny Scotty, now beam down my clothes!!!
---


-----Original Message-----
From: Frank Mc Alinden [mailto:fmcalind@xxxxxxx]
Sent: 07 October 2003 10:01
To: ukha_d@xxxxxxx
Subject: Re: [ukha_d] Thermostat Hysterysis


Hi Dave / Dean
When i was playing with the atmel stuff i had the s=
ame
problem as Dean just had some basic stuff happening and when compiled sai=
d
that nearly all the memory was used??? Obviously i was doing something
wrong??....Would love to have a go at the Can_Bus stuff...is it hard
??.......(using pic,s ;-))..)

Frank
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.512 / Virus Database: 309 - Release Date: 19/08/2003


[Non-text portions of this message have been removed]



Home | Main Index | Thread Index

Comments to the Webmaster are always welcomed, please use this contact form . Note that as this site is a mailing list archive, the Webmaster has no control over the contents of the messages. Comments about message content should be directed to the relevant mailing list.