Arduino IR Receiver Module

Arduino IR Receiver Module
This post describes how to use the Keyes IR Receiver Module in a practical application.  The setup used in this experiment is shown in the picture to the right and it includes Arduino UNO card (hidden under an Ethernet shield), a display module JY-LKM1638, a Keyes IR Receiver module and a remote controller. The last two items ...

Arduino robot kit – Bluetooth Remote Control

Arduino robot kit – Bluetooth Remote Control
The Amarino app mentioned used in the previous post translates the sensor inputs of an Android phone ( and other events such as SMS messages) into messages sent to the Arduino via Bluetooth. In this post, I will use the orientation sensor on my phone to drive the Arduino Robot. The orientation sensor on the Andriod platform provides yaw, ...

Arduino robot kit – Bluetooth Module

Arduino robot kit – Bluetooth Module
The Arduino robot kit includes a Bluetooth-Serial Converter Module JY-MCU (mine says BT_BOARD V1.04). After some Google search, I found information about how to setup this module. See this for example, which also has a good link about how to change the default configuration of the module. In this post, I am going to provide ...

Arduino robot kit – Autonomous Motion

Arduino robot kit – Autonomous Motion
At this point, we can put the motion and the range sensing capabilities of the robot to good use. For autonomous motion (no remote control), the robot needs to use its range sensor to detect obstacles and avoid them by turning to another direction. The next sketch does that by moving the robot forward while reading ...

Arduino Relay Module

Arduino Relay Module
A relay can be used, for example, to control the power to a small home appliance. I used this Arduino 2-Channel Relay Module (AC 250V 10A / DC 30V 10A) to control multiple appliances by replacing the mechanical on/off switch of a regular power bar with this relay. The control of the relay by an Arduino microcontroller is straight forward. ...

Arduino robot kit – Wiring Diagram

Arduino robot kit - Wiring Diagram
I have created this wiring diagram for the connections between the motor controller, motors, and sensor shield. I’ll update it later to include other components. And here is an update that includes the servo motor and the range sensor. And here are the detailed pin assignments for all modules: Pin Assignment Arduino Pin Description Motor ...

Colour Donut

Colour Donut
This is a fun program that shows how easy it is to create interesting animations using Processing language.

JSim – Queue Simulator

JSim - Queue Simulator
JSim is a Java-based discrete event simulator of an M/M/s queue system. The source includes a library of classes that can be used to modify the application to simulate other types of queue systems as well. JSim source files can be downloaded from https://sourceforge.net/projects/jsim/. A brief description of the main classes and function can be found ...

Processing Game

Processing Game
Thomas Schelling showed, in 1971, that a small preference for one’s neighbors to be of the same race could lead to total segregation. This model is used as an example to show how such individual behaviour can bring about such undesirable social conventions without the need for evil master plan [1]. The model can be ...

Arduino robot kit – Motor library

Arduino robot kit - Motor library
Once the motors were connected to the motor controller (see previous post), I started working on writing the code for basic robot movement. The basic motor commands are: onFwd/onRev: move each motor independently in the forward or reverse direction off/stop: stop either motor gradually (float) or abruptly (break) fwdRight/fwdLeft: turn the robot by running the two motors at different speeds in ...