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
Project14
  • Challenges & Projects
  • More
Project14
Documents Project14 | Winners Announcement: Data Conversion: A-D or D-A Data Conversion Techniques!
  • Blog
  • Forum
  • Documents
  • Theme Suggestions
  • Polls
  • Members
  • More
  • Cancel
  • New
Join Project14 to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Engagement
  • Author Author: tariq.ahmad
  • Date Created: 22 Mar 2021 4:49 PM Date Created
  • Last Updated Last Updated: 25 Mar 2021 11:46 PM
  • Views 2571 views
  • Likes 14 likes
  • Comments 16 comments
Related
Recommended

Project14 | Winners Announcement: Data Conversion: A-D or D-A Data Conversion Techniques!

image

Data Conversion

Enter Your Electronics & Design Project for a chance to win a $200 shopping cart!

Submit an EntrySubmit an Entry  Back to homepage image
Project14 Home
Monthly Themes
Monthly Theme Poll

 

Congratulations to dougw  for  Force Sensitive Resistors and a USB ADC!  You are the winner of a $200 Shopping Cart and earn the Grand Prize Trophy Badge!

 

Congratulations to baldengineer  for Final Countdown - ADC from scratch demo video,  milosrasic98  for Drone Motor Thrust Tester  and dubbie  for Micro Servo Tester #3 : Now With Pulse Generator! (Video now working)!  You are the First Place winners of the $100 Shopping Cart and earn First Place Trophies!

 

The Data Conversion competition featured a number of great projects that explored A-D and D-A techniques.  The grand prize winner of the competition was from dougw explored implementing an analog to digital converter without involving a microcontroller development system.  It incorporated custom PCBs and used force sensitive resistors as sensors.  The other winning projects were equally noteworthy.   baldengineer built a SAR ADC to be used as an educational tool to explores Digital to Analog conversion (DAC).  He live streamed the entire process (except for the final bits of code and a few bits of soldering) on his twitch account.   milosrasic98 got a jump start on his project for our upcoming Attack of the Drones competition, with a winning entry in the Data Conversion competition. He's wanted to build a custom designed drone for a few years now, and while planning out the drone, his wishlist of the things to bring onboard grew to include a Raspberry Pi, Raspberry HQ Camera, and MKR LoRaWAN 1300.   No doubt, inspired by our upcoming  Arduino Day Workshop: NanoDrone II: AI and Computer Vision with LoRa (Win a PSoC6 and a Pair of MKR 1300 Boards!).  Finally,  dubbie rounds out the winning entries  by making his own micro servo motor tester.

 

Also receiving first place votes was a heart rate monitoring wrist band by tvaibhav ,  a 4-20mA current loop based water level indicator for all sized water tanks by  navadeepganeshu ,   Jan Cumps who focused on is keeping an analog signal digital as long as possible to avoid efficiency losses (and heat generation) of analog amplifiers,  and ntewinkel who upcycled an old battery tester by digitizing it and making something useful rather than throwing it out.

 

Without further Ado here are your winners.......

 

{tabbedtable} Tab LabelTab Content

The Winners

The Grand Prize

 

image

 

Force Sensitive Resistors and a USB ADC  by dougw :

 

This project is an exploration of implementing an analog to digital converter without involving a microcontroller development system. The project uses an MCP3208 (SPI 8 channel ADC) connected to an FT2232 (USB to SPI interface) to allow all the programming to be performed on the host PC.  The project will incorporate at least 3 custom PCBs (1 for the ADC and several for sensors).  The sensors used are force sensitive resistors (FSR).  Before getting into the ADC interface, dougw explores force sensitive resistors and their interface requirements. The circuit provides a nice linear output that operates from a single supply and goes from zero volts at zero force all the way to the high rail at full force.

It even provides some low pass filtering.  The FT2232 translates USB to SPI, which connects to the MCP3208 A/D converter. The A/D is an 8 channel 12 bit SAR. I am running 4 sensor channels through low-pass filters to four of the A/D inputs and the same 4 sensor channels to 4 different A/D inputs, except with no filtering.

 

Force Sensitive Resistors and a USB ADC
imageimage
imageimage

"Liked the use of specific IC’s instead of a complete microprocessor" - Community Member Judge

 

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

 

"I learnt so much reading through Doug's blog on these sensors and his bespoke PCB design stole the show for me." - Community Member Judge

 

"Great project well documented and presented." - Community Member Judge

