Eric gregori's Blog (94)

OpenCV4Android - Displaying Preview in Portrait Mode

Normally OpenCV for Android displays the preview in landscape mode. For STEMbot1 and STEMbot2 I needed to display the preview in a portrait mode.

Here is the code I came up with.

In your manifest file change the orientation from landscape to portrait.

                  android:screenOrientation="portrait"

In…

Continue

Added by eric gregori on July 27, 2013 at 3:55pm — 1 Comment

Controlling Two RC Servos Using a MSP430G2231

The following is code to control two RC servos using the timers on a MSP430G2231.

The only interrupt occurs when the timer counter overflows (approximately every 16ms).

Simply set Servo1Abs or Servo2Abs to the desired servo position // 2000 - 10000

#include "MSP430G2231.h"

#define SERVO_CENTER 5625 // Measure by adjusting until scope shows 1500us

#define SERVO_MIN 1875 

#define SERVO_MAX…

Continue

Added by eric gregori on July 26, 2013 at 3:31pm — 1 Comment

Interfacing to Android Using the EMGRobotics A2SCB and A2MCB

Continue

Added by eric gregori on July 12, 2013 at 5:38pm — No Comments

Introduction to the EMGRobotics Quad RC Servo Controller Android Application

The EMGRobotics Quad RC Servo Controller application is an Android based 4-axis motion controller designed to run on your smartphone or tablet. Simply plug an A2SCB_ML (available from EMGRobotics.com) into the headphone jack of the smartphone or tablet and…

Continue

Added by eric gregori on June 24, 2013 at 12:04am — No Comments

Commanding the A2SCB or A2MCB From an Android Application

Controlling the A2SCB or A2MCB from Android is easy done by using the Android AudioTrack class ( http://developer.android.com/reference/android/media/AudioTrack.html ). Simply create…

Continue

Added by eric gregori on June 19, 2013 at 12:56pm — No Comments

Using Catroid to Command a Servo Position or Turn a DC Motor

My passion is robotics and computer vision. However, since becoming a father 12 years ago, getting kids excited about robotics has also become one of my passions. I discovered Catroid while searching for a programming language for my youngest son, who will be turning 8 this fall, to use on his Nexus 7. It's amazing how quickly kids…

Continue

Added by eric gregori on June 15, 2013 at 11:00pm — 1 Comment

STEMbot1 WAV files

The EMGRobotics A2SCB can be controlled by simply playing a WAV file. The following WAV files were created for the STEMbot1 project using the EMGRobotics…

Continue

Added by eric gregori on June 9, 2013 at 4:30pm — No Comments

Move the World Using the Headphone Jack on Your Smartphone and the EMGRobotics Two Channel Smartphone/Tablet Servo Controller

The EMGRobotics 2 Channel Smartphone/Tablet Servo Controller (A2SCB_M/S) connects your Android/iOS smartphone or tablet to multiple RC servos using the headphone jack. A DSP algorithm running in the servo controller decodes the audio tones generated by the smartphone/tablet and translates the tones into servo control signals.

 

Any device that can generate audio tones…

Continue

Added by eric gregori on May 28, 2013 at 12:00pm — 1 Comment

Controlling Four RC Servos From Your Android Phone, Tablet, or iPhone

The EMGRobotics Audio Dual Servo Controller Board connects your iPhone/iPad or Android device to four servos (two servos for the left channel and two servos for the right channel) via the headphone jack. …

Continue

Added by eric gregori on March 14, 2013 at 11:48pm — No Comments

Avnet Announces Embedded Vision Starter Kit - Add Computer Vision to Your Robots Without a PC

Yesterday Avnet released a board that will fill a huge hole in the hobbyist robotics community.  The Avnet FinBoard or Embedded Vision Starter Kit ( http://news.avnet.com/index.php?s=20295&item=126687 ) has a built-in camera connected to a dual-core 500Mhz BlackFin…

Continue

Added by eric gregori on February 27, 2013 at 12:00am — No Comments

Using the EMGRobotics Robot Controller for Android

The EMGRobotics Robot Controller for Android is a computer vision based smartphone application design to work with the EMGRobotics Audio Dual Motor Controller Board (ADMCB) and the EMGRobotics Audio Dual Servo Controller Board (ADSCB).  The ADMCB and the…

Continue

Added by eric gregori on February 25, 2013 at 3:13am — No Comments

Generating Audio Tones Using Android

To control the EMGRobotics Audio Dual Motor Controller Board (ADMCB ) and the EMGRobotics Audio Dual Servo Controller Board (ADSCB) you need to generate tones between the frequencies of 1000hz to 10000hz.

This is easily done in Android using the AudioTrack class.  The AudioTrack class lets you play pcm data from a memory buffer.  PCM is un-encoded audio.  It is very easy to produce pure tones in PCM using…

Continue

Added by eric gregori on February 18, 2013 at 8:26am — No Comments

Build a Low-Cost Smartphone Based Robot Tank Using the EMGRobotics Audio Dual Motor Controller Board (ADMCB)

This project can be built for around $50.00.

The EMGRobotics Smartphone Tank roams your desk using computer vision software running on your phone

The Smartphone based robot tank…

Continue

Added by eric gregori on January 25, 2013 at 9:30pm — No Comments

The EMGRobotics Audio Dual Motor Controller Board (ADMCB) - Use your Smartphone to Move the World

As a roboticist, the modern day smartphone gets me very excited.  The combination of multi-core high performance CPU's, high tech sensors, powerful cameras, and free development tools make the modern smartphone a perfect robot brain.

 

Sensor in a Modern…

Continue

Added by eric gregori on January 14, 2013 at 12:30pm — 1 Comment

Hacking the Hexbug™ Spider XL to Add Computer Vision Using a Smartphone

You can download the PDF of these instructions by clicking here.

 …






Continue

Added by eric gregori on January 7, 2013 at 10:00pm — 2 Comments

EMGRobotics Audio Servo Controller (ASC)

Controlling RC servos using a smartphone or tablet has never been easier (or cheaper ) than with the EMGRobotics Audio Servo Controller ( ASC ).  Simply insert the ASC's 3.5mm male audio plug into your smartphone, tablet, or PC and start controlling up to two servos with digital precision.

You can purchase your ASC at www.EMGRobotics.com for only $10.95 (or $12.95 with optional battery holder and switch).…

Continue

Added by eric gregori on November 25, 2012 at 7:09pm — No Comments

Blog Topics by Tags

Monthly Archives

2013

2012

2011

EMGRobotics

© 2014   Created by eric gregori.

Badges  |  Report an Issue  |  Terms of Service