|
Audio Asylum Thread Printer Get a view of an entire thread on one page |
For Sale Ads |
66.177.177.194
In Reply to: RE: microcontroller help posted by rage on January 25, 2017 at 10:21:10
This one doesn't pull as much current and zener protects over voltage.
I can calibrate with pot as well, this should give a little more isolation. I would download LTSpice, you can model these divider networks quickly.I used an Arduino and monitor the voltage at cathode for protection. Converted to floating point, simply do the math for the voltage conversion.
If you want to share some code I can give you a link to my one-drive.
Still work in progress but have the cathode monitored working now. Also have code which gives me soft start.analog_val = analogRead(cathode_Pin) ; // read the input pin
analog_val = (analog_val *.0049)* 10.0; //Convert input counts to floating point volt value
float_int = analog_val; //convert from floating point to integer
Serial.print("Int = "); Serial.println(float_int,DEC);
Edits: 01/25/17Follow Ups:
this seems a bit more complicated...whats going on with this circuit?
I can understand wanting some isolation...
Just another divider network. More resistance, much smaller wattage resistors required and a way to calibrate your arduino input. The zener is not required but will protect the arduino if voltage goes to high.
Post a Followup:
FAQ |
Post a Message! |
Forgot Password? |
|
||||||||||||||
|
This post is made possible by the generous support of people like you and our sponsors: