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. mohsenk

    mohsenk New Member

    Joined:
    Aug 1, 2009
    Messages:
    14
    Balance:
    21Coins
    Ratings:
    +0 / 0 / -0
    Thanks Sokol !
    The last layout was designed very professionaly. How ever can you place a 2x10 IDC Connector Like below into the layout for the Rows and Columns ? I will be very thankful if you can design your own matrix board which can connect to this board using that connector containing all the 1N4148 diodes for the switches. Thank you very much for what you are doing here.

    Here are the pictures of the IDC Connector and the cable.

    [​IMG]
    [img600px]http://www.tme.eu/katalog_pics/3/f/0/3f09c829efaab822f13445739d368ce7/09185206324.jpg[/img600px]
  2. Sokol1

    Sokol1 Member

    Joined:
    Jul 6, 2009
    Messages:
    126
    Balance:
    14Coins
    Ratings:
    +1 / 1 / -1
    Like original Mindaugas layout, but with 20 pin connector instead 40?

    [​IMG]

    Too much trials... :?

    Sokol1
  3. mohsenk

    mohsenk New Member

    Joined:
    Aug 1, 2009
    Messages:
    14
    Balance:
    21Coins
    Ratings:
    +0 / 0 / -0
    Yes Sokol ! That's what I'm talkin' about ! I don't know why Mindaugas used a 40 pins connector while 20 of them are being used. Anyway thank you Sokol ! You are a great designer :D :clap:

    So I'm looking to hear from you about your own Matrix board

    Thanks in advance

    P.S. please upload the .lay file too :hi:
  4. Sokol1

    Sokol1 Member

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

    Attached Files:

  5. mohsenk

    mohsenk New Member

    Joined:
    Aug 1, 2009
    Messages:
    14
    Balance:
    21Coins
    Ratings:
    +0 / 0 / -0
    Thanks Sokol !
    As I already have said, you are a great designer :clap:
    Can't wait to see the final version.

    Keep the good job going buddy
  6. Sokol1

    Sokol1 Member

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

    mohsenk New Member

    Joined:
    Aug 1, 2009
    Messages:
    14
    Balance:
    21Coins
    Ratings:
    +0 / 0 / -0
    Thank you very much Sokol ! :clap:
    Goin' to build this soon. :yippiee:

    I've created the pdf ( Scale 1.0:1.0 ).

    Attached Files:

  8. chandran

    chandran New Member

    Joined:
    Jul 18, 2009
    Messages:
    4
    Balance:
    364Coins
    Ratings:
    +0 / 0 / -0
    hi frakk

    the board based on your design

    thanks a lot for your support components soldering is on will post on completion

    regards
    chandran

    Attached Files:

  9. fredspeed

    fredspeed New Member

    Joined:
    Sep 1, 2009
    Messages:
    263
    Location:
    Northern Norway
    Balance:
    418Coins
    Ratings:
    +3 / 0 / -0
    Hello. I have some simple questions about Mjoy:

    Is the printer (or serial) connection only for programming the controller?, and does it use only USB when you use it as a game controller?

    Does the parts list you find on the wiki page match the new design posted here? (or is there a updated list?)

    Thats all! Fred
  10. Frakk

    Frakk Active Member

    Joined:
    Apr 15, 2009
    Messages:
    1,144
    Balance:
    328Coins
    Ratings:
    +4 / 0 / -0
    Fred, you are correct. The printer port is only for programming, after that you will only use the USB. Alternatively the 10pin ISP header can be used with proper off the shelf programmers. I don't know what the wiki page lists, but the parts are marked on the pcb silkscreen. I am posting an updated schematic with all the diodes in place. I will make a full writeup, partslist, and the necessary pictures once I get my board made. Until then, please use the updated layouts: Copper13.5x8.5.pdf Position13.5x8.5.pdf

    Chandran, I sent you the new board and you made the old one :( It's ok, I'll help you fix it once you get it programmed.
  11. Sokol1

    Sokol1 Member

    Joined:
    Jul 6, 2009
    Messages:
    126
    Balance:
    14Coins
    Ratings:
    +1 / 1 / -1
    Mjoy Encoders made by Polish guys - add on board do Mjoy16 (or another USB card), to allow control over more eight encoders.

    [​IMG]
    http://translate.google.com/translate?h ... gle.com.br

    Layout for PCB and /HEX files:
    http://translate.googleusercontent.com/ ... LQrciorxqQ

    Mjoy-Encoder To Mjoy connector plug into 16 buttons positions of Mjoy16 Keymatrix.

    So you can use this board to plug encoder in non encoder compatible card like previous 12/07 BU0836, Mjoy(ATMEGA8)...

    As double face PCB with .3m trial between pads is difficult to do with TONER method I draw a single layer version:

    [​IMG]

    And find a good use for extra +5v connector in Frakk Mjoy16 PCB: power Mjoy-Encoders board (This can be done also through USB connector). :thbup:

    Sokol1
  12. chandran

    chandran New Member

    Joined:
    Jul 18, 2009
    Messages:
    4
    Balance:
    364Coins
    Ratings:
    +0 / 0 / -0
    Hi sokol

    Here's a USB 2.0 10 bit joystick I think it similar to BU0836 can you check n confirm

    link - http://artjoy.narod.ru/eng/index_eng.html These are based on MCU pic18f2550.

    can you send me the single layer pcb file for encoder

    regards
    chandran

    Attached Files:

  13. Sokol1

    Sokol1 Member

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

    I see this Artjoy - but seems a unfinished project - too few buttons...

    In this racing forum another PIC based project for 6 axis, HAT and 32 buttons:

    http://www.xtremeracers.info/forums/vie ... =45&t=5696

    Another PIC board - no axis, buttons (64) and four encoders:

    http://forum.racesimcentral.com/showthread.php?t=277873

    Here, the single layer layout for Mjoy-ENCODERS - to view an print use include Viewlayout50 - print only C2 layer:

    http://drop.io/hidden/n65epzbwjbecu5/as ... 16aXA%253D

    Sokol1
  14. willynovi

    willynovi Member

    Joined:
    Feb 13, 2009
    Messages:
    64
    Location:
    Argentina
    Balance:
    354Coins
    Ratings:
    +2 / 0 / -0
    Sokol1, hi, i´m was thinking in publishing my design of 6 axis 10 bit controller here but you won me, thank you.
    I´m very hapy you think this controller i have done is usefull.
    If there is any question, please let me know.

    I´m also thinking in translate the toturial, but it will take time.

    Saludos.
  15. Sokol1

    Sokol1 Member

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

    Well, make a specific tread for your project, once he uses a different microcontroller.

    :thbup:

    Sokol1
  16. willynovi

    willynovi Member

    Joined:
    Feb 13, 2009
    Messages:
    64
    Location:
    Argentina
    Balance:
    354Coins
    Ratings:
    +2 / 0 / -0
    Ok Sokol1, it took me some time to translate the ingo in english.
  17. crobol

    crobol New Member

    Joined:
    Nov 8, 2009
    Messages:
    10
    Balance:
    0Coins
    Ratings:
    +0 / 0 / -0
    Hello everybody. Hello Sokol, Hello Willinovy. :hi:
    This is my first post on X-Sim...

    I have no idea about electronics but I will try to do a Mjoy16 with all documentation i have found on this thread.

    Before, I need to ask you a little question. Reading all this thread until here I have found what seems different versions of Mjoy16:
    two from Senetor, one from FranKK, another from tronicgr, or powernet.pl...

    Are all the same? or maybe some one of this have corrections?

    Which one I have to use to try to build my first Mjoy16 (with keymatrix integrated)??
    Maybe I have missed something to read, but my English is not on the top... :blush:

    Thanks a lot... :thbup:
  18. Frakk

    Frakk Active Member

    Joined:
    Apr 15, 2009
    Messages:
    1,144
    Balance:
    328Coins
    Ratings:
    +4 / 0 / -0
    Hello crobol!

    I am making a write-up and a how-to guide to make my version of the Mjoy16-C1. I will include pictures and the total description of what to do and how to solder the all-in one controller and matrix board. I will also provide the files and the original manual from Mindaugas.

    Just hang in there, and I'll post it as soon as possible!
  19. crobol

    crobol New Member

    Joined:
    Nov 8, 2009
    Messages:
    10
    Balance:
    0Coins
    Ratings:
    +0 / 0 / -0
    Thank you very much. Is great to share this with the comunity.

    This controller is perfect for flight sims like IL2 cause a lot of butons, switches, axis and encoders.... :clap:
  20. GeorgeBoles

    GeorgeBoles Member

    Joined:
    Apr 27, 2009
    Messages:
    66
    Balance:
    4Coins
    Ratings:
    +2 / 1 / -2
    Hi there Sokol,

    Can the MJoyEncoder connect either to USB or to the MJoy?

    Regards,
    George