Added: 3 years ago
From: simonspt
Views: 2,057
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (7)

Sign In or Sign Up now to post a comment!
  • thanks a lot

    this  work is used for the bil 495 lesson computer engineeering

  • how can we measure DC voltaj on the seven segment

  • @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!

  • 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 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 :)

  • 0xDF for the ° before C

    But still a good job.

  • @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)

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more