Feeds:
Posts
Comments

Archive for the ‘Uncategorized’ Category

Now let’s try to write simple code.
Open your Arduino IDE and type the codes below. I will not explain about the coding in this article yet. Just try it first.
This code will tell arduino to turn on and turn off the led light on arduino board or supply 5 volt to pin 13 every 1 second continuously.

———————————————————————————-
/* Program: Hello Word!!
   Code by: Taufan     */

const int pinLED = 13; // set pinLED as integer (number) with value13
void setup() {
pinMode(pinLED, OUTPUT); //set pin number 13 as Output.
}

void loop() {
digitalWrite(pinLED, HIGH); //supply voltage 5 volt via pin 13
delay(1000); //delay (keep turn on) for 1000 milli second (1 second).
digitalWrite(pinLED, LOW); //turn off the voltage at pin 13.
delay(1000); // keep turn off for 1 second
//repeat again.. (loop)
}
———————————————————————————-
After you type the codes, you verify it first or upload it to arduino board to run the program.
To verify the program, just click the ‘verify button’ with sign ‘‘. Verify mean, it only check if there is any error codes.
arduino_05
(more…)

Read Full Post »

Before we start, I will explain a bit about few terminologies that you should know first.

Since Arduino is a type of a micro-controller, so what is Micro-Controller?
Micro-controller is a small computer on single integrated circuit board containing a processor core, memory and programmable input/output peripherals. Processor is the brain that do the process for all instructions given from the programmer. Memory is the temporary place to keep all instructions before processed by the processor. And programmable input/ouput mean that we can program Arduino to do something and change it with new program in the future.

What is the benefit using Arduino?
You can program arduino to control anything. From the simple one, light on an LED light to more complicated one. You can use it to monitor the temperature, wind speed, home automation (Music, TV, Fan, Pump, Lamps, water plant), check gas leaking, motion sensor, light sensor, heart beat sensor, robot etc. etc..
The limitation from the implementation arduino is your idea.

What you should know if you want to use Arduino?
You have to know at least basic C programming language and basic function of electronics like transistor, resistor, diode, relay, AC power and DC power. Because basically arduino is only supply and receive electric DC current through its pins, digital and analog. Just simple like that.

What are the types of Arduino?
First generation of manufactured Arduino is NG (new generation). NG used the Atmega8 chip running at 16MHz, 6K memory and run at 19200 baud. The next version was Diecimila with Atmega168 chip, 16MHz, 16 kilo byte (K) memory but still still run at 19200 baud.

In 2009 Duemilanove was released with Atmega328, 32K memory and run at 57600 baud. There is a good thing in this version. The power supply can be switched from USB to DC. Finally Arduino can be stand alone.

All of the above version use 2KB bootloader and FTDI (FT232RL) chip to control the USB interface. FT232RL is royalty free driver but it is only act as USB port. You can can’t use it with keyboard, mouse, MIDI etc.

In 2010, we got Uno. Uno in Italian mean ‘One’. It’s named to mark the upcoming release of Arduino 1.0. The Uno and version 1.0 will be the reference versions or Arduino. Uno still use Atmega328 but has smaller bootloader (521bytes) mean that you get another additional 1.5K free extra flash memory for programming. It also has atmega8u2 chip to replace FT232RL which allows various type USB interface. Now it runs at 115K baud. You can upload your codes in 3 seconds.

Arduino Uno board (front side)
ArduinoUnoFront

Arduino Uno board (back side)
ArduinoUnoBack
(more…)

Read Full Post »

John The Ripper (JTR) is one of best password cracker ever built. At the first time, it’s design to detect the weakness of UNIX password. Now, it’s available for Unix, Linux, Windows, DOS, BeOS and Open-VMS. It supports several crypt password hash types in Unix, Kerberos AFS and windows NT/2000/XP LM hashes.

John The Ripper is a free and open source and distributed in source code file but for easy installation you can buy John The Ripper Pro.

 Before we start, you have to download JTR from http://www.openwall.com/john/g/john-1.7.9.tar.gz and put it in your selected folder.

 In this tutorial, I put JTR under /opt folder.
Type ‘sudo tar xvzf‘ following by JTR file name. The name can be different depend on which version that you have. I type: sudo tar xvzf john-1.7.9.tar.gz
john_the_ripper01

(more…)

Read Full Post »

