Search found 2 matches

by fkpwolf
Thu Feb 02, 2012 11:05 am
Forum: V-USB
Topic: usb got disconnected as pin attached with PC Fan speed wire
Replies: 1
Views: 2049

Re: usb got disconnected as pin attached with PC Fan speed wire

ok. I found I need a pull-up resistor after several night debug...
by fkpwolf
Mon Jan 30, 2012 4:10 pm
Forum: V-USB
Topic: usb got disconnected as pin attached with PC Fan speed wire
Replies: 1
Views: 2049

usb got disconnected as pin attached with PC Fan speed wire

my environment: attiny45, default circuits which use internal RC oscillator. So PB5, PB4, PB3 and PB0 are left for own using. It works well at most test case. And now I want to use it to monitor common 4pin PC Fan speed. I use Timer 0 overflow interrupt: TCCR0B = 0x02;// 1:8 presc. TCNT0 =0; TIMSK= ...