Arduino for oscilloscope learning - Page 1
Forum section: electronics / beginners

author: cyberwasp
author_rank: Contributor
timestamp: January 22, 2020, 03:44:13 am
content: Hi E1. I've been using an Arduino to learn how to use my oscilloscope, "ie sine wave, saw tooth, etc." The scope is a Siglent 1102 cml+. I was monitoring the sine wave output on channel 1 and decided to use the second channel to watch the pwm square wave from the Arduino. My question is this. On the scope is there a way to set a trigger on the second channel as well as the first? Am thinking not, but I'm new to oscilloscopes.A little background. I haven't built anything in electronics for a long while other than minor repairs "radios, computers, cell phones." Also does anyone know of a good beginners tutorial on scopes. I've watched everyone I could find on youtube but they seem to drop the ball when it gets interesting~TIA

author: edy
author_rank: Super Contributor
timestamp: January 22, 2020, 03:58:05 am
content: Try this:https://engineering.case.edu/lab/circuitslab/sites/engineering.case.edu.lab.circuitslab/files/docs/Oscilloscope_Fundamentals_-_Tektronix.pdfNot sure if you are beyond this level but the above PDF covers a lot of ground. The capabilities of your scope may differ. Is your question whether the trigger on the first and second channel can be different from each other, or if the trigger setting going to apply to both channels?How are you using the Arduino so far with the scope? Did you make an R2R ladder DAC yet, or just looking at the PWM square wave duty cycle? I believe Arduino has 14 digital I/O pins, so if you split them into 2 groups of 7 you can create two R2R ladder DAC's and feed the signals to X-Y to control very fine precision vector drawing to your oscilloscope (7-bit levels gives you 128x128 grid control of your X-Y point). Fun stuff, check it out...

author: cyberwasp
author_rank: Contributor
timestamp: January 22, 2020, 04:16:50 pm
content: Edy, Thank you. No, I'm probably not beyond the pdf you listed and will be reading it when I leave here. As far as the oscilloscope drawing, I've done that only different. I've been following Jerobeam Fenderson and have duplicated his efforts like:https://www.youtube.com/watch?v=YqSvkNjWnnQ.Unfortunately I have to use my phone, as my PC and scope are both earth ground, BOOM. Learned that by watching a Youtube by EEVblog. Am going to be sticking to DC circuits until I can get my bench set up correctly, then grab myself an isolation transformerI think I answered my trigger question, "The trigger setting is going to apply to both channels?' as yes

author: rstofer
author_rank: Super Contributor
timestamp: January 24, 2020, 04:27:25 pm
content: How about page 51 of the User Manual?https://siglentna.com/USA_website_2014/Documents/UserManual/SDS1000X&Xplus_UserManual_UM0101X-E02A.pdf

author: cyberwasp
author_rank: Contributor
timestamp: January 24, 2020, 04:42:37 pm
content: Thank you, since I bought the scope I've been trying to find any documentation on it with no luck, even when contacting Siglent. Roll over mode may do the trick!Quote from: rstofer on January 24, 2020, 04:27:25 pm

author: rstofer
author_rank: Super Contributor
timestamp: January 24, 2020, 06:11:21 pm
content: I just did a Google search for "siglent 1102 oscilloscope user manual" (no quotes) and it was the first and second reply. I chose the 2d because it was direct from Siglent.

author: cyberwasp
author_rank: Contributor
timestamp: April 25, 2022, 04:02:55 pm
content: Thank you everyone. upon further investigation, my lack of skiills turned out to be a faulty probe. It would calibrate fine but begin to fault at certain frequencies which in turn threw my feeble brain into a endless lop.Also I haven't received any email notices of replies!

author: theHWcave
author_rank: Regular Contributor
timestamp: April 26, 2022, 08:34:00 am
content: To your original question, I don't have a Siglent but normal (affordable) scopes don't have two independent triggers. You can select of course which channel to trigger on but once triggered both channels are shown. In your case, both signals coming from the same Arduino, that would not matter much because they are very likely strongly correlated ( in-sync ) by virtue of being produced by the same software. It would be more interesting if you'd try to see one sine wave from your Arduino and another from say a mains low-voltage(!) isolation(!!!) transformer. Then try your Arduino to match the frequency (roughly) and select XY mode on the Siglent (i.e. one channel doing the vertical as normal and the other the horizontal deflection). You will see interesting patters (called"lissajous" patterns). Worth a try, can be quite fun to watch when slowly changing the frequency on one channelEdited to add: Keep in mind that the grounds of both of your channel inputs are connected to each other and to mains ground. Please never connect your standard scope probes directly to mains! Dave has a good video "How not to blow up your scope" or so. Well worth watching.

author: Romualds
author_rank: Contributor
timestamp: April 26, 2022, 10:58:27 am
content: Quote from: cyberwasp on January 24, 2020, 04:42:37 pmPerhaps reading "Pattern Trigger" section (page 76) of the Manual from the link above will help. This is a way you can trigger the oscilloscope according state of two channels.UPD: Haven't noticed I replied to very old post.