dannypranoto
Danny Wong 黄宥富
15 posts
Just a boy who yet become a man
Don't wanna be here? Send us removal request.
dannypranoto · 11 years ago
Text
Internship at Veritrans Bandung - Week 1
Hey, it's been a week past since the first day of my internship at Veritrans Bandung! Anyway, I'm having the internship here together with the Informatics students which are Michael Ingga Gunawan, Azalea Fisitania, Destra Bintang Perkasa, and Sonny Theo Manurung. So, I'd like to share about what I've had for the past weekdays.
Well, maybe many of you who read this thread would really ask the same question, what is Veritrans? Haven't actually heard about it, have you? Yeah, It's just the same as I was when I first applied for my internship at this company. Actually, I was so desperate at that time since I didn't get any confirmation from the company that I had applied the internship before (which were Accenture, Pertamina, Telkom, BRI, and GDP). It's 5 companies that I've been applied but none of them give any confirmation and it's almost a month left until the internship begins! Well, then I decided to apply whichever company I could apply at that time which is Veritrans.
Life at Veritrans - What will you get?
I could say that I was very lucky being approved here as an intern. Why? First, it's because the office was located in Ciumbuleuit, Bandung and it's very near to my house rent that I could even go there just by walking! Second, it gives us stipend around 200k/day (which means 4 million IDR per month only for an intern)! A big tip for an intern actually :p! Lastly, the working environment here is very nice! I remembered when I was being called for the interview at the office, some of the employees there are playing Counter Strike! Well, maybe It's not really a popular company since it was a new company in Indonesia which was established in 2012. But as people said, "don't judge the company (book) by it's popularity (cover)". Actually, Veritrans is a professional company from Japan and now the company is having a great profit in Indonesia! That's the reason they dared to pay us a lot, Isn't it?
Tumblr media
What is Veritrans?
So, what is Veritrans actually? What is the main business of the company? Well, Veritrans (which is the product of PT. Midtrans) is an online gate payment provider in Indonesia. In other words, you could say Veritrans as an IT company which provides a simple way for merchants to make online transactions. PT. Midtrans was a joint venture company among Midplaza Holdings, Japan Veritrans, and Netprice. Some of their clients are Blitzmegaplex, Rakuten Indonesia, Berrybenka, Biznet and many other e-Commerce company in Indonesia. Now, Veritrans has more than a hundred of merchants with almost 70 billion of online transactions in a month! Could you believe that?
2-3 June 2014 (Day of Introductions)
Well, like many other internship students at other companies, the first day of our internship was filled with introduction. Anyway, since Veritrans Bandung is a branch from Veritrans Indonesia at Jakarta, so, on every Monday, at 10 a.m, we'll be having a meeting with the employee at Jakarta through Skype to review our mission within the week. Actually it's their way since they uses Scrum Software Development Method. After that, we were given some mission to do within 2 days which were :
Learn from codeschool.com :"Try GIT" and "GIT Real"
Get to know about Veritrans's product in https://veritrans.co.id. Know the difference between VT-Direct, VT-Web and VT-Link
Read about Fraud from https://j.mp/paymentSecurity, at least chapter 1 and 2.
So, for the first and second days it's all about learning using github, getting to know more about the company especially the products, and reading an e-book about credit cards payment and fraud. 
4-6 June 2014 (Another days of Introductions)
Well, this time we were given tasks to use the Payment API from Veritrans. So, we were pretending as merchants who want to use the products of Veritrans. As I had said before, Veritrans provides merchants a simple way to do online transactions. This simple way is given through the Veritrans' Payment API for any merchants to use. So, the merchants don't have to make the payment gateway from scratch -- Veritrans has done all the code for them! Amazing isn't it?
Veritrans has two products for online gate payment which are VT-Web and VT-Direct. What's the differences? The payment process in VT-Web will all be redirected to the website that Veritrans has already provided. Whileas, VT-Direct will be all be processed through the merchants website. Well you can see the details here : www.veritrans.co.id
So, why should merchants use Veritrans Payment API instead of making their own payment gateway for their transactions? Well, here are some reasons :
Each bank that provides online transaction uses a different method of web service, so we need to use different codes to connect into each method of payments. By using the Veritrans API, all method of payments from the banks were integrated into one. So, merchants would only set up once for all method of payments through the Veritrans Payment API.
Veritrans has Fraud Detection System (FDS) that could identify a fraud potential on the transaction. So it will keep all of your online transaction safely.
Veritrans provides a Merchant Application Portal (MAP) in which merchants could manage and control their transactions.
And actually there are many more features that Veritrans provides, which you can see from its own website. 
So that's all about my first week of internship at Veritrans. Hope all of you enjoy your work during the internship! XD
0 notes
dannypranoto · 11 years ago
Text
A Wonderful Trip to Santolo Beach - part 2
Monday, 26 May 2014 (Day 2 - Trip to Santolo Island)
In the morning, we started to wake up at 7 p.m and we had a breakfast which are pop mie's that we bought the day before. After we had finished our breakfast, we started to have a trip to Santolo Island! Anyway Santolo Beach was actually located in a small island called Santolo which is not really far from our house rent. Since we're going to a beach again, some of us were prepared using a swimwear.
Tumblr media
Actually, as you can see from the photo above, which the place across the water was the Santolo Island, wasn't really far, so we could actually cross to that island only by swimming!
Tumblr media
But some of us can't really swim and I myself who can swim also felt a little bit afraid, so we decided to rent a small boat to cross the water. It was really cheap! Only costs 2000 IDR/person :D
Tumblr media
So, here it was! The gate to Santolo Beach!
Tumblr media
The beach here is more calm than the beach we visited the day before. Besides, there are a lot of reefs here! And you can find lots of seaside creature such as small crabs, small fishes, and hermit crabs (they called it as "kumang").
Tumblr media
Anyway, there was an incident while we were on the beach. As you can see from the photo above, there was a small thing flying above between Abraham and I. Wondering what it was? That was Abraham's mobile phones (Nokia Lumia)! Actually I was trying to throw a rock across the sea, while Abraham took a picture of the sea. But then I was so powerful that I didn't realize Abraham was behind me, so there it was, the mobile phones also being thrown away and finally fell into the water! Duh!
Tumblr media
At first it the phone couldn't load anything, it freezed. I was really feeling sorry at that time, but I couldn't do anything! But then a miracle thing happened, the phone came back into life again! Wondering how Nokia was so strong that it was resistant of everything :p 
After that incident happened, we then decided to travel around the island by the seaside. Some of them are hunting for the hermit crabs.
Tumblr media Tumblr media Tumblr media Tumblr media Tumblr media
Yeah that's all about our journey at the island.
Tumblr media
Around 12 p.m, we decided to go back again for lunch. This time, we went for another place to eat near the seaside (not the Santolo Island's seaside). At that time it was so hot that I almost felt burned!  After lunch, some of us went back again to the seaside! This time we played into the sea by using the surfing board. Unlike the professional ones, we just surf using our body and waited for the wave to come over and surf back to the seaside again. Since I've never done this before, at first I was afraid and couldn't do the surf. But then after trying a lot of times, then I finally got the trick in doing it! Actually it was really simple, just swim to the sea by taking the board, and wait for the wave to come. The time before the wave breaks, quickly turn over and put your body on the board then there it is! Surfinggg! Haha.. actually it's a little bit stupid comparing to the actual surfing, but it's a lot of fun anyway, haha... We then played volley ball too :p until the sunsets! And it's really amazing! :D
Tumblr media Tumblr media Tumblr media
Well, that's all. After finished playing at the seaside, we went back to the house rent again to take a bath and preparing for the BBQ!
Anyway, another incident was happened again during the preparation. The chicken that we bought in the morning at the market was so smelly! It's probably because we forgot to bring out the chicken from the car, so it didn't get any cool air. That's why it became stale. Anyway 70k IDR money just flew away~
Tumblr media
There they were! Preparing for the BBQ place grill! While the others preparing for the food!
Tumblr media Tumblr media Tumblr media Tumblr media
Here's our food being grilled! Yummy!
Tumblr media
After finished eating, some of them went back to the house rent to sleep. While Michael, Abok, William, Ricky, and I still stayed discussing about some interesting topic. Since that all of us are single (what a coincidence huh?), so we talked about our favorite type girl, our career future, and our planning for married. Well, after having a long chit chat, we decided to go back to our house rent by midnight. At our house rent, we continue to have a wine that Michael bought from Jakata. But what a shame, he didn't take the corkscrew! But then a miracle things happened again! Abok could opened it just by using a skewer that we used for BBQ, haha... So, we shared the wine together and went to sleep. What a wonderful and tiring day!
Tuesday, 27 May 2014 (Day 3 - A way back to Bandung)
 The last day of our trip finally came. This time some of us, which is Andre, Gumarus, and William wake up in the morning and went back travelling to the beach again. While the others still including me still sleeping until 11 a.m! After that, we started packing and at 12 p.m, we checked out from our house rent and went out to have a lunch before going back to Bandung.
Tumblr media Tumblr media Tumblr media
There we are, tiring as ever, almost like zombies, haha...
After we had our lunch, we continue our way to Bandung. Upon half of our way, we stopped to a restroom. And taking some photos again :D
Tumblr media
Yeah! That's all of our trip to Santolo Beach! Anyway I was feeling grateful that I could joined this trip. It's really a lot of fun going together and it only costs us around 350k/person for 3 days 2 night! Can you believe that? Anyway, I'd like to thanks to William for the initiator of the trip, Michael for renting us the car, Stefan for driving us safely, and the others for the nice and unforgettable trip! I really wished that we could go on another trip again!
-- The Exorcism Club LOL
*All of the photos above are due to the courtesy of William Gumarus
0 notes
dannypranoto · 11 years ago
Text
A Wonderful Trip to Santolo Beach - part 1
Hello again! Actually I really want to post this story as long as I came back from the trip two weeks ago (25-27 May 2014). Since that I had a deadline assignment and another untold trouble (one of them is because laziness --again >_<), so here is it!
In this trip, I went to Santolo Island with my friends who are taking the same major as I am at ITB. They are William Gumarus, Michael Kevin, Daniel, Andreas Bismo Wicaksono (Abok), Stefan Antonius, Andre Yonathan, Ricky, Abraham Wahyu Kurniawan. So we are 9 in total!
Saturday, 24 May 2014 (Day 0 - Shopping for supplies!)
In the morning, my friends (Ricky, Daniel, Abraham, and Abok) and I went to Sasana Olahraga Ganesha to play tennis. It's usual because every Saturday from 6 - 10 a.m, there are free court for STEI students to play. Since that we are from STEI so we are free to play there :D (As I had said before, universities students always seek for the FREE things as long it gives benefits such as me ^_^).
After that, Daniel and I went back to my house rent to get the list for shopping while the others went to Dago Market for buying the tools for BBQ. Since all of us didn't have the BBQ tools, so we must make it manually. Actually it's really simple, I got this idea while I became the committee of PPAB at KMB. All you need is wire netting, wood charcoal, 1/2 L of kerosene, and 8 blocks of bricks for holding the wire netting. 
After buying all the tools for making BBQ, we went to Michael's house rent before shopping at the Hypermarket. When we arrived, he was still sleeping as usual, so we need to wake him up and wait for him for around 30 minutes before started going. After that, we arrived at the Hypermarket and started shopping! :D
Tumblr media
Yeah, that's Michael still sleeping and yawning :3
Tumblr media
Here, we bought sausages, ball meats, corns, ingredients, and many other else (I forgot already, haha). After we finished shopping there, Abok and I went back while the others went to Riau Junction. Well that's all, long journey awaits tomorrow! 
Sunday, 25 May 2014 (Day 1 - A way to Santolo Beach)
 Early in the morning, around 4 a.m, I woke up and took a bath. After that, I continued my packing till 5 a.m. After that, the others came to my house rent and we're ready to set off! Woohooo... I was really excited that time!
We used one car which is Michael's Fortuner. I was given seat at the back seats (the combination was 2 front, 4 middle, and 3 back). At first I thought that the back seats wouldn't be so narrow as the middle seats, but then I was really wrong! The reality was I couldn't even stretch up a bit! It's because I was tall and the back seats is much more higher that the middle seats. Well then, this is just the beginning~
So upon our way to Santolo Beach, we had already been told that it will spend around 5 hours to the beach (It's around 150++km). During the first 2,5 hours, we didn't have much trouble in our way. But then for the next 3 hours, some of us include I myself started to feel landsick (I don't know what they called about it, but pretty much the same as seasick, since we're in the land, so I called it landsick, LOL) The path we are going was zig zag and it was really unpleasant! I felt that I was going to vomit that time, but anyway thanks to my friends who told us lots of interesting story during the way!
Tumblr media
At 11.30 a.m, finally we arrived at the Santolo beach. That was a relief! Upon our arrival there, we started to search for the hostelry and we chose the Diar 3 hotel. The room is really wide so we decided to rent a room for the 9 of us. Actually it's really cheap (only costs about 50k IDR/person/day) and it includes 2 queen bed size, 1 sofa, 1 TV, 1 bathroom and AC (but actually there's no much cool effect since we're 9 people in a room).
After that, we went to have a lunch near the rent house. We ordered 3 big sized roasted-fish and one portion of squid. It costs around 330k.
Tumblr media
That's it! Striving for food after a long way to Santolo Beach.
After we finished our lunch, we came back again to our house rent to rest for a while. Around 3 p.m, we started to go to the beach playing football!
Tumblr media
At first the game was quite fun (actually I couldn't really play football). But then, it started to become more and more uncontrollable.
Tumblr media Tumblr media Tumblr media
At first, we made a promised that we wouldn't get wet when we were in the house rent. But then, there is it! All wet without any word! Haha... anyway it's really fun but tiring. At 6 p.m, we finished playing at the seaside and came back to the house rent again to take a bath.
Tumblr media
Here's our house rent, and that's our clothes hanging outside to be dried. haha... 
Tumblr media
After all of us finished taking a bath, we went outside for dinner. 
Tumblr media
And came back again to the house rent doing the crazy things :D Anyway, we watched a horror movie together (The movie was The Exorcist). Since that our group name called as 'The Exorcism' (Actually I really don't know how our group end up with a name like that, anyway it's another story, haha), so I decided to watch the movie together at the night. Well, the story is not really scary like any other horror story like the insidious, etc, since it was a 70's movie. Actually Michael who are quite afraid of watching horror movie had come to sleep at first. But then some of them started to sleep one by one before the movie finished until abok, william and I ended up with watching the entire movie. After watching the movie, we went to sleep by the midnight. That's all for the first day!
*All of the photos above are due to the courtesy of William Gumarus
0 notes
dannypranoto · 11 years ago
Text
Corporate Tour to PT. Astra Honda Motor at Cikarang
Yeah! Finally, It's been a while since the last post I've made at this blog. The activity that I've been through for the last several months had made me really really busy. That's why I didn't have the time to start writing this blog again until today. >_<. Well, besides I was so lazy before, haha...
Okay, let's begin with the my experience while participating the 'Corporate Tour to PT.Astra Honda Motor' at Cikarang. This event was organized by the team of Astra 1st from ITB. The event was actually held about two weeks ago, 23 May 2014. And it's FREE. hoho... Smart students at the university always seek for the free event such as I am :D
At first, all the participants were told to gather at the main gate of ITB on 8 a.m. Since that I've known one of the steering community, which is William Gumarus, that the bus will starting to be setting off at 9 a.m, so I decided to set off on 8.30 a.m from my house rent. This is not because I want to be late, but being time-effective is better! :p. It usually takes about 15 minutes to ITB. So I arrived there around 8.45 a.m. At 9 a.m the bus set off and we're ready to go to Cikarang! Anyway It takes around 2 hours to go there assuming that the traffic is normal.
Tumblr media
Around 11.30 a.m, we finally arrived at the front office and what a damn wide-area factory! The picture here is only a small fraction of building of PT. Astra Honda Motor. Maybe around 20-30 times bigger! Can you imagine that?
Tumblr media
Upon our arrival here, a security officer at the main office directly greeted us nicely :D (He's on the right side of the picture holding the HT device).
Tumblr media
At first, I didn't realize that he was the security officer there, I thought that he was the manager or maybe the PIC for the corporate tour. Yeah, of course, how could people realize that he was actually a security officer with a uniform that he wears, which is not like the usual ones? And what surprises me at that time was, while we enter inside the main office, everybody working there uses the same uniform as the security officer! Even the manager or the PIC for the corporate tour! At that time, I realized that it's because of their culture there which is 'working together to achieve one same goal', so it didn't really matter what your position are, as long as you work there, you are working as a team to reach the goal of the company. I was really amazed by the culture there! After that, we had our lunch here. It's chicken roasted rice (if I'm not mistaken). And of course, it's FREE :p
Tumblr media
After lunch, we're given a presentation by the PIC of the tour, I'm sorry but I forgot the name (he's the one standing in front of the room)
Tumblr media
As usual, during the first presentation, he told us about the company profile of PT. Astra Honda Motor, the business model used by the company, company organizational structure, and market share of the company (which is almost 60%! What a boss!). Yeah, of course it holds a big portion of the market share in Indonesia, who doesn't know Honda? Almost everybody know that, even in my hometown, Medan, people actually doesn't call motorcycle as "sepeda motor" but they call it as "Honda". So whenever people uses motorcycle with the brand of Yamaha, Suzuki, Kawasaki, or whatever brand it is, people at my hometown will always call it as "Honda". Sounds pretty freak ya? Anyway that's how Honda's becoming the leader of the market share.
After the introductory presentation, we're given a safety procedure before visiting the plant building where motorcycle are being produced daily. The procedures overall includes using red-color cap given by the company (it's used to recognizing us as the visitor there), not entering the production area, and "no pictures allowed"?!. How come we cannot take the photo there? The main purpose of us visiting the company is mainly to visit the plant building and see the process of making the motorcycle and we cannot take the photo? Oh well, anyway it's procedure, want it or not, we as the visitors must obey... Feeling dissapointed >_< 
After the presentation, we're divided into 8 groups. Each of two groups was leaded by one mentor. After that, we went to the plant building. Upon the entries inside the building, I was amazed by it's own gigantic building! Inside the building there're hundreds of operators working for the production and it is very HOT and STUFFY! I couldn't imagine if I worked there, I probably couldn't stand working there even for a day! At the first place, there is an extremely LONG conveyor belt which is used to process the making of motorcycles starting from the engine until becoming a whole motorcycle. Each part of the motorcycle was being installed by one or two operators. So every day, for about 8 hours, each operator must do their work, which is installing the same part again and again! Can you imagine how boring it is? For 8 hours and EVERY DAY? Anyway they didn't have weekend holidays, so whether on saturday or sunday, they must go to work. Arghhh.... They said that many people outside there want to work as the operators there. But I myself once again couldn't imagine working there doing the same thing in the HOT and STUFFY room, could you?
Besides, the production there was held for 24-hours a day non-stop. So there are 3 shift for the operators who works there. And each day, the production there could produce 9000++ motorcycles! It means that in 10 seconds, puff! one motorcycle is made. Pretty amazing isn't it? Anyway the plant building we visit produces the matic-type motorcycles (which is mainly Honda BEAT-type). 
After visiting the production of the motorcycle, we visited the plating room. Anyway, most parts of the motorcycle are also being produced by the company, which includes the velg! They said that honda is the first company in the world who produced it's own velg for motorcycle. Really cool isn't it? FYI, this place is really noisy since it's the place to produce plating velg. 
After an hour tour from the company, we finally returned back again to the presentation room. What a relief! It's much more cooler here, haha.. -- of course it's inside the main office. From here, we started a discussion about what we had seen during the plant tour. I'm sorry I didn't really remember about the discussion since it's two weeks before I started to write again in this blog. Anyway it's really interesting and fun having the corporate tour in a big company such as PT. Astra Honda Motor. I'd really like to thank for the team of Astra 1st ITB and the corporate party for inviting us to visit the company! Thank you all!
Tumblr media
*All of the photos above are due to the courtesy of William Gumarus
0 notes
dannypranoto · 11 years ago
Text
Final Project with Arduino
Akhirnya, tiba juga saatnya saya bersama dengan kelompok saya mengerjakan tugas terakhir untuk mata kuliah Interaksi Manusia Komputer dan Antarmuka. Pada tugas terakhir kali ini, kami diberi tugas untuk membuat sebuah project bebas dengan menggunakan arduino dan perangkat-perangkat lainnya yang sudah pernah dipelajari pada percobaan sebelumnya. Oleh karena itu, kelompok kami memikirkan sebuah ide berupa kuis matematika. Ide ini cukup sederhana, dimana pengguna nantinya akan diberi sebuah soal penjumlahan matematika yang akan ditampilkan pada LCD Display, dan pengguna tersebut harus menjawabnya dengan menggunakan keypad.  
Untuk pengerjaan tugas terakhir ini, kelompok saya yang terdiri dari saya sendiri (Danny Pranoto - 18211017), Gunawan - 18211007, dan Dinda Tisi Calista - 18211003 bergabung dengan kelompok Stella Kurniawan - 18211046, William Gumarus - 18211043, dan Bernadette Vina - 18211019. Oleh karena kelompok kami terdiri dari 2 kelompok, maka kami harus membuat project dengan menggunakan 2 buah arduino yang nantinya masing-masing arduino tersebut harus dapat berkomunikasi dengan arduino lainnya. Sehingga kami memikirkan ide tambahan berupa kuis matematika 2 player.
Deskripsi singkat Project
Tumblr media
This image is due to the courtesy and permission of Bernadette Vina
Nama Project Arduino yang kami buat adalah “Mathemati-Quiz”. Project ini merupakan sebuah permainan kuis matematika yang nantinya akan dimainkan oleh 2 orang player. Masing-masing player  akan diberi soal matematika berupa penjumlahan dalam waktu 60 detik. Setiap player tersebut harus menjawab dengan cepat dan tepat untuk setiap soal yang akan diberikan secara random oleh komputer. Jika pemain yang satu sudah berhasil menjawab soal tersebut, maka pemain yang satunya lagi tidak dapat menjawab soal tersebut kembali. Namun, program akan langsung berjalan pada soal berikutnya. Jika pemain tersebut berhasil menjawab soal dengan benar, maka akan diberikan skor +10, sedangkan jika salah maka akan diberikan skor -5. Dan yang terakhir, pemain dengan skor tertinggi yang akan menang.
Perjalanan Project
Pembuatan project terakhir ini, kami bagi ke dalam 5 tahap utama, yaitu :
Tahap 1 :
Merencanakan konsep pembuatan project
Mencoba membuat soal matematika dan ditampilkan pada serial monitor
Tahap 2 :
Mencoba menampilkan soal matematika pada LCD Display
Melakukan debugging terhadap kuis matematika
Tahap 3 :
Mencoba mengkomunikasikan 2 radio
Tahap 4 :
Mencoba menyalakan LED apabila soal yang dijawab benar atau salah
Mencoba mengintegrasikan radio dengan kuis matematika yang telah dibuat
Tahap 5 :
Mengintegrasikan semua komponen untuk membuat kuis matematika 2 player
Melakukan modifikasi terhadap user interface dari kuis matematika
Alat dan Bahan 
Pada percobaan ini, hampir semua alat dan bahan yang kami gunakan sudah pernah digunakan pada percobaan-percobaan sebelumnya, kecuali ada tambahan sebuah perangkat radio yang berfungsi untuk melakukan komunikasi antar arduino. Alat dan bahan yang digunakan berupa :
2 buah Keypad 4x3 dengan modifikasi berupa tombol * menjadi Del dan tombol # menjadi enter
2 buah Radio Nrf2401
2 buah Arduino Uno
2 buah LCD Display
2 buah LED (warna hijau dan merah)
1 buah Notebook
2 buah Rotary potensiometer
Beberapa buah kabel jumper
2 buah Bread Board
Block Design Hardware
Untuk perancangan rangkaiannya, kami mengintegrasikan bentuk rangkaian dari rangkaian-rangkaian percobaan yang telah kami lakukan sebelumnya. Oleh karena pin digital yang terdapat dalam arduino hanya terbatas pada jumlah 13, maka kami menggunakan pin analog untuk menghubungkan perangkat keypad. Berikut rancangan yang kami buat dengan menggunakan fritzing.
Tumblr media
Hardware Implementation
Setelah melakukan perancangan terhadap rangkaian sebelumnya, kami melakukan modifikasi terhadap user interface dari project yang kami buat agar lebih menarik serta mudah untuk digunakan bagi pengguna nantinya. Berikut merupakan hasil implementasinya.
Tumblr media
This image is due to the courtesy and permission of Gunawan
Software Implementation
Untuk implementasi source codenya, tidak ada perbedaan yang terlalu signifikan terhadap source code yang dijalankan pada player 1 atau player 2. Perbedaannya hanya terletak pada letak proses pembacaan radio dimana apabila player yang satu menangkap sinyal, maka player lawannya yang mengirim sinyal radio, dan sebaliknya.
Pada bagian ini, saya akan menjelaskan source code yang telah kami buat ke dalam 7 bagian.
Prosedur Setup
Tumblr media
Bagian ini berfungsi sebagai pengaturan awal dari program, mulai dari assign-pin header yang digunakan, tampilan awal “Press Enter to begin”, serta lampu LED yang diset awal dengan kondisi low.
Prosedur areYouReady
Tumblr media Tumblr media
Prosedur ini berfungsi untuk memastikan apakah kedua player telah siap untuk memulai permainan yang ditandai dengan penekanan tombol Enter oleh kedua player. Dalam prosedur ini, terdapat 3 kondisi, yaitu :
Kondisi pertama adalah apabila player tersebut telah menekan tombol enter, maka program akan mengirim sebuah kode yang disimpan di dalam variable “trans”. Kode tersebut kemudian akan dikirimkan ke player lawan sebagai tanda bahwa player pertama telah siap.
Kondisi kedua adalah apabila player tersebut menangkap kode rcv bernilai 99 dari player lawan yang menandakan bahwa player lawan telah siap untuk memulai permainan.
Kondisi ketiga adalah dimana player tersebut dan player lawan telah sama-sama siap untuk memulai permainan. Selanjutnya program akan menampilkan instruksi permainan dan permainan dimulai.
Prosedur gameOver
Tumblr media Tumblr media
Prosedur ini berfungsi untuk menandakan bahwa permainan telah berakhir dan menampilkan hasil skor akhir dari masing-masing player serta menentukan player mana yang menang dan kalah. 
Prosedur generateSoal
Tumblr media
Prosedur ini berfungsi untuk menampilkan soal matematika berupa penjumlahan atau perkalian dari dua operan secara random. Nilai operan yang diberikan berkisar antara 10-50.
Prosedur cek
Tumblr media
Prosedur ini berfungsi untuk melakukan validasi terhadap hasil jawaban yang dimasukkan oleh player. Apabila benar, maka prosedur ini akan mengeset boolean isRight menjadi true, dan sebaliknya.
Prosedur getKey
Tumblr media
Prosedur ini mirip dengan prosedur yang ada pada percobaan yang dilakukan sebelumnya, yaitu percobaan menggunakan keypad. Prosedur ini berfungsi untuk menangkap hasil penekanan tombol keypad oleh player dan mengembalikan nilai sesuai dengan tombol yang ditekan.
Prosedur loop
Tumblr media Tumblr media Tumblr media Tumblr media
Prosedur ini merupakan program utama atau fungsi utama yang menjalankan serta mengintegrasikan keseluruhan prosedur diatas. Pada bagian ini digunakan fungsi timer t.after(60000,gameOver), dimana fungsi tersebut akan memanggil prosedur gameOver setelah 60 detik.  
Testing
Berikut cuplikan video hasil dari percobaan project yang kami buat.
This video is due to the courtesy and permission of William Gumarus and Gunawan
Kendala
Pada proses pengerjaan proyek ini, kendala utama yang kami hadapi adalah sulitnya menghubungkan koneksi antar arduino dengan menggunakan radio Nrf2401. Mungkin hal tersebut karena alat yang kami gunakan untuk melakukan komunikasi antar arduino cukup murah, sehingga fitur yang diberikan juga sangat terbatas. Selain itu,  program yang kami buat juga dimulai dari scratch, karena belum ada source code yang mirip dan sesuai dengan project yang kami buat. Berikut kendala-kendala yang kami hadapi selama pengerjaan project :
Sulitnya mengkomunikasikan radio 
Housing yang dibuat sendiri oleh kami sering lepas atau longgar
Tidak dapat menggunakan digital pin 0 dan 1 sebagai input, hal ini ternyata karena pada source code digunakan fungsi serial.
LCD sempat rusak sehingga kami harus mencari LCD baru
Tembaga masuk ke dalam salah satu pin arduino dan tidak dapat dikeluarkan
Sulit mendeteksi sumber kesalahan antara hardware dan software
Selalu kekurangan timah untuk melakukan solder
Kekurangan kabel sehingga kami menggunakan kabel yang berisi serabut fiber
Ujung solder kotor sehingga sulit untuk melakukan solder pada rangkaian
Penutup
Akhir kata, saya ingin mengucapkan banyak terima kasih kepada anggota kelompok saya, Dinda Tisi Calista, William Gumarus, Stella Kurniawan, Gunawan, dan Bernadette Vina yang telah berjuang selama ini dalam menyukseskan project kami. Serta dosen kami, Pak Soni, yang telah memberikan bimbingan serta kesempatan bagi kami untuk belajar hal-hal yang baru.  Semoga dengan adanya tugas ini kami mampu menciptakan sebuah karya yang lebih baik lagi nantinya dan pastinya bermanfaat untuk bangsa dan Negara! 
Tumblr media
This image is due to the courtesy and permission of Dinda Tisi Calista
1 note · View note
dannypranoto · 11 years ago
Text
Belajar Interaksi Manusia Komputer bersama Arduino – part 5
Selamat malam semuanya!
Hari ini saya mau berbagi pengalaman lagi nih tentang hasil eksplorasi kelompok saya (Danny, Dinda, dan Gunawan) mengenai hasil percobaan kami bersama Arduino! Nah, kali ini ada satu alat baru yang kami gunakan, yaitu Keypad dengan ukuran (4x4). Alat ini kami beli di Anam Elektronik dengan harga sekitar 25ribu. Pada saat itu, kami juga membeli LCD Display seharga 65ribu bersama dengan pin headernya seharga 4ribu. Totalnya jadi 94ribu. Lumayan menguras isi kantong juga sih, tapi namanya juga buat pembelajaran, setelah dipikir-pikir lumayan juga lah buat investasi ilmu :p. Sebelumnya sih kami meminjam LCD Display tersebut dari kelompok lain, tapi karena merasa repot buat minjam terus, maka kami memutuskan untuk membelinya saja. Nah, karena pin konektornya harus disolder ke LCD Display terlebih dahulu, maka waktu itu saya sendiri yang mencoba untuk menyolder pin konektor ke LCD Display tersebut. Awalnya sempat ada kesalahan, dimana bahan yang digunakan untuk menyolder itu ternyata salah (-_-), yang seharusnya timah malah kabel yang disolder (waktu itu warna kabelnya mirip dengan warna timah soalnya). Jadi pas disolder, bagian luar kabelnya meleleh, tapi ga jadi gumpalan gitu dan langsung kering., Terus setelah disolder lagi ternyata didalamnya ada tembaga. Nah saat itu juga baru nyadar ternyata bahan yang disolder itu adalah kabel (WTF?). Selanjutnya baru kami meminta (LAGI) ke kelompok lain yang mempunyai sisa timah untuk kami solder kembali. Yah, hasilnya memang agak jelek sih (maklum baru pertama kali nyolder) tapi lumayan lah. Kurang lebih ini hasil solderannya :
Tumblr media
This image is due to the courtesy and permission of Dinda Tisi Calista
Untuk percobaan kami kali ini, alat yang kami gunakan berupa :
1 buah Arduino UNO beserta kabel konektor USB
1 buah Laptop/Desktop
1 buah LCD Display
1 buah Keypad berukuran 4 x 4 (16 tombol)
Beberapa Kabel
1 buah Potensiometer
Percobaan VI – Menampilkan Hasil Penekanan Tombol pada Keypad ke Layar Monitor (Serial)
Nah, percobaan yang kami lakukan kali ini itu kami mulai dari yang paling gampang dulu, yaitu nampilin hasil pembacaan keypad ke layar monitor. Yah hitung-hitung pemanasan dulu dan biar ada motivasi juga. Kalo awal-awal aja udah susah, gimana mau ada semangat ngerjainnya?
Seperti biasa, kami rangkai terlebih dahulu. Kurang lebih hasil rangkaiannya seperti gambar berikut
Tumblr media
Gambar ini saya ambil dari www.learningaboutelectronics.com
Setelah itu, kami lanjutkan dengan mengerjakan source codenya. Seperti biasa, kami melihat resep kodingan kami di Arduino Cookbook – 5.5 Reading a Keypad (halaman 163-165). Namun, karena keypad yang kami gunakan berukuran 4x4 sedangkan pada buku tersebut yang digunakan adalah keypad 3x3, maka kami sedikit modifikasi source codenya pada bagian setingan untuk keymap dan konstanta untuk pin yang digunakan. Berikut source codenya :
Tumblr media Tumblr media Tumblr media
Setelah itu, kami compile dan jalankan, hasilnya dapat dilihat pada video berikut :
This video is due to the courtesy and permission of Dinda Tisi Calista
Alhasil percobaan kami pun berhasil! Dan semangat kami pun kian bertambah :D. Setelah selesai ngerjain percobaan ini, waktu pun sudah menunjukkan pukul 9.30. Saat itu, kami ada kelas Pengembangan Mobile Aplikasi yang seharusnya jam 9 (sudah telat 30 menit). Namun karena dosennya agak selow, saya dan Gunawan pun langsung menuju ke kelas kami di 7601.  Sedangkan Dinda masih berantusias untuk melanjutkan permainannya dengan Arduino.
Percobaan VI – Menampilkan Hasil Penekanan Tombol pada Keypad ke LCD Display
Percobaan selanjutnya kami lanjutnya di hari yang sama pada sore harinya. Saat itu, Dinda berhalangan hadir, jadi saya dan Gunawan yang melanjutkan percobaan berikutnya. Sebenarnya konsepnya hampir sama, namun pada percobaan kali ini, karena hasilnya harus ditampilkan pada output LCD Display, maka rangkaian yang kami buat pun ditambahkan koneksi ke LCD Displaynya. Berikut gambar rangkaiannya :
Tumblr media
This image is due to the courtesy and permission of Gunawan. 
Kali ini saya tidak menggunakan fritzing karena tidak ada gambar untuk keypadnya.
Untuk source codenya, kami mencoba menggabungkan resep untuk menampilkan ke LCD Display dan membaca keypad. Hasilnya tidak berbeda jauh, hanya ada tambahan pada bagian inisialisasi pin input dan sekumpulan perintah yang di print (yang sebelumnya ditampilkan ke serial sekarang jadi ke LCD) :
Tumblr media Tumblr media
  Setelah dikompile dan dijalankan, ternyata ada keanehan, yaitu munculnya sebuah karakter tidak dikenal seperti gambar berikut :
Tumblr media
This image is due to the courtesy and permission of Gunawan
Namun, setelah kami telusuri source codenya, ternyata karakter tersebut merupakan karakter yang dihasilkan dari perintah ‘println’. Maka dari itu, kami ubah lagi source codenya menjadi lcd.print(key).
Setelah kami compile dan jalankan lagi, hasilnya dapat dilihat pada video berikut :
This video is due to the courtesy and permission of Gunawan
Sama seperti sebelumnya, percobaan kali ini pun berhasil. Setelah itu kami lanjutkan ke membuat kalkulator sederhana.
Percobaan VII – Membuat Kalkulator Sederhana -- 1 Digit untuk setiap input (Selasa, 25 Maret 2014)
Setelah sebelumnya sudah berhasil mencoba menampilkan hasil pembacaan keypad ke layar monitor dan LCD Display, kali ini kami mencoba hal yang sempat diusulkan oleh dosen kami, yaitu membuat kalkulator sederhana. Rangkaian yang dibuat masih sama seperti pada percobaan sebelumnya, yang berbeda adalah bagian source code tentunya. Sebelumnya saya dan Gunawan sempat mencoba mengutak-ngatik source codenya pada hari Senin, namun karena waktu sudah menjelang malam, maka kami memutuskan untuk melanjutkannya pada keesokan harinya.
Keesokan harinya, saya kebetulan berhalangan untuk ikut melanjutkan percobaan karena ada jadwal sebagai asisten praktikum PTI B. Sehingga percobaan kali ini hanya dilakukan oleh Dinda dan Gunawan.
Berikut hasil source code yang dibuat oleh Gunawan dan Dinda :
Tumblr media Tumblr media
This code is due to the courtesy and permission of Gunawan and Dinda Tisi Calista
Dan setelah dijalankan dan dikompile, didapatkan hasil seperti gambar berikut :
Tumblr media
This image is due to the courtesy and permission of Dinda Tisi Calista
Oke, itulah hasil dari percobaan kami selama 1 minggu (sebenarnya sih 2 hari). Berikut yang dapat saya simpulkan dari hasil percobaan kami kali ini :
Menyolder itu harus ada ‘sense’nya, jadi kalo belum terbiasa ya pasti bakal kurang rapi hasilnya
Segala sesuatu hal yang dipelajari harus dimulai dari yang paling sederhana dulu, tujuannya untuk mengetahui dasar-dasarnya.
Belajar dari pengalaman, kegagalan itu bukanlah sesuatu hal yang buruk, melainkan suatu pengalaman yang berharga karena kita jadi bisa tau hal-hal yang dapat menyebabkan kegagalan tersebut
Menggunakan hak milik orang lain tanpa sepengetahuan orang tersebut merupakan TINDAKAN KRIMINAL. Jadi harus pake referensi buat setiap gambarnya ataupun videonya:P
Akhir kata, seperti biasa saya ingin mengucapkan terima kasih kepada Pak Soni atas materi yang diberikan dan teman-teman sekelompok saya yang sudah bersedia menemani saya bermain-main dengan arduino!
1 note · View note
dannypranoto · 11 years ago
Text
Belajar Interaksi Manusia Komputer bersama Arduino – part 4
Kembali lagi nih saya dan teman kelompok saya yang baru (Dinda dan Gunawan) bermain-main dengan Arduino di tugas keempat. Kali ini tugas untuk percobaan kami adalah menampilkan hasil pengukuran suhu dari sensor suhu LM35 ke dalam LCD Display atau 7-Segment LED Display. Oke, tanpa berlama-lama, saya langsung jelasin aja yah hasil percobaan yang saya lakukan bersama dengan teman-teman sekelompok saya. Percobaan kami lakukan dalam 3 hari karena sempat beberapa kali gagal dan masih kurang paham dalam membuat rangkaiannya.
Pada percobaan kelima kali ini, alat yang kami gunakan berupa :
1 buah sensor suhu LM35
4 buah 7-Segment LED Display
1 buah LCD Display
1 buah Multiplexer
4 buah Transistor
4 buah Resistor
1 buah Potensiometer
Beberapa Kabel
1 buah Arduino UNO beserta kabel konektor USB
1 buah Laptop/Desktop
Percobaan V – Menampilkan Hasil Pengukuran Suhu LM35 ke dalam 7-Segment LED dan LCD
Hari Jumat, 14 Maret 2014 – Menggunakan 7-Segment LED Display (Gagal)
Sebelum saya menggunakan LCD, kami sekelompok sempat mencoba menggunakan 7-segment LED display untuk menampilkan hasil pengukuran dari sensor suhu LM35. Awalnya, kami mencoba untuk menampilkan angka dari 0 sampai 9 secara berurutan. Pada percobaan ini, kami merangkainya seperti gambar berikut :
Skema Rangkaian (dari Arduino Cookbook Halaman 273) :
Tumblr media
Referensi untuk melihat 7 segment pin diagram :
Tumblr media
Versi Breadboard (kami melakukan modifikasi rangkaian dengan hanya menggunakan 2 buah resistor, dimana resistor tersebut dihubungkan ke bagian pin breadboard yang paling ujung):
Tumblr media
Berikut videonya :
Sedangkan untuk source codenya, kami mengambil langsung dari Arduino Cookbook percobaan 7.10 – Driving a 7-Segment LED Display. (Halaman 272-273)
Setelah kami compile dan upload, ternyata percobaan kami berhasil. Nah, dari sini, baru kami melanjutkan percobaan kami ke multidigit 7-segment LED. Dari percobaan ini, kami menggunakan 4 buah 7-Segment LED Display. Kami kemudian membuat  rangkaiannya seperti berikut :
Skema rangkaian (dari Arduino CookBook halaman 276) :
Tumblr media
Versi Breadboard tidak saya buat karena hasil rangkaian yang kami rancang terlalu rumit dan masih salah.
Untuk source codenya, kami mengambil secara langsung dari Arduino Cookbook percobaan 7.11 – Driving Multidigit, 7-Segment LED Displays : Multiplexing. (Halaman 274-276). Karena kami tidak menggunakan sensor suhu, kami melakukan modifikasi pada bagian int value = analogRead(0) menjadi int value =1234 untuk sekedar mencoba menampilkannya pada multi digit 7-Segment tersebut.
Dan setelah kami compile dan upload, hasilnya tidak sesuai dengan yang diharapkan, keempat 7-Segment tersebut tidak menyala sama sekali. Setelah itu, kami mencoba-coba memahami cara menggunakan multiplexer dan memperbaiki rangkaian kami kembali, tapi tetap tidak mau menyala. Kami utak atik rangkaiannya, sampai akhirnya kami sendiri semakin bingung dan memutuskan untuk berhenti dan melanjutkannya pada keesokan harinya.
Sabtu, 15 Maret 2014 – Menggunakan LCD Display (Berhasil)
Pada hari ini, saya kembali melakukan percobaan bersama dengan teman saya Dinda. Gunawan kebetulan berhalangan hadir karena sedang keluar kota. Saat itu, Dinda mendapat kabar bahwa percobaan ini akan lebih mudah dilakukan dengan menggunakan LCD Display. Nah saat itu pula, kami mencoba mengganti 7-Segment yang sangat rumit tersebut dengan LCD Display. Kurang lebih rangkaian yang kami buat seperti gambar berikut :
Skema rangkaian (diambil dari http://arduino.cc/en/Tutorial/LiquidCrystal#.UyjrDj9dV1Z)
Tumblr media
Versi Breadboard : (Kami modifikasi dengan menggabungkan rangkaian tersebut dengan rangkaian sensor suhu LM35) ;
Tumblr media
Dan source codenya sebagai berikut :
// Dinda Tisi Calista (18211003)
// Gunawan (18211007)
// Danny Pranoto (18211017)
//Menampilkan suhu hasil pembacaan sensor panas pada LCD
#include <LiquidCrystal.h> // include the library code
  // initialize the library with the numbers of the interface pins
LiquidCrystal lcd(12, 11, 5, 4, 3, 2);
const int inPin = 0; //pin analog yang digunakan
  void setup() {
  // set up the LCD's number of columns and rows:
  lcd.begin(16, 2); //jumlah kolom dan baris pada LCD
  lcd.print("Aloha!"); //mencetak kata
}
  void loop() {
  // set the cursor to column 0, line 1
  // (note: line 1 is the second row, since counting begins with 0):
  lcd.setCursor(0, 1); //set kursor di kolom 0 baris 1
  lcd.print("Suhu: "); //cetak kata
  int value = analogRead(inPin); //membaca input dari sensor
  long celsius = (value * 500L) / 1024;
  lcd.print(celsius); //mencetak nilai celsius
  lcd.print((char)223); //mencetak karakter derajat
  lcd.print("C"); //mencetak huruf
  delay(1000); //delay 1000ms
}
Setelah itu kami compile dan upload. Dengan mengatur potensiometernya, kami akhirnya berhasil menampilkan hasil pengukuran suhu tersebut. Berikut gambar dari hasil percobaan kami :
Tumblr media
  Tidak lupa videonya juga untuk melihat perubahan suhu yang dideteksi oleh sensor suhu tersebut :
Setelah berhasil, kami pun memutuskan untuk melanjutkan kalibrasi suhu pada hari senin.
Senin, 17 Maret 2014 – Melakukan kalibrasi pengukuran suhu dan Melakukan percobaan kembali dengan menggunakan 7-Segment LED Display (Berhasil)
Pada hari ini, kami kembali melakukan percobaan LCD Display untuk melakukan kalibrasi suhu. Namun, sebelumnya kami harus menyolder LCD Display tersebut karena kami meminjam LCD milik teman saya (Fajrin) yang masih belum disolder input pinnya.
Setelah sebelumnya berhasil menampilkan hasil pengukuran suhu ke LCD Screen. Kami melanjutkan percobaan untuk menghitung kalibrasi dari pengukuran suhu LCD dengan cara menghitung rata-rata galat dari setiap hasil pengukuran suhu antara termometer biasa dengan sensor LM35. Pada percobaan ini, kami melakukannya di Laboratorium Fisika Dasar (Comlabs) dan kami mengambil 5 buah data percobaan dalam selang waktu 3 menit. Berikut hasilnya :
Data 1 : LFD = 26.5, LCD = 27.83 , galat = 26.5-27.83 = -1.33
Data 2 : LFD = 26.8, LCD = 27.83, galat = -1.03
Data 3 : LFD = 27, LCD = 28.32, galat = -1.32
Data 4 : LFD = 26.8, LCD = 27.83, galat = -1.03
Data 5 : LFD = 27, LCD = 28.32, galat = -1.32
Dari data tersebut, dapat dilihat bahwa hasil pengukuran LCD selalu naik ataupun turun sebesar 0.5 derajat celcius. Hal ini dikarenakan sensor suhu LM35 memiliki derajat ketelitian sebesar 0.5. Kami kemudian menghitung rata-rata dari setiap galat tersebut dan hasilnya adalah -1.206. Kemudian dari hasil galat rata-rata tersebut dimasukkan kembali ke dalam rumus perhitungan suhu pada source code sebelumnya menjadi celcius = celcius – 1.206.
Berikut foto penampakan hasil percobaan di LFD :
Tumblr media
Melakukan percobaan kembali dengan menggunakan 7-Segment LED Display
Setelah sebelumnya berhasil menggunakan LCD, kami kembali mencoba menggunakan 7-Segment LED Display. Karena kami sangat penasaran dan melihat salah satu teman kami dari kelompok lain berhasil menggunakan 7-Segment LED, kami memutuskan untuk mecobanya kembali namun dengan bantuan salah satu teman kami tersebut (Reni) yang telah berhasil tentunya.
Pada percobaan kali ini, kami hanya menggunakan 2 buah 7-Segment karena jika menggunakan 4 buah 7 segment akan terlalu rumit dan sangat memusingkan. Berikut hasil rangkaian yang kami buat :
Tumblr media
Dan Souce codenya :
// bits representing segments A through G (and decimal point) for numerals 0-9 const int numeral[10] = { //ABCDEFG /dp B11111100, // 0 B01100000, // 1 B11011010, // 2 B11110010, // 3 B01100110, // 4 B10110110, // 5 B00111110, // 6 B11100000, // 7 B11111110, // 8 B11100110, // 9 }; // pins for decimal point and each segment // dp,G,F,E,D,C,B,A const int segmentPins[] = { 4,7,8,6,5,3,2,9}; const int nbrDigits= 2; // the number of digits in the LED display //dig 1 2 3 4 const int digitPins[nbrDigits] = {11,12}; const int inPin = 0; //pin analog yang digunakan
void setup() { Serial.begin(9600); for(int i=0; i < 8; i++) pinMode(segmentPins[i], OUTPUT); // set segment and DP pins to output for(int i=0; i < nbrDigits; i++) pinMode(digitPins[i], OUTPUT); }
void loop() { //pembacaan&penghitungan temperatur float value = analogRead(inPin); //membaca input dari sensor float mv = (value / 1024) * 5000; float celsius = mv / 10; showNumber(celsius); Serial.print(celsius); }
void showNumber( int number) { if(number == 0) showDigit( 0, nbrDigits-1) ; // display 0 in the rightmost digit else { // display the value corresponding to each digit // leftmost digit is 0, rightmost is one less than the number of places for( int digit = nbrDigits-1; digit >= 0; digit--) { if(number > 0) { showDigit( number % 10, digit) ; number = number / 10; } } } } // Displays given number on a 7-segment display at the given digit position void showDigit( int number, int digit) { digitalWrite( digitPins[digit], HIGH ); for(int segment = 1; segment < 8; segment++) { boolean isBitSet = bitRead(numeral[number], segment); // isBitSet will be true if given bit is 1 isBitSet = ! isBitSet; // remove this line if common cathode display digitalWrite( segmentPins[segment], isBitSet); } delay(5); digitalWrite( digitPins[digit], LOW ); }
Dan berhasil! Berikut hasilnya :
Tumblr media
  Ini nih buat videonya :
Kesimpulan
Dari sekian percobaan yang gagal maupun berhasil, dapat saya tarik kesimpulan, bahwa pada percobaan kali ini kami mempelajari bagaimana cara untuk menggunakan output display berupa 7-Segment LED Display dan LCD Display. Perbedaan utama dari kedua output display tersebut adalah tingkat kerumitan rangkaiannya dimana rangkaian untuk LCD Display lebih mudah dibandingkan dengan 7-Segment Display. Selain itu, jika dilihat dari segi kodingannya. LCD Display juga jauh lebih sederhana dibandingkan dengan 7-Segment Display yang harus diatur satu per satu lampu yang terdapat dalam 7-Segment tersebut hingga membentuk angka yang diinginkan. Dari hasil percobaan juga terdapat perbedaan suhu sekitar 1.2 derajat celcius dengan hasil pengukuran suhu termometer biasa.
Oke sekian dulu postingan saya kali ini, walaupun awalnya agak memusingkan, namun setelah dikerjakan (apalagi dengan adanya bantuan teman-teman saya), percobaan kali ini menjadi sangat menarik dan memberikan gambaran bagi saya terutama dalam membuat rangkaian yang menggunakan LCD dan 7-Segment Display. Akhir kata, saya ingin mengucapkan terima kasih buat dosen saya yang telah memberi tugas, dan terima kasih juga buat teman-teman saya yang telah bersedia untuk membantu saya selama percobaan kali ini!
Tumblr media
0 notes
dannypranoto · 11 years ago
Text
What is happening to Indonesia nowadays?
A few days ago, I had watched one of the Indonesian TV Show called 'Mata Najwa' on youtube. Maybe some of you also have ever watched that TV show. It is broadcasted on the Metro TV Channel each Wednesday on 8 p.m. - 9.30 p.m. Until now, among all Indonesian TV Show that I've watched, this TV Show is the best and most worthy to see. Why? Because all topics that come out from this show are really interesting and informative -- which tells you lots about what's really happened to Indonesia especially with the people.
Well then, first let me explain about the presenter, Najwa Shihab. She is a very talented woman who used to have career as a senior journalist. She got nominated in many awards event such as Asian Television Awards in 2007 and 2011, Panasonic Awards in 2006,2007, and 2010 for the category of "Best Presenter". Besides that, she also got full scholarship for Australian Leadership Awards. Najwa Shihab herself also had interviewed lots of important people such as BJ Habibie (former President), Jusuf Kalla (former Vice President), Dahlan Iskan (SOE Minister), Joko Widodo (Jakarta's Governor), and many more! These all make no doubt for her that she is real talented and experienced woman in her career as a presenter. 
So, what's really interesting about the topics that she always has at her TV Show? Okay, let us see one of her episode (Penjara Istimewa - UNCENSORED)
This video is all about an investigation in one of Indonesian prison called 'Lembaga Pemasyarakatan Sukamiskin' at Bandung which is mainly occupied by criminals who are guilty of making corruption in Indonesia. From the investigation, Najwa Shihab together with Denny Indrayana (Vice Minister of Law and Human Rights) and her crews visits some cells in the prison.
During their visits at one of the criminals's cell, Adrian Waworuntu who's guilty of making corruption at BNI Bank and was punished for his whole life in prison, they found that there's still many deviation related to the facility that they should only have. In his cell, they seized an ipod, ipad, and DVD player. On the other cell, which is the former Governor of Bengkulu Province, Agusrin Najamuddin,  occupies the largest cell in the prison. His cell is more likely as an exclusive room rather than criminal's cell, fully equipped with fan, carpet, portable stove, rice cooker, and even juicer!
So, this is what has happened to the justice in Indonesia! Criminals who did corruption don't really get punished as they should be. They still got their nice facility and even they could go in and out from the prison as they wanted to! 
Many people say that criminals who did corruption should be sentence to death. But I think that this kind of punishment just isn't fair to what they have done. Just think about it, how come you could get lots of money, but you didn't work at all? Whereas people who work hard, they only get so little of money. Is that fair enough? I believe this thing just like karma - you do good things, then good things will come to you, and vice versa. So in my opinion, criminals who did corruption must be given full poverty- punishment -- all of their wealth should be donated to the poor people and let them live by themselves with no money at all -- so that they can feel how their money being taken away by other people, just like what they did to the people of Indonesia!
So, what do you think about it?
0 notes
dannypranoto · 11 years ago
Text
Belajar Interaksi Manusia Komputer bersama Arduino - part 3
Halo semuanya! Nah, kali ini saya akan menjelaskan cara mengukur suhu dengan menggunakan sensor suhu LM35!
Percobaan IV - Mengukur Temperatur Suhu
Pada percobaan keempat kali ini, alat yang saya gunakan berupa :
1 buah sensor suhu LM35
1 buah Arduino UNO beserta kabel konektor USB
3 buah kabel (1 merah dihubungkan ke ground, 1 biru dihubungkan ke input analog 0 dan 1 hitam ke power 5V)
1 buah laptop/desktop
Langkah selanjutnya tinggal membuat rangkaiannya :
Tumblr media
Kemudian ketik source code pada Arduino IDE untuk dijalankan :
/* lm35 sketch prints the temperature to the Serial Monitor */ const int inPin = 0; // analog pin void setup() { Serial.begin(9600); } void loop() { int value = analogRead(inPin); 202 | Chapter 6: Getting Input from Sensors Serial.print(value); Serial.print(" > "); float millivolts = (value / 1024.0) * 5000; float celsius = millivolts / 10; // sensor output is 10mV per degree Celsius Serial.print(celsius); Serial.print(" degrees Celsius, "); Serial.print( (celsius * 9)/ 5 + 32 ); // converts to fahrenheit Serial.println(" degrees Fahrenheit"); delay(1000); // wait for one second }
Hasil dari percobaan tersebut adalah ukuran suhu yang dideteksi oleh sensor suhu LM35 tersebut yaitu sebesar 25,39 derajat Celcius / 77,70 derajat Fahrenheit. 
Tumblr media
Dari hasil percobaan kami mengetes dengan menggunakan bahan yang panas dan dingin untuk melihat perubahan suhu yang terjadi. Dan hasilnya suhu naik dan turun sekitar 2 derajat celcius. Oke sekian untuk percobaan kali ini, sampai ketemu di percobaan berikutnya!
0 notes
dannypranoto · 11 years ago
Text
First Internship Application - Accenture Indonesia
Yeah, finally finished my CV and cover letter for internship application! Huff, it takes a lot more time than I think at the first time, really...
Tumblr media
I am now in the 6th semester of my study at ITB. And by that, it means I've been studying here for almost 3 years! Almost sounds quite surprising for myself, realizing that I don't have much time left at the university T_T -- just hoping and willing that I will be graduating just in time.
Since it's almost near to where other students should apply for their internship in June later, therefore, I must search for my own internship as soon as possible. That's why, I'm applying my internship at the Accenture Indonesia.
Tumblr media
Well, so why Accenture? Or maybe let's first talk about what Accenture is. Accenture is a global management consulting, technology services and outsourcing company, with approximately 281,000 people serving clients in more than 120 countries. Yes, it's one of the large and popular international consulting company besides Mckinsey & Company. Since it's a consulting company, which in case has a lot related to my course, so I'm applying there for intern. Actually it sounds really impossible for me to be approved there since one of it's qualification for the internship is must have a minimum GPA of 3.5 -- And I'm under that of course! Way to go man! Actually it's proper thing having a 3.5 as the qualification since that Accenture is a big company which handles lots of other big company projects.But that doesn't concern me a lot for making application to there since I have other personality that meets the qualification such as good communication (written and oral), desire to work in Information System, ability to work creatively and analytically in probem solving environment. And all of that personality were gained by joining organizations at my university -- which are HMIF and KMB. And I really thankful for them, giving me a chance to be able to learn softskill instead of hardskill that I gained during the classes. 
At last, I really hope for the reply from the Accenture soon -- a positive reply of course, haha!
1 note · View note
dannypranoto · 11 years ago
Text
Belajar Interaksi Manusia Komputer bersama Arduino - part 2
Halo semuanya!
Kembali lagi nih, belajar IMKA bareng Arduino! Setelah sebelumnya berhasil membuat lampu LED sakelar, kali ini bakal ada 2 percobaan baru lagi nih yang pastinya gampang dan seru! Udah ga sabar pengen tau percobaannya? Langsung aja yuk!
Percobaan II - Membuat lampu LED nyala dari intensitas rendah ke tinggi dan kemudian mati kembali secara terus menerus
Pada percobaan kedua kali ini, alat yang saya gunakan berupa :
1 buah lampu LED berwarna merah
1 buah bread board
1 buah Arduino UNO beserta kabel konektor USB
2 buah kabel (1 merah untuk dihubungkan ke ground dan 1 biru untuk dihubungkan ke input)
1 buah resistor 10k Ohm 
1 buah laptop/desktop
Selanjutnya rangkailah seperti pada gambar berikut :
Wah, gambarnya kok bagus? Iya donk, kan pake Fritzing... :D Software tersebut bisa didownload secara GRATIS di www.fritzing.org
Tumblr media
Oke lanjut yah..
Kemudian, ketikkan source code pada Arduino IDE untuk dijalankan :
const int LED = 9; //inisialisasi no.pin untuk LED int i = 0; //digunakan untuk menghitung pengulangan nyala mati lampu
void setup(){ pinMode(LED,OUTPUT); //LED sebagai output }
void loop(){ for (i = 0; i < 255; i++){ //looping untuk lampu nyala analogWrite(LED, i); //setting intensitas cahaya LED delay(10); //delay untuk melihat perubahan pada LED } for (i = 255; i > 0; i--){ //looping untuk lampu mati analogWrite(LED, i); delay(10); } }
Hasil dari percobaan tersebut adalah sebuah LED yang mulai menyala dari intensitas rendah sampai tinggi dan kemudian mati kembali secara terus menerus. Kondisi lampu tersebut sama persis seperti lampu LED yang ada pada HP i-Phone yang sedang dalam keadaan sleep. Berikut videonya :
Percobaan III - Membuat lampu LED nyala-mati seperti pada percobaan sebelumnya ketika tombol push ditekan dan berhenti ketika tombol push dilepaskan
Pada percobaan ketiga, alat yang digunakan masih sama seperti pada percobaan sebelumnya, hanya saja ada tambahan alat berupa :
1 buah push button
1 buah resistor 10k Ohm
3 buah kabel (hitam untuk power, biru untuk input, dan merah untuk ground)
Selanjutnya rangkailah seperti pada gambar berikut :
Tumblr media
Berikut source codenya :
const int LED = 9; // no.pin untuk LED const int BUTTON = 7; // no.pin untuk push button int val = 0; // penanda state dari input pin int old_val = 0; // menyimpan state sebelumnya dari val int state = 0; // 0 = LED off ketika 1 = LED on int brightness = 128; // mengatur intensitas cahaya unsigned long startTime = 0; // waktu penghitung ketika tombol mulai ditekan void setup() { pinMode(LED, OUTPUT); // LED sebagai output pinMode(BUTTON, INPUT); // dan button sebagai input } void loop() { val = digitalRead(BUTTON); // membaca inputan dan menyimpannya ke dalam variabel button // mengecek apakah terdapat perubahan if ((val == HIGH) && (old_val == LOW)) { state = 1 - state; // mengubah state dari on ke off // ataupun sebaliknya startTime = millis(); // millis() merupakan clock dari Arduino // fungsinya untuk mengembalikan lama waktu // yang telah lewat dimulai ketika board // pertama kali direset. delay(10); } // check whether the button is being held down if ((val == HIGH) && (old_val == HIGH)) { // If the button is held for more than 500ms. if (state == 1 && (millis() - startTime) > 500) { brightness++; // increment brightness by 1 delay(10); // delay to avoid brightness going // up too fast if (brightness > 255) { // 255 is the max brightness brightness = 0; // if we go over 255 // let’s go back to 0 } } } old_val = val; // val is now old, let’s store it if (state == 1) { analogWrite(LED, brightness); // turn LED ON at the // current brightness level } else { analogWrite(LED, 0); // turn LED OFF } }
Hasilnya berupa 2 keadaan seperti berikut :
Jika lampu ditekan dalam waktu lebih dari 500ms, maka Lampu LED akan nyala-mati seperti pada percobaan kedua
Jika lampu ditekan dalam waktu kurang dari 500ms, dalam hal ini lampu langsung dilepas, maka rangkaian tersebut akan mengubah state lampu yang dari keadaan nyala menjadi mati atau sebaliknya.
Berikut videonya :
0 notes
dannypranoto · 11 years ago
Text
My Resolutions in 2014
Do you ever think of some resolutions that you ought to do within a year? If not, why not start thinking about it? 
Tumblr media
So, actually what is resolution? Resolution, which is referred to New Year's resolution, is a tradition most common in Western Hemisphere, but also found in Eastern Hemisphere, in which a person makes promises to do an act of self-improvement or something slightly nice, such as opening doors for people in the beginning New Year's Day. In other words, it's a set of goals to achieve within the year!
Then, why should i think about it? My answer is because i want to be success in my life! Just think about it, how come you could be success if you have nothing to be succeeded in your life?
Okay, here's my resolution in 2014!
Sleep by 10 p.m. and wake up 5.30 in the morning (if there's no homework to do) and after that meditate for at least 15 minutes
Go to the temple on every Sunday
Go swimming on every Saturday
Finished learning the mandarin book (target 2 books)
Write a blog at least once a week (means 52 posts this year)
Apply internship in a multinational company
Reach at least 70 kg
Finished reading at least 2 books
Get a 3.5 GPA
Reach a revenue of 4 million rupiah
Watch movies only on Saturday and Sunday
Design and create my own website
Workout (Doing push up) three days in a week and reach 200 times push up within two months
Participate in at least one competition
To evaluate whether i've succeeded my resolutions, i came to a solution that i will have a crossed check every time i wake up in the morning and before sleep.
That's all about my resolutions, so what's yours?
1 note · View note
dannypranoto · 11 years ago
Text
Hello World 喂世界!
这是我第一次写得博客在中文。想得这写作当不太好的,但是写一点儿当也不错。你说呢?
那我今天其实打算要去玩网球和游泳,但是呢我迟到的早上醒来。这真是很难堪地事情。我就想了一个办法怎么样的不再迟到的早上醒来。这时,我读了我朋友写得博客。他说第一次做的事一定最难做的。如果你再试一试把事来做, 那就会一定便更容易地。那你早上醒来的时候,一定最难的是想要醒来。那如果你愣说醒来,即使你还是想得很瞌睡,一定会更容易得醒来。
那你该做办法的就是想 “如果我醒来,我一定就该醒来,不可以再睡了”。那这样你就不能再迟到了醒来。
这像我在写第一次的中文博客,真是很难的,用了很多时间 -- 几乎一点钟,但是如果我现在不在写,那我要什么时候来在写呢?
好的,那就是我今天要写得中文博客!希望你读好了我的博客也想要在试一试写在中文吧!
0 notes
dannypranoto · 11 years ago
Text
Getting Started with the Blog
Hello bloggers!
Yeah finally I got a new blogs to write! Why in english? Because I'm not good nor bad at it and some people say try something different, so why not? Actually I'm not really fond of writing things expecially about my personal life, but maybe it's better to start writing some, perhaps as my new hobby or maybe as a documentary of my life's history! Isn't that cool? :D
Okay then, first, let me introduce myself since i don't know who you are --eh?. My name is Danny Pranoto --but the blog's title says Danny Wong, why?. Yeah, actually Wong is my surname, but my parents just gave me Danny Pranoto, so i intend to make Danny Wong as my nicknames so that everyone would know my surname, so what? Haha..
I was born in Medan, the capital city of South Sumatera. Some people call it as Indonesian's China Town because lots of chinese people live there -- not mentioning discrimination -- but it's true and they speak chinese even they're not chinese people! I have one dad and one mom (you don't say) and a younger sister who's in the second of her senior high school at Sutomo 1. Meanwhile, I'm now studying in the 6th semester at Institute Technology Bandung. I'm taking the System and Information Technology course (mainly called as STI). Perhaps some of you didn't know what course it is, so let me explain it to you. STI is one of the course program in STEI ITB(School of Electrical and Informatics Engineering). It studies about both System Information and Information Technology courses. In other words, it's a double major course -- cool isn't it?  
Okay then, that's all for my introduction! Sorry for the not good nor bad english considering i'm still a newbie writer... Thanks for reading!
0 notes
dannypranoto · 11 years ago
Text
Belajar Interaksi Manusia Komputer bersama Arduino
Halo para bloggers! Berhubung ada tugas dari salah satu mata kuliah yang saya ambil pada semester VI ini (Interaksi Manusia Komputer & Antarmuka), saya ingin berbagi sedikit nih tentang bagaimana cara memrogram sebuah perangkat mikro-kontroler yang disebut sebagai ‘Arduino’.
Oke pertama mari saya jelaskan terlebih dahulu,
 Apa itu Arduino?
Arduino merupakan sebuah perangkat mikro-kontroler yang dirancang bagi para artis, desainer, atau siapapun yang tertarik untuk menciptakan sebuah alat yang dapat berfungsi sebagai sensor untuk mengenali keadaan di lingkungan sekitarnya. Sama halnya dengan mikro-kontroler pada umumnya, Arduino ini juga terdiri dari processor, memori, serta perlengkapan input dan output. Arduino ini dibuat oleh sebuah perusahaan elektronik yang berada di Itali. Arduino ini bersifat ‘open-source prototyping platform’ yang artinya panduan atau contoh-contoh source code dapat diunduh secara gratis sehingga sangat mudah untuk dipelajari bagi orang awam sekalipun. 
Arduino sendiri juga memiliki banyak tipe perangkatnya, mulai dari yang paling sederhana seperti Arduino Uno sampai yang paling lengkap seperti Arduino Robot. Hanya saja, pada mata kuliah yang saya ambil, arduino yang akan dibahas hanya terbatas pada penggunaan Arduino Uno saja.
Percobaan I - Membuat sakelar lampu LED dengan menggunakan Arduino Uno
Pada percobaan kali ini, saya akan membuat sebuah rangkaian dimana lampu LED akan menyala jika push button ditekan dan mati jika push button ditekan sekali lagi seperti halnya lampu sakelar.
Untuk percobaan kali ini, alat dan bahan yang digunakan adalah :
1 buah lampu LED berwarna merah
1 buah resistor 10k Ohm
1 buah push button
1 buah breadboard
1 buah Arduino Uno beserta kabel konektor usb
1 buah laptop/desktop PC
1 buah kabel merah sebagai konektor ke input
1 buah kabel biru sebagai konektor ke sumber tegangan 5V
Untuk langkah instalasi awal dalam menggunakan arduino dapat dilihat pada http://arduino.cc/en/Guide/HomePage
Jika sudah, maka langkah selanjutnya yang harus dilakukan adalah mengetikkan source code program pada Arduino IDE-nya. Adapun source codenya sebagai berikut :
// inisialisasi variabel const int buttonPin = 5; // nomor pin dimana pushbutton dihubungkan const int ledPin = 13; // nomor pin dimana LED dihubungkan
// Variables will change: int buttonPushCounter = 0; // counter untuk menghitung jumlah penekanan tombol int buttonState = 0; // state push button saat ini int lastButtonState = 0; // state push button yang sebelumnya
void setup() { // inisialisasi buttonPin sebagai input pinMode(buttonPin, INPUT); // inisialisasi ledPin sebagai output pinMode(ledPin, OUTPUT); // inisialisasi serial communication: Serial.begin(9600); }
void loop() { // membaca inputan dari pushButton buttonState = digitalRead(buttonPin);
// membandingkan button state saat ini dengan yang sebelumnya if (buttonState != lastButtonState) { // jika statenya berubah, maka counter+1 if (buttonState == HIGH) { //jika state saat ini high, maka lampu menyala buttonPushCounter++; Serial.println("on"); Serial.print("number of button pushes: "); Serial.println(buttonPushCounter); } else { //jika state saat ini low, maka lampu padam Serial.println("off"); } } //state sekarang disimpan sebagai state sebelumnya lastButtonState = buttonState;
//menghitung counternya, apabila genap maka lampu nyala, apabila ganjil maka lampu padam, dengan asumsi state awal dimulai dari counter 1 dan dalam keadaan padam if (buttonPushCounter % 2 == 0) { digitalWrite(ledPin, HIGH); } else { digitalWrite(ledPin, LOW); } }
Nah, setelah selesai mengetikkan semua source code tersebut, langkah selanjutnya adalah membuat rangkaiannya pada breadboard. Kurang lebih rangkaiannya dapat dilihat pada video berikut :
Yeah! Percobaan pertama berhasil!! Mudah bukan? Jawabannya sih harus mudah kata dosen saya, haha... Oke, sekian dulu postingan saya kali ini, semoga bermanfaat :)
Danny Pranoto
18211017
0 notes