Questions tagged [lufa]

Lightweight USB Framework for AVRs.

LUFA is a library for creating USB devicec with AVR chips.

See Also

11 questions
6
votes
3 answers

USB descriptor (LUFA)

I'm trying to jump in the USB world with LUFA on a Teensy dev board, but I'm stuck in the understanding of the descriptors. Currently I'm trying to add one button to the joystick demo without sucess. Does anyone know some resource that explains step…
jojo l'abricot
  • 795
  • 1
  • 7
  • 13
6
votes
2 answers

Dual Role USB device on AVR

Is it possible to run both USB Host and USB Device controllers on top of an AVR (ATMega64)? Specifically, what I'm looking for is to receive data from a usb keyboard, and simultaneously sending keystrokes to a PC. From what I've seen, both VUSB &…
mentalist
  • 395
  • 3
  • 7
5
votes
3 answers

Which AVR hardware for USB?

I wonder which hardware will be the best for playing with USB because its looks like a lot of projects only use atmega8 (or even attiny). But would it really be easier with an AT90USB which have the built-in USB? I have already looked at some HID…
jojo l'abricot
  • 261
  • 3
  • 7
2
votes
2 answers

Make LUFA for Arduino UNO / atmega16u2

I have an Arduino Uno r3 board which has an atmega16u2 chip that normally contains the usb to serial firmware that allows the board to communicate with the IDE. I have been learning how to flash that chip with different firmwares that let it act as…
FoamyGuy
  • 395
  • 1
  • 4
  • 15
1
vote
1 answer

Arduino printer emulation

I'm working on a project in which an arduino should emulate a thermal printer. I'm currently using an Arduino UNO R3 board with ATmega16U2 controller to handle the communication between USB and the ATmega328 microprocessor. I used the FLIP suite…
Francesco
  • 1,005
  • 1
  • 13
  • 31
1
vote
2 answers

AT90USBxxxx, LUFA driver for Mac OS x?

I need to design a project that it will conects to usb port, to send a digital output from the computer to other device. I need it work in windows and mac without complex host side driver or just using a pnp generic driver. I am reading about LUFA…
Ando
  • 33
  • 7
0
votes
0 answers

Getting error while compiling LUFA bootloader

I am building the LUFA bootloader (lufa-LUFA-210130.zip file downloaded from here). I am getting the following error when I use make all: BootloaderPrinter.c: In function 'ParseIntelHEXByte': BootloaderPrinter.c:301:48: error: expected expression…
faiz07
  • 1
  • 3
0
votes
1 answer

Unable to correctly send keypresses using the LUFA library

I'm making a board with an atmega32u4 on it for the controller for a keyboard, and am having issues with telling the host computer that a key is pressed. I've modified the Keyboard demo supplied with the LUFA library, so that in theory I believe it…
Jacob Garby
  • 714
  • 9
  • 18
0
votes
0 answers

How to change LUFA default 8MHz crystal setting?

I have an Atmega32u4 micro controller with minimum hardware design. It has an embedded USB compatibility which can be enable/used with some software like LUFA. Everything works fine (the computer detects the device as I defined in descriptor file…
0
votes
1 answer

How to make an Arduino (ATMEGA16U4) like, software USB to serial on Atmega8u?

I've start to build a project base on Atmega328 and I need to connect to it(via USB for availability of the USB port) for debugging (I prefer to debug it with serial communication), and I don't want to carry extra device(like FTDI module) around for…
malloc
  • 121
  • 7
0
votes
1 answer

Atmega32u4 constant `1023` reading on ADC Channel

I can't share the schematics as they are not mine, I'm trying to add an analog thumbstick (4 pins, Vcc/GND/x/y) to my atmega32u4 powered keyboard. The thumbstick pins are connected to pins PB4 (ADC11) and PB5 (ADC12) on the atmega chip (I did a…
pyrho
  • 103
  • 2