pointscros.blogg.se

Random arduino
Random arduino













Learning basic mechanics will really help avoid going down blind alleys of design.

random arduino

Learning to calculate these things is far more empowering - you'll always be able to get things right in the future. I hope this makes the intentions a bit clearer? It doesn't matter to the project for the servo to have a defined centre point where it starts every time. But if the servo cant turn at various speeds, it's not a problem.Īfter its made its movement id like it to chosen another amount of degrees to turn and a direction to turn in. I'm not so concerned about the time it takes, if the servo can turn at different speeds, i would like it to randomly select a speed to turn to the randomly selected amount of degrees it will turn. Id like the arm to turn randomly clockwise and anticlockwise, and randomly from 0-540 degrees. The only weight it will move is its own weight (arm). The use: the servo will be mounted in the centre of a circular table, with an arm (broom handle) mounted to it that protrudes the radius of the table. The servo would need to be able to turn at least 540 degrees preferably closer to 720. Sorry to make it confusing, i was trying to make it simple, and obviously made it more confusing. Does anyone have any advice or suggestions?

random arduino

I have worked with servos and Arduino a little before, so was thinking it might be a most simple way of achieving this.

random arduino

Once it has turned for the randomly set time it restarts the above cycle again. Servo turn for a random amount of time (time set between 2 set limits) alternatively servo turns a certain number of degrees (set between 2 limits) Servo starts to turn at random speed (speed randomly selected between 2 defined limits) Servo start to turn in a random direction (clockwise or anti-clockwise) I’d like to build a setup where I have a servo or motor that when switched on turns randomly clockwise or anticlockwise at a random speed and for a random duration, then goes again turning in a random direction at a random speed for a random duration.ĭoes anyone have suggestions of the most suitable type of servo or motor for the job? It would need the capability of being able to turn multiple times in either direction, for that reason I don’t think a standard servo would be suitable.















Random arduino