Need 30hz PWM out on a pin based on a channel input

Development & General Chat for the superb openxvario project.

Moderator: rainer

Post Reply
raleighcoter
Posts: 23
Joined: Mon Apr 18, 2016 10:40 pm
Country: -

Need 30hz PWM out on a pin based on a channel input

Post by raleighcoter »

I'd like to build an openxsensor with 2 temperature sensors, rpm, and the ability to read a channel and output to a pin a pwm 30 times a second.

Before I build the hardware, does an Arduino have enough power to do all that?

Sent from my Pixel 2 using Tapatalk


mstrens
Posts: 1435
Joined: Fri Dec 27, 2013 7:49 pm
Country: -

Re: Need 30hz PWM out on a pin based on a channel input

Post by mstrens »

Yes.
It is possible with an Arduino.
raleighcoter
Posts: 23
Joined: Mon Apr 18, 2016 10:40 pm
Country: -

Re: Need 30hz PWM out on a pin based on a channel input

Post by raleighcoter »

I'm now realizing 8 bit pwm is standard. I was hoping for 10 bit at something around 30hz. I think I can do that on pin 11 using timer1.

Sent from my Pixel 2 using Tapatalk



Post Reply

Return to “OpenXVario - an open source vario supported by the open source firmwares!!”