Cockpit

* User Profile

Welcome, Guest. Please login or register.

Login with username, password and session length

Who's Online

  • *Users: 1
  • *Guests: 38
  • *Total: 39

Our Discord

Author Topic: Computer Power supply strange 5V and strange behaviour Teensy is connected  (Read 1230 times)

Offline kurt-olsson

  • I am chained to this website!
  • *
  • Posts: 1,101
  • 737 -mixed year OEM panel builder.
  • First Name: Peter
  • Home Location: Gothenburg
Question nr 1:
Does anyone of you using Teensy + Teenysuino + X-plane notice a keyboard lag/disable.

As soon as i fire up X-Plane my keyboard starts lagging, cant copy etc.
Super annoying while mapping datarefs and inputs to my controller.

i will try a keyboard with cable if this still occures, but i had no problem with this before...

Question nr 2:

I have a Computer PSU (is says 20Amps on 5V) that i use for my 12v and 5v.
When my second panel is completed i added this one aswell to my 5V for backlight on both panels.
But the wierd thing is that i can only light one at a time. Both work, but only one each time.

I think this has something to with max output on the PSU / red(5V) cable? Or do i have to solder together all the PSU ground cables?

Anyone had this problem?

No problem with my Korrys 24V on both panels.



« Last Edit: October 10, 2018, 04:57:03 PM by kurt-olsson »

Offline kurt-olsson

  • I am chained to this website!
  • *
  • Posts: 1,101
  • 737 -mixed year OEM panel builder.
  • First Name: Peter
  • Home Location: Gothenburg
This is wierd!

The PSU is rated at 20A on the +5V but it can only supply backlight to one panel.

Am i missing something with my circuits?

I plan to join all the cables / volts to see if that is the limitation.

This is how i connect it today.

Offline kurt-olsson

  • I am chained to this website!
  • *
  • Posts: 1,101
  • 737 -mixed year OEM panel builder.
  • First Name: Peter
  • Home Location: Gothenburg
Hm. Lots of PSU convertions put a 10W 5 Ohm resistor on the GND and +5V. Looks like there need to be a little bit of resistance to get full output?


Offline kurt-olsson

  • I am chained to this website!
  • *
  • Posts: 1,101
  • 737 -mixed year OEM panel builder.
  • First Name: Peter
  • Home Location: Gothenburg
...and this story comes to an end.

If you make your PCB like crap, loose not perfect fit etc you will end up with trouble.
I noticed that my backlight went black once i fastened my panel to the overheadframe.
I cant explain the answer to this but there must be some sort of contact where there should not be. After trying to see what was the problem the Teensy got fried (third this week) and i threw the PCB and teensy in the garbare.

I have to redo the complete PCB for the panel again. =(

Offline Trevor Hale

  • Administrator
  • I am chained to this website!
  • *
  • Posts: 3,662
    • Cockpitbuilders.com
  • First Name: Trevor
  • Home Location: New Liskeard, Ontario
Peter that sucks!  Think most of us have been there though.  Keep pressing on my friend, don't get discouraged and make it happening.
Keep us posted.
Trev
Trevor Hale

Owner
http://www.cockpitbuilders.com

Director of Operations
Worldflight Team USA
http://www.worldflightusa.com

VATSIM:

Offline kurt-olsson

  • I am chained to this website!
  • *
  • Posts: 1,101
  • 737 -mixed year OEM panel builder.
  • First Name: Peter
  • Home Location: Gothenburg
Thanks Trevor!
That PCB was doomed from the beginning. I just wish i understood what happened so i can avoid it in the future. 😊

Offline Joe Lavery

  • I spend way too much on this forum!
  • *
  • Posts: 701
  • 737 Builder
  • First Name: Joseph
  • Home Location: Newport, UK
Peter why don't you post your PCB design here and see if one of the many experts can see what the problem might be.
Just a thought but as Trevor said don't lose heart.
Joe
'Life isn't about waiting for the storm to pass, it's about learning to dance in the rain!'

www.pcpilot.net


Offline kurt-olsson

  • I am chained to this website!
  • *
  • Posts: 1,101
  • 737 -mixed year OEM panel builder.
  • First Name: Peter
  • Home Location: Gothenburg
Thanks Joe,
if i get into trouble again i will make a complete Schedule for my PCB and how i am connecting it with my PSU.
I know its alot to ask for help without a scheme, that makes it pretty impossible to help. =)