"In this project we can find a little bit of everything: sensors, conditioning circuits, printed circuit construction, soldering and packaging ... all that is needed is that he created the website to sell it! Truly a very interesting realization and, also beautiful to see. Congratulations indeed." - Community Member Judge

"Doug did a ton of really great work, using some interesting sensors, backed up with some very informative videos to earn my top mark." - Community Member Judge

 

First Place Winners:

 

image

 

Visual ADC  by baldengineer:

  • Visual ADC - How an ADC converts a voltage into a digital value, Introduction | Part 1

  • Blinken' and Clicken' the DAC for vADC | Part 2

  • Sample and Hold - vADC | Part 3

  • Rough vADC demo, ADCing

  • Binary Search - The SAR ADC's best kept secret

  • Final Countdown - ADC from scratch demo video

 

Any physical quantity in our world has to be converted to a voltage to be measured in electronics. Even if you have a sensor that outputs a digital bus like SPI or I2C, inside of that sensor is an ADC. There are many types, with Flash, SAR, and Sigma-Delta being very common. Like all things in engineering, there are advantages (and disadvantages) to each analog-to-digital converter type.  If you've ever used an analogRead() on an Arduino, then you have used a SAR ADC! The other very cool thing about SARs is they have a digital-to-analog (DAC) inside of them. One of the key reasons baldengineer  wanted to build a SAR ADC at its heart is a digital-to-analog converter (DAC). So it is a two-for-one project.  A SAR ADC generates voltages through a DAC and then compares that analog voltage to the input voltage. This search takes some amount of time. If the input voltage changes while the search happens, then the search would fall apart. A "sample and hold" amplifier (S/H) holds a copy of the input voltage while the binary search happens. An S/H is a special op-amp circuit that charges up a capacitor and maintains the voltage until it samples again. A SAR ADC generates voltages through a DAC and then compares that analog voltage to the input voltage. This search takes some amount of time. If the input voltage changes while the search happens, then the search would fall apart. A "sample and hold" amplifier (S/H) holds a copy of the input voltage while the binary search happens. An S/H is a special op-amp circuit that charges up a capacitor and maintains the voltage until it samples again.  For the final version of the project, he put all of the analog electronics onto perma-protoboards.

 

You can watch the entire stream of this project (except for the final bits of code and a few bits of soldering) here:  https://www.twitch.tv/baldengineer

 

 

Visual ADC
imageimage
imageimage

 

"Off the chart excellent demonstration" - Community Member Judge

"James provided a great tutorial covering both ADC and DAC technologies, I love the visual and audio aspects of this project. Well done!" - Community Member Judge

 

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

 

"Great project well documented."  - Community Member Judge

"Perhaps it is the most complete work of all. Lots of information and a interesting and well done video. If I can find one fault, it is too perfect a job!" - Community Member Judge

 

image

Drone Motor Thrust Tester  by milosrasic98:

 

For his Data Conversion project, milosrasic98 initial idea was to create a simple pocket signal generator since he does not have one.  He started looking at the Data Conversion page and saw a lot of project ideas based on data acquisition and charting and later on, the upcoming Attack of the Drones competition was announced.  And that's how he got to this project. He's wanted to build a custom designed drone for a few years now, with most of the parts just scattered in different bins. As he started planning out the drone, he grew his wish list for the things onboard, Raspberry, Raspberry HQ Camera, why not make a gimbal for the camera, retractable legs and he's sure the list will go on and on...  His main goal is designing a drone platform where je can fly it like a normal drone, but also be able to work on control algorithms, data acquisition and so on.

 

 

Drone Motor Thrust Tester
imageimage
imageimage

"Interesting application of a load cell" - Community Member Judge

 

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

 

"This was a very professionally constructed project with great detail to the circuit, the GUI layout and the blog write up/video posts. It would be a very worthy win in my opinion." - Community Member Judge

"Good project well documented." - Community Member Judge

"Milos put together a great project, combining mechanical, electrical and software to perform a real world task.  The attention to detail made this a great project." - Community Member Judge

 

image

Micro Server Motor Tester by dubbie :

  • Micro Servo motor Tester #1 : The Initial Prototype

  • Micro Servo Tester #2 : Now With OLED Display and Button

  • Micro Servo Tester #3 : Now With Pulse Generator! (Video now working)

 

