Thursday, 31 March 2016

[HCII] yet another final project update

No, i won't give any April fool joke.

April Fool.

That's the joke.

OK, Back to the money game.

Once again, the project is not done yet. This time, we tried to get the arduino to send an email to a specified email address in the source code. The contain of the email is also specified. Sadly, it is no walk in a park.

The thing that we had to get over with is the firmware version of the ESP. Some source code we found on the internet will only work with a specified version of the firmware. So,we spend entire yesterday to upgrade the firmware. Too bad, updating the firmware itself is too much hassle and has its own difficulties, Like, i have to press down the reset button in the ESP while uploading the new firmware into it and I didn't see any button on it. And as far as i know, the ESP we bought didn't come with any manual. Then we tried to search the datasheet over the internet, sadly it doesn't adequately bring a help. So much hassle to find a button.

And so, here we are, empty handed again. We'll still working on this anyway. Stay tuned for the updates.

The link of the sources will be added. For you who want to know the source, please remind me to add it.

Thursday, 24 March 2016

[HCII] Final Project Update 25-03-16

Am not going to rant. This is what actually happened with our project so far.


The Basic Components of the Baby Monitor project as taken from Han's Blog

As you can see in the previous post, we are trying to make a baby monitor which would send a notification to user's device if something happened. By those simple definition, you can see there will be data transfer process in the project. Personally, I think that this process will be one of the hardest to be done, and I guess all of our team member feel the same. So we tried to cover this one first.

For this part, we decided to use our old ESP8266 as we should be familiar to use it already. So, the components and the circuit design should be the same as the ones in my previous ESP8266 post. Just a reminder that the circuit design is not final as we still haven't add a microphone and a camera to it.
Circuit Design

The only thing we find missing is how does an ESP8266 transfer a data to other device? And what device should it be? For those question, we found something named Blynk. Blynk is an application for smartphone (android and iOS) that is designed to connect a Raspberry Pi, Arduino, ESP8266 and many other hardware to a smartphone. To be honest, I am not really sure that this is what we are looking for since its documents doesn't say anything about image transfer, but i still think it would be worthy enough to try.

And so, the team members, except me, decided to try Blynk on Tuesday (it's 22 March if your calendar has been teared to pieces). Too bad I wasn't there to try it due to an appointment with a lecturer's assistant. And as I came back from the appointment to see the progress of those three doing, they still haven't find a way around to make it work. After that, we decided to end our try because of other assignment and other's hectic schedule. 

We could have get it covered by this week, sadly, we did not. For that i would like to offer my apology to you if you're not satisfied with our work on behalf of my team. Next time, we will come with better time management. And my apologise to every member of my team if i'm not being useful enough for this week. 

We will get this one covered. Stay tuned.

And tonight, we ride.

Thursday, 17 March 2016

[HCII] Final Project Idea: an-unnamed-yet Baby Monitor

I know, i don't really have time for a pointless rant, but let me rant please!

Cursed Management Project class is making me crazy. You know i didn't sign up for this, and they don't pay me enough to do this. Curse it.

I will not apologise this time, sorry but no sorry.

Down to the real business.

This time the class was told to make something based on arduino (or any other microcontroller board) for the final project. And yes, I have to post something to my not-so-beautiful blog about it. The point is, this post will be about our idea for our final project in Human Computer Interaction and Interface course.


Idea

The idea is actually not mine, it's Han's. I don't know where the <censored> she got her idea from, but it could definitely work. The idea is to make a baby monitor so that when the baby cries the system will send something like a notification or an alarm to the parent via network. A responsible parent would rush to their baby to check their condition if a notification has been sent to them (if you're not, curse you).

I really hope the babies will start singing some death metal song to annoy their parent (or maybe give their parents a heart attack).

