$5.00 simple oscilloscope using Picaxe and VB

Posted on Tuesday, March 13th, 2012 in code, oscilloscope, PICAXE by the machinegeek

Patrick Cambria posts this simple oscilloscope project using a Picaxe-08M microcontroller and a potentiometer. The Picaxe is programmed in BASIC and the entire MCU program follows:

goto main

The output from a potentiometer voltage divider is fed into an ADC pin of a PICAXE 08M then serially transmitted to a Serial Port in Visual Basic.NET and plotted over time in a line graph. (Patrick also notes you can also use a bar graph for a nice visual effect!)

For links to the schematic and Visual Studio source code visit Patrick Cambria’s website.

This entry was posted on Tuesday, March 13th, 2012 at 5:30 pm and is filed under code, oscilloscope, PICAXE. You can follow any responses to this entry through the RSS 2.0 feed. You can skip to the end and leave a response. Pinging is currently not allowed.

6 Responses to “$5.00 simple oscilloscope using Picaxe and VB”

  1. Arup says:

    Nice. I guess the VB application can be used with other MCUs’ UART outputs too.

  2. Xykon says:

    That picaxe provides rs232 serial output?

    • Sleepwalker says:

      Yes, but it’s at 5V level (or whatever voltage the PIC is running at). Most serial ports will accept the 0 – 5V signals back from the picaxe, however if running off a lower voltage, some serial ports might not recognise the levels – easiest thing is just try it and see, you won’t hurt anything. Obviously this is only good for short lines, not great long distances.

  3. Lasse says:

    Nice, is the vb source available?

  4. Yes the entire VB project is available on my website. You can port the project to any serial communication. If you are a picaxe user and you serout to an LCD and can instead sertx to visual basic. In my application im only looking for integer values so you have to change the data types to deal with strings but anyone who knows the basics of programming can switch it around.

  5. Mark says:

    Hi Patrick,

    If you are using READADC10, then surely you should be using a WORD variable for the 10bit value?
    Good presentation. :)

Leave a Reply

Notify me of followup comments via e-mail. You can also subscribe without commenting.

Recent Comments

  • Edward Mallon: A lot of us have ended up at this sensor / screen combination. But I couldn't afford the extravagance of six dedicated control lines on...
  • Andy: Me!!!
  • Bill F: Taking my place in line........
  • Mikee: 11
  • Clara: Thanks, Cinco!