Girino project or an o-scope using arduino board - Page 1
Forum section: electronics / beginners

author: paul18fr
author_rank: Contributor
timestamp: August 19, 2014, 09:25:50 pm
content: Dear AllI'm just starting to learn electronics/Arduino progs (hobby in a first time) and of course I do not plan to purchase an o-scope at the moment.I've foundGirinoproject (and derivative) in order to have an "o-scope" using an arduino card :http://www.instructables.com/id/Girino-Fast-Arduino-Oscilloscope/https://github.com/Chatanga/Girinoscopehttp://wiki.ros.org/rosserial_arduino/Tutorials/Arduino%20Oscilloscopeand so onBasically I want to find a trick to visualize signals (when I’ll learn 555 IC’s to generate different types of signals - one example among others)I’m not familiar with both Arduino and electronics, so is there somebody who has ever installed and used guirino (or derivative projects) ?NB: girino seems to have a better bandwidth ; not sure but I’ve read something like 20 KHz that is enough for the beginner I am !Thanks for any feedbackPaul

author: fubar.gr
author_rank: Unknown
timestamp: August 20, 2014, 11:16:00 am
content: Interesting as an exercise on Arduino, but useless as oscilloscopes, even for a beginner.In my opinion, if you want to learn electronics you should invest on a proper oscilloscope, it will be the single most useful instrument on your bench.Dicking around with something like that will only keep you back from learning.

author: paul18fr
author_rank: Contributor
timestamp: August 20, 2014, 11:33:19 am
content: HiYou're certainly right, but one thing at a time; it's a non-negligible invest (and too much information's and a real lack of skill in found to select ...)Concerning Girino project, meanwhile, I finally downloaded a pdf file with additional information's: it's a real electronic project as we can find on the net (see attachment) ... maybe an interesting way to progess in many fieldsPaul

author: gildasd
author_rank: Frequent Contributor
timestamp: February 12, 2015, 07:24:07 am
content: So how did it go?Did you finish and does it work?I'm trying to see if I can fit one in BOM of less than 40€...

author: gschadow
author_rank: Newbie
timestamp: January 05, 2020, 05:01:37 pm
content: Hi, I just signed up to leave a reply here.I think an Arduino Scope is a really nice idea and I have been looking for one all over and most are pretty bad. Girino, even though now over 5 if not 7 years old, it is still the best project around as far as I know. It's best because it pushed the limit to frequency of data acquisition you can do on an Arduino.I have spent a few days with this and had mixed results. To make a long story short: if your want a scope for helping you test your TTL breadboard circuits, then you can use the Girino source code on a NANO, stuck in the breadboard. You won't need any of the op-amp circuits which I found didn't work well at all. All you need to do is (1) hook up +5 V and (2) GND to power and ground bus respectively, (3) connect pin A0 to D6 before you plug the NANO into the breadboard, that copies the signal input A1 to the trigger comparator + input AIN0 on D6; (4) a 1 kOhm resistor from D3 (PWM out) to D7 (trigger comparator - input AIN1), and a 1 uF capacitor from D7 to the GND bus. Finally your signal input goes into A1 (or D6 because of the bridge) and that's it!This is super simple and perfect for observing your TTL signal switch, for example, when building edge detectors with capacitors.I found the op-amp stuff didn't work well at all as it lead to losses, i.e., instead of 5 V I ended up with 3.7 V on the signal input), and the switching between the 2.5 V offset and no offset isn't right as it leads to a 0.6 V offset even if you don't want an offset. Supposedly the op-amps should "decouple" and protect your input pins, but if your signal input in in that 5 V range then there is no point in doing that. If your input is very low as in analog amplifier circuits, then you'd need to have real amplifying op amp circuits. You could do that since the basic setup with the NANO is so simple and leaves the entire rest of the breadboard free to experiment.The project is written for the UNO but I had no UNO on hand, and the NANO, while squeezed on memory, still has 55% dynamic memory free, so I guess the data buffer could even be increased a little on the NANO. I first started with the MEGA hoping to quadruple the data buffer, but the MEGA is really dumb as it doesn't connect the AIN1 to any pin. That is a totally retarded decision as it would have cost nothing to lead the AIN1 signal that's on the chip to a pin! Heck! There's even an unused pin on the board. Really retarded. First I built my own external comparator with an LM393 and that worked, but once I discovered that the NANO can do it all, I ripped out all the external circuitry and it works like a charm for what I want it.Now the real improvement that could be done is in the code, both the Girino "Sketch" and the Girinoscope Java code. I am looking into adding another one or more channels, because I found that I don't need a high horizontal resolution for doing some simple logic analyzing, I should be able to multiplex 2 or 3 channels into a data buffer slightly larger (maxing out the spare memory that even the NANO has).

author: rstofer
author_rank: Super Contributor
timestamp: January 06, 2020, 08:39:50 pm
content: That Instructables project is as good as it gets in terms of bare metal programming of embedded systems. Very little of the Arduino code is left and the entire project revolves around bit-twiddling various registers.