High Im using a MAF voltage to open 3 solenoids progressively, as airflow increases.
The MAF puts out 0-5v as airflow increases.
The Nano output should be 50% duty pulse.
When I test the Nano, using it's own 3.3v, as a test signal (I verified that voltage is present.) , I get no digital output.
I'm kind of a noob. Any help would be appreciated.
Yes. Though I expressed it awkwardly.
The 3.3v was taken to AO. I read 3.3v there.
There is another function involving INJECTOR_PIN2 that I am not testing yet. It makes dital output to the single pin3. But I'm not testing that one yet.
With this part released, it does not print on the serial,
but with this part commented,
the value read from the potentiometer (simulating the sensor) appears on the serial.
Run the simulator with the part released and then comment on the part and run it again.
and vary the potentiometer value.
I think what we want is for you to use the serial monitor, and Serial.print()ing, to confirm the values of key variables and be certain they are properly informing the flow through your code.
I don't think I've ever gotten something to work, and know for sure it is doing it the way I want, relying only on the behaviour I observe.
Printing or extra LED feedback or logic analyzer or oscilloscope - whatever it is, a window into what the code is up to.
I leave most of that printing, if that's what I used, in the sketch. They chat quite a bit as they go about their business.
When deployed, the printing just goes into the bit bucket who cares?
TBH I would be adding printing before squinting if I were in the lab ready to take a closer look at you sketch.
You thinks it block the whole Nano? I'm not testing injector code yet, but maybe it doesn't matter.
Ah I start to see now. Maybe the code can not run. Very smart. I didn't see that possibility.
Thank you
Yes that makes sense.
I never used the serial printer yet, so it's a good time to learn.
Thanks.
Hi.
I don't know if I'm really stupid, or if it's just limited to today, but I cannot make a waveform appear on this oscope/generator.
I need to supply my Nano with an approx. 20Hz 25% duty signal.
I've watched a dozen video on this model and am apparently missing something.
The instruction book help a little, but not enough.
This is the ADS1014D. Very cheap, low performance, but all I need is a general output and also read.
I see guys on YouTube and they have a wave right here.
I've connected the output to ch1 input. I push auto run, and various other buttons.
Basically every button I push just makes the wave parameters window disappear.