SparkFun's H-Bridge Block for Edison adds a two-channel low-voltage low-current h-bridge (the Toshiba TB6612) to your stack. The block can be configured to draw power either from the VSYS supply of the stack or from an external supply connected to the header on the block.
This library abstracts all of the IO handling away from the user; all the user need do is provide a signed floating point value representing the duty cycle (from -1.0 to +1.0) for each motor.
- SparkFun_TB6612_Edison.h - Header file containing class, function, and constant definitions used by the tb6612 C++ library.
- SparkFun_TB6612_Edison.cpp - Class implementation for tb6612 class.
- SparkFun_H-Bridge_Edison_Block_Example.cpp - example code which will show you how to access all of the functions in the library.
- Programming the Intel Edison - Getting up and running with the Edison. Start here!
- General Block Information - Information applicable to all blocks, such as power requirements and how to install them.
- Programming the Edison - This library uses Intel's mraa library to access hardware resources. This tutorial will help you get started using mraa to write code in C++. This is not an Arduino library.
- H-Bridge Block Hookup Guide - Hookup guide specific to this block, which includes information on the circuits used in the demo code.
This product is open source!
The code is released under GPL.
Distributed as-is; no warranty is given.
- Your friends at SparkFun.