Tuesday, November 20, 2012

Android tablet controlling stepper motor.


The goal

Change stepper motor position by rotating tablet with Android.

Usability

Android 'hello accelerometer' program.

Parts


Code


Hardware


Media

Android tablet and stepper motor

Description

Basically all hardware remains the same as in OpenWrt antenna rotator , one difference is software on a router.


Remote control in action.

Additional software is running on tablet, witch is collecting data from accelerometer and send over socket to router. Router analyses data and sends appropriate commands to RS232 Stepper motor control (attiny2313) by serial port.

OpenWrt is running in client mode, and it is paired with my home router, so everything (except power cord from openwrt) is wireless.



No comments:

Post a Comment