element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Embedded and Microcontrollers
  • Technologies
  • More
Embedded and Microcontrollers
Pic Microcontrollers Forum Hot Chips - PIC16F676
  • Blog
  • Forum
  • Documents
  • Quiz
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Embedded and Microcontrollers to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 3 replies
  • Subscribers 193 subscribers
  • Views 1374 views
  • Users 0 members are here
Related

Hot Chips - PIC16F676

scottiebabe
scottiebabe over 3 years ago

For the upcoming  7-segment project14 event, I wanted to use an relatively old 8bit microcontroller that is compatible with my Pic Kit1. The PIC16F676 was one of 2 sample MCUs that shipped with the kit.

I am amazed, given component shortages, I was even able to purchase a PIC16F676 Smiley

I got a real smokin deal at $3.40 /UNIT

image

The PIC16F676 is feature packed!

image

A whopping 64 bytes of RAM.

The flash program memory is 14-bits wide, so 1024 words is 1792 bytes.

Cost per MB = $3.4 / ( 1792 / 2^20) = $1989.48 / MB

Of course you get a processor, sram, eeprom, adc, timer, etc as well, so its not an accurate cost figure. 

  • Sign in to reply
  • Cancel

Top Replies

  • scottiebabe
    scottiebabe over 3 years ago +3
    The pickit1 came with a treasure trove of application notes, sample programs, and tip's and tricks for working with low pin count MCUs. One of the tricks is LED multiplexing across gpio pins. For example…
  • beacon_dave
    beacon_dave over 3 years ago in reply to scottiebabe +1
    Also commonly referred to as 'Charlieplexing' or 'tristate multiplexing'.
  • scottiebabe
    scottiebabe over 3 years ago in reply to beacon_dave +1
    Thanks for the technical term , I'm not sure if I have every used the technique for LEDs myself. Of course it didn't work the first time because the TRISA register is in Bank1... bank switching good…
Parents
  • scottiebabe
    scottiebabe over 3 years ago

    The pickit1 came with a treasure trove of application notes, sample programs, and tip's and tricks for working with low pin count MCUs. One of the tricks is LED multiplexing across gpio pins. For example on the pickit1 to light up only LED D0 one would:

    image

    As recommended in the starter guide:

    image

    Blinky 2.0:

    You don't have permission to edit metadata of this video.
    Edit media
    x
    image
    Upload Preview
    image

    Of course you can use any of the newer pic icsp tools, but that wouldn't have the same nostalgia factor for a simple 7-segment display project.

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • Cancel
  • beacon_dave
    beacon_dave over 3 years ago in reply to scottiebabe

    Also commonly referred to as 'Charlieplexing' or 'tristate multiplexing'. 

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • scottiebabe
    scottiebabe over 3 years ago in reply to beacon_dave

    Thanks for the technical term Smiley, I'm not sure if I have every used the technique for LEDs myself. 

    Of course it didn't work the first time because the TRISA register is in Bank1... bank switching good memories LOL

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • scottiebabe
    scottiebabe over 3 years ago in reply to beacon_dave

    Thanks for the technical term Smiley, I'm not sure if I have every used the technique for LEDs myself. 

    Of course it didn't work the first time because the TRISA register is in Bank1... bank switching good memories LOL

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
Children
No Data
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube