Notifications
Clear all

multi-channel 5vdc to 3.3vdc for Teensy

7 Posts
3 Users
0 Reactions
306 Views
(@jonweisw)
Member
Joined: 1 year ago
Posts: 20
Topic starter  

All - 

Any good ideas for how to condition 5vdc to 3.3vdc across 14 channels simultaneously? This is so that a Teensy 4.1 can transduce the output of a synchro to digital converter which outputs data across 14 channels using 5vdc for when each channel is 'on'. The Teensy will only accept no more than 3.3vdc in.

 

I have tried using voltage regulators on each channel, but after four or five channels the voltage of each channel of the converter drops and the data becomes very erratic (I think its a current draw issue associated with the voltage regulators). I have independently checked each channel of the output of the converter and the converter is working perfectly when it is not wired to the voltage regulators.

THANK YOU so much in advance for any advice.

Jon


   
Quote
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 4 years ago
Posts: 8047
 

Posted by: @jonweisw

All - 

Any good ideas for how to condition 5vdc to 3.3vdc across 14 channels simultaneously? This is so that a Teensy 4.1 can transduce the output of a synchro to digital converter which outputs data across 14 channels using 5vdc for when each channel is 'on'. The Teensy will only accept no more than 3.3vdc in.

 

I have tried using voltage regulators on each channel, but after four or five channels the voltage of each channel of the converter drops and the data becomes very erratic (I think its a current draw issue associated with the voltage regulators). I have independently checked each channel of the output of the converter and the converter is working perfectly when it is not wired to the voltage regulators.

THANK YOU so much in advance for any advice.

Jon

Isn't that what a level converter does?

 

First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, 360, fairly knowledge in PC plus numerous MPU's & MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
My personal scorecard is now 1 PC hardware fix (circa 1982), 1 open source fix (at age 82), and 2 zero day bugs in a major OS.


   
ReplyQuote
(@jonweisw)
Member
Joined: 1 year ago
Posts: 20
Topic starter  

A level converter... I dont have any experience with those. Do you have any suggestions for which one and/or how to wire that up?


   
ReplyQuote
Will
 Will
(@will)
Member
Joined: 4 years ago
Posts: 2601
 

@jonweisw

Try these "https://www.amazon.ca/gp/product/B07V1YY8FH/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1"

(select the URL from inside the quotes)

Anything seems possible when you don't know what you're talking about.


   
ReplyQuote
(@jonweisw)
Member
Joined: 1 year ago
Posts: 20
Topic starter  

@will 

perfect! Ordered and arriving this afternoon!!

Thank you!

Jon


   
ReplyQuote
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 4 years ago
Posts: 8047
 

@jonweisw @will beat me to it, but also a google will answer about 90% of all the questions asked here. See attached pic. Wiring is simple, attach your 5V supply to the HV,G, attach the 3.3V supply to  LV,G. Now if you attach a signal from a 5V pin to HV1 then you will see an identical signal at 3.3v on LV1 similarly for 2, 3, 4.

Since this is a bi-directional board, we can reverse the above and apply a signal from a 3.3V pin to LV1 then you will see a 5V signal on HV1 similarly for 2, 3, 4.

You can even mix and match them and this is often how they are used with a 3.3V board on one side and a 5V board on the other sending signals back and forth. If you need more than 4 signals, use more level shifter boards.

Screenshot 2024 11 09 at 07.51.32

First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, 360, fairly knowledge in PC plus numerous MPU's & MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
My personal scorecard is now 1 PC hardware fix (circa 1982), 1 open source fix (at age 82), and 2 zero day bugs in a major OS.


   
ReplyQuote
(@jonweisw)
Member
Joined: 1 year ago
Posts: 20
Topic starter  

All -

Thank you so much for the advice and guidance. @Will - I went with your recommendation and it works like a charm! 

This forum is the best!

Jon


   
ReplyQuote