Will make another one first since my belives is that i think that the poweroutput was in contact with the panel/overhead frame etc.
The circuit was bad becuase it fried my Teensy, so somewhere there must have been a shortage. =(


Offline mickc

  • I may as well be Staff!
  • *
  • Posts: 504
  • Aviation Enthusiast
  • First Name: Mick
  • Home Location: VIC, AU
Not sure what breadboard you are using, but just be careful that your mounting screws aren't going through a track that is connected elsewhere on the board, and shorting to the case - or to other tracks through the case.

Also remember that the case will be grounded through the backlight connector

Offline Joe Lavery

  • I spend way too much on this forum!
  • *
  • Posts: 701
  • 737 Builder
  • First Name: Joseph
  • Home Location: Newport, UK
I can sympathise with you there Peter, I've made many PCBs over the years, even had some produced in China. But I've also made some duds in the process.  :(
Mine were mostly for simple circuits or for backlighting, so fairly easy to diagnose any issues.

Joe.
'Life isn't about waiting for the storm to pass, it's about learning to dance in the rain!'

www.pcpilot.net


Offline kurt-olsson

  • I am chained to this website!
  • *
  • Posts: 1,101
  • 737 -mixed year OEM panel builder.
  • First Name: Peter
  • Home Location: Gothenburg
Re: Computer Power supply strange 5V and strange behaviour Teensy is connected
« Reply #10 on: October 12, 2018, 09:11:18 AM »
I think Mick has the answer.
This is what i tried:

1 Taking down the panel and put it on my chair everything worked, backlight on all panels.
2, lifting the panel by hand and mounting it in the overheadframe, as soon as the panel touched the Dsuz rails my backlight went out. I think there was a 5v shortage somewhere so that the amps went into the panel instead of the lamps... (or something =))

And in the end i think this is what fried my Teensy, passing 5V in it.

My PCB is selfmade. It is hard to make sure that the screws and the PCB is totally separated from the panel and its casing. I need plastic spaces or acrylic plate to protect it.

Hard stuff...

Offline Trevor Hale

  • Administrator
  • I am chained to this website!
  • *
  • Posts: 3,662
    • Cockpitbuilders.com
  • First Name: Trevor
  • Home Location: New Liskeard, Ontario
Re: Computer Power supply strange 5V and strange behaviour Teensy is connected
« Reply #11 on: October 12, 2018, 10:10:44 AM »
Margerine container lids work well to make plastic washers..  Drill a hole in them and cut around the hole.
Nice and easy and provide a nice easy way to isolate.  Unless your dzus screws that go through the PCB are actually contacting copper inside the mounting holes, you may want to drill them out a little bigger also.
Trev
Trevor Hale

Owner
http://www.cockpitbuilders.com

Director of Operations
Worldflight Team USA
http://www.worldflightusa.com

VATSIM:

Offline Joe Lavery

  • I spend way too much on this forum!
  • *
  • Posts: 701
  • 737 Builder
  • First Name: Joseph
  • Home Location: Newport, UK
Re: Computer Power supply strange 5V and strange behaviour Teensy is connected
« Reply #12 on: October 12, 2018, 11:01:54 AM »
You can buy really cheap plastic washers from eBay, in all sorts of sizes.

As far as isolation goes, I tend to use a countersink bit to go around all the holes to remove any copper. In fact if I'm creating my own backlight circuits I cut an isolation track right around all the holes.
'Life isn't about waiting for the storm to pass, it's about learning to dance in the rain!'

www.pcpilot.net


Offline kurt-olsson

  • I am chained to this website!
  • *
  • Posts: 1,101
  • 737 -mixed year OEM panel builder.
  • First Name: Peter
  • Home Location: Gothenburg
Re: Computer Power supply strange 5V and strange behaviour Teensy is connected
« Reply #13 on: October 12, 2018, 06:21:47 PM »
Thanks for all inputs! I ended up buying washers from ebay, dirt cheap! :)

Offline KyleH

  • Administrator
  • Forum GURU
  • *
  • Posts: 409
  • B763!
  • First Name: Kyle
  • Home Location: Ontario
Re: Computer Power supply strange 5V and strange behaviour Teensy is connected
« Reply #14 on: October 12, 2018, 07:27:03 PM »
.....

My PCB is selfmade. It is hard to make sure that the screws and the PCB is totally separated from the panel and its casing. I need plastic spaces or acrylic plate to protect it.

Hard stuff...

Pro tip- When designing the PCB thinking about the mechanical is just as important as the electrical. I don't know what PCB software you are using, but I make the mounting screws a component for the PCB with a predefined hole size and electrical clearance rule and keepout area a distance around the screw head. That way when I'm running the traces I know exactly how close I can safely come to the screw hole.

