{"id":37199,"date":"2020-10-20T08:07:35","date_gmt":"2020-10-20T00:07:35","guid":{"rendered":"\/blog\/?p=37199"},"modified":"2020-10-20T08:07:37","modified_gmt":"2020-10-20T00:07:37","slug":"analog-to-digital-converter-adc-reading-raspberry-pi-analog","status":"publish","type":"post","link":"https:\/\/www.seeedstudio.com\/blog\/2020\/10\/20\/analog-to-digital-converter-adc-reading-raspberry-pi-analog\/","title":{"rendered":"Analog-to Digital Converter (ADC): Reading Raspberry Pi Analog"},"content":{"rendered":"\n<p>Raspberry Pi is a tiny computer that is capable of accomplishing many great projects, thus it&#8217;s still the favourite amongst many tinkers and tech enthusiasts. However, even this wonder machine isn&#8217;t perfect. Unlike other minicontrollers or MCUs nowadays, Raspberry Pi does not have a built-in Analog-to-Digital Converter (ADC) Circuit. <\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img fetchpriority=\"high\" decoding=\"async\" src=\"https:\/\/blog.seeedstudio.com\/wp-content\/uploads\/2020\/10\/Analog-to-Digital-Converter-ADC_-Reading-Raspberry-Pi-Analog-1030x579.png\" alt=\"Analog-to Digital Converter (ADC)_ Reading Raspberry Pi Analog\" class=\"wp-image-37217\" width=\"541\" height=\"304\" srcset=\"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/10\/Analog-to-Digital-Converter-ADC_-Reading-Raspberry-Pi-Analog-1030x579.png 1030w, https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/10\/Analog-to-Digital-Converter-ADC_-Reading-Raspberry-Pi-Analog-300x169.png 300w, https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/10\/Analog-to-Digital-Converter-ADC_-Reading-Raspberry-Pi-Analog-768x432.png 768w, https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/10\/Analog-to-Digital-Converter-ADC_-Reading-Raspberry-Pi-Analog-1536x864.png 1536w, https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/10\/Analog-to-Digital-Converter-ADC_-Reading-Raspberry-Pi-Analog-2048x1152.png 2048w, https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/10\/Analog-to-Digital-Converter-ADC_-Reading-Raspberry-Pi-Analog-1024x576.png 1024w\" sizes=\"(max-width: 541px) 100vw, 541px\" \/><\/figure><\/div>\n\n\n\n<p>Therefore, in this article, we will be talking about Analog-to-Digital Converters (ADC) and hopefully, this would aid you in your projects!<\/p>\n\n\n\n<p>What will be covered:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Overview of Raspberry Pi Analog-to-Digital Converters (ADC)<\/li><li> Recommendations for Raspberry Pi ADC <\/li><li> Setting up Raspberry Pi ADC<\/li><li> Projects with Raspberry ADC<\/li><\/ul>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Overview of Raspberry Pi Analog-to-Digital Converters (ADC)<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">What are ADCs?<\/h3>\n\n\n\n<p><em>ADCs work to convert analog (continuous, infinitely variable) signals to digital (discrete-time, discrete-amplitude) signals.<\/em><\/p>\n\n\n\n<p>ADCs are an abbreviation for Analog-to-Digital Converters, they basically convert an analog input into a digital input.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img decoding=\"async\" src=\"https:\/\/www.rs-online.com\/designspark\/rel-assets\/dsauto\/temp\/uploaded\/header1.png?w=1042\" alt=\"\" width=\"519\" height=\"174\"\/><figcaption>Ref: <a href=\"https:\/\/www.rs-online.com\/designspark\/rel-assets\/dsauto\/temp\/uploaded\/header1.png?w=1042\">DesignSpark<\/a><\/figcaption><\/figure><\/div>\n\n\n\n<p>If you&#8217;re interested to find out more about Analog and Digital signals, click <a href=\"https:\/\/www.seeedstudio.com\/blog\/2020\/06\/16\/why-do-you-need-an-analog-to-digital-converter-adc-m\/\">here<\/a>!<\/p>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">How do ADCs work?<\/h3>\n\n\n\n<p>To understand the concept behind ADCs, need to first know that ADCs follow a sequence when converting analog signals to digital. <\/p>\n\n\n\n<p>There are 2 features to note about ADCs:<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Sampling Rate (Frequency)<\/h4>\n\n\n\n<ul class=\"wp-block-list\"><li>Tied to the ADC\u2019s speed.<\/li><li>Depends on the type of converter and the needed accuracy<\/li><li>Measured by samples per second.<\/li><\/ul>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img decoding=\"async\" src=\"https:\/\/static4.arrow.com\/-\/media\/arrow\/images\/miscellaneous\/0\/0418_aliasing_example.jpg?h=307&amp;w=590&amp;la=en&amp;hash=C789B35B99E475FCD9CD32BF3D79A497AF0D2748\" alt=\"\" width=\"459\" height=\"238\"\/><figcaption>Ref: <a href=\"https:\/\/static4.arrow.com\/-\/media\/arrow\/images\/miscellaneous\/0\/0418_aliasing_example.jpg?h=307&amp;w=590&amp;la=en&amp;hash=C789B35B99E475FCD9CD32BF3D79A497AF0D2748\">Arrow<\/a><\/figcaption><\/figure><\/div>\n\n\n\n<p>The equation for sampling rate is:<\/p>\n\n\n\n<p><em>f<sub>s<\/sub>&nbsp;= 1\/T<\/em> <\/p>\n\n\n\n<p>Where,<\/p>\n\n\n\n<p>f<sub>s<\/sub>&nbsp;= Sample Rate\/Frequency<\/p>\n\n\n\n<p>T = Period of the sample or the time it takes before sampling again.<\/p>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h4 class=\"wp-block-heading\">Resolution<\/h4>\n\n\n\n<ul class=\"wp-block-list\"><li>Determined by its bit length.<\/li><li>The resolution depends on both the bit length and the reference voltage.<\/li><\/ul>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/static4.arrow.com\/-\/media\/arrow\/images\/miscellaneous\/0\/0418_resolution_example.jpg?h=279&amp;w=466&amp;la=en&amp;hash=ED63A8162674BEAE8CF586D3534562F665AF2786\" alt=\"\" width=\"387\" height=\"232\"\/><figcaption>Ref: <a href=\"https:\/\/static4.arrow.com\/-\/media\/arrow\/images\/miscellaneous\/0\/0418_resolution_example.jpg?h=279&amp;w=466&amp;la=en&amp;hash=ED63A8162674BEAE8CF586D3534562F665AF2786\">Arrow<\/a><\/figcaption><\/figure><\/div>\n\n\n\n<p>The equation for total resolution is:<\/p>\n\n\n\n<p><em>Step Size = V<sub>Ref<\/sub>\/N<\/em> <\/p>\n\n\n\n<p>Where, <\/p>\n\n\n\n<p>Step Size = The resolution of each level in terms of voltage<\/p>\n\n\n\n<p>V<sub>Ref<\/sub>&nbsp;= The voltage reference (range of voltages)<\/p>\n\n\n\n<p> N = Total level size of ADC.<\/p>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">Why are ADCs necessary?<\/h3>\n\n\n\n<p>As mentioned at the start, Raspberry Pi is not capable of reading analog inputs. Thus, ADCs come in handy to convert analog inputs to outputs, which would help the Pi to be analog-friendly.<\/p>\n\n\n\n<p>Interested to get a Raspberry Pi ADC now? Read on as we show you some options that Seeed offers!<\/p>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Recommendations for Raspberry Pi ADC<\/h2>\n\n\n\n<p>After going through some background of ACD, we will now show you the ADCs that&#8217;s compatible with Raspberry Pi! Today, we&#8217;ll recommend 2 products. Hope that you&#8217;ll be able to find one that suits your project!<\/p>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\"><a href=\"https:\/\/www.seeedstudio.com\/8-Channel-12-Bit-ADC-for-Raspberry-Pi-STM32F030.html\">8-Channel 12-Bit ADC for Raspberry Pi (STM32F030) ($9.90)<\/a><\/h3>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/static-cdn.seeedstudio.com\/media\/catalog\/product\/cache\/9d0ce51a71ce6a79dfa2a98d65a0f0bd\/f\/r\/front_1_1.jpg\" alt=\"\" width=\"440\" height=\"330\"\/><\/figure><\/div>\n\n\n\n<p>This product is an 8-channel ADC based on STM32F030, this is perfect for consumer goods and temperature measurement. It is a cost-effective, low-power ARM Cortex M0 MCU as well!<\/p>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>Features:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Support Raspberry Pi 3B\/3B+\/4<\/li><li>CRC calculation unit<\/li><li>5-channel direct memory access(DMA) controller<\/li><li>Serial wire debug (SWD)<\/li><li>Calendar RTC with alarm and periodic wakeup from Stop\/Standby<\/li><li>Real-time clock (RTC)<\/li><li>Timers: <ul><li> Advanced-control timer<\/li><li>General-purpose timers &amp; Basic timers<\/li><li>Independent and system watchdog timers<\/li><li>SysTick timer <\/li><\/ul><\/li><\/ul>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/files.seeedstudio.com\/wiki\/8-Channel_12-Bit_ADC_for_Raspberry_Pi-STM32F030\/img\/280-pin.jpg\" alt=\"\" width=\"473\" height=\"251\"\/><figcaption>Overview<\/figcaption><\/figure><\/div>\n\n\n\n<p>Later we will be using this ADC to demonstrate how to set up with Raspberry Pi as well!<\/p>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\"><a href=\"https:\/\/www.seeedstudio.com\/4-Channel-16-Bit-ADC-for-Raspberry-Pi-ADS1115.html\">4-Channel 16-Bit ADC for Raspberry Pi (ADS1115) ($10.95)<\/a><\/h3>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/static-cdn.seeedstudio.com\/media\/catalog\/product\/cache\/9d0ce51a71ce6a79dfa2a98d65a0f0bd\/f\/r\/front_3.jpg\" alt=\"\" width=\"424\" height=\"318\"\/><\/figure><\/div>\n\n\n\n<p>This product is a 4-channel ADC based on Texas Instrument&#8217;s ADS1115, this is perfect for portable instrumentation and battery monitoring etc. It is a compact Raspberry Pi Zero form factor with integrated analog Grove connectors as well!<\/p>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>Features:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Support Raspberry Pi 3B\/3B+\/4<\/li><li>Wide supply voltage range<\/li><li>I<sup>2<\/sup>C-compatible serial interface<\/li><li>Input multiplexer (MUX) that provides two differential or four single-ended inputs.<\/li><li>Programmable data rate: 8SPS to 860SPS<\/li><li>Programmable comparator <\/li><li>Internal PGA<\/li><li>Internal low-drift voltage reference <\/li><li>Internal oscillator<\/li><li>LOW current consumption:<ul><li>Continuous Mode: Only 150\u03bcA<\/li><li>Single-Shot Mode: Auto Shut-Down <\/li><\/ul><\/li><\/ul>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/files.seeedstudio.com\/wiki\/4-Channel_16-Bit_ADC_for_Raspberry_Pi-ADS1115\/img\/pinout.png\" alt=\"\" width=\"529\" height=\"320\"\/><figcaption>Overview<\/figcaption><\/figure><\/div>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Setting up Raspberry Pi ADC<\/h2>\n\n\n\n<p>Bought a Raspberry Pi ADC but don&#8217;t know how to use it? Don&#8217;t fret! We will be showing you how to set up your Raspberry Pi ADC!<\/p>\n\n\n\n<p>What you&#8217;ll need:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><a href=\"https:\/\/www.seeedstudio.com\/Raspberry-Pi-3-Model-B-p-2625.html\">Raspberry Pi<\/a> (3B\/3B+\/4)<\/li><li><a href=\"https:\/\/www.seeedstudio.com\/8-Channel-12-Bit-ADC-for-Raspberry-Pi-STM32F030.html\">Channel 12-Bit ADC for Raspberry Pi (STM32F030)<\/a><\/li><li>USB Cable<\/li><\/ul>\n\n\n\n<p>After you&#8217;ve gathered everything you need, you can follow the steps below:<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Hardware<\/h3>\n\n\n\n<p>Step 1: Insert the 8-Channel 12-Bit ADC for Raspberry Pi into Raspberry Pi<\/p>\n\n\n\n<p>Step 2: Connect the Raspberry Pi to PC through USB cable.<\/p>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">Software<\/h3>\n\n\n\n<p>Step 1: Download the source file by cloning the grove.py library.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>cd ~\ngit clone https:\/\/github.com\/Seeed-Studio\/grove.py<\/code><\/pre>\n\n\n\n<p>Step 2: Install the grove.py library<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>cd grove.py\n# Python2\nsudo pip install .\n# Python3\nsudo pip3 install .<\/code><\/pre>\n\n\n\n<p>Step 3: Execute the below commands to run the code. <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>cd grove.py\/grove\npython adc_8chan_12bit.py <\/code><\/pre>\n\n\n\n<p>The code below is the adc_8chan_12bit.py code.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>import time\nfrom grove.i2c import Bus\n \nADC_DEFAULT_IIC_ADDR = 0X04\n \nADC_CHAN_NUM = 8\n \nREG_RAW_DATA_START = 0X10\nREG_VOL_START = 0X20\nREG_RTO_START = 0X30\n \nREG_SET_ADDR = 0XC0\n \n \nclass Pi_hat_adc():\n    def __init__(self,bus_num=1,addr=ADC_DEFAULT_IIC_ADDR):\n        self.bus=Bus(bus_num)\n        self.addr=addr\n \n \n    #get all raw adc data,THe max value is 4095,cause it is 12 Bit ADC\n    def get_all_adc_raw_data(self):\n        array = []\n        for i in range(ADC_CHAN_NUM):  \n            data=self.bus.read_i2c_block_data(self.addr,REG_RAW_DATA_START+i,2)\n            val=data[1]&lt;&lt;8|data[0]\n            array.append(val)\n        return array\n \n    def get_nchan_adc_raw_data(self,n):\n        data=self.bus.read_i2c_block_data(self.addr,REG_RAW_DATA_START+n,2)\n        val =data[1]&lt;&lt;8|data[0]\n        return val\n    #get all data with unit mv.\n    def get_all_vol_milli_data(self):\n        array = []\n        for i in range(ADC_CHAN_NUM):  \n            data=self.bus.read_i2c_block_data(self.addr,REG_VOL_START+i,2)\n            val=data[1]&lt;&lt;8|data[0]\n            array.append(val)\n        return array\n \n    def get_nchan_vol_milli_data(self,n):\n        data=self.bus.read_i2c_block_data(self.addr,REG_VOL_START+n,2)\n        val =data[1]&lt;&lt;8|data[0]\n        return val\n \n    #get all data ratio,unit is 0.1%\n    def get_all_ratio_0_1_data(self):\n        array = []\n        for i in range(ADC_CHAN_NUM):  \n            data=self.bus.read_i2c_block_data(self.addr,REG_RTO_START+i,2)\n            val=data[1]&lt;&lt;8|data[0]\n            array.append(val)\n        return array\n \n    def get_nchan_ratio_0_1_data(self,n):\n        data=self.bus.read_i2c_block_data(self.addr,REG_RTO_START+n,2)\n        val =data[1]&lt;&lt;8|data[0]\n        return val\n \n \n \nADC = Pi_hat_adc()\ndef main():\n    raw_data=ADC.get_all_adc_raw_data()\n    vol_data=ADC.get_all_vol_milli_data()\n    ratio_data=ADC.get_all_ratio_0_1_data()\n    print(\"raw data for each channel:(1-8chan)(12 bit-max=4096):\")\n    print(raw_data)\n    print(\"voltage for each channel:(unit:mv,max=3300mv):\")\n    print(vol_data)\n    print (\"ratio for each channel(unit 0.1%,max=100.0%):\")\n    print(ratio_data)\n \n    print(\" \")\n    print(\"NOTICE!!!:\")\n    print(\"The default setting of ADC PIN is floating_input.\")\n    print(\" \")\n \nif __name__ == '__main__':\n    main()<\/code><\/pre>\n\n\n\n<p>Now, if there&#8217;s no error, it should look like this!<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>pi@raspberrypi:~\/grove.py\/grove $ python adc_8chan_12bit.py \nraw data for each channel:(1-8chan)(12 bit-max=4096):\n[2177, 2098, 2064, 2038, 2127, 2066, 2172, 2145]\nvoltage for each channel:(unit:mv,max=3300mv):\n[1599, 1741, 1668, 1658, 1644, 1787, 1694, 1677]\nratio for each channel(unit 0.1%,max=100.0%):\n[521, 544, 514, 504, 500, 559, 524, 505]\n \nNOTICE!!!:\nThe default setting of ADC PIN is floating_input.<\/code><\/pre>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>Still uncertain about using a Raspberry Pi ADC? Here&#8217;s an example to help you:<\/p>\n\n\n\n<p>What you&#8217;ll need (including the items stated just now):<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><a href=\"https:\/\/wiki.seeedstudio.com\/Grove-Sound_Sensor\/\">Grove &#8211; Sound Sensor<\/a> <\/li><\/ul>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">How to connect your hardware:<\/h3>\n\n\n\n<p>Step 1: Plug the 8-Channel 12-Bit ADC for Raspberry Pi into Raspberry Pi.<\/p>\n\n\n\n<p>Step 2: Connect the Grove &#8211; Sound Sensor to A0 port of the ADC module. <\/p>\n\n\n\n<p>Step 3: Connect the Raspberry Pi to PC through USB cable.<\/p>\n\n\n\n<p>It should look as such:<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/files.seeedstudio.com\/wiki\/8-Channel_12-Bit_ADC_for_Raspberry_Pi-STM32F030\/img\/connection2.jpg\" alt=\"\" width=\"461\" height=\"346\"\/><\/figure><\/div>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">Software<\/h3>\n\n\n\n<p>Tap the following command ++python grove_sound_sensor.py 0++ in the command line interface.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>pi@raspberrypi:~\/grove.py\/grove $ python grove_sound_sensor.py 0\nDetecting sound...\nSound value: 433\nSound value: 342\nSound value: 443\nSound value: 300\nSound value: 632\nSound value: 258\nSound value: 591\nSound value: 267\nSound value: 871\n^CTraceback (most recent call last):\n  File \"grove_sound_sensor.py\", line 67, in &lt;module>\n    main()\n  File \"grove_sound_sensor.py\", line 64, in main\n    time.sleep(.3)\nKeyboardInterrupt<\/code><\/pre>\n\n\n\n<p>You can Ctrl + C whenever you wish to quit this program as well. And that is how you set up your Raspberry Pi ADC! <\/p>\n\n\n\n<p>Here are some useful links that would provide more details:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li> <a href=\"https:\/\/files.seeedstudio.com\/wiki\/8-Channel_12-Bit_ADC_for_Raspberry_Pi-STM32F030\/res\/STM32.pdf\">Datasheet STM32F030<\/a> <\/li><li> <a href=\"https:\/\/files.seeedstudio.com\/wiki\/8-Channel_12-Bit_ADC_for_Raspberry_Pi-STM32F030\/res\/8-Channel%2012-Bit%20ADC%20for%20Raspberry%20Pi%20(STM32F030).zip\">8-Channel 12-Bit ADC for Raspberry Pi (STM32F030) Eagle Files<\/a> <\/li><li> <a href=\"https:\/\/github.com\/Seeed-Studio\/grove.py\">8-Channel 12-Bit ADC for Raspberry Pi (STM32F030) Software Library<\/a> <\/li><\/ul>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Projects with Raspberry Pi ADC<\/h2>\n\n\n\n<p>After learning how to set up your Raspberry Pi ADC, you&#8217;re now ready to explore the sea of projects out there! <\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a href=\"https:\/\/circuitdigest.com\/microcontroller-projects\/raspberry-pi-adc-tutorial\">Raspberry Pi ADC Tutorial<\/a><\/h3>\n\n\n\n<figure class=\"wp-block-embed-youtube aligncenter wp-block-embed is-type-video is-provider-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe title=\"Interfacing ADC0804 with Raspberry Pi\" width=\"640\" height=\"360\" src=\"https:\/\/www.youtube.com\/embed\/llgjkU4m7KA?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><figcaption>Ref: Circuit Digest<\/figcaption><\/figure>\n\n\n\n<p>This tutorial would be useful if you&#8217;re still a beginner in Raspberry Pi, it teaches you the basics of Raspberry Pi and the circuits!<\/p>\n\n\n\n<p>What you&#8217;ll need:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><a href=\"https:\/\/www.seeedstudio.com\/Raspberry-Pi-4-Computer-Model-B-2GB-V1-2-p-4299.html\">Raspberry Pi <\/a>(any model)<\/li><li><a href=\"https:\/\/www.seeedstudio.com\/8-Channel-12-Bit-ADC-for-Raspberry-Pi-STM32F030.html\">Channel 12-Bit ADC for Raspberry Pi (STM32F030)<\/a> (or any Raspberry Pi ADC)<\/li><li>Connecting pins<\/li><li>220\u2126 or 1K\u2126resistor (17 pieces)<\/li><li>10K pot<\/li><li>0.1\u00b5F capacitor (2 pieces)<\/li><li>Bread Board<\/li><\/ul>\n\n\n\n<p>Want to learn more about this project? Click<a href=\"https:\/\/circuitdigest.com\/microcontroller-projects\/raspberry-pi-adc-tutorial\"> here<\/a>!<\/p>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">Interfacing Flex Sensor with Raspberry Pi ADC<\/h3>\n\n\n\n<figure class=\"wp-block-embed-youtube aligncenter wp-block-embed is-type-video is-provider-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe title=\"Interfacing Flex Sensor with Raspberry Pi\" width=\"640\" height=\"360\" src=\"https:\/\/www.youtube.com\/embed\/epPcV6n-_bs?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><figcaption>Ref: Circuit Digest<\/figcaption><\/figure>\n\n\n\n<p>Interested to attach an analog sensor to your Raspberry Pi ADC with your Raspberry Pi? This project shows you how to do so! <\/p>\n\n\n\n<p>What you&#8217;ll need:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><a href=\"https:\/\/www.seeedstudio.com\/Raspberry-Pi-4-Computer-Model-B-2GB-V1-2-p-4299.html\">Raspberry Pi<\/a> (any model) <\/li><li><a href=\"https:\/\/www.seeedstudio.com\/8-Channel-12-Bit-ADC-for-Raspberry-Pi-STM32F030.html\">Channel 12-Bit ADC for Raspberry Pi (STM32F030)<\/a> (or any Raspberry Pi ADC) <\/li><li>16*2 LCD display<\/li><li>Flex Sensor<\/li><li>Resistors and capacitors<\/li><li>Breadboard or perf board.<\/li><\/ul>\n\n\n\n<p>Sounds intriguing?  Click <a href=\"https:\/\/circuitdigest.com\/microcontroller-projects\/raspberry-pi-flex-sensor\">here<\/a> to find out more!<\/p>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">How to Setup a Raspberry Pi Pressure Pad (FSR)<\/h3>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/pi.lbbcdn.com\/wp-content\/uploads\/2018\/09\/Raspberry-Pi-Pressure-Pad-v2.jpg\" alt=\"\" width=\"504\" height=\"377\"\/><figcaption>Ref: PiMyLifeUp<\/figcaption><\/figure><\/div>\n\n\n\n<p>Ever want to make your own pressure pad sensor? Look no further! This project shows you how to detect pressure!<\/p>\n\n\n\n<p>What you&#8217;ll need:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Pressure Pad<\/li><li><a href=\"https:\/\/www.seeedstudio.com\/Raspberry-Pi-4-Computer-Model-B-2GB-V1-2-p-4299.html\">Raspberry Pi<\/a> (any model)  <\/li><li><a href=\"https:\/\/www.seeedstudio.com\/8-Channel-12-Bit-ADC-for-Raspberry-Pi-STM32F030.html\">Channel 12-Bit ADC for Raspberry Pi (STM32F030)<\/a> (or any Raspberry Pi ADC)  <\/li><li>Breadboard<\/li><li>Resistor<\/li><li>Capacitor<\/li><\/ul>\n\n\n\n<p>Right up your alley? Click <a href=\"https:\/\/pimylifeup.com\/raspberry-pi-pressure-pad\/\">here <\/a>to learn more!<\/p>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Summary<\/h2>\n\n\n\n<p>And that&#8217;s all on Raspberry Pi ADC! Did you learn something new? We covered the basics of ADC, how to set up your Raspberry ADC as well as some fun projects for you to try out! Hope that we&#8217;re able to help you find a suitable ADC for your project! <\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Suggested Readings<\/h2>\n\n\n\n<p>Check out the related readings below for more fundamental knowledge!<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><a href=\"https:\/\/blog.seeedstudio.com\/blog\/2020\/09\/22\/what-happens-in-an-electric-circuit-voltage-vs-current\/\">What happens in an electric circuit: Voltage vs Current<\/a>: For voltage, current and everything on electricity.<\/li><li><a href=\"https:\/\/blog.seeedstudio.com\/blog\/2020\/09\/22\/resistors-pull-up-and-pull-down-resistors\/\">Resistors: Pull-up and pull-down resistors<\/a>: For resistance and what you need to know about resistors.<\/li><li><a href=\"https:\/\/blog.seeedstudio.com\/blog\/2020\/09\/25\/electronics-circuit-voltage-dividers\/\">Electronics Circuit: Voltage Dividers<\/a>: For circuits and calculations.<\/li><li><a href=\"https:\/\/blog.seeedstudio.com\/blog\/2020\/09\/30\/introduction-to-measuring-instrument-what-is-a-multimeter\/\">Introduction to Measuring Instrument: What is a Multimeter?<\/a>: For multimeter and recommendations on getting one for your projects.<\/li><\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Raspberry Pi is a tiny computer that is capable of accomplishing many great projects, thus<\/p>\n","protected":false},"author":3529,"featured_media":37217,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_lmt_disableupdate":"","_lmt_disable":"","_price":"","_stock":"","_tribe_ticket_header":"","_tribe_default_ticket_provider":"","_tribe_ticket_capacity":"0","_ticket_start_date":"","_ticket_end_date":"","_tribe_ticket_show_description":"","_tribe_ticket_show_not_going":false,"_tribe_ticket_use_global_stock":"","_tribe_ticket_global_stock_level":"","_global_stock_mode":"","_global_stock_cap":"","_tribe_rsvp_for_event":"","_tribe_ticket_going_count":"","_tribe_ticket_not_going_count":"","_tribe_tickets_list":"[]","_tribe_ticket_has_attendee_info_fields":false,"iawp_total_views":0,"footnotes":""},"categories":[1],"tags":[1146,142,247,2060],"class_list":["post-37199","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news","tag-adc","tag-open-hardware","tag-raspberry-pi","tag-single-board-computer"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.0 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Analog-to Digital Converter (ADC): Reading Raspberry Pi Analog - Latest News from Seeed Studio<\/title>\n<meta name=\"description\" content=\"Raspberry Pi is a tiny computer that is capable of accomplishing many great projects, thus it&#039;s still the favourite amongst many tinkers and tech enthusiasts. However, even this wonder machine isn&#039;t perfect. Unlike other minicontrollers or MCUs nowadays, Raspberry Pi does not have a built-in Analog-to-Digital Converter (ADC) Circuit.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.seeedstudio.com\/blog\/2020\/10\/20\/analog-to-digital-converter-adc-reading-raspberry-pi-analog\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Analog-to Digital Converter (ADC): Reading Raspberry Pi Analog - Latest News from Seeed Studio\" \/>\n<meta property=\"og:description\" content=\"Raspberry Pi is a tiny computer that is capable of accomplishing many great projects, thus it&#039;s still the favourite amongst many tinkers and tech enthusiasts. However, even this wonder machine isn&#039;t perfect. Unlike other minicontrollers or MCUs nowadays, Raspberry Pi does not have a built-in Analog-to-Digital Converter (ADC) Circuit.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.seeedstudio.com\/blog\/2020\/10\/20\/analog-to-digital-converter-adc-reading-raspberry-pi-analog\/\" \/>\n<meta property=\"og:site_name\" content=\"Latest News from Seeed Studio\" \/>\n<meta property=\"article:published_time\" content=\"2020-10-20T00:07:35+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-10-20T00:07:37+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/10\/Analog-to-Digital-Converter-ADC_-Reading-Raspberry-Pi-Analog.png\" \/>\n\t<meta property=\"og:image:width\" content=\"2240\" \/>\n\t<meta property=\"og:image:height\" content=\"1260\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Gigi\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Gigi\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"9 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/2020\/10\/20\/analog-to-digital-converter-adc-reading-raspberry-pi-analog\/\",\"url\":\"https:\/\/www.seeedstudio.com\/blog\/2020\/10\/20\/analog-to-digital-converter-adc-reading-raspberry-pi-analog\/\",\"name\":\"Analog-to Digital Converter (ADC): Reading Raspberry Pi Analog - Latest News from Seeed Studio\",\"isPartOf\":{\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/2020\/10\/20\/analog-to-digital-converter-adc-reading-raspberry-pi-analog\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/2020\/10\/20\/analog-to-digital-converter-adc-reading-raspberry-pi-analog\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/10\/Analog-to-Digital-Converter-ADC_-Reading-Raspberry-Pi-Analog.png\",\"datePublished\":\"2020-10-20T00:07:35+00:00\",\"dateModified\":\"2020-10-20T00:07:37+00:00\",\"author\":{\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/#\/schema\/person\/a119fa6b3d5491bcf728aaf578bfe9b3\"},\"description\":\"Raspberry Pi is a tiny computer that is capable of accomplishing many great projects, thus it's still the favourite amongst many tinkers and tech enthusiasts. However, even this wonder machine isn't perfect. Unlike other minicontrollers or MCUs nowadays, Raspberry Pi does not have a built-in Analog-to-Digital Converter (ADC) Circuit.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/2020\/10\/20\/analog-to-digital-converter-adc-reading-raspberry-pi-analog\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.seeedstudio.com\/blog\/2020\/10\/20\/analog-to-digital-converter-adc-reading-raspberry-pi-analog\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/2020\/10\/20\/analog-to-digital-converter-adc-reading-raspberry-pi-analog\/#primaryimage\",\"url\":\"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/10\/Analog-to-Digital-Converter-ADC_-Reading-Raspberry-Pi-Analog.png\",\"contentUrl\":\"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/10\/Analog-to-Digital-Converter-ADC_-Reading-Raspberry-Pi-Analog.png\",\"width\":2240,\"height\":1260,\"caption\":\"Analog-to Digital Converter (ADC)_ Reading Raspberry Pi Analog\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/2020\/10\/20\/analog-to-digital-converter-adc-reading-raspberry-pi-analog\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.seeedstudio.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Analog-to Digital Converter (ADC): Reading Raspberry Pi Analog\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/#website\",\"url\":\"https:\/\/www.seeedstudio.com\/blog\/\",\"name\":\"Latest News from Seeed Studio\",\"description\":\"Emerging IoT, AI and Autonomous Applications on the Edge\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.seeedstudio.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/#\/schema\/person\/a119fa6b3d5491bcf728aaf578bfe9b3\",\"name\":\"Gigi\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/06e3a74a585f84ca45100e72d0f814eb?s=96&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/06e3a74a585f84ca45100e72d0f814eb?s=96&r=g\",\"caption\":\"Gigi\"},\"url\":\"https:\/\/www.seeedstudio.com\/blog\/author\/gigi\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Analog-to Digital Converter (ADC): Reading Raspberry Pi Analog - Latest News from Seeed Studio","description":"Raspberry Pi is a tiny computer that is capable of accomplishing many great projects, thus it's still the favourite amongst many tinkers and tech enthusiasts. However, even this wonder machine isn't perfect. Unlike other minicontrollers or MCUs nowadays, Raspberry Pi does not have a built-in Analog-to-Digital Converter (ADC) Circuit.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.seeedstudio.com\/blog\/2020\/10\/20\/analog-to-digital-converter-adc-reading-raspberry-pi-analog\/","og_locale":"en_US","og_type":"article","og_title":"Analog-to Digital Converter (ADC): Reading Raspberry Pi Analog - Latest News from Seeed Studio","og_description":"Raspberry Pi is a tiny computer that is capable of accomplishing many great projects, thus it's still the favourite amongst many tinkers and tech enthusiasts. However, even this wonder machine isn't perfect. Unlike other minicontrollers or MCUs nowadays, Raspberry Pi does not have a built-in Analog-to-Digital Converter (ADC) Circuit.","og_url":"https:\/\/www.seeedstudio.com\/blog\/2020\/10\/20\/analog-to-digital-converter-adc-reading-raspberry-pi-analog\/","og_site_name":"Latest News from Seeed Studio","article_published_time":"2020-10-20T00:07:35+00:00","article_modified_time":"2020-10-20T00:07:37+00:00","og_image":[{"width":2240,"height":1260,"url":"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/10\/Analog-to-Digital-Converter-ADC_-Reading-Raspberry-Pi-Analog.png","type":"image\/png"}],"author":"Gigi","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Gigi","Est. reading time":"9 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.seeedstudio.com\/blog\/2020\/10\/20\/analog-to-digital-converter-adc-reading-raspberry-pi-analog\/","url":"https:\/\/www.seeedstudio.com\/blog\/2020\/10\/20\/analog-to-digital-converter-adc-reading-raspberry-pi-analog\/","name":"Analog-to Digital Converter (ADC): Reading Raspberry Pi Analog - Latest News from Seeed Studio","isPartOf":{"@id":"https:\/\/www.seeedstudio.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.seeedstudio.com\/blog\/2020\/10\/20\/analog-to-digital-converter-adc-reading-raspberry-pi-analog\/#primaryimage"},"image":{"@id":"https:\/\/www.seeedstudio.com\/blog\/2020\/10\/20\/analog-to-digital-converter-adc-reading-raspberry-pi-analog\/#primaryimage"},"thumbnailUrl":"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/10\/Analog-to-Digital-Converter-ADC_-Reading-Raspberry-Pi-Analog.png","datePublished":"2020-10-20T00:07:35+00:00","dateModified":"2020-10-20T00:07:37+00:00","author":{"@id":"https:\/\/www.seeedstudio.com\/blog\/#\/schema\/person\/a119fa6b3d5491bcf728aaf578bfe9b3"},"description":"Raspberry Pi is a tiny computer that is capable of accomplishing many great projects, thus it's still the favourite amongst many tinkers and tech enthusiasts. However, even this wonder machine isn't perfect. Unlike other minicontrollers or MCUs nowadays, Raspberry Pi does not have a built-in Analog-to-Digital Converter (ADC) Circuit.","breadcrumb":{"@id":"https:\/\/www.seeedstudio.com\/blog\/2020\/10\/20\/analog-to-digital-converter-adc-reading-raspberry-pi-analog\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.seeedstudio.com\/blog\/2020\/10\/20\/analog-to-digital-converter-adc-reading-raspberry-pi-analog\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.seeedstudio.com\/blog\/2020\/10\/20\/analog-to-digital-converter-adc-reading-raspberry-pi-analog\/#primaryimage","url":"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/10\/Analog-to-Digital-Converter-ADC_-Reading-Raspberry-Pi-Analog.png","contentUrl":"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/10\/Analog-to-Digital-Converter-ADC_-Reading-Raspberry-Pi-Analog.png","width":2240,"height":1260,"caption":"Analog-to Digital Converter (ADC)_ Reading Raspberry Pi Analog"},{"@type":"BreadcrumbList","@id":"https:\/\/www.seeedstudio.com\/blog\/2020\/10\/20\/analog-to-digital-converter-adc-reading-raspberry-pi-analog\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.seeedstudio.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Analog-to Digital Converter (ADC): Reading Raspberry Pi Analog"}]},{"@type":"WebSite","@id":"https:\/\/www.seeedstudio.com\/blog\/#website","url":"https:\/\/www.seeedstudio.com\/blog\/","name":"Latest News from Seeed Studio","description":"Emerging IoT, AI and Autonomous Applications on the Edge","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.seeedstudio.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.seeedstudio.com\/blog\/#\/schema\/person\/a119fa6b3d5491bcf728aaf578bfe9b3","name":"Gigi","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.seeedstudio.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/06e3a74a585f84ca45100e72d0f814eb?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/06e3a74a585f84ca45100e72d0f814eb?s=96&r=g","caption":"Gigi"},"url":"https:\/\/www.seeedstudio.com\/blog\/author\/gigi\/"}]}},"modified_by":"Elaine Wu","views":48639,"featured_image_urls":{"full":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/10\/Analog-to-Digital-Converter-ADC_-Reading-Raspberry-Pi-Analog.png",2240,1260,false],"thumbnail":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/10\/Analog-to-Digital-Converter-ADC_-Reading-Raspberry-Pi-Analog-80x80.png",80,80,true],"medium":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/10\/Analog-to-Digital-Converter-ADC_-Reading-Raspberry-Pi-Analog-300x169.png",300,169,true],"medium_large":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/10\/Analog-to-Digital-Converter-ADC_-Reading-Raspberry-Pi-Analog-768x432.png",640,360,true],"large":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/10\/Analog-to-Digital-Converter-ADC_-Reading-Raspberry-Pi-Analog-1030x579.png",640,360,true],"1536x1536":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/10\/Analog-to-Digital-Converter-ADC_-Reading-Raspberry-Pi-Analog-1536x864.png",1536,864,true],"2048x2048":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/10\/Analog-to-Digital-Converter-ADC_-Reading-Raspberry-Pi-Analog-2048x1152.png",2048,1152,true],"visody_icon":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/10\/Analog-to-Digital-Converter-ADC_-Reading-Raspberry-Pi-Analog.png",32,18,false],"magazine-7-slider-full":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/10\/Analog-to-Digital-Converter-ADC_-Reading-Raspberry-Pi-Analog-1536x1020.png",1536,1020,true],"magazine-7-slider-center":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/10\/Analog-to-Digital-Converter-ADC_-Reading-Raspberry-Pi-Analog-936x897.png",936,897,true],"magazine-7-featured":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/10\/Analog-to-Digital-Converter-ADC_-Reading-Raspberry-Pi-Analog-1024x576.png",1024,576,true],"magazine-7-medium":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/10\/Analog-to-Digital-Converter-ADC_-Reading-Raspberry-Pi-Analog-720x380.png",720,380,true],"magazine-7-medium-square":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/10\/Analog-to-Digital-Converter-ADC_-Reading-Raspberry-Pi-Analog-675x450.png",675,450,true]},"author_info":{"display_name":"Gigi","author_link":"https:\/\/www.seeedstudio.com\/blog\/author\/gigi\/"},"category_info":"<a href=\"https:\/\/www.seeedstudio.com\/blog\/category\/news\/\" rel=\"category tag\">News<\/a>","tag_info":"News","comment_count":"0","_links":{"self":[{"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/posts\/37199","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/users\/3529"}],"replies":[{"embeddable":true,"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/comments?post=37199"}],"version-history":[{"count":18,"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/posts\/37199\/revisions"}],"predecessor-version":[{"id":37482,"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/posts\/37199\/revisions\/37482"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/media\/37217"}],"wp:attachment":[{"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/media?parent=37199"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/categories?post=37199"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/tags?post=37199"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}