Cockpit

* User Profile

Welcome, Guest. Please login or register.

Login with username, password and session length

Who's Online

  • *Users: 1
  • *Guests: 24
  • *Total: 25

Our Discord

WORLDFLIGHT 2018 - TEAM USA SUPPORTERS (HERO'S)


We would like to thank our HERO'S for Donating to support WORLDFLIGHT Team USA - 2018

Fred Kurasiewicz, Ray Sotkiewicz,Warren Soeldner, Kyle Hathaway-

Thanks to all of you, so far this year we have raised

$670.00 USD


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

Offline kurt-olsson

  • I am chained to this website!
  • *
  • Posts: 1,051
  • 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,051
  • 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,051
  • 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,051
  • 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,601
    • 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,051
  • 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 may as well be Staff!
  • *
  • Posts: 682
  • 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,051
  • 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

  • Forum GURU
  • *
  • Posts: 487
  • 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 may as well be Staff!
  • *
  • Posts: 682
  • 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,051
  • 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,601
    • 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 may as well be Staff!
  • *
  • Posts: 682
  • 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,051
  • 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: 399
  • 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,051
  • 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: 399
  • 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,051
  • 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,051
  • 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: 399
  • 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: 399
  • 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,051
  • 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,051
  • 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,051
  • 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: 399
  • 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 WF2018


WORLDFLIGHT TEAM USA

Will Depart in...

Recent Posts

Join me on Vatsim Tonight
by Trevor Hale
[Today at 06:13:52 PM]
737-800 Arduino X-Plane Build
by kurt-olsson
[Today at 03:45:38 PM]
What have you done for your simulator today?
by Joe Lavery
[Today at 10:58:20 AM]
Converting KingAir to Glass
by Trooping
[Today at 10:17:02 AM]
Teensy LC Hydralic Panel
by kurt-olsson
[Today at 08:38:50 AM]
Can you guyse please check this link
by gjha97
[Today at 08:25:00 AM]
B737 Desktop sim project
by KyleH
[October 17, 2018, 09:23:40 PM]
KingAir B200 Builder
by flyinghigh
[October 17, 2018, 07:43:56 PM]
FOR SALE - Pair of IPECO Seats and J-Rails
by fsaviator
[October 16, 2018, 11:55:42 PM]
Edge Blending Blockers?
by FredK
[October 16, 2018, 06:42:58 PM]
More Throttle Quadrant nightmares.
by blueskydriver
[October 16, 2018, 02:14:44 PM]
Korry 318 push to test logic
by kurt-olsson
[October 15, 2018, 01:02:43 PM]
Had to Post (True Story) Funny as Hell though (glad noone was hurt)
by Trevor Hale
[October 15, 2018, 12:01:36 PM]
#Worldflight2018 Less than 20 Days to go!
by Trevor Hale
[October 15, 2018, 10:39:46 AM]
Active Sky 16 Networked to P3D V4 ?
by brianwilliamson
[October 14, 2018, 07:52:08 PM]
Computer Power supply strange 5V and strange behaviour Teensy is connected
by iwik
[October 14, 2018, 01:39:14 PM]
For Sale: Jetmax JetMax-737SKTQ
by Trevor Hale
[October 13, 2018, 08:56:35 PM]
Laser CNC cutting/etching using a 3D printer?
by Joe Lavery
[October 12, 2018, 11:28:59 AM]
For Sale GoFlight Jet Console, 2 Private Pilot Racks all with GoFlight Modules.
by Joe Lavery
[October 12, 2018, 10:57:35 AM]
Project Magenta with Xplane 11
by kevinsayre
[October 12, 2018, 08:14:25 AM]
13.8V ok for 12V use?
by kurt-olsson
[October 11, 2018, 12:40:48 PM]
INTRODUCTION
by twkster
[October 10, 2018, 11:31:27 PM]
SOLD: For sale New FlightsimPM B737 Throttle Quadrant v2.1
by fairchild
[October 10, 2018, 04:13:13 PM]
For sale,Commercial Packege Saitek Modules
by fairchild
[October 10, 2018, 03:05:47 PM]
CR-10, CR-10S, CR-10S4 and CR-10S5 3d Printer Info and Links...
by Trevor Hale
[October 10, 2018, 01:02:44 PM]
Mickey's Flightdeck - A Boeing 737-800 Cockpit on Youtube
by Joe Lavery
[October 10, 2018, 12:28:18 PM]
For Sale: CPFlight MCP 737 EL $400 USD Shipped Lower 48
by Giovan
[October 10, 2018, 05:18:11 AM]