I haven’t posted much, but I have been playing around with the arduino, code, and dc motor drivers. I have several projects that I want to do and I figured I needed to learn a little bit so I’d know what the heck y’all were talking about.
We got chickens for the kids Easter. So, I had to build them a coop. It took a lot longer than I expected... but naturally, as @tylerltr450 told me, I thought of a way I could incorporate an arduino in to the coop. I wanted a door that would automatically open in morning to let them out and close at night. I had time to figure out the coding (simple for y’all, difficult for me) while I was at work, and I think I basically have it going like I want it.
@cattledog, I know you probably want to shoot me for getting side tracked again, but I promise I’m not giving up on this project. Please don’t give up on me lol.
Back to this project (kinda). I have been using the 43a motor driver (from Amazon) to run the winch on the sawmill. I think it is under powered. I have tried to “help” it as much as possible with shorter wire lengths, but it still gets really hot! I think (not sure) it has lost some functionality on the sawmill. I believe it is the reason the sawmill would go one direction but not the other. I still need to sort out the signal issue from the encoder as well.
I use one of these:
PWM DC Motor Speed Controller, DC10-55V/60A with Forward-Brake-Reverse Switch, Ajustable Potentiometer & LDE Digital Display https://www.amazon.com/dp/B095PLGK9Z/ref=cm_sw_r_cp_api_glt_i_EZF96XM75MS7KXNNCVE9?_encoding=UTF8&psc=1
to move the head up and down the track and control the speed with the potentiometer. It has always worked really well. Since I haven’t been able to find any readily available (low priced) high amp motor drivers, I was wondering if I could use something like this to control the winch to lift the head.
I started reading about them and saw where the pwm of these boards are controlled with the potentiometer through a 555 timer chip. I see that some people have “hacked them” and soldered a wire to the output pin of the 555 timer chip and can control the pwm with an arduino. (They cut the trace coming out of the output pin of the 555. I assume this bypasses anything coming out of the chip, and it allows the signal to come from the arduino once it is soldered on).
This got me thinking. Would this be a better route to go? I think I can find higher amp boards this way and the lugs/connections are much more suited for the size wire I have/need.
The other question about doing this is changing direction. The board changes direction with a toggle switch that controls a relay. The toggle switch brings one of the legs to ground to select the desired direction. I would have to do this with the arduino. I guess this would need to be done with a separate relay board? Because I’m guessing the arduino isn’t capable of “selecting” the desired direction on its own? Or is there a better way to do this?
Again, i know I’m kinda off track, but If I can’t get anything reliable to lift the head up and down all the work that y’all have done to help me will be in vain. As usual I am open to suggestions, and I am very very thankful for all your help! It has really been fun yet frustrating learning a little about how this stuff works.