If you iTunes from Mac then Banshee is iTunes in Linux. You will find very to import, manage, and play selections from your music collection. You can also import CDs, sync your music collection to an iPod, play music directly from an iPod, create playlists with songs from your library, and create audio and MP3 CDs from subsets of your library.

Installation

Open your Linux Terminal (Applications > Accessories > Terminal) then type:

taufanlubis@toshiba:~$ sudo apt-get install banshee
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following packages were automatically installed and are no longer required:python-gdata
liblualib40 arkrpg libarkrpg0c2a widelands-data liblua40
Use ‘apt-get autoremove’ to remove them.
The following extra packages will be installed:
boo libipoddevice0 libmono-cairo2.0-cil
libmono-data-tds1.0-cil
libmono-security1.0-cil
libmono-sharpzip0.84-cil
libmono-system-data1.0-cil
libmono-system-web1.0-cil
libmono1.0-cil libnjb5 libsgutils1
libtaglib2.0-cil
Suggested packages:
banshee-daap libgda2-3
Recommended packages:
sg3-utils
The following NEW packages will be installed:
banshee boo libipoddevice0
libmono-cairo2.0-cil
libmono-data-tds1.0-cil
libmono-security1.0-cil libmono-sharpzip0.84-cil libmono-system-data1.0-cil
libmono-system-web1.0-cil libmono1.0-cil libnjb5 libsgutils1
libtaglib2.0-cil
0 upgraded, 13 newly installed, 0 to remove and 49 not upgraded.
Need to get 4505kB of archives.
After unpacking 14.4MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://security.ubuntu.com gutsy-security/main libmono-cairo2.0-cil 1.2.4-6ubuntu6.1 [19.1kB]
Get:2 http://archive.ubuntu.com gutsy/main libnjb5 2.2.5-4.1ubuntu2 [97.7kB]
Get:3 http://security.ubuntu.com gutsy-security/main libmono-security1.0-cil 1.2.4-6ubuntu6.1 [114kB]
Get:4 http://security.ubuntu.com gutsy-security/main libmono-data-tds1.0-cil 1.2.4-6ubuntu6.1 [28.0kB]
Get:5 http://security.ubuntu.com gutsy-security/main libmono-sharpzip0.84-cil 1.2.4-6ubuntu6.1 [58.6kB]
Get:6 http://archive.ubuntu.com gutsy/universe boo 0.7.6.2237-6 [959kB]
Get:7 http://security.ubuntu.com gutsy-security/main libmono-system-data1.0-cil 1.2.4-6ubuntu6.1 [222kB]
Get:8 http://security.ubuntu.com gutsy-security/main libmono-system-web1.0-cil 1.2.4-6ubuntu6.1 [390kB]
Get:9 http://security.ubuntu.com gutsy-security/main libmono1.0-cil 1.2.4-6ubuntu6.1 [212kB]
Get:10 http://archive.ubuntu.com gutsy/universe libsgutils1 1.24-1 [55.7kB]
Get:11 http://archive.ubuntu.com gutsy/universe libipoddevice0 0.5.3-3 [35.0kB]
Get:12 http://archive.ubuntu.com gutsy/universe libtaglib2.0-cil 2.0.2.0-1 [113kB]
Get:13 http://archive.ubuntu.com gutsy/universe banshee 0.13.1+dfsg-3 [2202kB]
Fetched 4505kB in 22s (200kB/s)
Selecting previously deselected package libnjb5.
(Reading database … 186490 files and directories currently installed.)
Unpacking libnjb5 (from …/libnjb5_2.2.5-4.1ubuntu2_i386.deb) …
Selecting previously deselected package boo.
Unpacking boo (from …/boo_0.7.6.2237-6_all.deb) …
Selecting previously deselected package libsgutils1.
Unpacking libsgutils1 (from …/libsgutils1_1.24-1_i386.deb) …
Selecting previously deselected package libipoddevice0.
Unpacking libipoddevice0 (from …/libipoddevice0_0.5.3-3_i386.deb) …
Selecting previously deselected package libmono-cairo2.0-cil.
Unpacking libmono-cairo2.0-cil (from …/libmono-cairo2.0-cil_1.2.4-6ubuntu6.1_all.deb) …
Selecting previously deselected package libmono-security1.0-cil.
Unpacking libmono-security1.0-cil (from …/libmono-security1.0-cil_1.2.4-6ubuntu6.1_all.deb) …
Selecting previously deselected package libmono-data-tds1.0-cil.
Unpacking libmono-data-tds1.0-cil (from …/libmono-data-tds1.0-cil_1.2.4-6ubuntu6.1_all.deb) …
Selecting previously deselected package libmono-sharpzip0.84-cil.
Unpacking libmono-sharpzip0.84-cil (from …/libmono-sharpzip0.84-cil_1.2.4-6ubuntu6.1_all.deb) …
Selecting previously deselected package libmono-system-data1.0-cil.
Unpacking libmono-system-data1.0-cil (from …/libmono-system-data1.0-cil_1.2.4-6ubuntu6.1_all.deb) …
Selecting previously deselected package libmono-system-web1.0-cil.
Unpacking libmono-system-web1.0-cil (from …/libmono-system-web1.0-cil_1.2.4-6ubuntu6.1_all.deb) …
Selecting previously deselected package libmono1.0-cil.
Unpacking libmono1.0-cil (from …/libmono1.0-cil_1.2.4-6ubuntu6.1_all.deb) …
Selecting previously deselected package libtaglib2.0-cil.
Unpacking libtaglib2.0-cil (from …/libtaglib2.0-cil_2.0.2.0-1_all.deb) …
Selecting previously deselected package banshee.
Unpacking banshee (from …/banshee_0.13.1+dfsg-3_i386.deb) …
Setting up libnjb5 (2.2.5-4.1ubuntu2) …
Setting up boo (0.7.6.2237-6) …
Setting up libsgutils1 (1.24-1) …
Setting up libipoddevice0 (0.5.3-3) …
Setting up libmono-cairo2.0-cil (1.2.4-6ubuntu6.1) …
Setting up libmono-security1.0-cil (1.2.4-6ubuntu6.1) …
Setting up libmono-data-tds1.0-cil (1.2.4-6ubuntu6.1) …
Setting up libmono-sharpzip0.84-cil (1.2.4-6ubuntu6.1) …
Setting up libmono-system-data1.0-cil (1.2.4-6ubuntu6.1) …
Setting up libmono-system-web1.0-cil (1.2.4-6ubuntu6.1) …
Setting up libmono1.0-cil (1.2.4-6ubuntu6.1) …
Setting up libtaglib2.0-cil (2.0.2.0-1) …
* Installing 2 assemblies from libtaglib2.0-cil into Mono
Setting up banshee (0.13.1+dfsg-3) …
Processing triggers for libc6 …
ldconfig deferred processing now taking place
taufanlubis@toshiba:~$

