Arduino Leonardo wheel.

New
Finally.

I just took an optocoupler, and connected the "out" signal, to come from the emitter to the H-bridge. If from collector, it will give an inversion. And it works! The gates are fully opened. Can make 10-15v on them. In the example, it is fed with 12V small battery. )

So no need in the other gate drivers)

In the example, it is connected to the left side of the H-bridge.
 
Last edited:
Upvote 0
Put 4 Farad condenser to the power line supply.
Can tell that there are improvements in the response when a wheel fully consumes the power from PSU.

CADENCE CAP4DR


Also, it is required to have only 12-15V to power the motors but lots of Amps. New PS was taken: 400w 12v/33.3A.
But, to maintain the experimental integrity, was tested with 12.5A, And with and without a wheel.

600ms
no wheel
50% ffb gain/max force
Delay 10ms
360 deg for 258 ms = 3.8rev/sec = 228 rev.min

no wheel 600 ms
100% ffb gain/max force
Delay 10ms
360 deg for 194ms = 5.1rev/sec = 306 rev.min
450 deg for 232ms


300/600ms 100 FFB Gain.


50% Gain.
 
Upvote 0
60% with wheel.


39/49% with wheel


With wheel 100%.


100% no wheel no cap. Looks m.b even better. Whatever.


Seems that no full power ffb gain can improve the results.
https://drive.google.com/file/d/1054xri5aGpmV-5j0TXvKqddBkbnf8RdS/view?usp=sharing
https://drive.google.com/file/d/1Wtaps8t1f8x2o20akkIN3kQpNMK6IJqM/view?usp=sharing
https://drive.google.com/file/d/1dEj2sW1hDrma4RUT0iYICM9MO8dX2RL_/view?usp=sharing
https://drive.google.com/file/d/1nc0DSMT2K4qfJLtc6Wdg3dOW72_FzRU5/view?usp=sharing
https://drive.google.com/file/d/16DSXM4RC1nWzlr_HTRACaVhO1FXCJB3t/view?usp=sharing
https://drive.google.com/file/d/15HC0HS7x7FRX5GACx5id21blnAdLonUh/view?usp=sharing

wps25BD.tmp.png

Also tested with transistor instead of the optocoupler.


The optocoupler works as if on&off. It is playable. All is well. But no smooth transition on ffb, in center position. Transistor has it, but very small ffb amount present then. And that PWM sound on the motor. Need some tinkering.
 
Last edited:
Upvote 0
Small nota bene.
Made in accordance with this connections. Gives full mosfet openings, quick and powerfully. But on the whole a bunch of mosfets should be made in parallel for powerful motors to works as ffb wheel.


And with 100% ffb.



 
Last edited:
Upvote 0
Issue with on and off of the driver with optrons, is seems to be solved. And appeared to be simple.
It was a wrong connection of the optrons input led to the ground of the whole system. Instead of connecting it back to arduino's GND only. Thus making isolation and arduino protection) And what's more over, lack of right connection, this just gives the linear voltage controll of the mosfet, without the pwm at all) :D:cool: That's why it all was so)

Also testing the PWM+DIR mode with relay and one MOSFET )

Made the schematics.






150 ms step test
 
Upvote 0
Encounter in EMC with PWM+Dir Mode a bug, with one of the soft locks, it makes an odd wrong DIR switch there. It must be one in the center only. So write to the EbolzMagy, he promised to look it up and improve. Hope he will make it. )
 
Last edited:
Upvote 0
Find out the config with aiwave 2016 to work. The "constant force" slider, should not be zeroed. And that's it.

The relay driver works!:);):thumbsup:
 
Last edited:
Upvote 0
Some advice to those who use arduinos, cinserning the aiwave. It requires some on/off from usb, or as it appeared to be true too, not to rush and leave it for some minutes, and it can operate as required
 
Upvote 0
SOLVED.
The DD config with 540 dc motor was too fast. It works but if gonna make a drift with it, or a like, i.m. release the wheel out, the motor runs away. Made the gear ratio smth like 1:6, and here we go)))


Gain 80%


And 100%

 
Last edited:
Upvote 0
EMC 0.9. Wheelcheck 300 ms.
Constant should be checked)


Figured out that the ffb greatly depends on this slider. EMC is alright for all the other games, with this slider being active)
 
Upvote 0
Back
Top