Thats interesting, library that big for 1w comunication. Just yesterday, i tried communication with the same 18B20 as you used, with an atmel microcontroller.
@KaenRainwell I don't know why those libraries are so big.. I think it's because they're old .. I found them on google and i noticed that all the posts were old (about 6 or 7 years old) . I think now there are more optimized libraries for the 1w comm. I also noticed that in my libraries all the crc values for the 1w comm are stored in a very big array. I think that's why they're so heavy!
@KaenRainwell thanks man! :-D .. I didn't add that symbol because the "C" of the LOW limit temp will be too close to the "HIGH" word so it would have been "CHIGH" and it wasn't so nice to see :-) .BTW, the dallas temp sensor (one-wire protocol) requires an additional pic library that is a little bit heavy for the flash rom of the pic itself (about 70% of the rom and more of 50% of the ram was used by this simple program) . i suggest using a more powerful pic or a DSP (40mflops vs 4mflops @20mhz)
thanks a lot
this work is used for the bil 495 lesson computer engineeering
selimnogay4441 3 months ago
how can we measure DC voltaj on the seven segment
selimnogay4441 3 months ago
@selimnogay4441 search for "3 digits Digital volt meter" on google and you'll find it
PIC used is 16f676 (it has a few analog ports)
uses 7 outputs to drive the 7 segments and 3 other outputs to multiplex the 3 displays.
also uses 1 analog input to measure the voltage..
the maximum voltage allowed on a PIC pin is 5V so if you want to measure greater voltages you have to adapt them to the scale 0-5v
hope this helps!
simonspt 3 months ago
Thats interesting, library that big for 1w comunication. Just yesterday, i tried communication with the same 18B20 as you used, with an atmel microcontroller.
(ATmega16 :16k flash @4MHz).
1wire.h and ds18b20.h to be exact. And well, i didnt notice any big difference of memory usage.
Btw good idea on using those free patterns as a bar :)
KaenRainwell 8 months ago
@KaenRainwell I don't know why those libraries are so big.. I think it's because they're old .. I found them on google and i noticed that all the posts were old (about 6 or 7 years old) . I think now there are more optimized libraries for the 1w comm. I also noticed that in my libraries all the crc values for the 1w comm are stored in a very big array. I think that's why they're so heavy!
Thanks anyway for the comment :)
simonspt 8 months ago
0xDF for the ° before C
But still a good job.
KaenRainwell 8 months ago
@KaenRainwell thanks man! :-D .. I didn't add that symbol because the "C" of the LOW limit temp will be too close to the "HIGH" word so it would have been "CHIGH" and it wasn't so nice to see :-) .BTW, the dallas temp sensor (one-wire protocol) requires an additional pic library that is a little bit heavy for the flash rom of the pic itself (about 70% of the rom and more of 50% of the ram was used by this simple program) . i suggest using a more powerful pic or a DSP (40mflops vs 4mflops @20mhz)
simonspt 8 months ago