Magnetometer (Arduino) Serial Out To Processing

Circuit components for the Arduino board (I used a regular uno)

1. Adafruit Magnetometer HMC5883 model (Now Discontinued):

Sensor Diagram/Wiring Information:

2. PushButton Diagram (src:

Arduino & Processing Files I referenced

1. Adafruit Magnetometer HMC5883 model Arduino library:

2/3. Serial Call and Response in ASCII (Arduino – Processing Serial Communication)

My Arduino circuit
One magnetometer & two push buttons (as momentary switches) via the USB serial
(Photo & Wiring diagram will be here)

I don’t code very much, but here I am attempting –
For reference, I’d like to look at Dan Shiffman’s Processing lecture on youtube (Coding Train) – Some text& videos, I will look at will be

Basic Tutorial on Processing 3D (text):
Coding Challenge #58, 3D Earthquake Data Visualization:
Coding Challenge #11, 3D Terrain Generation with Perlin Noise in Processing:
Coding Challenge #26, 3D Supershapes:
Coding Challenge #8: Solar System in Processing – Part 2 (3D):
Coding Challenge #9, Solar System in Processing – Part 3

Files I merged & created from above (Using the handshake as given)
1. Arduino File:
2. Processing File:



인생의 어떤 부분들이 점점 더 명확해지고 있다.
그 내용들이 긍정적이지는 않지만, 쓸데 없는 생각을 하지 않아도 된다는 점은 의외로 긍정적인지도.

2016년 daily or weekly project (2016.1.7)

난 느리니까 daily project는 힘들 것 같다.
그래서 너무 과한 것은 바라지 않고.

책을 두 권 정도 차근차근 보면서, 기초가 부족한 것을 공부해보기로.
youtube tutorial도 물론.
나에게 2016년 1월을 주겠어.
아 이러면 monthly project가 될까.

무슨 책인지는 비밀 (흡 쫌 쪽팔려서 헐)

인생은 60부터! (그날을 향해)


교훈: 역시 직접해보는 hands-on이 중요하다.
체화되지 않은 경험은, 내가 이해하기도 남들에게 쉽게 설명하기가 어려운 것이야.

오늘의 과제는 밀린 ctr 7 (v)

Arduino Wifi Shield Setup

1. Install Wifi Shield Firmware

For some reason, I had to manually download the wifishieldfirmware.
Still received the fatal error of missing spi.h –
Following the comment from this reddit entry, I just copied spi.h inside the main program. But looking to find a way that solves the problem. May need to reinstall the arduino.

Though I didn’t get to use github except for downloading the whole file as a zip, this tutorial seems to come in handy for all the first time users for the github –

seatomato’s daily travel diary