Electronics > Projects, Designs, and Technical Stuff
3V3 device control 5V ESC?
(1/1)
mrburnzie:
I have a dsPIC33 which produces a 3V3 PWM signal (50hz). It is ment for an ESC (cheap chinease one) 30A, but it doesn't react on 3.3V signal.

I have tried with an arduino mega (5V I/O) and everything works perfectly. I have compared the signal between the arduino and the dsPIC, the only difference is the voltage. On arduino works, dsPIC doesn't.

I got a level shifter (https://i.ebayimg.com/images/g/HtIAAOSwilVbpMWY/s-l640.jpg).

The problem is when I don't have the ESC powered, I get a 5V pwm output, but when I power the esc (as I must because they have to boot up on the max pwm duty cycle), the voltage drops back to 3.3V.

I have everything wired correctly, GND is all connected. Is this some impedance problem?  :-BROKE
mrburnzie:
Would something like this solve the issue?

https://assets.nexperia.com/documents/data-sheet/74HC_HCT245.pdf
ebastler:

--- Quote from: mrburnzie on January 17, 2020, 10:39:47 pm ---I got a level shifter (https://i.ebayimg.com/images/g/HtIAAOSwilVbpMWY/s-l640.jpg).

The problem is when I don't have the ESC powered, I get a 5V pwm output, but when I power the esc (as I must because they have to boot up on the max pwm duty cycle), the voltage drops back to 3.3V.

I have everything wired correctly, GND is all connected. Is this some impedance problem?  :-BROKE

--- End quote ---

I can clearly see from the link you provided that your level shifter PCB is red. That obviously can't work.  ::)




Seriously though, a link to a technical description of the level shifter, and information on the chip it uses, would be much more useful than a small photo of several boards. Also, pardon my ignorance, what is an "ESC" to you? It's one of the more popular acronyms...
Zero999:
I Googled for HtIAAOSwilVbpMWY and got this ebay hit.
https://www.ebay.ie/itm/5Sets-4-Channel-Bi-Directional-Logic-Level-Shifter-Converter3-3V-5V-ForArduMA-PN/133166967704?hash=item1f015eab98:g:HtIAAOSwilVbpMWY

It appears to be a simple MOSFET level shifter, like the one Sparkfun sell.
https://learn.sparkfun.com/tutorials/bi-directional-logic-level-converter-hookup-guide/all


The only thing I can think of is the output impedance of the shifter is 10k, when the output is high and it's being loaded, pulling the voltage down.
Navigation
Message Index
There was an error while thanking
Thanking...

Go to full version
Powered by SMFPacks Advanced Attachments Uploader Mod