Norodix

joined 1 year ago
[–] [email protected] 1 points 3 weeks ago

No problem :) Let me know if you need any help!

[–] [email protected] 2 points 1 month ago

I don't think the PWM on the arduino is slow for your application. Motors are actually great for filtering. Even if the current is not filtered, mechanically it is so slow that you can go as low as 100Hz and still drive the motor acceptably well.

[–] [email protected] 0 points 1 month ago (1 children)

I also worry about the LM7818. It drops about 6V, so at 330mA it burns 2W, which seems like the maximum for the package that I quickly pulled up. If you have a very efficient buck converter that gives you at most about 1A to drive the motor. Not a lot of overhead.

Also as I said already, you could just skip the whole thing and make everything work from the 24V using PWM. Since you want to drive it with an arduino that is not a difficult thing.

[–] [email protected] 1 points 1 month ago (2 children)

If I were you, I would not step down the 24V, but use that to drive the motor with pwm. It requires a bit different H bridge but overall it would be simpler. But if you already have a converter module that is good enough this works too.

[–] [email protected] 1 points 1 month ago* (last edited 1 month ago) (8 children)

In that case I would omit the extra transistors and use only the optocouplers.

What sort of application is this? Having 18V somewhere and a 5V supply too that can output several amps is quite unusual.

[–] [email protected] 1 points 1 month ago

Obviously. No idea what I was thinking.

[–] [email protected] 2 points 1 month ago (2 children)

Is it okay that there is no stop state? It can only drive the motor in either direction, bit there is no OFF state with your inputs.

[–] [email protected] 12 points 1 month ago (12 children)

Please don't use non perpendicular lines and draw in a clearer software if possible. Its quite hard to read.

What is the point of the push-pull BJTs? With the optocoupler you could drive the nmos gates directly. If you need more current to drive the gates (unlikely for a small motor), I suggest you buy dedicated gate drivers. They are tested and not expensive. If you have the 18V available already, using the optocouplers directly would be a lot simpler.

[–] [email protected] 4 points 1 month ago (1 children)

I also felt a little underwhelmed, I thought the installation would be more difficult.

If you are not in it for the memeing I find it to be a great distro.

[–] [email protected] 24 points 1 month ago

I also vote for a writeup. This sounds awesome!

[–] [email protected] 3 points 1 month ago

At first I did, but i really like vim now

[–] [email protected] 6 points 1 month ago

Ugh, and the code is so bad. I love it!

 

I just received a call from an indian microsoft technician. He informed me that my PC is sending a ton of error messages to microsoft. Most likely it has been hacked, and he would help me by remoting in and fixing the problem for me. I just wonder... Is it my PopOs or my Manjaro PC that sends all this info to microsoft?

view more: next ›