(more…)

Read Full Post »

Before I start, I assume that you have installed K3b in your system and it recognizes your DVD writer. And if you don’t, you can read my articles about how to install the K3b in here.


Step 1. Click New Project

Writing Data to a DVD (DVD burning) is not difficult with K3b. Enter your empty write-able DVD disc into your DVD Writer. From the K3b main menu, just click ‘New Data DVD Project‘.

(more…)

Read Full Post »

When you install games for KDE in Ubuntu (Gnome) and then you search for a guidelines in the game help, you will get “Could not find service ‘khelpcenter’”. Because, you don’t have KDE Help Center in your gnome. This program have to be installed separately.

The installation is very easy.

Installation

From Ubuntu Terminal screen (Applications > Accessories > Terminal), type:

taufanlubis@toshiba:~$ sudo apt-get install khelpcenter

Reading package lists… Done

Building dependency tree

Reading state information… Done

Suggested packages:

htdig

The following NEW packages will be installed:

khelpcenter

0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.

Need to get 2318kB of archives.

After unpacking 4080kB of additional disk space will be used.

(more…)

Read Full Post »

Linux game – Klickety

It’s a game like Tetris. But, in this game you have to click at least the 2 same color to take out the blocks.


Installation

From Ubuntu Terminal screen (Applications > Accessories > Terminal), type:

taufanlubis@toshiba:~$ sudo apt-get install klickety

Reading package lists… Done

Building dependency tree

Reading state information… Done

The following NEW packages will be installed:

klickety

0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.

Need to get 147kB of archives.

After unpacking 520kB of additional disk space will be used.

(more…)

Read Full Post »

Older Posts »

Follow

Get every new post delivered to your Inbox.

Join 75 other followers