Proton BASIC community web site
  • Register
  • Forgotten Your Password?


Hello Unregistered ,


  • Home
    • Welcome to Proton BASIC Compiler
  • BUY
  • Forum
  • Beginners
  • Files
  • What's New?
  • Wiki
  • ++ UPDATES ++
  • My Notes
  • Member Map
  • Advanced Search
  • Home
  • Home
  • Wiki
  • Example Code
  • PWM

  1. If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.
  • Menu

    • Proton Products
      • Hardware
        • Amicus 18
        • PROTON Development Board MKII
        • Proton Serial Graphics LCD
        • Crownhill Solderless Development System
        • ProtonIR - Infra-Red Development Kit
        • Proton-Smart - Smart Card Development
        • Proton Net - Networking for PICŪ microcontrollers.
        • Proton ChipDrive Mobile Development System
      • Software
        • Proton Development Suite
        • Proteus VSM
        • Proton for FREE!
      • Resellers
    • Support
      • Pre Sales Questions
      • Supported microchips
      • OnLine Ordering
      • Compiler Updates
      • Contact Us
      • About Us
      • Legal Stuff (in no particular order)
    • Beginners
      • Glossary of Terms
      • How to...
    • Wiki
      • Wiki Help
      • Useful Links
      • Tips and Tricks
        • Math
        • I/O
        • Conserving Power
        • Proton
        • ADC and Measurement
        • LCDs and Displays
        • Simulate and debug
      • Application Notes
      • New devices and techniques
      • Tools and Utilities
        • FineLine IDE
        • USB Bootloader for 18F Units
        • Timer Calculator
        • The Terminator
        • Find Full File Names Greater Than 255 Utility
      • Library Manager
      • Plugins
      • Example Code
        • A/D
        • Amicus18
        • Audio
        • BCD
        • EEPROM
        • Encoder
        • Encryption
        • GPS
        • I2C
        • Infra Red
        • Interrupts
        • Keypads
        • LED Display
        • LCD Text
        • LCD Graphic
        • Port expander
        • Proton24
        • PWM
        • Radio frequency
        • Real Time Clock
        • Sensors
        • Serial Data
        • SPI
        • Temperature sensing
        • Timers
        • Ultrasonic
        • USART
        • USB
        • Other Example Code
      • WiFi
      • Linux
      • Electronics Suppliers
        • UK and Europe
        • USA
          • Parts Sources
          • Parts Search Engines
          • PCB Fabrication Services
          • Tools and Production Equipment
        • South Africa
          • Misc stuff
    • Projects
      • Plug-In & Library Dev
      • PCB Rework Equipment
        • PCB Rework Equipment
      • Audio & Music
      • Opto & Display
      • Games
      • Automotive
      • Radio / RF
        • GSM
        • 3G
        • GPS
        • Amateur
          • ShortWave
          • VHF
          • UHF
          • SHF
          • Test & Measurement
      • Data Logging
      • R/C Model
      • Seasonal
        • Halloween
        • Christmas
        • Easter
        • 4th July
        • Guy Fawkes
        • New Year
      • Robotics
      • Nautical
      • Aeronautical
      • Health & Safety
      • Home & Utility
      • Test & Measurement
      • Loaders
      • RTOS
      • Other
    • Videos
      • Proton PICŪ BASIC
      • Electronics
      • Microchip
      • Special Interests
        • Robotics
        • Silicon
        • PCB Manufacture
        • CNC
    • Interesting
    • Industry News
      • Microchip News
      • Maxim News
      • Linear News
      • TI News
      • New Technology
      • Dataweek
      • Other
        • Legislation
        • Components
        • Technology
        • Products
  • PicŪ Basic


  • PWM

    PIC with upto 8 (alternating) HPWM extra channels 

    by
    Henk57
    • View Profile
    • View Forum Posts
    • Private Message
    • View Articles
    Published on 1st December 2015 17:22

    I needed 6 channels extra besides the standard built-in HPWM of the PIC. I knew that a standard CMOS Muxer, can fulfill ...
    Read More Read More

    18F2331 Basic PWM Code 

    by
    pic-ignorant
    • View Profile
    • View Forum Posts
    • Private Message
    • View Articles
    Published on 15th September 2013 21:28

    Had a play with the Motor Control PWM module on the 18f2331. Here is some basic code that can switch PWM between PWM0 and PWM1 and ramp duty cycle up and down. Used it on a L6203 to change direction/speed on a 24V 35w Brushed gear motor. Might be helpful as a starter to somebody one day.

    John
    ...
    Read More Read More

    Flexible Hpwm routines for 18F devices 

    by
    Les
    • View Profile
    • View Forum Posts
    • Private Message
    • Visit Homepage
    • View Articles
    Published on 1st October 2012 09:30

    I've created a selection of macros that allow much more flexibility for controlling the CCP peripherals operating as PWM on suitable 18F devices.
    ...
    Read More Read More

    An example of non distributed software interrupt driven PWM 

    by
    Tim
    • View Profile
    • View Forum Posts
    • Private Message
    • View Articles
    Published on 6th November 2011 19:24
    Categories:
    1. PICŪ BASIC
    Article Preview

    Here is another example of multiple PWM's being driven by an non distributed Interrupt routine

    Sometimes you ...
    Read More Read More

    Controlling multiple led's individually by means of PWM 

    by
    hadv215
    • View Profile
    • View Forum Posts
    • Private Message
    • View Articles
    Published on 29th July 2010 16:23
    Categories:
    1. PICŪ BASIC

    PWM’ing many LED’s

    Have you seen those RGB displays with continuously changing colours?
    Like it? Want ...
    Read More Read More

    How to read PWM and convert it to Duty Cycle 

    by
    John Drew
    • View Profile
    • View Forum Posts
    • Private Message
    • Visit Homepage
    • View Articles
    Published on 8th March 2010 01:33
    Categories:
    1. PICŪ BASIC

    A number of encoders output Pulse Width Modulation. This article describes how to receive and decode a PWM signal coming ...
    Read More Read More

    Another example of 10 Bit HPWM 

    by
    joesaliba
    • View Profile
    • View Forum Posts
    • Private Message
    • View Articles

    Attached code: - 10 bit HPWM.zip

    Explanation

    I required to use a 10 bit HPWM. The HPWM command ...
    Read More Read More

    How To... 10 Bit HPWM 


    10 Bit HPWM by Les Johnson


    Explanation


    Code attached: - 10BITHPWM.zip
    ...
    Read More Read More

    • Contact Us
    • Home of Proton BASIC (Proton Development Suite)
    • Archive
    • Privacy Statement
    • Top
    All times are GMT +1. The time now is 10:46.
    Powered by vBulletin®
    Copyright © 2018 vBulletin Solutions, Inc. All rights reserved.
    © Crownhill Associates Limited 1995-2016, All rights reserved.

    All Trademarks acknowledged. E & OE


    Your IP Address: 23.20.165.182  |  OS: Unknown  |  Browser: Unknown