Post Created date
ATmega328p ADC to PWM
I will post it in txt format.
Tuesday, 13 March 2018 - 20:00
ATmega328p ADC to PWM
Have you even >>looked<< at the source?   I searched a lot for the Arduino map() source but could not find it. Could you please tell me where finding it?
Tuesday, 13 March 2018 - 19:57
ATmega328p ADC to PWM
I did make a recalculation and used it in the source but it gave no improvement for the maximum dutycycle e.g. 99.9%
Tuesday, 13 March 2018 - 19:48
ATmega328p ADC to PWM
Ok, the value for 0.1V is 20.48 and ofcourse I understand that the figures behind the dot can't be represented. I used the calculations in the source but it didn't provide a...
Tuesday, 13 March 2018 - 19:25
ATmega328p ADC to PWM
OK, the lower value for 0.1V is 20.48 and ofcource I understand that it can't be represented. I have used the calculation in the source but does not provide any improvement for...
Tuesday, 13 March 2018 - 19:21
ATmega328p ADC to PWM
Thanks, I will test it right away!
Tuesday, 13 March 2018 - 18:25
ATmega328p ADC to PWM
ADC max value = 409.6 and ADC min value = 122.88    because ADC=(Vin*1024)/Vref   The minimum DutyCycle (DC) reached now is ~2% but the maximum DC is now ~67.5...
Tuesday, 13 March 2018 - 13:45
ATmega328p ADC to PWM
- How do I scale the resulting range of ADC values to the required range of PWM values? - The voltage on the AD input should be between 0.1 and 2Vdc - This range should give a 3-...
Saturday, 10 March 2018 - 19:30
ATmega328p ADC to PWM
I have connected a normal potentiometer and with the current source I have a duty cycle of 1.075% to 99%. so it seems to me the source is ok. Would I be able to adjust the ADC...
Saturday, 10 March 2018 - 09:50
ATmega328p ADC to PWM
Sure that was a lot of work because I also started with Ohm's law equations to compensate the 65 ohm treshold. This evening I have less time but tomorrowevening I will make the...
Wednesday, 7 March 2018 - 20:04
ATmega328p ADC to PWM
assign the new value for OCR1A directly in the ADC --> how should I make this in the source?   The sensor is a kind of potentiometer as is used in petrol tanks of cars,...
Wednesday, 7 March 2018 - 09:16
ATmega328p ADC to PWM
I have the drawing as an attachment
Tuesday, 6 March 2018 - 21:33

Pages