
50
18. Demo Programmes
To use the user boards easily and comfortably, use the Maker-Factory Hexapod library. This library was already installed at the beginning of this manual. The
provided examples show the use of the user boards and the functionality of the Arduino Hexapod library.
When using user boards that are not Arduino compatible (like SBC), look at the file "Hexapod_Lib.h". This file shows how the communication between the user
board and the locomotion controller works. This will serve you as an example for developing your own function library. To do this, unpack the ZIP file "\Library-
Demos\Maker-Factory-Hexapod-Vx.1.zip" from the download bundle and look at the source code of the library in an editor such as Notepad or a development
environment of your choice.
The supplied examples are designed for "Arduino UNO" and "NodeMCU"
boards programmed with the Arduino IDE.
The Arduino examples show how to use the library. These can be found in the Arduino IDE under "Examples\Maker-Factory-Hexapod-Vx.x\...". Take your time
to look at all the examples and test them on your Hexapod. Once you have understood the examples, you can start and create your own programmes with
them. Take a closer look at the "Hexapod_Lib.h". With some experience you can easily extend it with your own functions.
Short description of the provided examples for Locomotion:
In the folder "Locomotion" you find the examples for the Locomotion controller (Arduino MEGA2560).
•
"LEDs"
Small test programme that alternately flashes the two LEDs (User and Live).
•
"Motion-Firmware"
Firmware of the locomotion controller.
•
"ServoCenter"
This programme moves the servos to the middle position. As needed for mechanical assembly of the Hexapod robot.
Figure 78
Содержание MF-4992453
Страница 1: ...Operating Instructions Hexapod Robobug Complete Set Item no 1664151...
Страница 23: ...23 The femur servo mount must be mounted a total of 6 times Figure 31 Figure 32...
Страница 26: ...26 Figure 37...
Страница 36: ...36 Figure 58 Figure 59...
Страница 37: ...37 Figure 60 Illustration_61 Figure 61...
Страница 38: ...38 Figure 62...
Страница 66: ...66...
Страница 67: ...67...