Flea-Scope USB O-scope (18 Msps, $13 BoM, WebUSB)

Flea-Scope™ is a very low-cost and easy-to-use 18 Msps USB oscilloscope and mixed-signal logic analyzer.

Similar projects worth following
Flea-Scope™ is a very low-cost ($13 BoM) and easy-to-use 18 million sample-per-second (Msps) USB oscilloscope and mixed-signal logic analyzer with a built-in waveform generator, and so much more, based on the PIC32MK MCU! Flea-Scope can be controlled by any Chromium-based web browser that supports WebUSB API or Web Serial API running on a computer, tablet, or phone (!!!), with no need for further software install – just plug it in and open a web-page and you are up and running!

My dream is to eventually get this into high-schools to get our kids really building stuff again -- not just assembling prefab components, but really designing and building -- like with transistors, op amps, motor control, etc. You can even log into Flea-Scope using a different web-page and reprogram it interactively in BASIC, using live debugging, taking control of all its pins, to use it as the basis for other embedded systems projects -- see an unbelievable StickOS video in step 7 below.

The Flea-Scope User's Guide (including some "how it works" internals and full specifications) is here:

A preliminary video introduction is here.

BTW, I just got assembled boards back from and they are beautiful and work on the first try!!! This is my first time doing PCB assembly and panelization -- I cannot believe how easy they made things! They confirmed BOM before I even ordered and identified a part that was not stocked (the MCU is ramping up production now) and we were able to find a suitable alternative (part with a bit more flash for an extra $0.30). Then they confirmed a component value I labeled as 4k when it was actually 4.02k -- they clearly checked and double-checked everything! Finally, they sent me pictures of component placements and confirmed pin 1's and rotations prior to final build. All the careful attention to detail of the team paid off! Thank you!  You can even order boards from them here (now that I know they work!).

hex - 207.21 kB - 12/18/2023 at 20:31


