November 20, 2014

Arduino Serial Echo

I was making something. With an Arduino. Then I found something cool. I liked it.
So I write now.



That was some weird english up there.

이 글을 한글로 보기 (See this post and pretty much every other post on this blog in KOREAN)

October 31, 2014

Happy Halloween!


August 14, 2014

Atari Punk Console

I made a minimal Atari Punk Console. The schematic is in the link I just linked. The video is below.

I used the new slide potentiometers I got.

I had to try out the NE556 IC. Here is a very good webpage out it (and the 555 IC)



한국어 글: http://blog.naver.com/mangodaniel/220092176951

August 6, 2014

Slide Potentiometer Test

This is just a test. Nothing more.

How it works is rather simple; the resistance of the potentiometer is read by ANALOG IN 0, and it map()s the values so it will light 20 LEDs with 74HC595 shift registers.
I wanted to see this logarithmic pot work linearly, so I added a 'filter' thingy (from this thread in a forum; check the last post. [http://www.electronicspoint.com/threads/convert-log-pots-to-linear-pots.70898/]). Now the pot imitates a linear one. I've proven it in the video by pushing the slider to the middle, you can see in linear mode(when the LED on the right is green), the LED bar inches up to its middle too, but not in log mode(when the LED on the right turns red) (wow long sentence!).

I didn't know what to do at the end of the video, so I hesitated a little.


Check out my 한국어 글(Korean blog post) if you want to learn 한글(Korean)!

July 28, 2014

Arduino Gyroscope Game Controller

I have returned!

Not long ago, I felt the need to quit programming Java (at least for a while) and return to electronics. Here is the final product.

I made a game controller utilising the Arduino Leonardo's keyboard emulation abilities and based heavily on other peoples' work.

I used the code by Geek Mom Projects and edited it to use the Arduino Keyboard library (same link as above), so that it doesn't require a intercepting desktop application to process the gyro values and trigger key presses. (The code can work with a non-USB client Arduino (like the Arduino Uno), but you'll need that 'intercepting desktop application.')
So, the Arduino Leonardo reads the sensor data through I²C and calculates the raw values to obtain angle values (Geek Mom Projects' code; again, repeated links). Then, the Leonardo checks for specific angles to trigger keyboard presses and releases!
I really didn't do much here, only a several lines of code, but I figured it would be much more productive and fun to borrow the professional's work and tweak it a bit. Thank you Geek Mom Projects!

The game I demonstrated on is Minecraft.