I also do the same with any other mounting surfaces that may be in contact with the PCB. In the attached pic, I have the mounting L-bracket drawn on the PCB to help keep traces and ground planes away.
« Last Edit: October 12, 2018, 07:27:49 PM by KyleH »

Offline kurt-olsson

  • I am chained to this website!
  • *
  • Posts: 1,101
  • 737 -mixed year OEM panel builder.
  • First Name: Peter
  • Home Location: Gothenburg
Re: Computer Power supply strange 5V and strange behaviour Teensy is connected
« Reply #15 on: October 13, 2018, 01:35:56 AM »
I should have added, i make my custom pcb. But the isolation parts still adds for it.

Offline KyleH

  • Administrator
  • Forum GURU
  • *
  • Posts: 409
  • B763!
  • First Name: Kyle
  • Home Location: Ontario
Re: Computer Power supply strange 5V and strange behaviour Teensy is connected
« Reply #16 on: October 13, 2018, 09:59:50 AM »
Ah...ok your using Veroboard, not a PCB.

Offline kurt-olsson

  • I am chained to this website!
  • *
  • Posts: 1,101
  • 737 -mixed year OEM panel builder.
  • First Name: Peter
  • Home Location: Gothenburg
Re: Computer Power supply strange 5V and strange behaviour Teensy is connected
« Reply #17 on: October 13, 2018, 04:42:21 PM »
SAME PROBLEM AGAIN!

I have posted a scheme how i set my electrics up.
If i light each panel at a time it works, but i cant get them all to work.

I had a wierd thing also.
Connecting only one panel that i havent even interfaced, it lightened up my other panel a tiny bit without even being connected!

