Cockpit

* User Profile

Welcome, Guest. Please login or register.

Login with username, password and session length

Who's Online

  • *Users: 1
  • *Guests: 53
  • *Total: 54

Our Discord

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

Offline kurt-olsson

  • I am chained to this website!
  • *
  • Posts: 1,211
  • 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,211
  • 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,211
  • 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,211
  • 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,840
    • 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,211
  • 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: 756
  • 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,211
  • 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: 537
  • 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: 756
  • 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,211
  • 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,840
    • 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: 756
  • 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,211
  • 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: 431
  • 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,211
  • 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: 431
  • 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,211
  • 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,211
  • 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: 431
  • 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: 431
  • 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,211
  • 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,211
  • 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,211
  • 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: 431
  • 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

items/oem from overhead
by gufau
[Today at 01:50:44 AM]
Change the Forum Theme to suit your own Needs.
by RobertPrall
[July 23, 2019, 11:44:27 PM]
Teensy LC Fuel Panel A (top)
by mickc
[July 23, 2019, 07:30:29 PM]
737-800 Arduino X-Plane Build
by kurt-olsson
[July 23, 2019, 02:19:07 PM]
Looking, second-hand B737 ICS MIP panels with subpanels
by fairchild
[July 23, 2019, 10:57:07 AM]
X-Plane 11 multi-monitor & Fly Elise-ng - tuto
by blueskydriver
[July 20, 2019, 05:33:45 AM]
FOR SALE: CA & FO Cockpit Seats with J Rails
by Philip
[July 19, 2019, 04:23:24 PM]
For sale
by TNT
[July 18, 2019, 07:57:29 PM]
For Sale: Dual Linked Rudder Pedals RSP
by Philip
[July 17, 2019, 06:47:22 PM]
Boeing 737 Dual Linked Yokes
by tennyson
[July 16, 2019, 08:59:28 PM]
Flyengravity desktop MIP (SOLD)
by patiju
[July 16, 2019, 02:01:48 PM]
Flight deck solutions FDS-B737NG-PRO-MX- rudder pedal
by Mach7
[July 16, 2019, 04:52:26 AM]
Korry 318 gets hot.
by Joe Lavery
[July 16, 2019, 03:49:14 AM]
What have you done for your simulator today?
by blueskydriver
[July 14, 2019, 10:25:43 AM]
Where to find or how to make this switch guard?
by blueskydriver
[July 13, 2019, 03:46:30 AM]
NIB 747-400 ThrottleTek + FDS CDUs x2 [SOLD]
by blueskydriver
[July 12, 2019, 10:53:12 PM]
FDS 5V IBL Dimmer and Expansion Board / Pokeys 57E (SOLD)
by fsaviator
[July 10, 2019, 08:35:14 PM]
PM MCP.ini Question...
by ScottThePilot
[July 10, 2019, 12:56:38 PM]
Stab Trim Indicator...
by ScottThePilot
[July 09, 2019, 12:56:42 PM]
Teensy LC Throttle Quadrant
by kurt-olsson
[July 08, 2019, 08:09:41 AM]
Multiple Teensys, sketch upload question
by kurt-olsson
[July 08, 2019, 08:05:27 AM]
Anders Simparts - Summer info
by archen
[July 07, 2019, 03:30:31 AM]
Group buy - Oshino OL-2405BP lamps - interested?
by kattz
[July 03, 2019, 09:26:22 PM]
Prosim737 Ver 2 license for sale
by ifeliciano
[July 02, 2019, 09:58:37 AM]
Anyone have this connector and possibly a clamp as well for the yoke?
by mickc
[July 01, 2019, 08:01:04 PM]
Happy Canada Day
by jackpilot
[July 01, 2019, 10:09:40 AM]
MH 370 Article
by FredK
[June 30, 2019, 07:28:41 PM]
Calling any B747 mechs... please help
by kattz
[June 30, 2019, 06:08:50 PM]
International shipping?
by jackpilot
[June 27, 2019, 08:29:07 AM]
Flooring Installed!
by jackpilot
[June 25, 2019, 05:49:57 PM]