x-zip-compressed - 262.37 kB - 09/24/2023 at 16:51


  • 1

    Inside "", attached, is a bill of materials; alternately, you can get the bill of materials directly from using this link:

    You can get all the parts from mouser, or you can get the MCUs a bit cheaper from Microchip Direct.

    The "PIC32MK0512GPK064-I/MR" MCU part is brand new.  If you have trouble finding it, you can use the "GPK" (general purpose) or "MCM" (motor control) flavor, with identical firmware, and you can also use the "1024" (1024kB) or "0512" (512kB) flash size as well.  I find the PIC32MK MCU in its default QFN package with "/MR" suffix (much!) easier to use than the QFP with "/PT" suffix, but the gerbers can also be modified in minutes to use a QFP instead of a QFN -- all traces are laid out for the larger part already.

  • 2
    Order the PCB

    "", attached, contains all the gerber, etc., files you will need to build the Flea-Scope printed circuit board (PCB).  You can just upload this zip file to a place like and have them fabricate empty PCBs for you in a week or so.

    As a side note, I have had great experiences with for both boards and non-framework stencils.  When using their website, be sure to click on "Quick-order PCB", so you can upload the zip file containing the gerbers, etc., first, and not have to manually enter any parameters like board dimensions.

  • 3
    Assemble the PCB

    I usually build the boards with a solder paste stencil (also from using Chip Quik SMDLTLFP solder paste and a Kester 2331-ZX flux pen and Kester Pocket-Pak lead-free rosin-core solder for any rework; I clean boards after rework with isopropyl alcohol and a toothbrush followed by running water.

    Inside the zip is also an assembly drawing showing you where each component goes; the PCB silkscreen also locates each component value for easy hand-assembly (unlabeled caps are 0.1uF bypass).

    I reflow my boards in a toaster oven that is controlled by another Flea-Scope (see links -- I realize this is a chicken-and-egg problem -- you have to do the first board by hand -- just watch for the solder to melt).

View all 8 instructions

Enjoy this project?



richard wrote 04/21/2024 at 18:36 point

I am considering doing my own layout.  I don't need the scope part as I just want the Basic software.  I will ground the input that came from the opamp.  Anything else I should know?

  Are you sure? yes | no

Richard Testardi wrote 04/21/2024 at 23:54 point

Nothing comes to mind -- most of the scope functionality is enabled when the webpage issues the "scope" command...  You will never do that, so BASIC should have access to all the pins (well, the 18 pins for a0-8 and b0-8 -- if you want more pins, you'd have to update pin.c in the firmware).

  Are you sure? yes | no

richard wrote 04/15/2024 at 17:12 point

Try JLCPCB for assembly.

  Are you sure? yes | no

richard wrote 04/15/2024 at 17:10 point

What is necessary to edit the gerbers for the larger package PIC?

  Are you sure? yes | no

Richard Testardi wrote 04/15/2024 at 20:17 point

You would install the free/trial version of DipTrace and then using the schematic program, you replace the MCU part (which starts out as PIC32MK_QFN in the user library) with PIC32MK_QFP also in the user library.  Then you open the PCB program and update the PCB from the "related schematic", the3n check design rules and then finally you export gerbers and pickplace, etc.  I believe I have done this for you here:

  Are you sure? yes | no

Richard Testardi wrote 04/15/2024 at 20:18 point

PS BTW, I believe you can get boards assembled here this month:

  Are you sure? yes | no

Richard Testardi wrote 04/16/2024 at 11:39 point

Actually, this package is better and removes the solder paste from the flag under the QFP:

  Are you sure? yes | no

klemen.zurga wrote 03/18/2024 at 10:41 point

Would it be possible to stack like 2 or 4 together to make a multichannel oscilloscope

  Are you sure? yes | no

Richard Testardi wrote 03/28/2024 at 17:27 point

Yes.  Each scope has a "trigger out" pin that can be used to trigger the other channels (nearly) simultaneously.  The only fly in the ointment is you have to open a separate webpage for each scope, so you're switching between windows to see the different channels.  You have to allow javascript to run for all the windows (normally javascript pauses any window that is not in foreground) -- you can do this either by tiling the windows or using the "background" button on the UI, which causes the webpage to make a small sound on each display frame, which prevents javascript from pausing).  If you do this, you'd want to use the "hostname" command in deep-dive mode to give each scope its own hostname, so you can differentiate them on the USB and in the web-page.

  Are you sure? yes | no

klemen.zurga wrote 03/29/2024 at 04:18 point

Interesting. Thank you for the information!

  Are you sure? yes | no

Richard Testardi wrote 03/30/2024 at 16:58 point

BTW, the GUI is completely open-source, so someone could make one that is more clever, and could talk to two flea-scopes at once!

  Are you sure? yes | no


[this comment has been deleted]

Richard Testardi wrote 10/16/2023 at 15:20 point

That is exactly what I am hoping for -- thanks for the encouragement!!!

  Are you sure? yes | no

Richard Testardi wrote 09/29/2023 at 21:05 point

PS And the schematic is in DipTrace currently -- the whole repos is on github and that is under the "board" directory -- I'd be thrilled to have it more broadly available -- I think SparkFun said they use Eagle, which DipTrace can export to (I imagine requiring significant touch-up by hand), IIRC.

  Are you sure? yes | no

Richard Testardi wrote 09/29/2023 at 19:35 point

Thanks, all.  The main thing I wanted here was a software-less oscilloscope, so that limited me to WebUSB (or Web Serial) from a web browser...  Secondly, I needed it to be cheap enough to be on every desk at a high school -- it was a really hard decision to add an op amp front end (for $1) and a negative supply rail (for another $1!), but in the end I decided normal oscilloscope probes and the ability to go x10 was worth it.  I'm still hoping to find someone with a pick-and-place machine to build them -- I'd buy the first 1000 if they were available!

This thing can do so much more than just be an oscilloscope, BTW -- you can interactively log into it, configure pins, single-step programs, etc., all with nothing but a web browser...

  Are you sure? yes | no

John Loeffler wrote 10/07/2023 at 22:06 point

Richard,  LCSC is a great resource for cheap opamps and Charge pump inverters.

Charge Pump

Negative LDO


  Are you sure? yes | no

Olviae wrote 09/27/2023 at 08:41 point

How does it compare to the saleae 5usd copy?

  Are you sure? yes | no

tabbey01 wrote 09/27/2023 at 08:24 point

Any thoughts on making this compatible with Pulseview/sigrok? It would make a great addition to their compatible mixed signal analysers.

  Are you sure? yes | no

paulvdh wrote 09/27/2023 at 07:36 point

This looks like a quite nice project, but without an analog front end it is not very practical, but more of a test bed for the firmware.

When a front end with selectable attenuation / amplification is added, this can be a quite nice gadget. The DSO-Shell may be a nice example to add a frontend, that one uses a few opamps and 74hc4051 / 74c4053 for the range switching.

Also, the schematic and PCB seem to be designed in some not very well known program. If there is interest, I can spend some time to port the design to KiCad.

  Are you sure? yes | no

Jean P wrote 09/26/2023 at 21:19 point

Very cool !

Any plans to sell it on ebay ?

  Are you sure? yes | no

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates