{"id":18677,"date":"2022-11-25T14:29:01","date_gmt":"2022-11-25T07:29:01","guid":{"rendered":"https:\/\/www.makeriot2020.com\/?p=18677"},"modified":"2022-11-25T14:29:06","modified_gmt":"2022-11-25T07:29:06","slug":"rp2040-oscilloscope-and-logic-analyser","status":"publish","type":"post","link":"https:\/\/www.makeriot2020.com\/index.php\/2022\/11\/25\/rp2040-oscilloscope-and-logic-analyser\/","title":{"rendered":"RP2040 Oscilloscope and Logic Analyser"},"content":{"rendered":"\n<p><\/p>\n\n\n\n<p>Oscilloscopes and Logic analysers are essential instruments for every serious electronics hobbyist. They are however quite expensive, and thus beyond the reach of many people starting out with electronics. Today, I will show you a cheap solution, an RP2040 Oscilloscope and Logic analyser&#8230;<\/p>\n\n\n\n<p>Before we get started, we need to clear up a few things first:<br>1). This is not my own project. It was designed and built by someone else.<br>2). This is not a professional grade Oscilloscope or Logic analyser<br>3). The range of input voltages, as well as the frequencies that you can measure, are limited.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">What is this, and why do I bother with it?<\/h3>\n\n\n\n<p>This post is about the <a href=\"https:\/\/oscilloscope.fhdm.xyz\/\" target=\"_blank\" rel=\"noopener\" title=\"\">Scoppy Occiloscope Firmware<\/a>, designed by <a href=\"https:\/\/github.com\/fhdm-dev\" target=\"_blank\" rel=\"noopener\" title=\"\">fhdm-dev<\/a>. I have no affiliation with him\/her,  I came across this recently and found it useful in the sense that it may help others gain access to instrumentation to greatly help them with electronics. <br><br>I did design some derived pcb components that works with this project, in order to take care of some limitations that I saw in the original project.  More on that in two follow-up posts, in which I will show you two PCB&#8217;s that I designed to use with this project, and analog Frontend ( based on a public design by <a href=\"https:\/\/github.com\/fhdm-dev\" target=\"_blank\" rel=\"noopener\" title=\"\">fhdm-dev<\/a>, as well as a Logic analyser shield, of my own design<\/p>\n\n\n\n<p>before we do this, we need to look at the basic Scoppy design and its firmware.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Getting Started<\/h3>\n\n\n\n<p>You will need a few things to make use of this project, the most important will be the <a href=\"https:\/\/play.google.com\/store\/apps\/details?id=xyz.fhdm.scoppy\" target=\"_blank\" rel=\"noopener\" title=\"\">Scoppy App<\/a> ( available from the Google Playstore ), and an Android Phone.<br>You will also need a USB OTG Cable\/hub for the phone, as well as a Raspberry Pi Pico or Pico W<\/p>\n\n\n\n<p>The <a href=\"https:\/\/oscilloscope.fhdm.xyz\/wiki\/Installation-&amp;-Getting-Started\" target=\"_blank\" rel=\"noopener\" title=\"\">Installation and Getting Started Guide<\/a> is very well documented, and as such, I will not spend a lot of time on that.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">My own Setup<\/h3>\n\n\n\n<p>I have decided to use my own <a href=\"http:\/\/makeriot2020.com\/index.php\/2022\/09\/25\/raspberrypi-pico-carrier-pcb\/\" target=\"_blank\" rel=\"noopener\" title=\"\">Raspberry Pi Pico Carrier board<\/a> for this project, as it will allow me to get away from the breadboard, as well as serve as a platform for easily expanding on the project via expansion shields, as you will see in later articles.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"768\" data-src=\"http:\/\/makeriot2020.com\/wp-content\/uploads\/2022\/09\/pico-on-carrier-1024x768.jpg\" alt=\"\" class=\"wp-image-18269 lazyload\" data-srcset=\"https:\/\/www.makeriot2020.com\/wp-content\/uploads\/2022\/09\/pico-on-carrier-1024x768.jpg 1024w, https:\/\/www.makeriot2020.com\/wp-content\/uploads\/2022\/09\/pico-on-carrier-300x225.jpg 300w, https:\/\/www.makeriot2020.com\/wp-content\/uploads\/2022\/09\/pico-on-carrier-768x576.jpg 768w, https:\/\/www.makeriot2020.com\/wp-content\/uploads\/2022\/09\/pico-on-carrier-1536x1152.jpg 1536w, https:\/\/www.makeriot2020.com\/wp-content\/uploads\/2022\/09\/pico-on-carrier-2048x1536.jpg 2048w, https:\/\/www.makeriot2020.com\/wp-content\/uploads\/2022\/09\/pico-on-carrier-1200x900.jpg 1200w\" data-sizes=\"(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1024px; --smush-placeholder-aspect-ratio: 1024\/768;\" \/><figcaption class=\"wp-element-caption\">Makeriot2020 Raspberry Pi Pico Carrier Board<\/figcaption><\/figure>\n\n\n\n<p>This PCB, in Arduino Uno form Factor, will make putting the entire project into a case quite easy, as well as hopefully keep the number of floating hookup wires to a minimum. ( hopefully reducing some notice and other stray signals from interfering too much with our signals)<\/p>\n\n\n\n<p>After installing the application, which is quite easy, we need to load the firmware onto the RP2040. This is also extremely easy is you follow the guide at the top. <br><br>Please note that the Android app has two modes, a freeware mode, limited to one channel, and a paid version, with no limitations. I recommend that you consider buying the paid version, as it only costs a few dollars ( I paid $USD2), and will motivate the developer to keep working on the project, and improving it.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"485\" data-src=\"http:\/\/makeriot2020.com\/wp-content\/uploads\/2022\/11\/scoppy_oscilloscope-1024x485.jpg\" alt=\"\" class=\"wp-image-18688 lazyload\" data-srcset=\"https:\/\/www.makeriot2020.com\/wp-content\/uploads\/2022\/11\/scoppy_oscilloscope-1024x485.jpg 1024w, https:\/\/www.makeriot2020.com\/wp-content\/uploads\/2022\/11\/scoppy_oscilloscope-300x142.jpg 300w, https:\/\/www.makeriot2020.com\/wp-content\/uploads\/2022\/11\/scoppy_oscilloscope-768x364.jpg 768w, https:\/\/www.makeriot2020.com\/wp-content\/uploads\/2022\/11\/scoppy_oscilloscope-1200x568.jpg 1200w, https:\/\/www.makeriot2020.com\/wp-content\/uploads\/2022\/11\/scoppy_oscilloscope.jpg 1520w\" data-sizes=\"(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1024px; --smush-placeholder-aspect-ratio: 1024\/485;\" \/><figcaption class=\"wp-element-caption\">Scoppy Application, Main Interface &#8211; Oscilloscope<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"485\" data-src=\"http:\/\/makeriot2020.com\/wp-content\/uploads\/2022\/11\/scoppy-Meno-1024x485.jpg\" alt=\"\" class=\"wp-image-18686 lazyload\" data-srcset=\"https:\/\/www.makeriot2020.com\/wp-content\/uploads\/2022\/11\/scoppy-Meno-1024x485.jpg 1024w, https:\/\/www.makeriot2020.com\/wp-content\/uploads\/2022\/11\/scoppy-Meno-300x142.jpg 300w, https:\/\/www.makeriot2020.com\/wp-content\/uploads\/2022\/11\/scoppy-Meno-768x364.jpg 768w, https:\/\/www.makeriot2020.com\/wp-content\/uploads\/2022\/11\/scoppy-Meno-1200x568.jpg 1200w, https:\/\/www.makeriot2020.com\/wp-content\/uploads\/2022\/11\/scoppy-Meno.jpg 1520w\" data-sizes=\"(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1024px; --smush-placeholder-aspect-ratio: 1024\/485;\" \/><figcaption class=\"wp-element-caption\">Scoppy Menu<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"485\" data-src=\"http:\/\/makeriot2020.com\/wp-content\/uploads\/2022\/11\/scoppy-logic-1024x485.jpg\" alt=\"\" class=\"wp-image-18687 lazyload\" data-srcset=\"https:\/\/www.makeriot2020.com\/wp-content\/uploads\/2022\/11\/scoppy-logic-1024x485.jpg 1024w, https:\/\/www.makeriot2020.com\/wp-content\/uploads\/2022\/11\/scoppy-logic-300x142.jpg 300w, https:\/\/www.makeriot2020.com\/wp-content\/uploads\/2022\/11\/scoppy-logic-768x364.jpg 768w, https:\/\/www.makeriot2020.com\/wp-content\/uploads\/2022\/11\/scoppy-logic-1200x568.jpg 1200w, https:\/\/www.makeriot2020.com\/wp-content\/uploads\/2022\/11\/scoppy-logic.jpg 1520w\" data-sizes=\"(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1024px; --smush-placeholder-aspect-ratio: 1024\/485;\" \/><figcaption class=\"wp-element-caption\">Scoppy Logic Analyser Screen<\/figcaption><\/figure>\n\n\n\n<p>As we can see, the interface is quite clean, and easy to use.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">What are the limitations?<\/h3>\n\n\n\n<p>There are quite a few limitations, namely frequency and voltage input. <br>From what I can understand, the frequency limit seems to be around 25Khz, with the voltage level limit being 0.0v to 3.3v ( as per the limit of the RP2040 ADC<\/p>\n\n\n\n<p>Please make sure that you follow all instructions on the original page, as you can very easily damage your Android device as well as the Pico if you apply a voltage outside of the allowed range.<br><br>On the logic analyser side, It is also important to note that you should stay in the 0.0v to 3.3v range of the Pico GPIO&#8217;s. <\/p>\n\n\n\n<p>While these limited ranges will definitely limit what you can do and measure, It will still be a very useful project. In the next part of this article, I will show you how I have solved the logic analyser voltage range issue&#8230; Allowing you to analyse 5v signals as well.<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Oscilloscopes and Logic analysers are essential instruments for every serious electronics hobbyist. They are however quite expensive, and thus beyond the reach of many people starting out with electronics. Today, I will show you a cheap solution, an RP2040 Oscilloscope and Logic analyser&#8230; Before we get started, we need to clear up a few things &hellip; <a href=\"https:\/\/www.makeriot2020.com\/index.php\/2022\/11\/25\/rp2040-oscilloscope-and-logic-analyser\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;RP2040 Oscilloscope and Logic Analyser&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":18688,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[94,139],"tags":[167,166,95],"class_list":["post-18677","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-raspberry-pi-pico","category-rp2040","tag-logic-analyser","tag-oscilloscope","tag-raspberry-pi-pico"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.makeriot2020.com\/index.php\/wp-json\/wp\/v2\/posts\/18677","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.makeriot2020.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.makeriot2020.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.makeriot2020.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.makeriot2020.com\/index.php\/wp-json\/wp\/v2\/comments?post=18677"}],"version-history":[{"count":0,"href":"https:\/\/www.makeriot2020.com\/index.php\/wp-json\/wp\/v2\/posts\/18677\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.makeriot2020.com\/index.php\/wp-json\/wp\/v2\/media\/18688"}],"wp:attachment":[{"href":"https:\/\/www.makeriot2020.com\/index.php\/wp-json\/wp\/v2\/media?parent=18677"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.makeriot2020.com\/index.php\/wp-json\/wp\/v2\/categories?post=18677"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.makeriot2020.com\/index.php\/wp-json\/wp\/v2\/tags?post=18677"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}