TOP Contributors

  1. MIKROE (2784 codes)
  2. Alcides Ramos (405 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (133 codes)
  5. Bugz Bensce (97 codes)
  6. S P (73 codes)
  7. dany (71 codes)
  8. MikroBUS.NET Team (35 codes)
  9. NART SCHINACKOW (34 codes)
  10. Armstrong Subero (27 codes)

Most Downloaded

  1. Timer Calculator (141803 times)
  2. FAT32 Library (74940 times)
  3. Network Ethernet Library (59303 times)
  4. USB Device Library (49298 times)
  5. Network WiFi Library (45094 times)
  6. FT800 Library (44656 times)
  7. GSM click (31275 times)
  8. mikroSDK (30205 times)
  9. microSD click (27654 times)
  10. PID Library (27561 times)
Libstock prefers package manager

Package Manager

We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]

< Back
Example

ADC_to_PWM

Rating:

0

Author: jm_palomino

Last Updated: 2018-01-02

Package Version: 6.6.3.0

Example: 1.0.0.0

Category: Motor Control

Downloaded: 861 times

Not followed.

License: MIT license  

This code is a example of how to use the adc values to control a pwm output and shows the values in a lcd2x16

1) this code was made for pic16f887
2) if you want to control a motor with pwm then I suggest you that you use a mosfet or an IGBT

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "ADC_to_PWM " changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "ADC_to_PWM " changes.

Do you want to report abuse regarding "ADC_to_PWM ".

  • Information
  • Comments (0)
DOWNLOAD LINK RELATED COMPILER CONTAINS
mikroC PRO for PIC
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc

Example Blog

Blog currently doesn't exist!

ALSO FROM THIS AUTHOR

PWM example with W806

0

example of how to use the pwm peripherical with microcontroller W806

[Learn More]

kepdad 4x4 (only 3 wire)

0

Using a 74HC165 (8-input shift register) and a CD4017 (Johnson counter), we can read a 4x4 numeric keypad and show the key values ​​on the LCD2x16 and the values ​​read directly from the 74HC165 are displayed by a 74HC595 (8-output shift register). I made the code for a pic16f887 MCU

[Learn More]

DS18B20_RP2040

0

I show you how to use the temperature sensor ds18b20(one wire) witn the microcontroller rp2040(raspberry pi pico)

[Learn More]