How to Interface a Microcontroller with a PS/2 Keyboard

In most of the case, it’s highly important when you’re moving from basic microcontroller programming to advanced microcontroller programming, especially if you wants to interrupt the code. Technically, interrupts are pieces of code that much likes functions. The interrupts are executed automatically when outside events occur. People always used the interrupts to react to all sorts of outside inputs; including pin changes that driven by outside devices. By using the interrupts, it enables the users to give the code an ability to react to events as they happen. In this case, we don’t have to wait for the code to get to a place where it can handle an event. For your information, the project uses interrupts to interface a PS/2 keyboard with the USB NerdKit. To be honest, the simplicity of the protocol and the asynchronous nature of the clock generated by the keyboard make it a great start, especially for the amateur to get familiar with interrupts and interrupt handlers. The PS/2 keyboard is quite cheap and very easy to obtain, at the garage sales, online auction or… Continue reading

It’s Time For You to Learn About Lambda!

There are many things you can getting from a can, such as candy, soup, green peas or even bread! What if someone tells you, where you can get Lambda Calculus in a can? Well, it might sound a little bit ridiculous to you here, but it’s a fact! The project LambdaCan is a very interesting exercise in absurdity. It can be implemented a reducer for the Lambda Calculus, a formal system developed by Alonzo Church in the 1930’s to overcome the deepest mathematical problem of the day. The Project LambdaCan is taking this tool for exploring the most profound mathematical problems and implements it on a microcontroller that better suited to the most mundane of tasks. Basically, it’s like running a vending machine or microwave oven. By sticking the microcontroller in a can, you’ll have a LambdaCan that you can use it to connect to your PC using a USB cable. However, you should find the way to overcome the extreme overhead that involved in supporting the painfully abstract Lambda Calculus. The microcontroller would perform much better if the code… Continue reading

The Greatest Things You Must Know About Arduino Nano!

For most of the home hobbyists, one of the most common breadboards to you must be the Arduino type breadboard! The reason why the Arduino breadboards are so popular because of its high quality and cheaper cost than other boards. You can find Arduino Breadboard available in many types and the Arduino Nano is the smallest, complete and breadboard friendly of all. Arduino Nano is a fine surface mount breadboard embedded version with neat integrated USB on it. The Arduino Nano was been well designed and is being produced by Gravitech. Arduino Nano has everything what Diecimila has. Plus, it has more analog input pins and onboard +5V AREF jumper. Maybe you will find out that power jack and power select jumper was missing in Nano. Well, since the Nano can be automatically sensed and switch to the higher potential source of power, thus it’s no need to include the power select jumper on it! Another interesting feature about the Nano is it got the breadboard-ability of the Boarduino and the Mini+USB with smaller footprint, thus you will have more… Continue reading

LOGAN18 – The Simple and Multipurpose Logic Analyser Based On The PIC18F252(5)

You have already tried various types of logic analyzer, but you’re failed to find the one that suit you better? Then, why keep on the searching, as you can develop one for yourself? Yep, you will have a brand new and simple low-cost logic analyzer, which is uses the PIC48F252(5) as the capture device and a windows based PC for the display purpose. The LOGAN18 project it’s not a tough task to develop with, where you have to prepare the PIC18F2525, some LEDs, transistors, capacitors and wires. Therefore, it won’t cost you too much, as most of the components are cheap and easy to find. Those things that you might need to pay attention with are the different of two variants. One of them is a simple version that uses a MAXIM level converter and it is works well with the 115 kBaud. Another one is an USB version, which it will support the transfer rates of 500 kbit (PIC with a 10 MHz crystal) or doubled up to 1000 kbit (PIC with a 12MHz crystal). You can find the… Continue reading

Feel the Difference with Servo’s Joystick Control

Have you ever inspired by any walking servo or pixel rocket before? Did you have the urge to build a similar or even better prototype for yourself? Since the servo is the easiest to be controlled, you should try to manipulate it into your joystick control. Yeah, your task for today is to create a simple joystick control with a servo over a USB connection. Let’s start with the hardware part first, and what you need to do is: You need to make sure that the JR Sport ST47 standard servo is wired directly to Arduino’s 5V power and ground. Also, connect the servo’s control wire to Digital pin #2. The Arduino and the standard USB joystick need to be connected to a PC with a USB cable as well. The software part includes a Python script (Interpreting inputs from the joystick) and the Arduino sketch. A common joystick normally has six different axes. The Python’s responsibility is to sense inputs from each axis, and then print the values of stick positions. The joystick axis will reports a range of… Continue reading

An Inspiring Quad core Arduino tower

Do you ever try to combine all different Arduino into a single Arduino Tower? Isn’t it cool to have a four-sided Arduino Tower? If you want to get a QuadCore Arduino Tower, which four Arduino that well assembly in a square core designs. This feature can help to minimize the bus transmission’s wire length more efficiently. What you will get for the basic QuadCore Arduino Tower kit are: Five Arduino Four DoubleTall ExtenderShields USB 4-way main power and the programming bus Four black mini-protoboards Two 6-inch type-B USB cables The slightly different for the USB QuadCore Arduino Tower would be: Five Arduino Four DoubleTall ExtenderShields USB 4-way main power and the programming bus Two 6-inch type-B USB cables, which use to connect the Arduino and USB hub to the computer Four black mini-protoboards Four type-B recoiling cables, which use to connect the USB bus to the quad cores The best part for this QuadCore Arduino Tower, is we can disassemble and reassemble it whatever you want it to be. Go and have some fun with this QuadCore Arduino Tower right… Continue reading