All posts by tomato

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: https://learn.adafruit.com/adafruit-hmc5883l-breakout-triple-axis-magnetometer-compass-sensor/wiring-and-test

2. PushButton Diagram (src: https://www.arduino.cc/en/Tutorial/Button)

Arduino & Processing Files I referenced

1. Adafruit Magnetometer HMC5883 model Arduino library: https://github.com/adafruit/Adafruit_HMC5883_Unified

2/3. Serial Call and Response in ASCII (Arduino – Processing Serial Communication)
https://www.arduino.cc/en/Tutorial/SerialCallResponseASCII

—-
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): https://processing.org/tutorials/p3d/
Coding Challenge #58, 3D Earthquake Data Visualization: https://www.youtube.com/watch?v=dbs4IYGfAXc
Coding Challenge #11, 3D Terrain Generation with Perlin Noise in Processing: https://www.youtube.com/watch?v=IKB1hWWedMk
Coding Challenge #26, 3D Supershapes: https://www.youtube.com/watch?v=akM4wMZIBWg
Coding Challenge #8: Solar System in Processing – Part 2 (3D): https://www.youtube.com/watch?v=dncudkelNxw
Coding Challenge #9, Solar System in Processing – Part 3 https://www.youtube.com/watch?v=FGAwi7wpU8c

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

Reference: https://github.com/processing/processing/wiki/Common-Errors

인생명확

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

2016년 daily or weekly project (2016.1.7)

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

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

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

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

1.7.2016

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

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

Arduino Wifi Shield Setup

1. Install Wifi Shield Firmware
https://www.arduino.cc/en/Hacking/WiFiShieldFirmwareUpgrading

For some reason, I had to manually download the wifishieldfirmware.
Still received the fatal error of missing spi.h – https://www.reddit.com/r/arduino/comments/330k8i/compilation_error_due_to_missing_spih/
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 – https://youtu.be/E8TXME3bzNs