There will be a camera that records the babies image and will send the babies picture to their parents when the parents feel like it to a device of their choices (actually, it's not defined yet which device the picture will be sent to). If the babies go out of the sight of the camera, then a notification will be sent to their parents so that the parent will see their babies sing a black metal song.

Hail Satan... or the Vikings.


Expected Components

  • Arduino Uno
  • a camera
  • buzzer
  • microphone
  • Wireless Network Module (High chance that the ESP8266 will be used)
  • Jumper Wires
  • Breadboard
  • LCD to simulate the notification

Circuit Design

TBA.


oh, and yeah, a bonus video for you. 



Thank you for reading.

Thursday, 3 March 2016

Second Project: Arduino Calculator, or a Calcu-later (at least according to Han)


I know, I had to make another post. Our team have just finished another project, and yet somehow we've finished it on time (again) given two (or maybe three) weeks time by our lecturer.


My honest apologise to you regarding the rant above. Let us proceed to the business.


This time, our lecturer made us to build a calculator based on Arduino. The calculator itself contains only by basic functions of calculator (not the scientific ones), so there will be only four functions and those are addition, subtraction, multiplication, and division.




Idea

The project is about an arduino calculator. It uses Arduino, 4x4 keypad, and LCD (Should be obvious what we are going to make with those components, but i will still explain it to you). The keypad will bring the input to the arduino from user's input and display it to the LCD, then the board will calculate the mathematical instruction and will also display the result to the LCD.


Components


  • Arduino Uno
Arduino Uno

  • Jumper Wires
Jumper Wires
  • 1 piece of Keypad 4x4
Keypad 4x4

  • 1 piece of LCD 16x2
LCD 16x2
  • 1 piece of Variable Resistor or Potentiometer
Variable Resistors


  • 1 piece of 220 Ohm Resistor

220 Ohm Resistor

Circuit Scheme



Source Code

The source code could be viewed here.
The Keypad Library could be downloaded here.
The LCD library comes with Arduino IDE.

Problems Faced

Dealing with a LCD is no joke. Simple wiring mistake could cost you a time of life. From our experiences, we have succeeded in assembling the circuit, but when we run it with the source code, the LCD won't display anything beside some weird boxes. We try to sort out the keypad first, turns out that the keypad was not the problem. Then we try to sort out the LCD, and yes, reading a LCD datasheet is one troublesome activity, but somewhat we went through it by not caring much of the details. At first, we thought that the pin assignment was the problem, turns out it was not. After all the hassle, we found that the way that the wires doing their job is the problem. We used an un-soldered LCD at that time, so we decided to use the one which is soldered with a male header (we borrowed it from a friend). Finally, the trick solves the problem.

Another problem we had dealt with is the key assigning of the keypad. The '1' key was replaced by '7', '2' was replaced by '8', and '3' was replaced by '9'. The solution is to alter the source code a little, and now the keypad works like charm.

Photos and Videos




The LCD is displaying the user's input and the mathematical result.



References


Special Thanks

Vathsav Harikishnan for his tutorial.
Aldo Aditiya Nugroho for lending us his soldered LCD.

First try: ESP8266 Wireless Network Module

Yeah, I'm back. Surprised yet?

It has been several weeks since the last time I posted about our first project in Human-Computer Interaction Interface course. I'm still waiting for the release of the PC version of the newest installment on Need For Speed, and I found a new joy in playing Project Cars, and yes, Rio Haryanto is now officially a Formula One driver (am still waiting for my time though :v). Just how fast the time could pass by? :v

Ah, my apologize, enough of the pointless rant. Let us carry on to the real business, shall we?

This time, I don't know if it could still be called as a project, but our lecturer made us try the Wireless Network Module named ESP8266. The Module itself costs us Rp75.000,- (about $5.5 with current exchange rate). The ESP8266 WiFi Module itself is a self contained SOC with integrated TCP/IP protocol stack that can give any microcontroller access to your WiFi network. So, it's basically like the network card that a microcontroller could use (I hope I don't give you a false analogy).


Idea


Should be obvious enough. :v


Components


The Components used in this not-so-called-project are:

  • Arduino Uno

Arduino Uno

  • ESP8266 WiFi Module
Esp8266 Module

  • Breadboard
Breadboard

  • Male-Female Jumper Wires
Male-Female Jumper Wires

  • Male-Male Jumper Wires
Male-Male Jumper Wires

Circuit Scheme



Circuit Scheme

Source Code


No need for it. The Module has a built-in commands. The Module's quick start guide that is attached in the references section will guide you (Captain Obvious strikes back baby!) to test this module's capability.

Problems Faced


I don't really think that there is anything I could consider as a problem, except that one time when we need a Male-Female jumper wires to carry on this not-so-called-project. :v


Photos and Videos






References: