Noob here.
I programmed a Nano to produce two digital outputs from 2 inputs.
But my real issues started using my new $180 oscope/signal generator. (ADS1040D)
I was getting signals out of all digital pins.
One of my inputs was analog, and I removed it, and again, signals on all digital pins.
I removed power from the Nano, and still got pulses on all pins.
I tried an unprogrmmed Nano and it was very similar, though some values were different.
The only time the outputs stop, is when I remove the, single digital input.
It seems like I'm hooking up the oscope correctly; an output and an input, and using Auto Run.
Also removing the probes' grounds completely, does not stop the input and output waveforms.
I've double and triple checked for crossed leads etc.
I must be doing something very basic wrong
To test whether the signal is EM pickup from the scope leads, short the scope probe tip to scope ground. Those long loopy connections with alligator clips are great antennas.
Scope probe artifacts are among the worst of beginner problems, and more are in store. Use 10X probes for most day-to-day work, and avoid long wires like the plague.
Thanks, didn't think of that.
The voltages were 10-40mV. Ah, I was thinking millivolts, but I think mA is micro volts.
That threw me I think.
I'll check for noise
@ JohnRob
As far as grounds, it's the same if I connect them all or not. I read that they share gound in the scope, at least with generator.
Hmm, but that don't make sense. You could have different circuits. ???
I've checked both ways here on this one.
Looking at your picture, I see you are using LED lights. Turn them all off and any fluorescent lights.
I see only ONE possible scope probe. Did you adjust the compensating capacitor as per scope instructions? You are showing two traces on the scope, but only ONE possible 10X probe in the picture. Where is the second 10X probe?
Hi guys, so as you remember I had an analog input and a digital input.
The analog input/duty pulse output ran fine.
Then I put code just for digital input/digital output.
I asked it to double the frequency. Tried from 5hz to 30hz. It would not do it.
Put out exactly same frequency as input.
I asked for 4v output to overide noise. It kept the same tiny voltage.
I thought I was on a roll since I had the analog success, but no.
Is the Hz range OK?
Or what could it be?
Seems like the oscope is pretty ironed out.
I tried several codes. Honestly I get them from Controllino. It has made some good codes for me before
What are the inputs?
I assume they are from the scope's signal generator.
Can you please post a copy of your circuit, a picture of a hand drawn circuit in jpg, png?
Hand drawn and photographed is perfectly acceptable.
Please include ALL hardware, power supplies, component names and pin labels.
Please include scope connections as well.
Thanks.. Tom..
PS. What make and model scope? ADS1040D ????