项目作者: fabriciopk

项目描述 :
Dimitri's series elastic actuators (SEAs) firmware
高级语言: C
项目地址: git://github.com/fabriciopk/SEA_Firmware.git
创建时间: 2016-10-10T18:51:02Z
项目社区:https://github.com/fabriciopk/SEA_Firmware

开源协议:MIT License

下载


SEA_Firmware

Firmware for series elastic actuator, this board contains a stm32f103 microcontroller

Installation(Upload using arduino IDE)

  • Download arduino IDE
  • Download zip file containing the STM32 files from here
  • Unzip in arduino hardware folder (arduino-1.6.xx/hardware/) and rename to Arduino_STM32
  • Run the arduino IDE, and on the Tools menu, select the Boards manager (Tools > Boards > Boards Manager), and install the Arduino Zero(Arduino SAMD boards 32 bits cortex M3) from the list of available boards. You must do this step, it installs the arm-none-eabi-g++ toolchain!
  • Copy AS5048A and DynamixelProtocol from lib folder to (arduino-1.6.xx/libraries/)
  • Change the line #define BOARD_HAVE_SERIALUSB 0 in the file arduino-1.6.xx/hardware/STM32F1/cores/maple/boards.h

Setup Arduino IDE and board upload pins

  • Board:STM32F103C Generic
  • Variant:STM32F103C8
  • Upload method: Stlink
  • Open src/src.ino
  • Pins for SWD(stlink v.2) setup:

alt tag

alt tag

NOTE: top-side of board.

Board settings

  1. #define SEA_ID 105 //define the board id in rs485 network
  2. #define INVERTED
  3. ...
  4. #define SEA_RECT //Type of the board, coment if is the rounded board
  5. ...

Testing(linux)

Plug usb2Dinamyxel, power on the board.

  1. cd test_board
  2. make
  3. ./dynamixel_test ID_board