Squirrels have fuzzy tails.
0 Members and 1 Guest are viewing this topic.
The circuit works fine to power the lamp. When I get the brake, I'll make sure there is a diode across the terminals of the electromagnet.
Anything I have missed here to have this circuit drive the brake?
What voltage do you get over the lamp (assuming a 'scope measure here)?
You'd be better off with the MOSFET you mentioned and the two BjT's for a driver.
I don't have an oscilloscope,
but my voltmeter shows 0 Volts across the lamp terminals when the Arduino output pin is at 0 Volts. My voltmeter shows 10.28 Volts when the Arduino output pin is at 5 Volts. (My voltmeter also shows my power supply putting out 11.47 Volts instead of 12 Volts.)
That makes sense. I'll replace the Darlington transistor with a MOSFET. If not too much trouble, having a schematic would be nice, just so I don't misunderstand anything.
i would go for a relay, that is driven by tip120 you are using, so you would not fry anything, [...]
Oh, I thought this was a "school" project
For the Schottky diode, will a 1N5817 work?
I'm not too worried about the speed of the gate, since the PWM frequency of the Arduino pin is only 500 Hertz.
Actually, all this is for an electric car project. With some other family members, I am building a new type of electric car. It's more to try out some concepts than to build a car to actually drive on the roads.
Your help on a variety of topics for this project over the past year or two has been very valuable. The only thing that is still a problem is steering. Everything else is close to being ready.
What's the steering issue(s)?
I haven't found a good way to steer the wheels. The plan is to steer each wheel individually by sending it an 8-bit number (0 to 255). We need an electromechanical device to turn the wheel.
At first I thought of using a linear actuator. But they are too slow and weak.
Someone suggested (it may have been you) to use the existing steering gearbox, and just replace the steering wheel with an electric motor. We would then get another steering gearbox for the wheel on the other side.
You thought a windshield wiper motor might work as the electric motor. So I've been trying that out, and have tried to write a PID program to control the motor. But I'm not sure the motor has enough torque.
Another problem has been the mechanical linkage between the motor and gearbox. Finally, it's hard to find a place to put a potentiometer to give feedback on the steering angle.
None of those are huge problems. But there are a lot of problems, all of which need to be solved. So the steering still needs a lot of work. We may even have to come up with a whole new idea on how to do it.
Otherwise, the car is coming along nicely. It's no Tesla Roadster, or Koenigsegg Quant. (Those are really nice cars.) But our car is a whole new architecture for an electric car that may lead to much better cars in the future, as well as change the carmaking industry.
But the whole point of our car is to do things a little differently.
By being able to change the steering geometry on the fly, we can get better performance at no added cost.
we want to have all four wheels steered, braked and driven independently. We will then have a true four-wheel drive car, with each wheel being an interchangeable module.
But as you point out, that will be hard to do. So I am trying to figure out whether to abandon the ideal solution and take a more practical approach. Your comments help.
And I want an absolute reference rather than a relative one. That's why the rotary encoders and Hall sensors I found did not seem like they would work well. Ideally, I would like to put the position sensor right on the steering knuckle and get a resolution of half a degree.
This car has been an interesting project, and as I said, your help on some of these questions has been very good to have. Thank you.
Here's a schemmy...Consider C1 only for experiments and with a higher value R5, to deliver enough charge voltage to the gate for a swift turn on, while keeping the average current lower.
[...] I'm not sure what type of MOSFET would work here. Back then I was thinking of using an STP40NF10L. Would that work?