Blogroll
-
Recent Posts
Archives
- April 2020
- July 2018
- June 2018
- May 2018
- December 2017
- September 2017
- August 2017
- February 2017
- June 2016
- May 2015
- April 2015
- March 2015
- December 2014
- October 2014
- September 2014
- June 2014
- May 2014
- April 2014
- March 2014
- February 2014
- January 2014
- December 2013
- November 2013
- October 2013
- September 2013
- August 2013
- July 2013
- June 2013
- May 2013
- April 2013
- March 2013
- February 2013
- January 2013
- December 2012
- November 2012
- October 2012
- August 2012
- July 2012
- June 2012
- May 2012
- April 2012
- March 2012
- February 2012
- January 2012
- December 2011
- November 2011
- October 2011
- September 2011
- August 2011
- April 2011
- March 2011
- February 2011
- January 2011
- December 2010
- November 2010
- October 2010
- September 2010
- August 2010
- July 2010
- June 2010
Meta
Tag Archives: processing
PC to Arduino to LED Control, Source Code
Due to popular demand, here is the source code for my blog entry, “PC to Arduino to LED Control.” First the Processing Source code: // ButtonProc // Make a button on the screen that can be clicked // and cause an LED to turn on and off in synch on // the Arduino. Used in conjunction with ButtonArd. // import processing.serial.*; Serial myPort; // Create object from Serial class int val; // … Continue reading
Dual Sensor Mode in Processing
Here is GRIS in Processing, revised to accommodate dual sensor mode communications between the computer and robot. The square on the left flashes data, while the square on the right flashes the clock signal. Each data bit lasts two frames. … Continue reading
Posted in Uncategorized
Tagged gris, processing, robotics, sensor, serial communications
Leave a comment
Dual Sensor Communications Protocol
Photoresistors are cheap, and the ATMega328 chip has spare analog pins, so why not use a dual sensor configuration for the GRISbot communications protocol? Here’s what the sensor cowling looks like with two photoresistors (aka LDRs) inside: Likewise the screen … Continue reading
Posted in Uncategorized
Tagged atmega328, communications, data protocol, gris, processing, robotics
Leave a comment
GIRC Screen-Flash Communications
Worst demo ever, but these days I only have two hands. Here I needed three: one for holding the set-up, one for holding the camera, and one for clicking the mouse. Notice the status bar, also that there is a … Continue reading
Posted in Uncategorized
Tagged arduino, GIRC, processing, robotics, screen-flash, screenflash
Leave a comment
GIRC Demo
On Saturday I made a brief presentation of GIRC at the monthly meeting of the Seattle Robotics Society. I demonstrated drawing the course and running it, as seen in the video above. Where to now? I want to program with … Continue reading
GIRC Robot Calibration Run
It’s Calibration Run Time here at GIRC Central. First we run GIRC and load in a path file of a square, fifty centimeters on a side, like so: We click Transfer and program the robot, then set it down on … Continue reading
Arduino Phototransistor Signal Protocol
I’ve designed a signal protocol for the Arduino to convert phototransistor readings from the laptop screen into bytes of data. Here’s what I came up with today: In the illustration, the white boxes in the black strip are light pulses … Continue reading
Arduino reads screen flashes with phototransistor
This is the first test of the communication system as described in the previous entry. The flashes are one millisecond, followed by a one second delay. The serial monitor informs me that the microcontroller is able to count them. Here’s … Continue reading
Posted in Uncategorized
Tagged arduino, communications, phototransistor, processing, robotics
Leave a comment
GIRC test drive on blocks
GIRC (Graphical Interface for Robotic Control) is a ‘sketch’ written in Processing that enables user to draw a path file, save and reload, and transfer control codes to an Arduino-brained robot. The magnitudes of the turns and distances haven’t been … Continue reading
Disorganized workspace, organized mind (I hope)
Today I verified that the Arduino sketch still runs the servos, and then I did some organizing and planning. The note card on the left shows the listing for GIRC control codes (so far). On the right, I wrote out … Continue reading