For the Data Conversion Project14 challenge dubbie  decided that he wanted to use a multi-turn potentiometer so he started to make a micro servo motor tester. He wanted a servo motor tester for some time but didn't want to spend any money, plus he could always knock together a Nano project that did the job. So combining a multi-turn pot with a Nano to make a proper piece of test equipment seemed a good idea. He also wanted to try and make a good looking 3D printed casing to go with this.  The display is Adafruit compatible so he just used their libraries. He has not used button inputs on his projects for a very long time so it was a challenge to get that working. Identifying how the debounce would work and then how to use it to select the mode. At present there are only have two modes: Servo Tester and Pulse Generator, but it would be easy to add further modes, perhaps such as a DVM. He wrote the code to produce pulses to implement the pulse generator mode of the Micro Servo Tester.

 

Micro Server Motor Tester
imageimage
imageimage

"This was a well explained blog with a great little OLED display. There were a few technical issues and I liked the way Dubbie described how he might overcome those in later builds." - Community Member Judge

 

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

 

" Dubbie started with a simple concept then kept adding bl;ls and whistles until the project really shined, Well done! " - Community Member Judge

The Runners Up

Runners Up:

 

The following members received votes from the judges and would make worthy winners.

 

 

HEART RATE MONITORING WRIST BAND  by tvaibhav:

 

Heart rate, body temperature and blood pressure monitoring are very important parameters of human body. Doctors use various kind of medical apparatus like thermometer for checking fever or body temperature, BP monitor for blood pressure measurement and heart rate monitor for heart rate measurement. In this project, tvaibhav built a heart rate monitoring wrist band which counts the number of heartbeats in a minute. It uses a heartbeat sensor module which senses the heartbeat upon putting a finger on the sensor. This band converts the analog data(the heart beat) into the digital data by the max30102 module and the result is shown on the OLED display.

 

Heart Rate Monitoring Wrist Band
imageimage
imageimage

"A simple project that could be an inspiration to intrigue and interest students with applications for telemedicine, simple to understand and to implement practically, I will certainly do it with my students" - Community Member Judge

 

This video is unavailable.
You don't have permission to edit metadata of this video.

 

 

AquaLoop: 4-20mA current loop based water level indicator  by  navadeepganeshu :

 

This is project AquaLoop, design of 4-20mA current loop based water level indicator for all sized water tanks. The main target is to make the system robust, low noise, less lossy over a distance for signal transmission. He uses a BC547 based water level indicator circuit, OPA211 Op-Amp for signal conditioning,  UA741 Op-Amp with BC557 as a current transmitter, LM393 comparators for driving the bar LEDs and an R2R ladder network for signal conditioning. No microcontroller, No coding, All analog and data conversion.

 

AquaLoop: 4-30mA current loop based water level indicator
imageimage
imageimage

  "Loved the Water Level Indicator made from transistors. Practical, real world application." - Community Member Judge

 

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

 

"Great real world project well documented." - Community Member Judge

 

DAC: Class-D signals  by Jan Cumps:

 

This project focuses on is keeping an analog signal digital as long as possible - including the power amplifier - and by doing that, avoid all that efficiency losses (and heat generation) of analog amplifiers.  When you think about a DAC, you often imagine a mechanism that generates an output level based on a numeric value. E.g.: 0x00 is 0 V, 0XFF = 5 V, any value in between is a proportional part of 5 V.  Another popular DAC mechanism is duty cycle modulation. You 'll know it from Arduino analog out pins. In that case, the device outputs a square wave with fixed frequency. The % of the square wave that's high, defines the output voltage. E.g.: 0x00 is a duty cycle of 0% - the signal always stays low and is 0V. 0XFF is 100% duty cycle. The signal is always high at 5 V. Any value in between makes the signal partly high, partly low. The output voltage is again the proportional part of 5 V.  A 3rd option is PWM: In this case, the pulse width is modulated. It is again a square wave (pulse wave is a more appropriate name). The difference with duty cycle modulation is that frequency isn't constant. Together with the duty cycle, like the second option above, frequency can be modulated (stretched).  Options 2 and 3 use the time domain to translate digital to analog. While option 1 uses the voltage domain directly. In the time domain modulated signals; it's not the level of the signal that determines the output. It's the amount of time that the signal stays high that determines it.  For this project, Jan Cumps implements a Texas Instrument application note.

His activity was to port it to a generally available LaunchPad. The note is written for an upscale evaluation board with a higher end controller.

 

DAC: Class-D signals
imageimage
imageimage

