So far I have burned out 2 arduinos while having it connected to 7.2v power source or USB. I suspect the problem is with my transistor / mosfet setup where I am then stepping up the voltage to 24v to run a motor, but I believe this should be isolated from the arduino.
2 of my arduinos get super hot now just when connected to power, 1 doesn't respond at all when connected to USB.
I can share code as well. Basically, I am using BLE to sense when my robotic lawnmower gets close to my fence, and when it does it opens up a gate to let it pass. The switch is for manual operation (mostly for testing). The LEDs are just for status. The resistors / A6 connection is for me to determine battery level.
Thanks Mark, I'll make the changes, and hopefully that'll fix the problem. I didn't realize the voltage went back into the gate from the source. I guess that makes sense thinking it through.
It doesn't, the gate is isolated. But the gate isn't the issue. The emitter and base of the NPN transistor are the issue. BJTs have base, emitter, collector and function totally differently from FETs (which have gate/source/drain)
Sorry, like I said beginner so terminology escapes me sometimes. I meant base. Why isn't the base isolated on a transistor, but the gate is isolated on a mosfet?
I designed the incorrect circuit myself (hence the incorrect part).
Because they are totally different devices that work in completely different ways - you can learn about them if you want there are 1000's of resources out there. The names reflect this difference, "bipolar junction" v. "field effect".
The point of the transistor was to step up the voltage to the gate of the mosfet. Since the pin outputs 3.3v, the mosfet I am using (irfz44n) requires 5v to partially function, and so I am trying to put the full 7.2v into the gate to allow the current to drain properly. I'm using a PNP transistor (MPSA92)
So you're an Electronic Design Engineer now ?
Wouldn't it have been better to accept the fact that you have no design experience and post before testing ?
There's always a temptation to guess and try, but experience will tell than "measure twice, cut once" applies to electronics too, though more along the lines of "check everything twice, initially power up with current-limiting bench supply"
Sure, but less fun. Exploration is a fun way to learn. I make mistakes, burn out a few arduinos, then spend the time to try to identify and fix the problem. Since I hit a point where I couldn't identify the problem, now I post.
Hi,
What is your 7.2V supply, how much current can it provide?
What is your 24V motor, can you please post link to specs/data?
What is your DC-DC converter?
Your potential divider 200R and 150R could be higher in value, to reduce current through the divider.
Try 2K and 1K5 instead and a 0.1uF capacitor from A6 to gnd.
A hint: When you draw your circuit diagrams, try and have gnd as line along the bottom of the diagram and positive along the top.
Then connect everything up to or down to those wires.
Input usually on the left and output on the right, so your diag will have 7.2V supply, switch and potential divider on the left and the BJT, MOSFET and DC-DC converter with motor on the right with the BLE in the middle.
Your first attempt is good, keeping components spaced and using proper symbols, practice will hone your skill.
Under battery, 15 Amps. So far I have only hooked it up with a DC power supply, so pretty high. Based on a previous suggestion, I at least set up OCP at 500ma while I work on this.
LOL
(really not necessary. I was simply pointing out that
if you have no design experience it makes more sense to consult those who do before burning up
boards.
is not very cost effective or productive for that matter. It just results in time and money wasted)