I am building a coffee roaster using an Arduino Uno and a custom coffee roasting control board known as TC4+. The board has a PWM controller built in. I have a 24V power supply and a motor, which is part of a repurposed hot air popcorn popper, that is rated at 20.5V, 1.78A. In looking up recommendations, one respondent said the power source should be rated for at least twice the motor current rating because of the inrush current. Since the PWM controller will never run the motor at full duty cycle, can I get away with using the slightly higher voltage PS given that finding a supply for 20.5V seems impossible. Even the Buck convertors I have found are not rated at the roughly 4A needed to meet the "twice the current rating" that was recommended. Thoughts? Recommendations? Thank you for your help!
Thank you, Mr. Abbott! Your explanation is awesome! Regarding the higher frequency suggestion, I found on another post that it is possible to change the PWM frequency in the code. Here's what they said:
// The faster frequencies below are for advanced users only, and will require changes to the PWM16 Library
//#define TIME_BASE 15 // approx. 977 Hz
//#define TIME_BASE 7 // approx. 1.95kHz
//#define TIME_BASE 6 // approx. 2.2kHz
//#define TIME_BASE 3 // approx. 3.9kHz
Are you recommending I select the 3.9kHz option? Also, I was able to find an 8A Buck convertor, so I can input the precise voltage if needed. However, if you think driving the circuit with the aforementioned 24V source is better, I will do that.
Below is the blurb from the TC4+ user manual regarding the configuration of the add-on board that controls the DC load:
"The board features an on-board power MOSFET transistor to drive small DC loads, with PWM control. This is controlled via the Arduino’s IO3 pin. By default, the kit and assembled boards come with an IRF540N transistor. This is rated for up to 100V and 33A. Note however that the copper traces on the board are only rated for around 4A. A current much higher than 4A is strongly discouraged. The MOSFET acts as a low-side switch for the load attached to the DC+ and DC- terminals. In other words, it sits between DC- and GND. DC+ is connected directly to VIN. Therefore, with a suitable power supply connected to VIN and GND, you can connect a DC load to DC+ and DC-, and control it from the Arduino. The circuit was designed with DC fans in a popcorn roaster in mind, but the driver is by no means limited to this type of load. Make sure that the load is PWM-compatible."