Thursday, March 14, 2019

Week 6: GSM 900 Module

Gsm is an open and digital cellular technology used for transmitting mobile voice and data services operates at the 850Mhz, 900MHz, 1800MHz and 1900MHz frequency bands. There is two gsm module that available here which is GSM300 and GSM900. I using GSM900 module because its a quad band modem and offers improved GPRS functionalities which is useful in web enabled applications.

Below is my full circuit connection

1)     Arduino                  4x4 keypad                         2)          Arduino               I2C LCD
            A0                          1st pin                                               A5                      SCL                            
            A1                          2nd pin                                             A4                      SDA
            A2                          3rd pin                                             GND                   GND
            A3                          4th pin                                              5V                       5V
            D2                          5th pin
            D1                          6th pin
            D0                          7th pin


3)  RC522 Module          Arduino                 4 )      Arduino         GSM900          LED's           Buzzer
           SDA                        D10                                   D3                  D7
           SCK                        D13                                   D4                  D8
           MOSI                      D11                                   5V                                      LED1
           MISO                      D12                                   D8
             PQ                Not connected                          D7                                      LED2
           GND                     GND                                    D6                                      LED3
           RST                        D9                                      D5                                                          Positive
           3.3V                       3.3V                                  GND              GND                                 Negative

Saturday, March 9, 2019

Week 5: MFRC522

MFRC522

RFID (Radio-Frequency Identification) is commonly used in security systems such as door locks. Here, I use the MFRC522 chip that come with a RFID card. The MFRC522 RFID communicates with cards or tags up to 1cm using a 13.56MHz electromagnetic field, then sends the data to Arduino board through SPI communication.

Below is the connection between Arduino and MFRC522 RFID Reader.

RC522 Module       Arduino Uno
       SDA                       D10
       SCK                       D13
      MOSI                      D11
      MISO                      D12
        PQ                Not connected
       GND                     GND
       RST                        D9
       3.3V                       3.3V

Friday, March 8, 2019

Week 4: Meeting with Supervisor/Test Simulation

On 5 March 2018, I have meet my Supervisor to talk about the first attempt for my working project. The coding burn inside the arduino consists the keypad interact with the arduino and I2C when a correct password entered the system.

Here's a few line coding on my first attempt
#include <LiquidCrystal_I2C.h>
#include <Keypad.h>
LiquidCrystal_I2C lcd(0x27, 16, 2);
constexpr uint8_t greenLed = 7;
constexpr uint8_t redLed = 6;
char initial_password[4] = {'1', '2', '3', '4'};
char key_pressed = 0; 

const byte rows = 4;
const byte columns = 4;

char hexaKeys[rows][columns] = {
  {'1', '2', '3', 'A'},
  {'4', '5', '6', 'B'},
  {'7', '8', '9', 'C'},
  {'*', '0', '#', 'D'}
};

// Initializing pins for keypad
byte row_pins[rows] = {A0, A1, A2, A3};
byte column_pins[columns] = {2, 1, 0};

// Create instance for keypad
Keypad keypad_key = Keypad( makeKeymap(hexaKeys), row_pins, column_pins, rows, columns);

void setup() {
  // Arduino Pin configuration
  pinMode(buzzerPin, OUTPUT);
  pinMode(redLed, OUTPUT);
  pinMode(greenLed, OUTPUT);

lcd.begin();   // LCD screen
lcd.backlight();
SPI.begin(); 




Next, I need to do research about the MFRC522 and GSM900 module to complete my project.

Week 18: The Submission

In this final week of the semester, I have done the report hardcover, all the document that needed to submitting online and ready to submit....