July 31, 2015

Evade - an Arduino game

So a long time (eight months) ago, I posted something I did with LED matricies, and this thing right now that I'm writing about is kind of an extension to that. Something I always wanted to do with an LED matrix, making an Arduino game.

So here it is, Evade - an Arduino game.





Most of everything is based on the previous post I mentioned (link here again, just in case). I just added another MAX7219 for the green channel, because I'm using a bi-color matrix.

Wasn't planning on adding an LCD, but I had to show the score :(

BTW my high score is 277, so if you can build this game without a schematic then send me your high score!

This is the first time I worked with a  joystick, and its surprisingly easy. It's basically two potentiometers perpendicular and interlaced so that you can control both of them at once.

That's it.


Here's the code repo: https://github.com/electricmango/evade
I don't remember the schematic, but maybe I can make one out of memory. Wait (or spam comments at me :D), and there will be an update.


한국어로 읽기: http://mangodaniel.blog.me/220437591982

July 4, 2015

Ear Hurter

I made an 'Ear Hurter'.

It doesn't really hurt (or maybe I just got used to this sound). It just tickles.
I tried this on my friends and they didn't grab their ears in pain and roll around the floor or anything like that.

If you don't really care about your ears, watch the video:




I got a little curious, so got an oscilloscope app (i don't have a real one) and I got the waveform of this annoying sound. Here's how it looks like:


the waveform



Now I'm not a physics major or anything (at least for now), but I know those thick green parts are what's causing this irritation. The rest is probably noise. If anybody can explain this better than me, be my guest.


I also made a resolution to make schematics for all circuits I make. It's so easy thanks to SparkFun's EAGLE library. Here is the schematic for this (simple) circuit:

the schematic

I'm not quite sure about the C2 value heehee

한국어: http://mangodaniel.blog.me/220389001958

May 20, 2015

New Arduino Capacitance Meter Code

I remember having a post like this that had the code for this capacitance meter I made before, but I think I deleted it.

Well, the code is back, except on GitHub.

Check out the repository here: https://github.com/electricmango/ncm
All contributions are welcome.

I guess there's no need to write this post because my blog only has three followers.

Here is the project video FYI:

November 26, 2014

Arduino LED matrix Hangeul(한글) Displayer

I like Blogger because it supports Unicode (like its a thing now hehe)

I made a 한글(Hangeul, the Korean alphabet) displayer. I find the Korean script very cool. It is so simple. I like it. And thats why I used it here.

An Arduino Uno controls a MAX7219 IC. This IC multiplexes the 64 LEDs of the LED matrix. The LED matrix is a one colored red colored one(lol), but I have a bi-colored matrix, so I will extend this project for that.

The wiring was actually harder than the coding. The code is very simple, just some binary data for the alphabet and some code to send that to the IC. It uses the LedControl library. Big help from this webpage: http://playground.arduino.cc/Main/LEDMatrix

I tried adding sound to this thing, but I thought it would disturb anyone who will use this to actually learn some Korean, so I just removed it.

Thanks for reading!



한글로 보기: http://blog.naver.com/mangodaniel/220192904732

November 22, 2014

Arduino Serial to 7-segment Number Displayer

Long title. I made a thing. I announced it last week. I show it to you today.

No more weird English.

Yes more videos.


What you do is you send a two digit number through the Arduino Serial monitor. The Arduino receives the data (as I have shown in this previous video: http://electronicmango.blogspot.kr/2014/11/arduino-serial-echo.html). This post I just linked to was just a test.
Anyway, after the Arduino receives the number, it matches each digit's number to some hard-coded 7-segment number-pin data. Each one digit number has it's own corresponding set of HIGHs and LOWs for the output pins.
The Arduino output pins control two shift registers (for each digit) so that the Arduino doesn't have to work much. These shift registers will just output the predefined HIGHs and LOWs for each number mentioned above.

Now that I think of it, this is more like an experiment. But it's still cool because I did compact wiring.

I also don't like the time consuming YouTube upload system. More on that in the video's description.

한국어로 보기: http://blog.naver.com/mangodaniel/220188846851