Search found 7 matches

by SA007
Tue Oct 20, 2009 11:24 pm
Forum: V-USB
Topic: Where to get a small number of PIDS
Replies: 5
Views: 4261

Re: Where to get a small number of PIDS

The problem it seems that recently USB-IF actively started threatening usb-pid resellers with lawsuits. So most (if not all) have stopped selling ranges.

See also: http://www.voti.nl/docs/usb-pid.html
by SA007
Mon Oct 19, 2009 3:07 pm
Forum: V-USB
Topic: HID device won't communicate under windows.
Replies: 0
Views: 4422

HID device won't communicate under windows.

I've based a hardware PWM RGB controller on USB-HID, mostly copied from the Automator example. Under Linux I've got almost everything working (GET_REPORT still acts funny, but I don't really have to use that) Under windows is another story, It detects the device (no error on connect) but if I try to...
by SA007
Tue Jan 06, 2009 11:20 pm
Forum: V-USB
Topic: Timed output with avr-usb
Replies: 9
Views: 6841

100 microseconds is very noticable on a servo output. That is why I was looking for a way to interrupt the usb traffic during the signal calculation. It is indeed prossible to calculate the next interrupt but first I'm going to try the alot of interrupts approach to see if is improves/removes the pr...
by SA007
Sun Jan 04, 2009 11:36 pm
Forum: V-USB
Topic: Timed output with avr-usb
Replies: 9
Views: 6841

Mm, a glitch is unacceptable, not matter if its on 255 or on 0. The point is, if I use the PWM output to directly control the servo I don't have enough timers for multiple servo's. So, some software is required, and I think using one timer to do the 50Hz part and one to 0.01ms steps would be more op...
by SA007
Sun Jan 04, 2009 10:29 pm
Forum: V-USB
Topic: Timed output with avr-usb
Replies: 9
Views: 6841

100 steps is a LOT better than 12 :)

Do you mean making a timer that interrupts every 10µs or so and incement a counter and switch the servo on that?

That might actually be a good idea.
by SA007
Sun Jan 04, 2009 9:44 pm
Forum: V-USB
Topic: Timed output with avr-usb
Replies: 9
Views: 6841

The problem with that is that the attiny45 doesn't have a 16 bit timer. If I use the 8-bit PWM to control the servo, and would be able to get the prescaler to 50Hz. A servo has a range of 90 degrees over 1ms pulse width, at the required 20ms pulse delay that would mean that each step in the PWM woul...
by SA007
Thu Jan 01, 2009 9:44 pm
Forum: V-USB
Topic: Timed output with avr-usb
Replies: 9
Views: 6841

Timed output with avr-usb

Hi, Ik trying to get a pretty precicely timed output with avr-usb, but i've got a small problem: Because the mcu (attiny45) does not have a 16 bit timer ia have to partialy use software to make the output signal. This mostly works without a problem, but if I start communicating with the device the u...