Search found 8 matches

by greenbarron64
Mon Nov 26, 2018 8:58 am
Forum: Arduino
Topic: Using the MCP4725
Replies: 2
Views: 87

Re: Using the MCP4725

Hi jremington,

Thanks.
by greenbarron64
Mon Nov 26, 2018 8:58 am
Forum: Arduino
Topic: Rotary Encoder to Voltage (0v-5v) - MCP4725
Replies: 10
Views: 348

Re: Rotary Encoder to Voltage (0v-5v) - MCP4725

Hi lyndon,

Thanks for your reply.
by greenbarron64
Mon Nov 26, 2018 4:22 am
Forum: Arduino
Topic: Using the MCP4725
Replies: 2
Views: 87

Using the MCP4725

Hi, I've got the MCP4725, how do I write simple voltages like 2.4v? The Guide blow on the Sparkfun page gives very little explanation on what exactly the firmware is all about at least to someone new to Microcontrollers; https://learn.sparkfun.com/tutorials/mcp4725-digital-to-analog-converter-hookup...
by greenbarron64
Sun Nov 25, 2018 2:31 pm
Forum: Arduino
Topic: Rotary Encoder to Voltage (0v-5v) - MCP4725
Replies: 10
Views: 348

Re: Rotary Encoder to Voltage (0v-5v) - MCP4725

Hi jremington, This is 1 of 3 different types of encoders I'm working on. Reverse engineering code or circuits helps the learning process but typically one needs to start from a working solution backwards. Projects too different from what I'm trying to accomplish in terms of length and complexity of...
by greenbarron64
Sat Nov 24, 2018 7:40 pm
Forum: Arduino
Topic: Rotary Encoder to Voltage (0v-5v) - MCP4725
Replies: 10
Views: 348

Re: Rotary Encoder to Voltage (0v-5v) - MCP4725

Sure, just output a voltage V = RPM*5.0/100.0 As you can see, V=5 if RPM=100, V=2.5 if RPM=50, etc. The Adafruit tutorial I linked shows you how to output a voltage. Keep in mind that 5V output from the MCP4725 corresponds numerically to 4095 at 12 bit resolution, so the formula that you will actua...
by greenbarron64
Sat Nov 24, 2018 6:51 pm
Forum: Arduino
Topic: Rotary Encoder to Voltage (0v-5v) - MCP4725
Replies: 10
Views: 348

Re: Rotary Encoder to Voltage (0v-5v) - MCP4725

I suggest to study the Adafruit tutorial, in order to learn how to use the MCP4725: https://www.adafruit.com/product/935 You will also need to learn how to convert encoder state changes into RPM values. Hi jremington, I learned how to convert encoder state changes into RPM values using code from th...
by greenbarron64
Sat Nov 24, 2018 6:32 pm
Forum: Arduino
Topic: Rotary Encoder to Voltage (0v-5v) - MCP4725
Replies: 10
Views: 348

Re: Rotary Encoder to Voltage (0v-5v) - MCP4725

Sure, what's your budget? Alternately, research frequency-to-voltage converter circuits. Hi Lyndon, thanks for your reply. My first attempt was using the LM331 but it was notoriously imprecise, the second issue was getting the parts to improve the circuit. I chose to use the microcontroller route b...
by greenbarron64
Fri Nov 23, 2018 8:30 am
Forum: Arduino
Topic: Rotary Encoder to Voltage (0v-5v) - MCP4725
Replies: 10
Views: 348

Rotary Encoder to Voltage (0v-5v) - MCP4725

Hey There I would like to Convert the Output from my Rotary Encoder into a proportion voltage output using the MCP4725. Here's the Encoder I own: http://www.encoderonline.com/Data-Sheets/Incremental/Data-07.htm Outout AB / 1,000ppr I'm able to read the change in state on the serial with the code bel...