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
Data Conversion
  • Challenges & Projects
  • Project14
  • Data Conversion
  • More
  • Cancel
Data Conversion
Blog Final Countdown - ADC from scratch demo video
  • Blog
  • Forum
  • Documents
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Data Conversion to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: baldengineer
  • Date Created: 15 Mar 2021 9:20 PM Date Created
  • Views 1461 views
  • Likes 13 likes
  • Comments 4 comments
  • baldengineer
  • dataconverch
  • vadc
Related
Recommended

Final Countdown - ADC from scratch demo video

baldengineer
baldengineer
15 Mar 2021

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

 

In this video, I demonstrate how the visualized ADC (vADC) works. For the final version of the project, I put all of the analog electronics onto perma-protoboards. I really like working with these because they make converting from breadboard to perma-board straightforward.

 

A couple of highlights from the video:

  • A brief overview of the components involved: Sample and Hold Amplifier, Comparator, Register (Arduino Nano Every 33), and the DAC!
  • Demonstrate digitizing a 1.00 volt signal and a 4.00 volt signal.
  • Step-through 4.00 volt digitizing process

 

I found the last step the most important part of the project. Watching the boards flash and hearing the relay clicks is fun! However, it happens so quickly it might be tough to see/understand what is happening. By stepping through and watching each bit get tested, I think you can better visualize how this particular ADC works.

 

The irony to me is still that the primary piece of this ADC is the internal DAC, which is the focus of this project.

 

Thank You

Except for the final bits of code and a few bits of soldering, I streamed working on this entire project. In total, it took about 12 streams that ran between 2 and 4 hours each. But, like a new streamer, I forgot to highlight most of the work. (I do have local recordings, however.)

 

So while I might say "I" several times, the truth is, this has been a bit of a team effort. Stream viewers were critical in helping me realize the code for the binary search. What ended up being only a few lines of code literally took hours to work through. And, to the credit of my chatters, they had all kinds of ways to optimize the final code. However, I decided to hold back on optimizing too much because I wanted the steps to be clear.

 

So, to everyone who offered help on the project, I sincerely appreciated it.

 

Looking forward, I have enough PCBs and parts to expand vADC to be an 8-bit ADC. Fortunately, most of the code and all of the hardware supports expanding to more bits. I just need to convert some of my free time into this conversion project.

  • Sign in to reply

Top Comments

  • baldengineer
    baldengineer over 4 years ago in reply to dubbie +2
    Initially I thought about doing it the register with TTL. Then I decided it would probably be less instructive than being able to look at some code. That said, I would like to do it some day for fun. Next…
  • Workshopshed
    Workshopshed over 4 years ago +1
    A great explanation and demonstration of the ADC and DAC
  • dubbie
    dubbie over 4 years ago in reply to baldengineer

    James,

     

    I never understood sigma-delta either. I'd stopped lecturing that subject by the time it became prevalent and moved on to PICs. The initial days of the PIC were great. The simulator was customisable, all text based, and you could select which registers you wanted to 'watch'.

     

    Dubbie

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • baldengineer
    baldengineer over 4 years ago in reply to dubbie

    Initially I thought about doing it the register with TTL. Then I decided it would probably be less instructive than being able to look at some code. That said, I would like to do it some day for fun.

     

    Next on my list: sigma-delta. (Or is it delta-sigma? I can't remember. I'm pretty sure they're made up anyway.)

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • dubbie
    dubbie over 4 years ago

    A neat implementation and a good demonstrator. I once made a SAR DAC myself out of TTL chips way back in the early 1980s as my first post graduate electronics project. It worked but it wasn't particularly linear. I learnt alot about ADCs doing this which helped me later in my future lecturing career.

     

    Dubbie

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Workshopshed
    Workshopshed over 4 years ago

    A great explanation and demonstration of the ADC and DAC

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
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