{"product_id":"i2c-programmable-pwms-to-control-a-dc-motor-and-led","title":"I2C Programmable PWMs to Control a DC Motor and LED","description":"\u003cp\u003eThis project is based on the \u003cstrong\u003eDS1050\u003c\/strong\u003e chip, a 5-bit pulse-width modulator (PWM) controlled via a 2-wire (I²C) interface. The 2-wire bus allows a single master device to control up to eight slave devices (DS1050 or other compatible 2-wire peripherals). The project consists of a DS1050 I²C PWM generator combined with a MOSFET stage capable of driving high-current loads. It is primarily designed for driving LEDs and resistive loads, but it can also be used with inductive loads when an external flyback diode is added to protect against back-EMF.\u003c\/p\u003e\n\u003cp\u003eA \u003cstrong\u003e17A MOSFET\u003c\/strong\u003e is used on the board. Although the board has been tested up to \u003cstrong\u003e1A\u003c\/strong\u003e, it is capable of handling higher current when properly heat-managed.\u003c\/p\u003e\n\u003cp\u003eThe \u003cstrong\u003eDS1050\u003c\/strong\u003e provides a\u003cstrong\u003e 5-bit programmable PWM output\u003c\/strong\u003e, allowing the duty cycle to be adjusted “on-the-fly” from 0% to 100% in 3.125% steps. It supports up to eight addressable devices on a single I²C bus.\u003c\/p\u003e\n\u003cp\u003eThe chip is available in multiple fixed PWM frequencies: \u003cstrong\u003e1 kHz, 5 kHz, 10 kHz, and 25 kHz\u003c\/strong\u003e.\u003c\/p\u003e\n\u003cp\u003eThe populated board uses the 10 kHz version, DS1050-010 chip, which generates a 10 kHz PWM signal to control the average power delivered to the LED. A lower duty cycle results in lower average power and dimmer light output, while a higher duty cycle increases both the “on” time and LED intensity. For example, a 0% duty cycle fully turns off the LED, while 50% duty cycle drives it at approximately half power.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eFeatures\u003c\/strong\u003e\u003c\/p\u003e\n\u003cul\u003e\n\u003cli\u003eSupply 12V DC\u003c\/li\u003e\n\u003cli\u003eLoad Current Up to 1A\u003c\/li\u003e\n\u003cli\u003ePWM Frequency 10Khz\u003c\/li\u003e\n\u003cli\u003eDuty cycle Range 0% to 100%\u003c\/li\u003e\n\u003cli\u003ePWM Control – I2C Protocol\u003c\/li\u003e\n\u003cli\u003eVery Stable Output\u003c\/li\u003e\n\u003cli\u003eTiny Board\u003c\/li\u003e\n\u003cli\u003eHeader Connector for Loads and Power\u003c\/li\u003e\n\u003cli\u003eOn Board 56V Regulator to power the Microcontroller\u003c\/li\u003e\n\u003cli\u003eOn Board Power LED\u003c\/li\u003e\n\u003cli\u003ePCB Dimensions 26.67 x 20.96 mm\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003e\u003cstrong\u003eConnections\u003c\/strong\u003e\u003c\/p\u003e\n\u003cul\u003e\n\u003cli\u003eCN1: Pin 1 = VCC 5V, Pin 2 = SCL\/A5, Pin 3 = SDA\/A4, Pin 4 = GND\u003c\/li\u003e\n\u003cli\u003eCN2: Pin 1,2 = VDD 12V DC, Pin 3,4 = =Load\u003c\/li\u003e\n\u003cli\u003eCN3: Pin 1,2 = VDD 12V, Pin 2,3 = GND\u003c\/li\u003e\n\u003cli\u003eD1: Power LED\u003c\/li\u003e\n\u003cli\u003eJumper J1 = Address A0, Jumper 2 = Address A1, Jumper 3 = Address = A2\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003e \u003c\/p\u003e","brand":"dotfry","offers":[{"title":"Default Title","offer_id":47249448730796,"sku":"M136","price":16.0,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0757\/6436\/7532\/files\/M136A.png?v=1789903965","url":"https:\/\/dotfry.com\/products\/i2c-programmable-pwms-to-control-a-dc-motor-and-led","provider":"dotfry","version":"1.0","type":"link"}