"A project that can be useful for knowing and using class D amplifiers. It is very well described and makes it easy to understand how to make an analog signal starting from a digital one. Nice work!" - Community Member Judge

 

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

 

 

The Unnecessarily Complex Battery Tester by  ntewinkel:

 

This is the story of the sage of my vintage battery tester update into the digital world. You take a good old fashioned, mostly unreliable and hard-to-use tester, and turn it into an equally difficult to use and equally unreliable micro controller powered tester!

 

So, in a nutshell, the finished project takes:

1) an analog value (battery voltage)

2) converts it into digital (Arduino analogRead)

3) thinks about it a bit and categorizes it into one of 5 output categories, and then

4) using PWM (Arduino analogWrite) outputs an analog value to the gauge, but...

5) Rather than using the full infinite range of the gauge in good ole analog fashion, it steps to 1 of 5 areas... kind of a digital thing to do.

 

ntewinkel  recently found an old household battery tester while cleaning up, and it was terribly unreliable to use - the gauge doesn't always work, the contacts are sketchy at best. He was about to recycle it, but then he thought the gauge on it might be fun for a project so he tucked it away in a drawer. When this Data Conversion challenge popped up, he immediately had an idea - maybe he could digitize the thing to make it more useful for his purpose: identify what a battery can be used for.  He found that some tech items need nearly full batteries to operate well, and even wall clocks can be fussy. The one thing that's not fussy is the cheap little LED string lights - they can light up with nearly dead batteries, though not as bright.

 

The Unnecessarily Complex Battery Tester
imageimage
imageimage

"This was really great, the ADC to produce several levels and to then drive the analog meter according. It definitely lived up to the name but in a good way :-)" - Community Member Judge

 

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



In the comments below:

 

Be sure to Congratulate the Winners and Keep Being Awesome!

  • past_contest
  • Share
  • History
  • More
  • Cancel
  • Sign in to reply

Top Comments

  • tariq.ahmad
    tariq.ahmad over 4 years ago in reply to genebren +10
    To reiterate what genebren said a lot of the projects listed here could have easily been bumped to winner. It was a joy to see all the interest in Data Conversion projects and hear members talk about all…
  • baldengineer
    baldengineer over 4 years ago +9
    Thank you all! And congrats to the other winners. This project was super fun. Getting to understand the electronic circuits we take for granted is always a thrill for me.
  • 14rhb
    14rhb over 4 years ago +8
    Congratulations to the winners on their great uses of DAC/ADC and explainations/blogs. I read through all the projects and watched all the video content as a judge and found it a very enjoyable afternoon…
  • baldengineer
    baldengineer over 4 years ago

    Thank you all! And congrats to the other winners.

     

    This project was super fun. Getting to understand the electronic circuits we take for granted is always a thrill for me.

    • Cancel
    • Vote Up +9 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • ralphjy
    ralphjy over 4 years ago

    Congratulations to the winners and all the participants!  Great projects.

    • Cancel
    • Vote Up +8 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • kmikemoo
    kmikemoo over 4 years ago

    Congratulations to the winners.  This was an awesome group of projects.

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

    There were some great projects in this competition and well done to Doug and the other winners. I was surprised (and pleased of course) to be a winner as there were so many other great projects which seemed a bit more ADC/DAC than mine. Still, I'm happy to be a winner and I do plan (hope?) to finish this servo tester because I just want one. So now, onto the next project14 competition.

     

    Dubbie

    • Cancel
    • Vote Up +7 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • milosrasic98
    milosrasic98 over 4 years ago

    Thanks for selecting me as one of the winners! Congratulations to all of the winners and everyone who participated, all of the projects entered were really amazing. Another great Project14!

     

    Milos

    • Cancel
    • Vote Up +8 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • kk99
    kk99 over 4 years ago

    Congratulations to all.

    • Cancel
    • Vote Up +6 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • navadeepganeshu
    navadeepganeshu over 4 years ago

    Congrats to the winners. Amazing!!!

    • Cancel
    • Vote Up +7 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • fmilburn
    fmilburn over 4 years ago

    Great projects!

    • Cancel
    • Vote Up +8 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • dougw
    dougw over 4 years ago

    Thanks everyone. And congratulations to other participants and winners - lots of quality work and ideas went into this Project14.

    • Cancel
    • Vote Up +8 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • ntewinkel
    ntewinkel over 4 years ago

    Congratulations all!

    I'm blown away by the incredible projects image

    • Cancel
    • Vote Up +8 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