1. Do not share user accounts! Any account that is shared by another person will be blocked and closed. This means: we will close not only the account that is shared, but also the main account of the user who uses another person's account. We have the ability to detect account sharing, so please do not try to cheat the system. This action will take place on 04/18/2023. Read all forum rules.
    Dismiss Notice
  2. For downloading SimTools plugins you need a Download Package. Get it with virtual coins that you receive for forum activity or Buy Download Package - We have a zero Spam tolerance so read our forum rules first.

    Buy Now a Download Plan!
  3. Do not try to cheat our system and do not post an unnecessary amount of useless posts only to earn credits here. We have a zero spam tolerance policy and this will cause a ban of your user account. Otherwise we wish you a pleasant stay here! Read the forum rules
  4. We have a few rules which you need to read and accept before posting anything here! Following these rules will keep the forum clean and your stay pleasant. Do not follow these rules can lead to permanent exclusion from this website: Read the forum rules.
    Are you a company? Read our company rules

Tutorial Mjoy16 USB AVR Joystick

Discussion in 'DIY peripherals' started by tronicgr, Jan 3, 2008.

  1. Jadran

    Jadran Member

    Joined:
    Sep 7, 2008
    Messages:
    44
    Occupation:
    Racing game:LFS,Simbin (Race07,GTREvo,RaceOn)
    Location:
    Osijek,Croatia
    Balance:
    3,207Coins
    Ratings:
    +7 / 0 / -0
    THX Senetor !!

    I have more than 10 schemes for PCB MJoy16 but don`t know which is good :blush: (download from some Russian (I think) forum :D )

    Maybe HEX file that I have been corrupted?
    Tomorrow I'll put a new hex file (now I download all MJoy16 HEX files from the web :D ) maybe work :D
  2. Senetor

    Senetor Member

    Joined:
    Oct 23, 2008
    Messages:
    90
    Location:
    Australia
    Balance:
    594Coins
    Ratings:
    +1 / 0 / -0
  3. Jadran

    Jadran Member

    Joined:
    Sep 7, 2008
    Messages:
    44
    Occupation:
    Racing game:LFS,Simbin (Race07,GTREvo,RaceOn)
    Location:
    Osijek,Croatia
    Balance:
    3,207Coins
    Ratings:
    +7 / 0 / -0
    THX
    I will try!

    EDIT:

    MJoy16-C1_SW_v1.3.zip: The archive is either in unknown format or damaged
  4. Senetor

    Senetor Member

    Joined:
    Oct 23, 2008
    Messages:
    90
    Location:
    Australia
    Balance:
    594Coins
    Ratings:
    +1 / 0 / -0
    Jadran,
    Try using WinRar 3.8 or later version, it is a rar file, not a zip file.


    Senetor.
  5. Jadran

    Jadran Member

    Joined:
    Sep 7, 2008
    Messages:
    44
    Occupation:
    Racing game:LFS,Simbin (Race07,GTREvo,RaceOn)
    Location:
    Osijek,Croatia
    Balance:
    3,207Coins
    Ratings:
    +7 / 0 / -0
    I use WinRar 3.93 and 7Zip but same problem:
    MJoy16-C1_SW_v1.3.zip: The archive is either in unknown format or damaged
    Nevermind, I found ten files on the web, so I'll try today
  6. Senetor

    Senetor Member

    Joined:
    Oct 23, 2008
    Messages:
    90
    Location:
    Australia
    Balance:
    594Coins
    Ratings:
    +1 / 0 / -0
  7. Jadran

    Jadran Member

    Joined:
    Sep 7, 2008
    Messages:
    44
    Occupation:
    Racing game:LFS,Simbin (Race07,GTREvo,RaceOn)
    Location:
    Osijek,Croatia
    Balance:
    3,207Coins
    Ratings:
    +7 / 0 / -0
    THX,but same thing MJoy16-C1_SW_v1.3.zip: The archive is either in unknown format or damaged :D
    Nevermind, thanks anyway :thbup:
  8. Jadran

    Jadran Member

    Joined:
    Sep 7, 2008
    Messages:
    44
    Occupation:
    Racing game:LFS,Simbin (Race07,GTREvo,RaceOn)
    Location:
    Osijek,Croatia
    Balance:
    3,207Coins
    Ratings:
    +7 / 0 / -0
    Problem RESOLVE :yippiee:
    A friend who is a programmed chip forgot to turn it off and JTAGEN & SPIEN :cheers:
  9. definal

    definal 2DOF Platform

    Joined:
    May 24, 2011
    Messages:
    6
    Location:
    Bandung
    Balance:
    - 363Coins
    Ratings:
    +0 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform
    Dear Tronigr,

    i have a question about Mjoy16 c1 to mr. Tronicgr. i need toggle switch more then 16 inputs but on the MJ16 just maximum 16 inputs. is it possible to use switch button to replace toggle switch? i think for one toggle switch needed two switch buttons.
    would you mind to send me modification HEX file for 40 inputs toggle switch?

    thank you for your help

    regard
    definal
  10. dreezy

    dreezy New Member

    Joined:
    Nov 5, 2011
    Messages:
    3
    Balance:
    0Coins
    Ratings:
    +0 / 0 / -0
    I'm very new to this project and i've thinking about this Mjoy16.

    I want to build it, But where do i have to start?

    I've readed a lot of pages about this project.

    I had to build this project, program it and than i've a megajoystick.

    But when all is ready, how to use it?

    Is there a manual to get build the mJOY16?

    All the PCB's and everything to program this Mjoy16 is driving mee a little bit crazy :(

    What are the components to use?

    regard
    Dreezy
  11. Sokol1

    Sokol1 Member

    Joined:
    Jul 6, 2009
    Messages:
    126
    Balance:
    14Coins
    Ratings:
    +1 / 1 / -1
  12. dreezy

    dreezy New Member

    Joined:
    Nov 5, 2011
    Messages:
    3
    Balance:
    0Coins
    Ratings:
    +0 / 0 / -0
    Thanx Sokol1.

    But can i order somewhere the pcb?

    i've search the internet, but i can't find it So i need to make it on a testboard...

    Regards
  13. Sokol1

    Sokol1 Member

    Joined:
    Jul 6, 2009
    Messages:
    126
    Balance:
    14Coins
    Ratings:
    +1 / 1 / -1
    Someone in this board sold (blank) PCB's - Frak, I think.

    Where you plan to use Mjoy?

    Depending on use, a small PC is more suited.

    Sokol1
  14. dreezy

    dreezy New Member

    Joined:
    Nov 5, 2011
    Messages:
    3
    Balance:
    0Coins
    Ratings:
    +0 / 0 / -0
    I was plan to use Mjoy for a flightsim, a racing game etc.

    It is a strong PC 2-3 years old.. So i hope he can handle it.

    Another thing... I was puzzling about the components of the board with the ATMega16-16PI

    I found the next components:

    4 x 330 ohm
    1 con 2 x 5 pin
    1 usb B
    2 x 1N4728
    1 x 10 microF/16V
    2 x 82 ohm
    1 x 4k7
    1 x 2k2
    2 x 15pF
    1 x 12 Mhz Crystal
    1 x 0,1 microF
    1 x ATMega16-16PI
    1 x 10 microH
    2 x 0,1 microF
    1 x 100k Multi <--- I dont know what component this is
    4 x (2 x 24 pins) male connector

    I hope these are the components i need.. Maybe you will check this one? :)

    Thanx Dreezy
  15. Jadran

    Jadran Member

    Joined:
    Sep 7, 2008
    Messages:
    44
    Occupation:
    Racing game:LFS,Simbin (Race07,GTREvo,RaceOn)
    Location:
    Osijek,Croatia
    Balance:
    3,207Coins
    Ratings:
    +7 / 0 / -0
  16. Sokol1

    Sokol1 Member

    Joined:
    Jul 6, 2009
    Messages:
    126
    Balance:
    14Coins
    Ratings:
    +1 / 1 / -1
    Dreezy

    This list is for original Mindaugas layout, some components like Con 2 x 5 pin, 2 x 24 Pinn male connector is not need in another layouts.
    For some (PCB) layouts just 40 PIN PCI pins are adequate.
    post22002.html?hilit=%20Sokol1#p22002

    4 x 330 ohm >>> Original Mindaugas layout have place for these resitors, but is usefull in PCB only if you have a professional AVR programmer (his case)
    if not, put these in your DIY LPT programmer cable, so pick a PCB layout without place for these.

    Notice - PCB Layout dont interferes in Mjoy operation, since electronics components and firmware are common at any.

    Sokol1
  17. vincibb

    vincibb New Member

    Joined:
    Nov 18, 2011
    Messages:
    3
    Balance:
    0Coins
    Ratings:
    +0 / 0 / -0
    Hello,
    I tried to made Mjoy with atmega8 with Tronicgr's pcb and software but I have got problem with connecting it to pc. Everytime I try it to connect windows give me message usb device not recognized and I dont know why. I made everything like in his scheme expect of zener diodes I have got only one but I dont think that this should be the problem. I used Elnec pg4uw and programmer t51prog. Fuse bits are setted this way http://dnesne.sk/fuse.jpg which looks exactly the same as in ponyprog. I have several computers and still have got same problem in windows xp sp3 32bit and windows 7 64bit. I would be happy if someone can help me because I tried last 3 days almost everything. Thanks and have a nice day

    Sorry for my bad english
  18. tirta

    tirta Member

    Joined:
    Feb 4, 2010
    Messages:
    56
    Balance:
    0Coins
    Ratings:
    +0 / 0 / -0
    usually the cause is so simple but you neglect to see it.
    in my case: programming error on the last step.
    just check and recheck everything.
  19. vincibb

    vincibb New Member

    Joined:
    Nov 18, 2011
    Messages:
    3
    Balance:
    0Coins
    Ratings:
    +0 / 0 / -0
    I have checked it at least 10 times and I dont know where is the problem. I have programmed it 20 times and still same error but I made multimeter with atmega8 too and it runs good. Did you make Tronicgr's pcb? If yes then which fuse bits did you use?
  20. Sokol1

    Sokol1 Member

    Joined:
    Jul 6, 2009
    Messages:
    126
    Balance:
    14Coins
    Ratings:
    +1 / 1 / -1
    If you are able to write HEX (firmware) into ATMEGA your Mjoy is done.

    If you plug then in computer USB port ad get US device not... you have a fault in hardware part: bad solder, solder mistakes, inverted polarity in components e/or Data +, - cable...

    Zener diodes are critical, put both.

    Fuse switchs for Mjoys are same for any PCB layout - as I say may times PCB format (layout) dont matter.

    Sokol1