I am missing something really fundamental here about electronics... =(



Offline kurt-olsson

  • I am chained to this website!
  • *
  • Posts: 1,101
  • 737 -mixed year OEM panel builder.
  • First Name: Peter
  • Home Location: Gothenburg
Re: Computer Power supply strange 5V and strange behaviour Teensy is connected
« Reply #18 on: October 13, 2018, 04:54:53 PM »
Oh  to  mention, these two 5v are connected through a ULN2803A.

Maybe there is something wrong there. How come each of my interfaced panel worked with the "uninterfaced" panel but not with eachother?


Offline KyleH

  • Administrator
  • Forum GURU
  • *
  • Posts: 409
  • B763!
  • First Name: Kyle
  • Home Location: Ontario
Re: Computer Power supply strange 5V and strange behaviour Teensy is connected
« Reply #19 on: October 13, 2018, 05:03:21 PM »
Ok lets go back and simplify it. Disconnect your 24V supply including its ground, and your USB to the PC. Just have the 5V and only the 5V connected, with the panels in the overhead.

If they work then. Connect either the 24V up again and check. If that works, then disconnect the 24V supply and connect your USB cables to the PC and try again. Try to isolated it down to the one connection.

What are the part numbers of the 5V and 24V power supplies you are using?

Offline KyleH

  • Administrator
  • Forum GURU
  • *
  • Posts: 409
  • B763!
  • First Name: Kyle
  • Home Location: Ontario
Re: Computer Power supply strange 5V and strange behaviour Teensy is connected
« Reply #20 on: October 13, 2018, 05:09:38 PM »
Oh  to  mention, these two 5v are connected through a ULN2803A.

Maybe there is something wrong there. How come each of my interfaced panel worked with the "uninterfaced" panel but not with eachother?

Ok, going to need a more detailed schematic of how you've hooked this up.

Offline kurt-olsson

  • I am chained to this website!
  • *
  • Posts: 1,101
  • 737 -mixed year OEM panel builder.
  • First Name: Peter
  • Home Location: Gothenburg
Re: Computer Power supply strange 5V and strange behaviour Teensy is connected
« Reply #21 on: October 13, 2018, 05:23:10 PM »
Kyle, thank you very much for helping me. Its very late now and i have to get some sleep (after this painful experience again hehe)
But i will give you the details of how i am connecting my teensy board, but you have allready made a good suggestion.

I will try your suggestion and come up with more detailed scheme of my teensy board.

thanks

Offline kurt-olsson

  • I am chained to this website!
  • *
  • Posts: 1,101
  • 737 -mixed year OEM panel builder.
  • First Name: Peter
  • Home Location: Gothenburg
Re: Computer Power supply strange 5V and strange behaviour Teensy is connected
« Reply #22 on: October 13, 2018, 05:25:28 PM »
I use a 400W PSU. Model: PS-400, 44139 (i use this for 5V,12V)
and  a 24V power supply, max 3Amps. Model PS2403.


Offline kurt-olsson

  • I am chained to this website!
  • *
  • Posts: 1,101
  • 737 -mixed year OEM panel builder.
  • First Name: Peter
  • Home Location: Gothenburg
Re: Computer Power supply strange 5V and strange behaviour Teensy is connected
« Reply #23 on: October 13, 2018, 05:49:05 PM »
I just came up thinking with one thing...

What if i put 5v+ on the top screw for the backlight on panel 1 and 5v+ on the bottom screw for the backlight on panel2. Then the current will flow in opposit directions?

Offline KyleH

  • Administrator
  • Forum GURU
  • *
  • Posts: 409
  • B763!
  • First Name: Kyle
  • Home Location: Ontario
Re: Computer Power supply strange 5V and strange behaviour Teensy is connected
« Reply #24 on: October 13, 2018, 07:41:36 PM »
I'd have to see a picture for reference.

 

COUNTDOWN TO WF2019


WORLDFLIGHT TEAM USA

Will Depart in...

Recent Posts

New supplier for your sim
by Fcoq
[Today at 03:36:32 AM]
Join me on Vatsim Tonight
by Trevor Hale
[December 09, 2018, 05:18:02 PM]
What have you done for your simulator today?
by kurt-olsson
[December 09, 2018, 07:43:43 AM]
Yoke and Rudder Centering with Dynamic Load Control / Force Feedbacl
by bernard S
[December 08, 2018, 12:14:01 PM]
anyone that can help me out get imperial size bolts??
by Gallie
[December 08, 2018, 11:03:29 AM]
OpenCockpits I/O Cards
by al23
[December 08, 2018, 09:22:52 AM]
737-800 Arduino X-Plane Build
by kurt-olsson
[December 07, 2018, 01:56:27 PM]
Level D B767 For FS9
by Goodenough
[December 06, 2018, 08:19:20 PM]
Thickness of a resl 737-800 Glareshield / MCP Light panel
by Joe Lavery
[December 06, 2018, 01:13:54 PM]
Anyone had any experience with JetMax post the FDS sale?
by nickj
[December 05, 2018, 10:13:20 PM]
777 Throttle *price reduced*
by mattking247
[December 04, 2018, 11:05:04 PM]
KLGA curious !!
by jackpilot
[December 03, 2018, 02:55:38 PM]
Opencockpits boards for sale
by navymustang
[December 03, 2018, 12:57:34 PM]
Does something like this Exist? Projection Glass
by fsaviator
[December 02, 2018, 02:49:40 PM]
Move Project Magenta From FSX to P3D Full cockpit
by ScottThePilot
[December 02, 2018, 12:27:31 PM]
Mickey's Flightdeck - A Boeing 737-800 Cockpit on Youtube
by Extraterra
[December 02, 2018, 06:20:38 AM]
TH2GO Digital vs 3-DV Ports on GPU
by fsaviator
[December 01, 2018, 12:49:54 PM]
Project Magenta with Xplane 11
by Trevor Hale
[November 29, 2018, 03:05:14 PM]
X-plane and SIOC help
by Trevor Hale
[November 29, 2018, 07:43:32 AM]
Prepar3d v4.4 coming to you in 2 days!!!
by Flying_Fox
[November 28, 2018, 10:16:49 AM]
More Throttle Quadrant nightmares.
by iwik
[November 27, 2018, 03:47:31 PM]
Attention All Members and Guests
by Trevor Hale
[November 27, 2018, 02:21:47 PM]
I am now asking for a new world of hurt!
by fsaviator
[November 26, 2018, 11:50:19 PM]
Hello and advice about my 737 sim
by nic
[November 26, 2018, 05:42:07 AM]
B737 Rudder Pedal Adjustment Crank Units
by Reensel
[November 25, 2018, 02:53:25 PM]
For sale! B737 home cockpit - mostly OEM parts!
by Ethanoost
[November 25, 2018, 05:33:48 AM]
The Progression of a build [Phase One]
by Joe Lavery
[November 25, 2018, 03:58:12 AM]
OEM Duct Pressure Indicator
by Fly_AB
[November 24, 2018, 08:22:30 PM]
Oxygen Pressure Indicator
by Fly_AB
[November 24, 2018, 08:18:32 PM]
boeing overhead circuit breaker back light panel wiring
by kondrat
[November 21, 2018, 11:14:55 AM]