pwmGenerator can be used to generate PWM signals or variable frequency. With these PWM pins [iCP12: RC1, RC2], user can easily to control PWM signals width (0% - 100% @ 8-10bits resolution) with different frequency setting and direct command from COM port.
The features of pwmGenerator are listed as followings:
- PWM width control at 8-10 bits resolution
- Width ratio, percentage and DAC voltage display
- Adjustable frequency from 3kHz to 200kHz
- Command line x3 to allow user to transmit iCP12 command
Supported Operating System:
Supported Models:
- iCP12 - usbStick with [iCP12_DAQv1.2_Firmware.hex]
Command Line:
- The command lines are using the ASCII format
- Transmit format: ( xxxxx ), Reply format: < xxxxx >
- Following commands are available in the communication interface:
-
Function |
Data |
Command |
Ack/Reply |
PM (PWM) |
(PM| Port: 1b | Type: 1b : Value : 4b) |
|
|
e |
PMxe: Enable PWM1, x: 1,2 |
(PM1e) |
# |
d |
PMxd: Disable PWM1, x: 1,2 |
(PM1d) |
# |
f |
Set PWM1 with Frequency 3kHz, Freq (Hz): 3k - 200k (PWM1 & 2 same freq) |
(PM1f:003k) |
# |
r |
Set PWM1 with Ratio 50%, Ratio: 0-1023 |
(PM1r:0512) |
# |
Photos (with iCP12 - usbStick):
- pwmGenerator v1.0 GUI

- PWM Waveform with R: 10K & C: 0.1uF [CH1: PWM pin, CH2: RC output]

- Frequency Waveform with R: 1K & C: 0.1uF [CH1: PWM pin, CH2: RC output]

- RC Filter circuit

Download:
- iCP12 - usbStick: pwmGenerator v1.0 [exe|hex]: Link
- FREE Visual Basic 2008 Express Software: Link
Source Code: pwmGenerator_v1.0 (VB2008)
- Download link will be provided immediately after payment
- Please download the file at [My Account][My orders][Order details][Reference]
