Attiny13 Software Uart Bascom

broken image
broken image

Open the Arduino IDE, select the COM port of your cable and open the Serial Monitor. The next step is to monitor the serial output. With the cable attached, the ATtiny is now powered up and running. I use a 6-pin header on my board to make it easy to attach and detach the cable. I played with ( Attiny13a fast pwm frequency ) adding and changing this code esgeroth wrote as well as reading the manual on Fast PWM () ATtiny13 DatasheetĪny ideas would be great, the drivers are pushing 5730 LEDs. Next, connect the Serial cable to the breadboard.

broken image

To low has noticeable flickering.īefore I replace the inductors, I know we can change the freq the PWM signal runs at but I am having trouble implementing that. I tried running the Attiny13 at different clock speeds but I can not run the clock fast enough to get rid of the whine. However I have what I believe is inductor whine as the drivers use one 33mH inductor each. This code works great and I am happy with it. I have this program (below), it drives two LED drivers with PWM from two Pots.

broken image