DIY Oscilloscope using Arduino and Graphic LCD (Osciduino)

Поделиться
HTML-код
  • Опубликовано: 30 окт 2012
  • I have designed an Oscilloscope using Arduino Mega 2560 and 128x64 GLCD. It works pretty good for verification of signal the range of input frequency is upto 10-12KHz and Sampling rate is 200KSPS. It has no Attenuation so you will have to convert highvoltage signal to 5 v pTp signal. And yes for Sine wave or Cos wave or signal which is below ground voltage you will have to DC shift the signal. You can set the Time/Division for studying signal. It gives Peak to Peak voltage value of signal in Real Time till two decimals.
    All the Arduino GLCD libraries used are freely available.
    If you have suggestions mail me on: prasadp4009@gmail.com
    Code Link : www.dropbox.com/s/2vgc3hyaj51...
    It works AWSOME. It can be used for general verification of signals. I will be doing the same using VHDL on DE1 board now.
    Keep Checking www.vhdlcodes.com for upcoming projects.
    Thank You.
  • НаукаНаука

Комментарии • 77

  • @MrSamAli
    @MrSamAli 8 лет назад +3

    Wow almost accurate ;)
    You did really well video than the other videos here on RUclips i appreciate that. Your idea works. I already tried it. I also used your code after a tiny modification with an auduino uno r3 and that worked too. I'm also writing a program on it to work on large size color tft lcds hope it works. Will share you...

  • @redserpent
    @redserpent 10 лет назад

    Nice Oscilloscope project with the Arduino. Thank you Prasad

  • @mihalypapp8220
    @mihalypapp8220 10 лет назад

    Great Job! Thank You.

  • @jayshreekant
    @jayshreekant 7 лет назад +1

    Good Prasad .. Put some audio amplifier projects

  • @KushanAnupama
    @KushanAnupama 10 лет назад

    Great job !! Thanks lot.

  • @ivjik
    @ivjik 10 лет назад +1

    Очень нравиться этот клип про осциллограф,спасибо.

  • @danieledgardopalomar7812
    @danieledgardopalomar7812 9 лет назад

    excelente amigo!

  • @UmidM
    @UmidM 11 лет назад

    thanks for posting.

  • @resonance2001
    @resonance2001 7 лет назад +1

    You genius!

  • @MrJiminyBeam
    @MrJiminyBeam 11 лет назад

    Nice work.

  • @waqarsattar8716
    @waqarsattar8716 8 лет назад +1

    @Prasad Pandit , can you show me how to hookup arduino mega 2560 with glcd 128x64, i mean the pin connections ? thank you.

  • @maxwellmoojw8544
    @maxwellmoojw8544 8 лет назад

    great job

  • @bobdavis321
    @bobdavis321 11 лет назад

    I have had problems with the U8Glib, what LCD and graphics library did you use?

  • @Mike-ry4ti
    @Mike-ry4ti 10 лет назад

    very good!

  • @rodriguezfranco3839
    @rodriguezfranco3839 Год назад

    Very cool I have a Arduino uno and a lcd 128x64 just like yours I would like to try it , I just need to modify the code for the uno

  • @mubashirmasood5227
    @mubashirmasood5227 6 лет назад

    Sir in glcd there is a pin Vee (-Vout) where we attach that pin in hardware

  • @ilmnaama7201
    @ilmnaama7201 4 года назад +1

    Can we check AC sine wave from it? If yes, then max voltage to check?

  • @xenali9597
    @xenali9597 7 лет назад

    Hello parasad what are the errors you observed in it and what about precision?

  • @PrasadPandit
    @PrasadPandit  10 лет назад +1

    @chabilal bahera
    Yes. It can show any kind of signal you gave it to as input.

    • @davidzapata2215
      @davidzapata2215 9 лет назад

      Hello friend . I'm from Colombia and I 'm starting in programming with VHDL. I saw a video of the calculator. and I would like to I could you . Pass code for analysis. Please
      jedazago@gmail.com

    • @PrasadPandit
      @PrasadPandit  9 лет назад

      David Zapata : I am uploading my code on GIT Hub.. Check my website on Tuesday. I will post link of my GIT Hub there..

    • @davidzapata2215
      @davidzapata2215 9 лет назад

      Ok prasad Thank you very much I will be pending

    • @davidzapata2215
      @davidzapata2215 9 лет назад

      Hello friend . I 've been looking at your page .
      But do not see the code. that you did the calculator. Help me Please.

    • @PrasadPandit
      @PrasadPandit  8 лет назад

      +David Zapata Check the description, I have posted a dropbox link.

  • @sergiobarrios3306
    @sergiobarrios3306 8 лет назад

    friend tries to do the same but I do not read ports and is only lit LCD

  • @bichuraj9708
    @bichuraj9708 7 лет назад

    hey some issue i have facing in interface can you help me

  • @NgoprekdirumahYT
    @NgoprekdirumahYT 2 года назад

    As per this 2022 years, regarding the simple sketch, i tried so many times with results always errors.
    i tried compiled with different versions of Arduino IDE, debugging with the given library, the problem stay same.

  • @shubhamupadhyay5596
    @shubhamupadhyay5596 7 лет назад

    plz tell the link of code.the link that u have given is not present

  • @diogobrandaoaraujo8903
    @diogobrandaoaraujo8903 3 года назад

    Hey how is everything
    You would still have the design and code for this oscilloscope.
    Congratulations on the project.

  • @fireracerworkshop8251
    @fireracerworkshop8251 5 лет назад

    You could have used an oled display. These are easy to program and also require less no. of pins.

    • @PrasadPandit
      @PrasadPandit  5 лет назад

      Pranay Sharma Hi Pranay, Thanks for suggestion. I will surely add in next version of video.

  • @josephjonatas7386
    @josephjonatas7386 9 лет назад

    circuit pls for the lcd

  • @pvkiller1453
    @pvkiller1453 8 лет назад +1

    what I can do to change the volts per division, in your program???

    • @PrasadPandit
      @PrasadPandit  8 лет назад

      Hi, glad you are able to make it work. First I would like to tell you that max input voltage to Arduino is 5v. That's why I kept it like that. If you are using any different board which support higher voltages just change the print values to in printf, if you are giving max values. Else you will need to change the analog input value map conversion line which is 0,1024 mapped to 0,53. Change 0,1024 as per your max voltage.

    • @pvkiller1453
      @pvkiller1453 8 лет назад

      +Prasad Pandit Thanks a lot my friend for that code, I need to read a signal of temperature from a LM35, and I want to see how this analog values increment or decrement in the time, but I was arranging the code to see the signal increment slowly. but I only get a horizontal line

  • @darkwatch7491
    @darkwatch7491 8 лет назад

    thanks i am very intersting i have all equipement but i don't have the code can you please please post the code

  • @Cihna99
    @Cihna99 7 лет назад

    Hello dear Prasad Pandit can you help me?

  • @NikhilKumar-di1dg
    @NikhilKumar-di1dg 8 лет назад

    Hello Friend Thank you so much!!
    Does it also work as an ECG meter?

    • @PrasadPandit
      @PrasadPandit  8 лет назад

      yes it does.

    • @PrasadPandit
      @PrasadPandit  8 лет назад

      you will need to integrate plethysmograph circuit with this scope..

  • @KX36
    @KX36 10 лет назад

    great stuff. now add a circular memory buffer and trigger :)

  • @baljeetsingh5263
    @baljeetsingh5263 Год назад

    give the pin connection info

  • @user-xw6gv8oc6c
    @user-xw6gv8oc6c 9 лет назад +1

    oke,oke

  • @tima-ld6ci
    @tima-ld6ci 8 лет назад

    Mr. OK )

  • @danielrperez5778
    @danielrperez5778 10 лет назад

    Good project!. Please can you confirm the sampling rate? For up to 10MHz input signal the sampling rate should be tens of MHz.

    • @KX36
      @KX36 10 лет назад +1

      Yeah, the sampling frequency should be at least twice the maximum bandwidth, but realistically more, and there should be a high order antialiasing filter before the ADC really. But considering its just an arduino and an LCD and not really a scope, it's still an impressive little widget

    • @danielrperez5778
      @danielrperez5778 10 лет назад

      KX36
      Yes, definitely it is no good idea to take Nyquist literally, An acceptable minimum is 4x as the "4" in "4:2:2".
      Sorry I am totally foreign to the Arduino (yet!), if I knew a little about its architecture maybe I wouldn't be bothering you with this basic question: is there was some mistake in your figures?, obviously you can't sample 10MHz at 0,2Ms/s.

    • @andrewmanrique5759
      @andrewmanrique5759 9 лет назад

      *****
      10 samples per second is probably a bit slow for what most are looking for in a usable tool. To give good resolution the frequencies measured would be way below the threshold of hearing for a human (to give perspective (which is around 60hz or so)). look at the clock speed of the processor then compare to how many "dots" you want to make a smooth representation of the signal, rather than hard digitized jumps from measured point to measured point. I know this is not a "mathy" approach but it gives a decent mental concept of what the issue is.

    • @danielrperez5778
      @danielrperez5778 9 лет назад

      *****
      Right, with 200ksamples/s, I'm sure Mr. Prasad Pandit intended to say "12kHz" (I would risk 20kHz or a little more), not MHz. Anyway, this is quite a feat for something not targeted to be a 'scope such as the Arduino, and you can do a good number of simple things with this bandwidth.

    • @PrasadPandit
      @PrasadPandit  8 лет назад

      Sampling rate is 200KHz and CPU frequency is 16 MHz

  • @Bharat_DD
    @Bharat_DD 5 лет назад

    Bhai codes ki link bhejo

  • @MrCuddlyable3
    @MrCuddlyable3 10 лет назад +5

    There are no divisions on the display so "Time/division" is meaningless. If the sampling rate is 200KSPS then this will only show audio frequency waveforms. "Input frequency up to 10-12MHz" is nonsense - what made you think that? The waveform you call noise looks like normal mains frequency which is 20 ms/cycle (which gives a better idea of your actual scan frequency).

    • @w5cdt
      @w5cdt 9 лет назад +3

      Probably a typo. He meant KHz.

    • @danielrperez5778
      @danielrperez5778 9 лет назад +1

      w5cdt
      I agree.

    • @PrasadPandit
      @PrasadPandit  8 лет назад +2

      Yes. It surely won't show anything more than audio, its just a hobby project. You can wait for my second version using PSoC 4

    • @PrasadPandit
      @PrasadPandit  6 лет назад

      Corrected the typo in the description. Thanks!

  • @alkeshbhojak8130
    @alkeshbhojak8130 2 года назад

    Display purchase karna hai kahan per Milega

    • @PrasadPandit
      @PrasadPandit  2 года назад

      Search for 12864 (128x64) Graphic LCD. Wo display use kiya hai. Online mil jayega.

  • @vladimirruiz5
    @vladimirruiz5 7 лет назад

    Hi! I think that the code link is down

  • @lmeza1983
    @lmeza1983 10 лет назад

    I think the raspberry would work better here.

    • @PrasadPandit
      @PrasadPandit  8 лет назад

      I thought of using that, but considering simplicity I used arduino.

  • @jacobktm5515
    @jacobktm5515 10 лет назад

    OK?

  • @azzym8794
    @azzym8794 7 лет назад +3

    *Well done Prasad. But in reality this is shit . Your are effing wrong about 10-15 MHZ. Your arduino can never convert fast enough. What you are seeing is 60Hz.* Please say OK OK less often. And try doing this with a STM32F10 board or a Silabs 51F120 board for reasonable results. Note that without a trigger circuit this will remain a toy.

    • @PrasadPandit
      @PrasadPandit  7 лет назад

      Azzy M Thanks for suggestions! I will surely improve.

    • @azzym8794
      @azzym8794 7 лет назад

      *I am sure. Pursue it till you have the best.*
      I have some AD9057 and AL422B chips. Good for 80MHZ conversion If you can use them I will happily exchange for something. Or just a proper thanks.

  • @mitropoulosilias
    @mitropoulosilias 8 лет назад +1

    why don't you find a girlfriend??