Sensing Input – Raspberry Pi

This time we’re going to detect an input signal that comes into the pin of Raspberry Pi.

Few items we’re gonna need :

  • Momentary Push Button
  • 2 Female to Male Jumper Cables
  • Raspberry Pi and required peripherals

We’ll connect them all,

  1. Stick the button in the middle of the board
  2. Connect one leg of the button to the GPIO pin 17 using the red jumper cable
  3. Connect the other leg of the button the GND pin using the black jumper cable
Read More»

Hello World of the Raspberry Pi

Our aim is simply lighting up a single led using Raspberry Pi.

What we’re gonna need :

  • Led
  • Resistor (I use 330 Ω)
  • 2 male to female jumper cable
  • Breadboard
  • Raspberry Pi and all its bits and pieces

A little theory about breadboard, before we start :

All the holes in row A are internally connected. And all the holes in column B are also internally connected. To interconnect the row A and column B, we use jumper cables. Learn more about it here.

Basically this is how we’re going to wire them up :

Read More»

Give it some OS – the Raspberry Pi

After all the required components for Raspberry Pi are gathered, it is time to give it some operating system. Raspbian, a version of GNU/Linux, is the recommended operating system to be installed on the Raspberry Pi.

image courtesy of Raspberry Pi twitter account

How I got the Raspbian installed

Raspberrypi.org provides the image file of Raspbian OS. You just need to download it from the website, and burn the image file on the micro SD card.

  1. Visit the download page of Raspberrypi.org.
  2. Click on RASPBIAN.
  3. I chose to download RASPBIAN JESSIE WITH PIXEL (image with PIXEL desktop based on Debian Jessie).
  4. Unzip the downloaded file.
  5. To burn the image file on the micro SD card, I used a program called Etcher. We can download it from etcher.io website.
  6. Once Etcher is installed, run it. Select the downloaded image file, and select the drive in which the micro SD is located. Then click Burn!
  7. The micro SD card is now loaded with Raspbian OS.
Read More»

Better Late Than Never – the Raspberry Pi

I was looking for diy project for NAS (Network Access Storage) when I came across many articles about building up NAS using Raspberry Pi. I read more and more about Raspberry Pi, and then realized that Raspberry Pi is more than a just small sized computer as what I’ve thought earlier.

Basically, Raspberry Pi is a credit card-sized single-board computer, but with the GPIO (General Purpose Input/Output) on the board, it opens up lots of possibilities of diy electronic projects.

In order to get started with the Raspberry Pi, you will need,

Read More»

Istanbul Trip Day 1 – Just Roaming Around Sultanahmet

When we reached the Ataturk Airport, the immigration clearance process was no hassle at all, as we did the visa processing online before we flew. To obtain the online visa, visit the e-Visa website, fill the online application form, make the payment, then download the electronic visa. All the steps will hardly take more than 15 minutes. The cost of the visa is 25 usd per person.

At the Baggage Collection, I was looking for trolleys, and when I found them I had to use a coin to get one, and sure I didn’t have a single coin of lira. Oh well, we just pulled the luggages, no issue. Once outside I noticed that most people with luggage were without trolleys.

I’ve informed the hotel in advance that we would need a pick up at the airport. So there after the exit, I saw some names put up at a board, while looking for my name, the teenager next to the board asked me, “Mr. Idi Kurniawan?”, I said “Yes, It is me”. “Come sir, just wait here, I will call the taxi driver”, he said. After a while, he walked us outside, and a family van that would take us the hotel arrived.

It took around 20 minutes from the airport to the hotel, Best Western Premier – Regency Suites in Sultanahmet. After having the welcome drink, which was cay (tea) for me and my wife, and apple cay for the children, we went up to the room, took showers, and ordered some pizzas from the hotel. We found the pizza tasted really nice, or probably it was just because we were so hungry? 🙂

I was thinking of having some rest at the hotel, but my wife and children were so eager to see the surrounding. Well, so I okayed it, I thought they were tired. Since it was only around 2pm, we had more than a couple of hours for strolling around before it got dark, sunset was around 5pm.

Sultanahmet square is just around 500m from the hotel. On the way, we passed Arasta Bazaar. It is a small bazaar just next to the Sultanahmet Mosque, having some souvenirs and traditional food. We were surprised that in that cold weather, around 5-7 degree celcius, tourists were many all around the area. I can’t imagine how it will be in the spring or summer. 

Read More»

Summary of Istanbul Trip – January 2015

Here I’d like to share the Summary of my Istanbul Trip 4-8 January 2015. I’ve also summarized the opening hours, the closing day(s), and entrance fees of some major places of interest in Istanbul, you can find it here. When you develop your own itinerary for the trip to Istanbul, make sure to double-check the opening hours and closing day(s) of the destinations, as they might change season to season.

I will write more detail about each day of my visit later. In the meantime, you can scroll through the summary.

Day 1 – 4 January 2015

Destination Time Transportation
1 Sultanahmet Area 14.00-17.00 Walk
  • We had lunch at the hotel since we reached the hotel at just about the lunch time
  • And we had kabab for dinner from nearby restaurant. It was raining, we couldn’t really explore for options.
  • The detail for day 1 is already available here.

 Day 2 – 5 January 2015

Destination Time Transportation
1 Topkapi Palace 09.00-12.00 Walk
2 Lunch at Sultanahmet Area 12.00-13.00 Walk
3 Grand Bazaar 13.00-15.00 Tram to Kapali Carsi
4 Yeni Camii 15.00-17.00 Tram to Eminonu
5 Galata Tower 17.00-19.00 Tram to Karakoy and Walk to Galata Tower
6 Return to Sultanahmet -> Dinner 19.00-20.00 Walk to Karakoy and Tram to Sultanahmet
  • There are some restaurants near the Sultanahmet tram station. Tastes are nice, and prices are okay. I had mashed potato stuffed with chicken for the lunch, and a plate of kabab for the dinner.
  • You can perform the prayer at Yeni Camii (New Mosque).
  • Yeni Camii Meydani (Plaza) is behind the mosque. We were sitting at the plaza and but didn’t notice that next to it is actually the Spice Bazaar 🙂
Read More»

Schedule of Places of Interest in Istanbul

The schedule below covers only selected major places of interest in Istanbul. And it is valid as of my visit to Istanbul, 04-08 January 2015.

Places Opening Hours Closing Day(s) Entrance Fee
Topkapi Palace 09.00 – 17.00 Tuesday Palace 30 TL, Hareem 15 TL
Hagia Sophia 09.00 – 16.45 Monday 30 TL
Sultanahmet Mosque Close 15 mins before/after prayer
Basilica Cistern 09.00 – 17.00 20 TL
Grand Bazaar 09.00 – 19.00 Sunday
Spice Bazaar 08.00 – 19.00 Sunday
Galata Tower 09.00 – 20.00 25 TL
Dolmabahce Palace 09.00 – 16.00 Monday and Thursday 40 TL
Beylerberyi Palace 09.00 – 16.00 Monday 20 TL
Rumeli Hisari 09.00-18.00 Wednesday 10 TL