Good morning,
i need to drive an equipment which uses a DB37 connector.
I have the pinout of the connector and i can see that i need 2 analogic output, from arduino to the equipment (0-10V). On the remaining pins i need to transmit digital signals (0-5V).
Is it possible to use Arduino for this job ?
I'm pretty new to arduino. Could you please detail which additional hardware is needed? Thank you
Tells us more about the project to enable us to tell you more. I guess you might need some kind of DAC but it might be done with simple R-C-circuit and a PWM pin.
Tell us what kind of device it is, what signals you identified, what functionality you want to achieve, etc.
I make you a simplified example of what i need to do.
I have an equipment, which should comunicate with arduino.
I have 6 pins, each of them carry a signal of value of 0V or 5V.
For example
The six pins constitutes a binary sequence 505000, this binary number corresponds to decimal 40. Input for arduino will be "40". Now, i need to perform this operation: 40*0.144=5.76.
Finally, i need that pin7 will provide an output of 5.76V
I need to perform similar operations, but with a larger number of pins, so i need to use a db37 connector.
40*0.144=5.76
That's 6 bits to reach (almost) 10volt.
No Arduino needed.
Can be done with a simple "R2R ladder" and an opamp to increase voltage to 10volt.
"A larger number of pins" doesn't mean anything to me.
Be specific.
Leo..
@Leo. I gave you a simplified picture of what i need to do, as i felt that more details are not needed.
I'm sure that i need to use arduino, as i have to elaborate input from the pins in a more complex way. Moreover, i need to redirect the output also on a ethernet controller...such details are not needed now.
10volt in 64 steps (6-bit) is a ~156mV resolution.
Ir seems that an 8-bit PWM output with simple RC filter followed by an opamp with 2x gain is more than enough.
First step would be to convert the six bits into an 8-bit value that can be written to a PWM output.
Leo..