Saturday, January 11, 2014

Software only Arduino keyboard emulator

I'm a proud owner of an Arduino Duemilanove, which unfortunately can not act as a USB keyboard without extra hardware modifications or unsafe burning processes. But we Duemilanove owners still want to send an occasional keyboard event from time to time. I've written an Arduino library with a corresponding piece of software to go on your PC (Windows only for now guys, sorry) to evoke the events the Arduino is sending.

Thursday, June 20, 2013

Connecting two ADXL345s to one Arduino

I'm getting this question more frequently than others on my previous post about ADXL345 and Arduino, so I've decided to answer it with a post of itself. So, how do you connect and read from two ADXL345s with a single Arduino board? It's pretty straight forward if you already have one ADXL345 running. If you don't, head here, set everything up and get back here because I'll be assuming that you have read it and familiar with the concepts from the previous post.

Wednesday, August 8, 2012

Browser console as a shell (or how to test code in a browser)

Recently I was asked by a friend to write a batch file that generates one thousand dummy email addresses of this format: nX@some.com (where X is a number from 1 to 1000). I could've of course write a batch file, or open a Linux shell in a virtual machine (I work on a Windows box). But being a web developer, the closet place where I can execute code is of course the browser console.

Thursday, November 17, 2011

I'm an Engineer!

Haven't posted for a very very long time, but this one deserves at least a tiny post. This blog's subtitles changes from A software engineering student's blog to A software engineer's blog. Yepee!

Friday, December 11, 2009

C# rocks or how I made the Shmorgif Animator

The other day I was looking for a free tool to make .gif animations. I haven't found anything free worthy of using, so I figured I might as well write my own with the features _I_ would like to see in a simple gif animator.

Monday, November 30, 2009

ADXL345 accelerometer breakout board + Arduino and Processing

Some time ago I've purchased an ADXL345 accelerometer breakout board from SparkFun.com. After some searching and datasheeting (that's an awful term, I know :D), I've finally came up with code, which will allow me to talk to the accelerometer using my Arduino and even pass the data on, to Processing (it's a fun language, covered in my previous post)



In this post I will cover the setup for the communication procedure between the ADXL345 and the Arduino and then, between the Arduino and Processing (ie your PC). All the sources are at the bottom of the post, as usual. (Code is now updated for Arduino 1.0.4)

Tuesday, November 24, 2009

Programmer and Artist? (Processing and pixlr.com discovery)

Very long time passed since my last post. Since then I have discovered more than a few interesting things but some of them will have to wait as I'm not yet proficient enough to elaborate on those. I'm going to devote this post to something that is close to my heart as an ex-animator and as a programmer - computer generated art (and relevant tools)!