Search found 12 matches

by Fractal
Wed Jun 20, 2012 12:05 pm
Forum: LeoStick
Topic: Possible LeoStick Shields
Replies: 5
Views: 4269

Re: Possible LeoStick Shields

An argument against an adaptor shield is that it's a bit redundant- for the cost of such a shield, a whole new leonardo/clone in the large form factor could be purchased, unless you scale up production quite a lot. For power, it's probably better off to make a general purpose usb female power supply...
by Fractal
Fri Jun 01, 2012 5:33 pm
Forum: LeoStick
Topic: Adjusting USB bMaxPower value w/ Arduino 1.0.1
Replies: 6
Views: 9732

Re: Adjusting USB bMaxPower value w/ Arduino 1.0.1

Hey, this looks great! I didn't know you could modify variables through different libraries like that, but it's a very neat way of doing it, much cleaner than faffing around with eeprom, in retrospect. I don't think it's too clunky, anyway, it should compile to roughly the same thing. It is a bit su...
by Fractal
Wed May 30, 2012 10:03 am
Forum: LeoStick
Topic: Building Arduino 1.0.1 Bootloader for Leostick
Replies: 18
Views: 38656

Re: Building Arduino 1.0.1 Bootloader for Leostick

That would be useful, though the ideal one would be for it to try to negotiate the maximum power possible (500ma for the internal polyfuse), but even if it can't get it, store the current max power in eeprom (presumably given it's only 8 bits, store it in terms of unit loads (100 ma) ). Then you cou...
by Fractal
Wed May 23, 2012 3:12 pm
Forum: LeoStick
Topic: Arduino V1.0.1 and the LeoStick
Replies: 4
Views: 4747

Re: Arduino V1.0.1 and the LeoStick

Ah, that explains the large bit in the middle filled with FFFFF.
Still would be nice to see tone() fixed, though to do it properly would require more coding knowledge than I have.
by Fractal
Wed May 23, 2012 2:10 pm
Forum: LeoStick
Topic: Building Arduino 1.0.1 Bootloader for Leostick
Replies: 18
Views: 38656

Re: My Experience Building Arduino 1.0.1 Bootloader for Leos

Hrm, it seems to be tucked away in USBcore.h, in the cores directory. I don't think smart negotiation will be trivial, shame. Nevertheless, it is a simple matter of changing a 500 to a 100, to solve this particular problem. No idea how to re-enumerate in a sketch though!
by Fractal
Wed May 23, 2012 1:46 pm
Forum: LeoStick
Topic: Building Arduino 1.0.1 Bootloader for Leostick
Replies: 18
Views: 38656

Re: My Experience Building Arduino 1.0.1 Bootloader for Leos

Hah, yes luckily the makefile had the new PIDs/VIDs uncommmented. Next problem is the power - It's all fine running directly off a 500ma port, but plugging the stick into a 100ma max unpowered hub (my keyboard) leads to an error- the stick wants 500ma, but refuses to negotiate down, leading to an an...
by Fractal
Wed May 23, 2012 1:21 pm
Forum: LeoStick
Topic: Building Arduino 1.0.1 Bootloader for Leostick
Replies: 18
Views: 38656

Re: My Experience Building Arduino 1.0.1 Bootloader for Leos

Ah, I'm a muppet. The wrong PID was for when the board had left the bootloader, and had started running sketches! (I still don't know how that gets assigned, but nevermind!)
by Fractal
Wed May 23, 2012 12:53 pm
Forum: LeoStick
Topic: Building Arduino 1.0.1 Bootloader for Leostick
Replies: 18
Views: 38656

Re: My Experience Building Arduino 1.0.1 Bootloader for Leos

That's pretty awesome! I gave it a shot, on mac os x, by downloading the first file, and just uploading the bootloader. It works fine, though sadly without the specific inf file, it's still "USB IO board " Product ID: 0x4151 Vendor ID: 0x20a0 is what is listed with that bootloader - the existing mak...
by Fractal
Tue May 22, 2012 8:41 pm
Forum: LeoStick
Topic: Arduino V1.0.1 and the LeoStick
Replies: 4
Views: 4747

Arduino V1.0.1 and the LeoStick

So, the Arduino IDE version 1.0.1 has been released, and the exiting new feature is out of the box Arduino Leonardo support. No more editing boards.txt, or inserting extra folders, to get an Atmega 32U4 to work. I've been doing a bit of playing, several things are of note Now, when you press upload,...
by Fractal
Mon May 21, 2012 11:22 pm
Forum: LeoStick
Topic: USB-Rubber Ducky scripts on Arduino/LeoStick
Replies: 4
Views: 5940

Re: USB-Rubber Ducky scripts on Arduino/LeoStick

Very neat, the most I've played around with this was to make an auto clicker for an (ultimately botched) windows install. Hopefully, with the official release of the Arduino Leonardo, the sendReport function will be patched to be public, every post/guide for HID keyboard I've seen includes that modi...