Demo Programmes - Maker Factory MF-4992453 Operating Instructions Manual

Hexapod robobug complete set
Table of Contents

Advertisement

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.
50
Figure 78

Advertisement

Table of Contents
loading

This manual is also suitable for:

1664151

Table of Contents