Looking for a new device

Hello,
we are looking for a device with the following requirments:
5 digital Input/Output which generate PWM with phase-shift.
3 digital Input/Output with High Speed Counter.

Can anyone help?
Thank you in advance

Welcome to the forum.

It is a simple question, but you are asking a lot.
Do you want a 5V board or a 3.3V board ?
How fast and how accurate should it be ? We like to know the numbers: kHz, microseconds, PWM resolution, and so on.
Do you want to do something else ? For example reading the Serial port, or writing data to an SD memory card ?

Suppose an Arduino Uno with only software, then maybe counting input pulses up to 1kHz should be possible. The Arduino Uno has two normal interrupts, and there is a library "EnableInterrupt" for the interrupts on the other pins. Perhaps counting up to 10kHz is possible with interrupts.
The Arduino Uno can count an input with a timer, there are libraries that can count up to a few Mhz, but only for one input.

The Arduino Uno has PWM output at about 500Hz, but without phase-shift. It has only three timers.
What is the relation between the 5 PWM signals ? Do you want a 5-phase PWM signal ?
For the most boards, that means using an interrupt and setting the outputs in software.
When the resolution is 256, and a Arduino Uno with the TimerOne library is used, then perhaps 5 phase shifted PWM signals of a 1kHz is possible.

If you want something faster, then there is the Raspberry Pi Pico. If you have really high demands, then there might be a way to do this in hardware on a Teensy board, but you have to write the code yourself.

For the PWM, you could use an external board. Look at the PCA9685 boards, offering 16 PWM outputs.

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.