Skip to content

marceloh220/Tiny_PWM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tiny_PWM

Dual channel PWM driver controller. For LEDs, motors and other strangers things.
Based on Attiny25/45/85 microcontroller this device have two PWM channels controlled by independent potentiometer.

Fusebits:

  • Low: 0x62
  • High: 0xDC
  • Extended: 0xFF

Install avr-gcc:

  • windows:

    https://blog.zakkemble.net/avr-gcc-builds/
    

    Include the bin directory on system path

  • Debian/Ubuntu:

    sudo apt install gcc-avr avr-libc binutils-avr
    
  • RedHat/Fedora:

    sudo dnf install avr-gcc avr-libc avr-binutils
    
  • Arch/Manjaro:

    sudo pacman -S avr-gcc avr-libc avr-binutils
    

Install avrdude:

  • Windows:

    Avrdude comes with avr-gcc

  • Debian/Ubuntu:

    sudo apt install avrdude
    
  • RedHat/Fedora:

    sudo dnf install avrdude
    
  • Arch/Manjaro:

    sudo pacman -S avrdude
    

Install Make:

  • Windows:

    Make comes with avr-gcc

  • Debian/Ubuntu:

sudo apt install make
  • RedHat/Fedora:
sudo dnf install make
  • Arch/Manjaro:
sudo pacman -S make

Using:

  • Generate executable .elf files

    make all
    
  • Generate .hex files

    make hex
    
  • Clean build

    make clean
    
  • Verify size program

    make size
    
  • Configure fusebits

    make fuses
    
  • Upload to device

    make program
    

About

Dual channel PWM driver controller. For LEDs, motors and other strangers things.

Resources

License

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors