I found Op Amps to be a Cure to my Woe(s)!

Hey You and You All Too,

So, here:

OP_AMP_LM358N

This is from a TI datasheet of the LM358N package that I “will be” using to test out a machine from the BBB and/or BeagleY-AI (if I can get the coprocessors working). I have found, thanks to Ben, a set of gcode parser and pin-conf types for the am335x and BBB/BBG.

Anyway and this is how little I understand right now:

  1. Is there only one output or are there two outputs to the LM358N package. I see the photo from above in the picture but I am lacking concepts for using the build…
  2. There are documented scenarios for using the LM358N package.
  3. Output A and Output B are outputs from what I understand but how would you go about connecting them?

So, the build from what was described to me was for a 2N7002 and with a single output.

Here is what I recorded from Ron from TI:

This fellow, Ron, was nice enough to make me understand the simplicity of some circuits and how I can use CMOS/am335x technology with other amplified circuitry. Phew.

Seth

P.S. I was going to connect some motors and test the gcode parser tonight but it is late now. If you have any recommendations for the coprocessors on the AM67A or using the lib. in question, please give at will!

The lib. in question compiled and did so in a timely fashion which was odd. I can get the source to run and show data as output (mostly errors). The errors are due to my small build frame and the .gcode file not being within the “build frame.”

Would I need two GPIO pins for inverted and non-inverted pins?

Seth

Update Here

So, would I need two GPIO pins for one output here with a total of four GPIO pins for the two outputs on the LM358N? And if so, are six GPIO pins available on the BeagleY-AI at once or are there rules that apply, e.g. setting up of a DTS file set?

Okay and A-Okay,

I see my errors in judgement. No. I do not need two GPIO pins for inverting/non-inverting pins. They need extra care. So, one of the inverting/non-inverting pins need exactly, one GPIO pin while it being A. And…while B, since there are two outputs on the chip with four inputs (LM358N), needs the same…

So, per LM358N, I am thinking I need only two GPIO pins as output from the BeagleY-AI and another circuit to handle the negative (of inverting) and the negative (of non-inverting) of the opposing pins.

This gets complicated and quickly. Then, 3.3v (GPIO) from the beagley-ai gets rerouted into 1.65v to hit the opposing pins. So, I thought...

I am still not receiving any output from my stepper. Either the logic is off or the circuit is bogus. Either way, I am still learning!

Seth