eric gregori's Page

Latest Activity

eric gregori posted a blog post

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 the onCameraViewStarted() method add:    public void onCameraViewStarted(int width, int height)    {        mRgba = new Mat(height, width, CvType.CV_8UC4);        mRgbaF = new Mat(height,…See More
Jul 27, 2013
eric gregori posted a blog post

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 9375 //-----------------------------------------------------------------------------// global…See More
Jul 26, 2013
eric gregori posted a photo
Jul 12, 2013
eric gregori posted a group
Thumbnail

STEMbot1

You can find the Instructable covering how to build STEMbot1 here: http://www.instructables.com/id/Build-STEMbot1-A-Robot-That-Makes-Programming-Fu/See More
Jul 12, 2013
eric gregori posted a blog post
Jul 12, 2013
eric gregori posted a photo
Jul 7, 2013
eric gregori posted a blog post

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 connect two servos to the A2SCB_ML. To control four RC…See More
Jun 24, 2013
eric gregori posted a video

Programming STEMbot1 Using Catroid

STEMbot1 is a simple Android/iPhone based robot you can build for less than $60.00. Build instructions are available on Instructables.com. The robot uses two...
Jun 21, 2013
eric gregori posted a blog post

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 a buffer with the desired tone sequence and play the…See More
Jun 19, 2013
eric gregori posted a blog post

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 ramp-up to the concept of using graphic blocks to create something…See More
Jun 15, 2013
eric gregori posted photos
Jun 9, 2013
eric gregori's 2 blog posts were featured
Jun 9, 2013
eric gregori posted a blog post

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 RC…See More
Jun 9, 2013
eric gregori posted a blog post
Jun 4, 2013
eric gregori posted a blog post

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 between 1khz and 10khz or playback WAV files sampled at 44100hz can be used to control the servo controller, including laptops,…See More
May 28, 2013
eric gregori posted a photo

A2SCB Audio Two Channel Servo Controller

A2SCB Eight Servo Controller Package
May 28, 2013

eric gregori's Photos

Loading…
  • Add Photos
  • View All

eric gregori's Videos

  • Add Videos
  • View All

Eric gregori's Blog

OpenCV4Android - Displaying Preview in Portrait Mode

Posted on July 27, 2013 at 3:55pm 1 Comment

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

Controlling Two RC Servos Using a MSP430G2231

Posted on July 26, 2013 at 3:31pm 1 Comment

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

Introduction to the EMGRobotics Quad RC Servo Controller Android Application

Posted on June 24, 2013 at 12:04am 0 Comments

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

Comment Wall

  • No comments yet!

You need to be a member of buildsmartrobots to add comments!

 
 
 

EMGRobotics

© 2014   Created by eric gregori.

Badges  |  Report an Issue  |  Terms of Service