Bluetooth communication between Android and the STM32F4 discovery card using a HC-05 bluetooth module | Alexandre Wetzel's Blog. Update from 4th of July 2013: The project is moving forward. I’m currently able to command the speed of my motor directly form my mobile phone through bluetooth! Running project Current wiring of my project HC-05 Bluetooth module STM32F4 discovery card Electronic speed controller to control the motors Brushless motor What you need: STM32F4DISCOVERYHC-05 Bluetooth moduleAndroid phone with bluetooth4 ESC (elctronic speed controller)4 brushless motorsLi-po battery In my configuration, I’ve connected the bluetooth module on UART1 using the STM32F4’s ports PB6 and PB7 (see above).
Current and upcoming work Create a project with Eclispe IDE for the STM32F4 using openOCDControl an electrical engine with the STM32F4Update the UI of the Android application in order to simulate a remote control for the discovery cardBuild the mechanical structure Interesting links. Silverlight Developer » Blog Archive STM32 - Simple GPIO and Some Flashing LEDs - Silverlight Developer. When starting with a new development board I always revisit the fundamentals like GPIO. Doing this helps establish that the development tools are working and gives a basic library for future development. So with this post we will be looking at GPIO on the STM32 Discovery board. When Rediscovering the STM32 Discovery Board I mentioned that I would need to look at using either the standard peripheral library provided by ST or to use a lower level method of controlling the board.
After due consideration I have decided to continue with the lower level access. Whilst this may be more effort it does lead to a better understanding of what is actually happening at the low level. Our objective today will be to toggle a GPIO pin (Port D, pin 0) generating a square wave. STM32F4 Discovery Board The STM32F4 Discovery board is a low cost development board for hobbyists, beginners and experienced users. STM32F4 Discovery Board SPI2 MOSII2S2 SDOTG HS ULPI NXTETH MI TX ClkEVENTOUT GPIO Registers 03. 04. 1. OpenSTM32 Community Site | HomePage. Welcome to the STM32 Community site. The goal of this site is to create a knowledge hub for everyone who is interested in building STM32-based embedded systems to participate and collaborate together.
This is also the place to find "System Workbench for STM32 - Bare Metal Edition" the free Integrated Development Environment for STM32 microprocessors. Registration Accessing OpenSTM32.org is free, but you need to be logged in to have access to some parts of the site, like the System Workbench for STM32 documentation and download instructions. You should either Log in or register on OpenSTM32.org. Step 1: Explore Search for Content Visit Wiki Pages You can start from Wiki HomeRead Blogs and Forums Look at the FAQs Install System Workbench for STM32 - Bare Metal Edition Instructions are provided hereDownload resources provided in the File galleries Step 2: Ask a Question and Give Feedback Step 3: Contribute Start Creating, Editing and Enhancing our Community Knowledge Base.
STM32F4. STM32F4-DISCOVERY Review. Getting Started with the ARM GCC Compiler on Windows for the STM32F4DISCOVERY Board. In late 2012, I wrote a five-part series of tutorials on getting started with the ARM GCC Compiler on Windows for the STM32F0Discovery board. You can review part one, part two, part three, part four, and part five. Today I want to do the same thing but show you how to get up and running with the STM32F4DISCOVERY board. The STM32F4 parts are more capable than the STM32F0 parts. In particular, the STM32F4 series has a Cortex-M4 processor with hardware floating point unit, is faster, and has more memory than the F0 parts.
Here's the ST feature list for the STM32F4DISCOVERY board: The STM32F4DISCOVERY board Key Features Here's a consolidated list of steps to get up and running. Add the following code to main(): Build your project and debug it using the steps in the previous tutorial. Let me know how things work for you! Edit 2/9/2014: The Standard Peripheral Library is configured for a demo board with a 25MHz crystal. Embedded Programmer: STM32F4DISCOVERY Development with GCC in Eclipse. First of all, I want to thank the OpenOCD Project for its latest release of OpenOCD. Thanks to this release, its possible to get a working development environment for the STM32F4DISCOVERY relatively fast. For now this post is Ubuntu specific. Setting the Development Enviroment on other platforms should be fairly similar. I'll cover how to install the official GCC build, since it's a newer version. Untar the tarball and that's it, no need to launch a installer.
Note: Ubuntu 12.10 users, use the command line tar instead of the GUI archive manager. Do not use the GUI archive manager Use the following command instead: tar jxf gcc-arm-none-eabi-4_6-2012q2-20120614.tar.bz2 Let's add the GCC binaries folder to the PATH environment variable, for easier use. gedit $HOME/.profile Append to this file the following lines: Do a soft reboot to update the PATH variable. The binaries should be accessible from the command line, let's check. arm-none-eabi-gcc --version sudo apt-get install ia32-libs Windows Linux.