I made a little device for measuring soil moisture and showing measurement on OLDE display. Device also has one potentiometer which is used to set threshold for warning, when to show it to warn us that plant needs to be watered.


Read the rest of this entry »

The most useless machine

Posted: February 5, 2014 in Arduino
Tags: , ,

I made my own “the most useless machine”. I made it with two switches to make it more fun too build.

The most useless machine Read the rest of this entry »

Once I already done this program to test joystick in Java with JInput but it wasn’t enough dynamic. So here’s version two. I thought that every joystick of stick type or gamepad type have the same components, but that’s not how it is. So here is the program that adds controller components dynamically, and also it founds all joysticks that are connected to computer.

Joystick in Java with JInput

Read the rest of this entry »

This is post about Arduino and how to turn on the backlight of the lcd display by pressing a button and how to make that the display backlight will turn off with delay.

Read the rest of this entry »

Visual Random Numbers

Posted: October 9, 2012 in Java
Tags: , ,

I was wondering if randomly generated numbers with java class Random are generated evenly or any numbers are thrown more often than another or what is going on there :D. So, I made a program that generates random numbers, from 0 to max number that you set, and makes graph from this numbers.

Here is the image of graph window (one square represents one number):Visual Random Numbers graph window

Read the rest of this entry »

Helicopter Battle game

Posted: October 2, 2012 in Uncategorized
Tags: , , ,

I finaly took time to finish the game for animation tutorial that I want to do.  I named it Helicopter battle and the goal is to destroy as many enemy helicopters as you can with the ammo that you have on the helicopter.

Here is the screenshot of the game.

Helicopter Battle game screenshot

At the moment the tutorial article is not yet written, but you can download the game and its java source code on Animation tutorial – Helicopter Bettle.

Joystick in Java with JInput

Posted: September 2, 2012 in Uncategorized

I got Logitech Double Action gamepad from a friend and I wondered how can I use it in Java and I come acrose JInput. Then I made a test program, something like what you can find in Windows. You can download this program and its source code at the bottom of this post.

JInput Joystick Test

How to use JInput?
Read the rest of this entry »