+ Post New Thread
Results 1 to 7 of 7
  1. #1
    Junior Member level 2
    Points: 1,594, Level: 9
    Achievements:
    7 years registered

    Join Date
    Jan 2010
    Posts
    21
    Helped
    0 / 0
    Points
    1,594
    Level
    9

    Communication with USB

    Hello!
    I want to make a project to communicate with usb!
    PC <-> development board
    I need some idea to do that.
    I'm thinking to use some avr with internal usb module. but who? :( someone with support maybe...?
    maybe it's difficult to me the pc programming part
    What's the easy way to use? Visual C++? i want to have GUI. :(
    and in part of uC programming, i have only STK500 for attiny, atmega series.
    What i must to have for the new atmel's uC with internal USB? Can i programming with some easy circuit? in circuit programming or like that?

    Thank you! :)

    •   AltAdvertisment

        
       

  2. #2
    Full Member level 2
    Points: 2,400, Level: 11
    Achievements:
    7 years registered

    Join Date
    Jan 2010
    Posts
    148
    Helped
    40 / 40
    Points
    2,400
    Level
    11

    Re: Communication with USB

    I think the best way for you is to use virtual serial port, that uses usb hardware but the PC deals with that like a serial port and its very easy to implement its program in both MCU and PC, you can use some USB<->serial ICs like FT232 ,
    also take a look at AVR309 application note



    •   AltAdvertisment

        
       

  3. #3
    Junior Member level 2
    Points: 1,594, Level: 9
    Achievements:
    7 years registered

    Join Date
    Jan 2010
    Posts
    21
    Helped
    0 / 0
    Points
    1,594
    Level
    9

    Re: Communication with USB

    What's compiler is best to user for this?
    i want to have gui.
    Visual C++ (visual studio 2012) confuses me :(
    i thinking to use qt sdk.
    I want native c++, not .net

    thanks for the reply! :)



    •   AltAdvertisment

        
       

  4. #4
    Full Member level 2
    Points: 2,400, Level: 11
    Achievements:
    7 years registered

    Join Date
    Jan 2010
    Posts
    148
    Helped
    40 / 40
    Points
    2,400
    Level
    11

    Re: Communication with USB

    I work with .net and i have no problem with that , it has serial port component that is very easy to use, but i think you will not have much problem in c++ too,
    good luck!



  5. #5
    Junior Member level 2
    Points: 1,594, Level: 9
    Achievements:
    7 years registered

    Join Date
    Jan 2010
    Posts
    21
    Helped
    0 / 0
    Points
    1,594
    Level
    9

    Re: Communication with USB

    Who avr with usb module can i use for easy results?
    someone with support?



    •   AltAdvertisment

        
       

  6. #6
    Member level 1
    Points: 477, Level: 4

    Join Date
    May 2013
    Posts
    36
    Helped
    1 / 1
    Points
    477
    Level
    4

    Re: Communication with USB

    I have buy a Xilink FPGA board with a RS232 to USB cable and the connexion between the FPGA board and my linux box work fine

    I use this with Kermit on my linux box
    Code:
    set line /dev/ttyUSB0
    set speed 115200
    set modem type none /*** this line is important, otherwise you can’t input ***/
    set carrier-watch off
    connect
    => I have now the "hello world !" message on my computer screen every time I reset the FPGA board :)
    (the RS232 to USB connection is automatically recognized as /dev/ttyUSB0 on my linux box
    )
    Last edited by yannoo95170; 18th May 2013 at 02:37.



  7. #7
    Newbie level 5
    Points: 937, Level: 6

    Join Date
    Dec 2008
    Posts
    9
    Helped
    0 / 0
    Points
    937
    Level
    6

    Re: Communication with USB

    a simple alternative for USB communications is Microchip MCP2210. It is a translator from SPi to USB and Microchip provides a driver you can use in.net applications easily. It is the simpliest alternative I have found, and the micro is inexpensive.



--[[ ]]--