Wednesday, April 10, 2013
Stellaris Launchpad and Nokia 6100 LCD
... interfacing Nokia 6100 LCD shield to Stellaris Launchpad.
The LCD library used in this demo is included in the LM4F GCC-ARM IDE package.
The LCD library used in this demo is included in the LM4F GCC-ARM IDE package.
LM4F-GCC-ARM-IDE
...an alternative Integrated Development Environment for TI's Stellaris® LM4F120 LaunchPad (ARM Cortex-M4F @80MHz, 256kB FLASH + 32kB SRAM)
download: lm4f-gcc-arm-ide-win32.7z 17.7 MB only.
IDE features:
- fast light-weight IDE (PyQt based)
- using gcc-arm-embedded 4.7.3
- auto-completion (NOT IntelliSense)
- code-outline using CLang
- lm4flash (flash loader from lm4tools)
- serial monitor
- supports C++ projects
- stellarisware peripheral driver library
- supports 8 hardware UARTs: Serial0 to Serial7 (Serial0 is the same as the debug "Serial". Serial6 pins are mux w/ USB pins)
- advanced libraries( USB device, FreeRTOS kernel)
- basic libraries (gpio's, delay's, buttons, RGB led, N6100 lcd)
forum discussion link
STM32-GCC-ARM-IDE
a port of Philrobokit IDE to STM32F1 w/ GCC-ARM toolchain
currently, only works for E-Gizmo's STM32 MCU Board
(STM32F100C8 @24MHz, 64kB FLASH + 8kB SRAM)
download: stm32-gcc-arm-ide-win32.7z 38.7 MB
previous version: svn-r125
forum discussion link
currently, only works for E-Gizmo's STM32 MCU Board
(STM32F100C8 @24MHz, 64kB FLASH + 8kB SRAM)
download: stm32-gcc-arm-ide-win32.7z 38.7 MB
previous version: svn-r125
forum discussion link
Sunday, April 22, 2012
Android-OpenCV Object-Tracking
Tracking a ping-pong ball using Android-OpenCV Library
[フレーム]
svn co http://yus-repo.googlecode.com/svn/trunk/Android/apps/objtrack* needs Android-NDK to build.
modify objtrack.cpp to detect other objects/colors
pre-built installer: Object-Track.apk
* only for Android phones with ARMv7-capable CPU and Gingerbread OS.
references:
OpenCV for Android (see Tutorial 2 Advanced - 1. Add Native OpenCV)
Tracking colored objects in OpenCV
Android-OpenCV Google-Group
##############################################
edit 05-05-12
interfacing the app to philrobokit-Anito board (observe the LEDs+buzzer states with respect to the ball position).
[フレーム]
* Data are being transmitted via the usb2serial adapter (built-in to the kit) using android-serialport-api.
Saturday, February 18, 2012
Quadruped - part 2
my second prototype of a four-legged robot...
It is the same assembly with the previous. But this time, it's now powered by LPCXpresso (LPC1114) running CoOS. It's also controllable by bluetooth joystick.
source code (with all the revisions):
* source code can be build using Sourcery CodeBench Lite for ARM-EABI
* I'm using lpc21isp to load the binaries for the lpc1114 using built-in serial bootloader.
* demo video is on my previous post.
It is the same assembly with the previous. But this time, it's now powered by LPCXpresso (LPC1114) running CoOS. It's also controllable by bluetooth joystick.
source code (with all the revisions):
svn co http://yus-repo.googlecode.com/svn/trunk/Bots/quad_lpc1114
* source code can be build using Sourcery CodeBench Lite for ARM-EABI
* I'm using lpc21isp to load the binaries for the lpc1114 using built-in serial bootloader.
* demo video is on my previous post.
Wednesday, February 15, 2012
Bluetooth Joystick
Android Bluetooth Dual-Joystick Controller
Sends 5 bytes every 200ms (or every 3 sec if idle).
data format: [ STX : radiusL : angleL : radiusR : angleR ]
where: STX = 0x55
radius = {0..10}
angle = {0..35} (or actual/10)
sample:
will send [ 0x55 : 0x0A : 0x12 : 0x05 : 0x09 ]
(**left-joystick is pulled backward; right-joystick leaning to the left)
Source code:
svn co https://yus-repo.googlecode.com/svn/trunk/Android/apps/btjoystick
Installer: BTJoystick.apk .
Joystick widget from Mobile-Anarchy.
demo on my quadruped:
[埋込みオブジェクト:http://www.youtube.com/v/Vxc3j-rmIDg?version=3&hl=en_US]
#---------------------------------
edit 10/15/12
version 2: BTJoystick.v2.apk 45.8 KB
modifications:
* preference menu (e.g. "Menu->Connect" & "Menu->Options" )
* add four customizable buttons (send either an ascii char or a string)
* immediately send joystick data when a joystick returns to center position
* selectable data format, intervals and timeout
* prevent accidental closing
Saturday, January 14, 2012
(削除) cross (削除ここまで)Build ARM target binaries on ARM host
... building STM32F10x (ARM Cortex-M3) sources on WM8505 (ARM9) host.
The Debian installation on my WM8505-based tablet already includes "build-essential" package (gcc, binutils, make, etc.) but, unfortunately, no "multilib" package available yet for debian armel =( . So I have to built my own bare-metal toolchain using croostool-ng. Using this config file, I was able to built this toolchain arm-none-eabi-4.6-armv5.tar.gz (just extract this archive to install). It took almost 20 hrs to finish on WM8505 ( at 300MHz with 128MB RAM ).
For testing the toolchain, I have chosen this STM32F103RB FreeRTOS demo (4 tasks example) sources since it requires "newlib" functions to build completely.
Also, STM32Loader also works properly on my host machine since it already has python-serial installed. Using "/dev/ttyWMT0" serial port* to transfer the binary using STM32's uart bootloader:
* USB-to-Serial adapters (e.g. FT232 and PL2303 based) will also work.
For serial-port monitor, I'm using "minicom" already installed on my Debian. Below is the expected result of the STM32 FreeRTOS demo:
The Debian installation on my WM8505-based tablet already includes "build-essential" package (gcc, binutils, make, etc.) but, unfortunately, no "multilib" package available yet for debian armel =( . So I have to built my own bare-metal toolchain using croostool-ng. Using this config file, I was able to built this toolchain arm-none-eabi-4.6-armv5.tar.gz (just extract this archive to install). It took almost 20 hrs to finish on WM8505 ( at 300MHz with 128MB RAM ).
For testing the toolchain, I have chosen this STM32F103RB FreeRTOS demo (4 tasks example) sources since it requires "newlib" functions to build completely.
# export CROSS_COMPILE=/path/to/arm-none-eabi/bin/arm-none-eabi-
# make -s clean all
# make program
Also, STM32Loader also works properly on my host machine since it already has python-serial installed. Using "/dev/ttyWMT0" serial port* to transfer the binary using STM32's uart bootloader:
* USB-to-Serial adapters (e.g. FT232 and PL2303 based) will also work.
For serial-port monitor, I'm using "minicom" already installed on my Debian. Below is the expected result of the STM32 FreeRTOS demo:
Subscribe to:
Comments (Atom)