Blogroll
-
Recent Posts
Archives
- July 2025
- March 2025
- February 2025
- January 2025
- December 2024
- July 2023
- March 2023
- February 2023
- November 2022
- September 2022
- August 2022
- April 2021
- 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
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
PC to Arduino: Serial BOF and EOF control codes
(First of all, I’ve tried to train myself to refer to the data sent over the serial port as ‘command codes’ but I always find myself lapsing into calling them ‘control codes.’ So I give up for today.) Here’s what … Continue reading
PC to Arduino: Hello, are you still there?
I wrote these two sketches to confirm that yes, serial port communication still works between Processing and the Arduino under the new Arduino IDE. The sketch on the left is written in Processing and writes to the serial port. The … Continue reading
Posted in Uncategorized
Tagged arduino, processing, serial, serial communications, serial port
Leave a comment
Sending Serial Data from Processing to Arduino
I want to send data from my laptop to the Arduino-based robot. Processing is running on the laptop and Wiring on the Arduino. In Processing, the serial object is being called ‘myPort’ (it could have been called ‘Joe’ for that … Continue reading
Posted in Uncategorized
Tagged arduino, processing, serial, serial monitor, serial output, serial port
1 Comment
Arduino Pin 13 as low-res serial monitor
Now that I have data to send from the computer to the arduino, I’d like to verify that it has gotten to the arduino. My original assumption was that I could echo back the data and read it on the … Continue reading
Posted in Uncategorized
Tagged arduino, GIRC, pin 13, processing, robotics, serial monitor
1 Comment
GIRC: Reviewing Output in the Processing Console
After I generate a path and convert the data into turn-and-move format, I want to send the data to the arduino-robot. For this I will use the USB/serial cable. But before I send any data, I want to make sure … Continue reading
Posted in Uncategorized
Tagged arduino, console, GIRC, processing, processing console, robot, robotics, serial, serial output, troubleshooting
Leave a comment
GIRC Distance Commands
In the above illustration, the first Command Element has a command code of 44, which tells us that it is a Move command, and that we are to move 360 plus whatever is in the second Command Element minus 33. … Continue reading
GIRC Turn Codes
Here we make a 76 degree right turn in GIRC, and this information has to be sent over the USB/Serial cable to the microcontroller aboard the robot. This communication is done with a control code pair. As shown, the first … Continue reading
Posted in Uncategorized
Tagged control codes, GIRC, processing, robotics, serial, serial port, turn
Leave a comment
GIRC Path Data Conversion
The user inputs path data to GIRC by clicking points on the screen. Processing then draws segments between the points and calculates x,y coordinate data. This data is then converted into distance and turn data which will then be sent … Continue reading
Five Stages of Programmer’s Grief
I knew this, but I forgot it yesterday when I was working on GIRC. This convention of inverting the y-axis for screen display isn’t peculiar to Processing, it’s common to many programming languages. There is a way to change the … Continue reading
Posted in Uncategorized
Tagged 6 x 9, five stages of programmer's grief, GIRC, processing, screen coordinates
Leave a comment