Orbiter-Forum  

Go Back   Orbiter-Forum > Orbiter Space Flight Simulator > Orbiter Web Forum > Simpit Forum
Register Blogs Orbinauts List Social Groups FAQ Projects Mark Forums Read

Simpit Forum Share & discuss simpit projects for Orbiter here!

Reply
 
Thread Tools
Old 06-29-2010, 01:24 PM   #1
Robb Bates
Orbinaut
Default MJoy16 problems (solution?)

The controls of my SimPit are based upon the MJoy16 circuit. I've built 3 of them and when they work, they work very well.

However, I believe the circuit is flawed. The fact that it is based upon a hack to make it work with USB means that it is flawed from the beginning. But, looking at the circuit and comparing it to the V-USB "standard" of using an Atmel chip to interface to USB, it doesn't look like it should work as well. For starters, it calls out 5.1V zener diodes (according to the partnumber) to pull the D+ and D- down to 3.3V levels. I replaced the 5.1V zeners with 3.3V zeners. They work, but with my new Windows 7 PC, the MJoy16 randomly disappears. I think this also might have something to do with the 2.2k and 4.7k voltage divider and/or the 82 ohm current limiter. The V-USB circuit doesn't have a voltage divider, it only has a 1.5k pull up and it uses 68 ohm current limiters.

Rather than replace the entire circuit, I removed the 4.7k resistor and so far (only one night) it seems to be working better. I'll post more if I find out more.

So for those who build an MJoy16 circuit and are having problems with it disconnecting, try that. No guarantees it won't fry your PC. I'm using it on a hub for now. Rather fry the hub than my PC.

The V-USB circuit also suggests using +3.6V zeners instead of +3.3V because of the potential voltage drop at those current levels.

More later.

Robb


For reference: http://www.obdev.at/products/vusb/index.html

Last edited by Robb Bates; 06-29-2010 at 01:42 PM.
Robb Bates is offline   Reply With Quote
Old 06-29-2010, 05:31 PM   #2
dnt462
Donator
 
dnt462's Avatar
Default

I have had no problems with it on windows 7, and my other problems had been fixed by grounding the potentiometers, and reprogramming the chip because I forgot to uncheck something. And all that was done when I was on vista
dnt462 is offline   Reply With Quote
Old 06-29-2010, 05:34 PM   #3
Robb Bates
Orbinaut
Default

Excellent. Did you use 3.3V zeners or 5.1V? And the rest was built according to the MJoy16 schematic?

If you do encounter any problems in the future, please post them.

How's your project working with Orbiter? Got it all tweaked and the buttons assigned, etc?

Robb
Robb Bates is offline   Reply With Quote
Old 06-29-2010, 10:55 PM   #4
tl8
Moderator
 
tl8's Avatar


Default

Instead of using zenors you might want to try a transistor or resistor type combination.
This image is what you want to do. The Arduino is all 5V while the SD card is 3V3. Also how are you powering your MJoy? It might be worth using an external power supply.

http://img441.imageshack.us/img441/2...hematicuo7.jpg
tl8 is offline   Reply With Quote
Old 06-30-2010, 01:14 PM   #5
Robb Bates
Orbinaut
Default

That probably won't work. The DI and DO on an SD card are unidirectional. The D+ and D- for USB are bidirectional.

The power may be a concern, but the only real power draw would be the current through the analog pots and the microcontroller consumption. Both of which are far less than the 500mA that an unpowered USB port can put out.

The V-USB project seems to have the right solution and the MJoy16 doesn't follow the same circuit. I'm pretty sure that's what the problem is. After I removed the 4.7k resistor from my circuit, I haven't had a problem. Only been running for two days, but so far so good.

Robb
Robb Bates is offline   Reply With Quote
Reply

  Orbiter-Forum > Orbiter Space Flight Simulator > Orbiter Web Forum > Simpit Forum


Thread Tools

Posting Rules
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Jump


All times are GMT. The time now is 03:48 PM.

Quick Links Need Help?


About Us | Rules & Guidelines | TOS Policy | Privacy Policy

Orbiter-Forum is hosted at Orbithangar.com
Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright ©2007 - 2012, Orbiter-Forum.com. All rights reserved.