Название: Build a robot with a Raspberry Pi, 2nd Edition Автор: Martin Stottmeister Издательство: Umbrella Brothers Год: 2020 Страниц: 156 Язык: английский Формат: pdf, epub Размер: 26.4 MB
Have you always wanted to build a robot?
This is relatively easy with a Raspberry Pi. You don't have to have studied to do this, just have a little fun tinkering and programming. In this book I explain for beginners how to control LEDs with the simple programming language Python and how to build a robot car for less than a hundred dollars. You can then control this via a website with your mobile phone. It also explains how to control stepper motors. No previous knowledge is required for this. All programs described are available for download.
There are only a handful of commands to control or read out the pins of the Pi. The real work will later be to program everything so that you can do something with it even with a few lines of code. I will explain the basics in a separate section. But there really are not that many. So, do not be afraid. You will be amazed at how compact the code is to move the robot. In C or C++ things would look very different.
Python is an interpreted language, so the source code is not compiled beforehand, but it interacts very well with other languages. The reason why Python is so fast is based on the modules that were often written in C. But as a Python programmer you do not notice that. I suspect that the Pi is in the drawer of many people without serving a specific purpose. With this book and a little hardware, you can have a lot of fun and certainly expand the basic ideas even further.
Introduction The hardware you need Install the software on the Pi GPIO VNC Connection Python Part 1 Git Python Part 2 Motors Pulse width modulation (PWM) The car A server Automatic start of the program H206 Control a stepper motor Simultaneous driving That's it A little program 1 A little program 2 Conclusion Let´s go! Unfortunately … Fortunately …
Скачать Build a robot with a Raspberry Pi, 2nd Edition
Внимание
Уважаемый посетитель, Вы зашли на сайт как незарегистрированный пользователь.
Мы рекомендуем Вам зарегистрироваться либо войти на сайт под своим именем.
Информация
Посетители, находящиеся в группе Гости, не могут оставлять комментарии к данной публикации.