Search found 12 matches
- Thu Jan 22, 2009 7:41 pm
- Forum: V-USB
- Topic: Continously sampling via ADC, how to start
- Replies: 15
- Views: 17023
- Thu Jan 22, 2009 6:49 pm
- Forum: V-USB
- Topic: Continously sampling via ADC, how to start
- Replies: 15
- Views: 17023
That's a bit of a suspicious result I think.
According to http://forums.obdev.at/viewtopic.php?t=19&postdays=0&postorder=asc&start=0, the theoretical limit is 24kbps and no one got above 7kbps.
Can you post more details and double check your results?
According to http://forums.obdev.at/viewtopic.php?t=19&postdays=0&postorder=asc&start=0, the theoretical limit is 24kbps and no one got above 7kbps.
Can you post more details and double check your results?
- Wed Jan 21, 2009 10:13 pm
- Forum: V-USB
- Topic: Continously sampling via ADC, how to start
- Replies: 15
- Views: 17023
Hi. The sample rate is variable and is set by the host (from 1.1 kHz - >10 kHz), and from my testing it is quite accurate. I built a small circuit using an ATTINY85 with a diode and BJT to reduce the 5V USB supply down to ~3.6 V. I used the 16.5 MHz RC module, which is good enough for me. My softwar...
- Mon Jan 19, 2009 7:43 am
- Forum: V-USB
- Topic: Continously sampling via ADC, how to start
- Replies: 15
- Views: 17023
Sorry I haven't had a chance to post this until now or to clean up my code, but here it is: http://www.megaupload.com/?d=EXUBE3WX
usbtest.c is the main program.
I can almost guarantee there are lots of bugs, so good luck
usbtest.c is the main program.
I can almost guarantee there are lots of bugs, so good luck
- Thu Jan 15, 2009 5:13 pm
- Forum: V-USB
- Topic: Continously sampling via ADC, how to start
- Replies: 15
- Views: 17023
- Sun Jan 04, 2009 7:10 pm
- Forum: V-USB
- Topic: Continously sampling via ADC, how to start
- Replies: 15
- Views: 17023
- Fri Jan 02, 2009 10:00 pm
- Forum: V-USB
- Topic: Using PCINT1 instead of INT0 on ATTINY45
- Replies: 1
- Views: 3157
Using PCINT1 instead of INT0 on ATTINY45
Is it possible to do this? I'm not familiar with the driver code so I'm not sure what else will need changing in the header file: /* ----------------------- Optional MCU Description ------------------------ */ /* The following configurations have working defaults in usbdrv.h. You * usually don't nee...
- Mon Dec 29, 2008 9:50 pm
- Forum: V-USB
- Topic: Continously sampling via ADC, how to start
- Replies: 15
- Views: 17023
I've made some progress and have something that works, but I still need to work out the best way to send the ADC output back to the host. So far I've only tried the default control endpoint, and I can get about 300 bytes/s sending back the ADC contents when requested by the host. FYI the code is som...
- Mon Dec 29, 2008 8:40 pm
- Forum: V-USB
- Topic: How fast is Software-USB
- Replies: 26
- Views: 36489
- Wed Dec 24, 2008 9:02 pm
- Forum: V-USB
- Topic: Continously sampling via ADC, how to start
- Replies: 15
- Views: 17023
Continously sampling via ADC, how to start
Hi, I'm new to USB programming and would like some advice on how I should proceed. I'm trying to write a program that will continuously (and preferably uniformly) sample a voltage via the integrated ADC on an AVR, and send the values over USB. I'll either use an ADC resolution of 8 or 10 bits and I'...
- Wed Dec 24, 2008 8:50 pm
- Forum: V-USB
- Topic: Zener diode suitability
- Replies: 5
- Views: 6031
- Sat Dec 20, 2008 5:31 pm
- Forum: V-USB
- Topic: Zener diode suitability
- Replies: 5
- Views: 6031
Zener diode suitability
I have a couple 1N4729A 3.6V, 1W zener diodes. Will these work with a 20 MHz clock? I didn't even think about the low power requirement when I bought them.
Thanks,
Roger
Thanks,
Roger