Hello all readers of the international Elektor magazine! Sending data from a microcontroller is a pretty common requirement in a lot of the projects I work on. In file included from USBtoSerial. Hi, I cannot give you too much guidance on what you are doing but, you might want to consider using a MAX chip or a serial adapter like our Pololu a Serial Adapter. For examples of what is required on the device end source code included , there are two open source projects for AVR processors that I know of. The PCB schematic and board files as well as the modified VirtualSerial example joystick-less is all available for download here.

Uploader: Mazulkis
Date Added: 27 April 2010
File Size: 45.36 Mb
Operating Systems: Windows NT/2000/XP/2003/2003/7/8/10 MacOS 10/X
Downloads: 17122
Price: Free* [*Free Regsitration Required]

Hello all readers of the international Elektor magazine! You may be adaptr by the amount of code involved. Here are some pics of the board: That is basically all the driver needs to do; the driver does not need any low-level knowledge of how bytes are encoded on a serial line. Included with the library source are many demonstration applications showing off the use of the library. Hi, I cannot give you too much guidance on what you are doing but, you might want to consider using a MAX chip or a serial adapter like our Pololu a Serial Adapter.

LUFA is being used all over the world, in many applications – both free and commercial.

Using a device with a USB connection seems like it would be very complex and probably not the way to go. My target is a Teensy board. Thanks for the suggestion Derrill, I know it is kind of a strange setup Im working on, …mainly experimentation only I might actually be able to use the board you mention, or possibly the usb serial adapter board I just saw you have.


In file included from USBtoSerial. I now connect a GPS to my target. The following links point to third-party ports of the LUFA codebase to other architectures than those targeted by the official release. With a commercial license, you receive: The device you are describing would have to receive and act on various serial commands that affect the state of the USB end, such as a command to send a reset signal on the port, a command to tell the USB device to go into a particular configuration, or a command to read or write data from a particular endpoint.

Then you can modify LEDs. As far as I have been able to find out this is not possible, since the USB end need drivers the scale has no operating system or driversis that correct? If you are looking for this file, on my pc it is located at C: Share Google Facebook Twitter. One is the software-only V-USB project fourwalledcubicle.

Testing the LUFA USB Serial with GPS data

This joystick example would read input from certain pins and send a certain string over usb. Any help or suggestions are much appreciated. An endpoint is a stream of data packets with an ID number and some properties. This meant that there was schematics of the board layout available online which came in very hany for making my own board.

atmega16u2 virtual serial example using LUFA Library

The library is currently in a stable release, suitable for download and usb-rx232 into user projects for both host and device modes. Defining the serial command set and defining the errors and status information that get reported back to the computer over serial would be a lot of work. Wow…interesting, …but definitely not a project for a beginner like me. It would also be difficult to educate the users on the serial command set and how to use it.


It comes with loads of examples that work with several types of atmel chips. Leave a Comment Click here to cancel reply.

Because USB is an wdapter protocol, that is a very different problem than the one you describe with the scale. The converter I got has a FTDI chip and it does have drivers included, but I want to use it without the drivers because I plan to connect it to an Arduino and a serial printer, and not a computer, so there is no operating system for the drivers. It turns out that for the VirtualSerial to work in windows you have to install drivers for it.

I got this usb rs converter and I was wondering if somebody knows if it is possible to use this or any other usb rs converter without using the drivers. You need a driver of some kind to talk to any USB device, or else the USB host will not know the meaning of the endpoints and interfaces provided by the device.