# Tag Info

2

Don't disengage your controller. The purpose of a controller is not only to steer your system to the desired setpoint according to a predetermined dynamical response but also to counteract potential external factors that may impede this task. Think of a disturbance that will drive the system far from the setpoint once it has been reached. Thus, the ...

1

It would be much better to determine a fixed sample rate for your controller. A really rough rule of thumb is that whatever the settling time you need out of the loop once it is operating in the linear regime, your sampling interval should be between 10 times and 100 times less than the settling time. Put another way, the sample rate should be 10 to 100 ...

1

To learn electronics (which is pretty much essential), then a copy of The Art of Electronics, by Horowitz and Hill (ISBN: 978-0-521-37095-0), is indispensable. Nevertheless, on its own, it might not get you up and running as quickly as you like. Also, as you want to build a smart device, you will probably also need a controller of some sort, and you have ...

1

where do I start with the electronics? and basic accessories and peripherals like cameras, speakers/headphones, lights and some external buttons/controls - Like a helmet with front and rear camera, headset/speakers and physical volume/call controls or buttons While it would be easy for anyone to connect some button to an electronic device successfully, ...

1

Turns out there is in fact a very simple library called fortran-gpio for exactly that. Another option is to access GPIO pins through device files, see here for details.

1

In reading through the Johnny Five examples, it seems like the basic Motor command is supposed to be used if you're driving a motor directly. You're not, though - you're using an H-Bridge configuration. There is an example for that as well that gives the following for the motor command: const motor = new Motor({ pins: { pwm: 3, dir: 12 },...

1

The initial motor current required to pull away from standstill is likely the cause of the pi being reset, you could try to accelerate slowly rather than hitting the gas too quickly. A capacitor is used to stop the voltage spikes caused by the motor starting and stopping and reduce RF interference. The spikes could also be a cause of the pi reset. I use a ...

1

Converting a joystick $(x,y)$ into differential-drive $(left, right)$ control is not difficult. But there are multiple approaches because of different robot and joystick characteristics. For example, compare the differences between a "playstation-style" controller joystick (which will usually be used in an all-or-nothing kind of way and might have a sloppy ...

Only top voted, non community-wiki answers of a minimum length are eligible