Giter Club home page Giter Club logo

discobot's Introduction

DiscoBot

A Real Time Embedded STM32 Discovery robot. Stayin' Alive.

##Requirements ###Hardware

  1. STM32-F4 ARM Cortex-M4 MCU (such as the STM32-F4 Discovery Board)
  2. 2 Xbee Radios
  3. L293 Motor Driver
  4. A Differential drive robot

WIRING CONNECTIONS:

For PC controlled xbee:

FTDI PIN XBEE PIN
GND GND
5V 5V
RX TX
TX RX
PD0 EOC

For robot Xbee:

STM32F4 PIN XBEE PIN
GND GND
3V 3V
PB7 TX
PB6 RX

For the motor driver:

STM32F4 PIN MOTOR PIN
PA1 LEFT MOTOR
PA2 LEFT MOTOR
PA3 RIGHT MOTOR
PA4 RIGHT MOTOR

###Software -The ARM Standard Peripheral Library must be included to properly use this driver. Specifically make sure you have included these S.P.L. files in your project's working directory:
(update this list) "stm32f4xx.h"
"stm32f4xx_rcc.h"
"stm32f4xx_gpio.h"
"stm32f4xx_usart.h"
"misc.h"

-Java Interface:

##Documentation: This project is Doxygen compatible. A doxyfile has been included for easily generating documentation. Input and output paths may need to be edited to the path of your download directory.

##Basic Usage: (see: main.c for a working example)

Open a terminal in the project directory and run the gnu make command:
make clean && make

Open a new terminal and run openocd: openocd -f board/stm32f4discovery.cfg

To flash the binary onto the STM32 board: st-flash write STM32_example.bin 0x8000000

discobot's People

Contributors

easonnyc avatar igel0 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.