Search found 122 matches

by maxi
Mon Sep 20, 2010 9:42 pm
Forum: V-USB
Topic: Maximum Sample Rate in V-USB Data Acquisition Projects
Replies: 7
Views: 7512

Re: Maximum Sample Rate in V-USB Data Acquisition Projects

I am just searching for different choices and V-USB think is the best and cheapest one, if it can sample my Analoge signal to PC in atleast 250Sample/S. You could easily achieve 250 samples per second by modifying the firmware a little, i'm sure. Actually, that project was exactly how I discovered ...
by maxi
Mon Sep 20, 2010 12:31 am
Forum: V-USB
Topic: Maximum Sample Rate in V-USB Data Acquisition Projects
Replies: 7
Views: 7512

Re: Maximum Sample Rate in V-USB Data Acquisition Projects

A typical AVR8 has a maximum sampling rate of ~15 KHz @ 10 bit resolution. Although it would be tricky to buffer this rate smoothly through the USB stack without plenty of RAM.
by maxi
Sun May 23, 2010 2:40 pm
Forum: V-USB
Topic: Which ATmegas work out of the box with VUSB?
Replies: 1
Views: 2339

Re: Which ATmegas work out of the box with VUSB?

I see no reason why Atmega644 shouldn't work though i've not tried one myself I have had success with the mega48/88/168 range. You will need to use the zener diode level shift (as opposed to the series diode voltage drop method) so i'd order up a selection of 3.6V < 500mW zeners while you're at it. ...
by maxi
Sun May 16, 2010 4:12 am
Forum: V-USB
Topic: Need help with HID-mouse example
Replies: 7
Views: 5160

Re: Need help with HID-mouse example

Are there any special requirements for the zeners? None that I could say, other than those recommeded in the wiki. I am using BZXC3V6 myself but you might find it will work without any level conversion, it really just depends on your system. Give it another go with the zeners, see what voltages you...
by maxi
Sat May 15, 2010 3:39 pm
Forum: V-USB
Topic: Need help with HID-mouse example
Replies: 7
Views: 5160

Re: Need help with HID-mouse example

My circuit is as shown in the with-series-diodes.png from the circuits directory (except mine is a atmega644) The AVR is driven by a 12mhz crystal According to the datasheet ATmega644 is not rated for 12Mhz operation at < 4.5V. Series diodes will drop the voltage to around 3.5V Speed Grades – ATmeg...
by maxi
Thu May 13, 2010 10:40 pm
Forum: V-USB
Topic: Need help with HID-mouse example
Replies: 7
Views: 5160

Re: Need help with HID-mouse example

EDIT:

Sorry, I replied to the wrong post though most of what I mentioned in your other thread applies here too.
by maxi
Thu May 13, 2010 10:06 pm
Forum: V-USB
Topic: Using with AVRStudio4
Replies: 1
Views: 2242

Re: Using with AVRStudio4

Fuses perhaps? you really need to provide a lot more info such as F_CPU, avr model, type of zener used, any changes made to usbconfig.h and anything else you can think of that may be important. 'Device not recognised' is such generic error that could indicate so many things that it's impossible to g...
by maxi
Tue May 04, 2010 11:35 pm
Forum: V-USB
Topic: A simple example
Replies: 7
Views: 6086

Re: A simple example

I am wondering about your hardware setup, please tell us more about this. For example are you using the zener diode method, I would assume this as the mega's wont do that fcpu at under 4.5V. IME all enumeration errors with the stock examples have been down to either incorrect fuse settings or disfun...
by maxi
Mon May 03, 2010 4:17 am
Forum: V-USB
Topic: HIDKeys (and other examples) dont seem to work [ATMEGA32]
Replies: 4
Views: 5331

Re: HIDKeys (and other examples) dont seem to work [ATMEGA32]

I am sorry to here that the free support for this free software does not meet your expectations.
Although I must say that the firmware works fine with ATmega32 IME. I guess you must have done something wrong :roll:
by maxi
Mon Apr 26, 2010 9:37 pm
Forum: V-USB
Topic: Problem compiling examples with Visual Studio 2008
Replies: 22
Views: 22424

Re: Problem compiling examples with Visual Studio 2008

Well I honestly couldn't say without seeing the whole setup and I must say im not awfully familiar with MFC, I tend to use the wxWidgets api for GUI stuff. My guess is a conflict somewhere between the MFC headers shipped with WDK and those included with MSVC or the SDK. But like I already suggested,...
by maxi
Sat Apr 24, 2010 2:06 am
Forum: V-USB
Topic: Problem compiling examples with Visual Studio 2008
Replies: 22
Views: 22424

Re: Problem compiling examples with Visual Studio 2008

I dont currently have access to the notebook on which my test setup with WDK installed but IIRC there is some (limited) MFC stuff bundled with the WDK, maybe take a look in the /inc dir? Really speaking though MSVC was never intended for building device drivers, what I have presented here is actuall...
by maxi
Fri Apr 23, 2010 7:12 pm
Forum: V-USB
Topic: PS/2 to USB converter
Replies: 1
Views: 2218

Re: PS/2 to USB converter

Hi, I've not looked at the Adruino keyboard code but I would guess it should be ok. AFAIK the only thing you need to be careful of regarding interrupts is not use any interrupt lower (higher priority) than that which is used for the usb data line (usually INT0 anyway). The really inportant thing as ...
by maxi
Thu Apr 08, 2010 9:21 pm
Forum: V-USB
Topic: The simplest possible V-USB device
Replies: 6
Views: 7657

Re: The simplest possible V-USB device

AL wrote:By the way, could you explain why TWO 1N4148 in the USB power line? Thanks


Answers to this and other questions can be found in the V-USB documentation wiki: http://vusb.wikidot.com/.
See in particular, hardware considerations. Hope it helps.
by maxi
Thu Apr 08, 2010 9:12 pm
Forum: V-USB
Topic: hid-data on tiny45
Replies: 7
Views: 6298

Re: hid-data on tiny45

Hi, for OSCCAL all you really need to do is modify usbconfig.h something like this, in the relevant section. */ #if USB_CFG_CLOCK_KHZ==16500 #define USB_CFG_HAVE_MEASURE_FRAME_LENGTH 1 #include "osccal.h" #else #define USB_CFG_HAVE_MEASURE_FRAME_LENGTH 0 #endif /* define this macro to 1 if...
by maxi
Tue Apr 06, 2010 11:37 pm
Forum: V-USB
Topic: "Device Cannot Start (Code 10)" error on non-standart HIDs
Replies: 1
Views: 2329

Re: "Device Cannot Start (Code 10)" error on non-standart HIDs

Have you tried it using the hid-data example as a base?
Maybe this would be a good starting point: http://yveslebrac.blogspot.com/2008/10/cheapest-dual-trace-scope-in-galaxy.html