Docu
Docu
References
62
[2] J. Breckling, Ed., The Analysis of Directional Time Series: Applications to Wind
Speed and Direction, ser. Lecture Notes in Statistics. Berlin, Germany: Springer,
1989, vol. 61.
[3] M. Wegmuller, J. P. von der Weid, P. Oberson, and N. Gisin, “High resolution fiber
distributed measurements with coherent OFDR,” in Proc. ECOC’00, 2000, paper
11.3.4, p. 109.
[9] A. Karnik, “Performance of TCP congestion control with rate feedback: TCP/ABR
and rate adaptive TCP/IP,” M. Eng. thesis, Indian Institute of Science, Bangalore,
India, Jan. 1999.
[10] R. Ford and C. Coulston, Design for Electrical and Computer Engineers,
International ed. New York: McGraw-Hill, 2008, ch. 4, sec. 1.1, pp. 4-14.
63
Appendix A.
Executive Summary
(IEEE Format)
64
Abstract— This document gives formatting instructions for The general objective of this study is to develop a Wireless
authors preparing papers for publication in the Proceedings of an Game Controller using Bluetooth Technology.
IEEE conference. The authors must follow the instructions given
in the document for the papers to be published. You can use this In line with this, the study aims to achieve the following
document as both an instruction set and as a template into which
specific objectives:
you can type your own text.
One of the popular genre of games people like to play are V. CONCLUSIONS
rhythm games. The common theme in these games is to Place conclusions here.
perform an action according to the rhythm beat and visual cues.
It challenges the eye-body coordination of the player in
response to music. Fighting games on the other hand, is also VI. RECOMMENDATIONS
pressing buttons to outwit the player’s movement. Place recommendations here.
In general, game controllers are devices that can be used in
accepting input to control the players’ video game. Keyboard, ACKNOWLEDGMENT
mouse or the PS/Xbox gamepad has been popular among Place acknowledgment here.
gamers. The game platform will often dictate how players
navigate the game. Controller design also influences player REFERENCES
video game play style. Most rhythm games are accompanied by [1] R. Ford and C. Coulston, Design for Electrical and Computer Engineers,
customized controllers that are specific to their game play to International ed. New York: McGraw-Hill, 2008, ch. 4, sec. 1.1, pp. 4-
suit their theme and novelty of their game. [3] For example, in 14
[2] Wireless LAN Medium Access Control (MAC) and Physical Layer (PHY)
rhythm games, Dance Dance Revolution (DDR) can be played Specification, IEEE Std. 802.11, 1997.
with a “dance pad” where players step on a specific part of the
pad to hit notes during the game. [4]
II. OBJECTIVES
61
Appendix B.
Design Project Poster
62
Appendix C.
Pictures of the Prototype
64
This is the actual prototype. It has 8 action buttons, 3 menu buttons and a joystick.
On the right side of the controller, there are 3 LED, the red indicates that the main
battery is 10% remaining, while the green indicates that the device is ON and the blue
indicates the status of the Bluetooth of the prototype.
65
Appendix D.
User Manual
66
2. On the computer, turn on the Bluetooth by clicking the Start menu and select
Setting as shown in Fig XX.
3. Click Devices
5. Add the Bluetooth device by clicking Add Bluetooth or other devices from Fig
XX, then choose Bluetooth
6. The Bluetooth name of the controller is MEIN. Click on the name MEIN to
pair it to your computer.
Fig XX: shows the directory of the paired devices of the computer
71
9. Right click on keyboard icon with the name MEIN and choose Game
Controller Setting
Fig XX: shows where how to find the game controller settings.
10. Then a new window will open .To show the button mappings, click Properties
Fig XX: Shows the installed game controller devices connected to the computer.
72
11. Another form will open and whenever a button is pressed the numbers will light
up
12. Open any games. Go to its settings and change the controls of the game.
Appendix E.
Hardware Component Specification
74
TABLE XX:
SPECIFICATIONS OF ARUINO DUE R3 ARM
Microcontroller AT91SAM3X8E
Operating Voltage 3.3V
Input Voltage (recommended) 7-12V
Input Voltage (limits) 6-16V
Digital I/O Pins 54 (of which 12 provide PWM output)
Analog Input Pins 12
Analog Outputs Pins: 2 (DAC)
DC Current for 3.3V Pin 800 mA
DC Current for 5V Pin 800 mA
512 KB all available for the user
Flash Memory
applications
SRAM 96 KB (two banks: 64KB and 32KB)
Clock Speed 84 MHz
Length 10152 mm
Width 53.3 mm
Weight 36 g
75
TABLE XX:
SPECIFICATIONS OF HC 05 BLUETOOTH MODULE
Built-in CSR company Bluetooth chip BC417143
Bluetooth® Technology v2.0 + EDR
TTL data transparent transfer between a host Bluetooth device
Compatible with all Bluetooth adapters that support SPP
Coverage up to 30 ft / 10 m
Built in antenna
Power input: +3.3VDC (bluetooth module)
Can set the module control parameters and control commands via AT commands
The maximum serial baud rate: 1382400 bps, support for hardware flow control
transfer
Provide seven input and output ports
Connection/non-connection status indicators
76
TABLE XX:
SPECIFICATIONS OF TP4056 LI-ION BATTERY CHARGER
Input Supply Volatage 5 VDC
Input Supply Current 150 uA
BAT Pin Current 500 mA
PCB Dimensions 22mm x 19.2mm
77
TABLE XX:
SPECIFICATIONS OF RELAY MODULE 10A 4 CHANNEL
Control Voltage 5 VDC
Max Control Capacity 10A at 250VAC or 10A at 30VDC
78
TABLE XX:
SPECIFICATIONS OF RELAY MODULE 10A 4 CHANNEL
3.3 5V output(switchable via Jumpers)
79
Appendix F.
Schematic Diagram and Layout
80
Appendix G.
Data Sheet
83
ARDUINO DUE
INTRODUCTION
The Arduino Due is the first Arduino board based on a 32-bit ARM core microcontroller. It is
suitable for large scale projects and it differ from other Arduino kits as it runs at 3.3V as the
maximum voltage.
• Core
o ARM Cortex-M3 revision 2.0 running at up to 84 MHz o Memory Protection Unit
(MPU) o 24-bit SysTick Counter o Nested Vector Interrupt Controller
• Memories
o 256 to 512 Kbytes embedded Flash, 128-bit wide access, memory accelerator,
dual bank o 32 to 100 Kbytes embedded SRAM with dual banks
o 16 Kbytes ROM with embedded bootloader routines (UART, USB) and IAP routines
o Static Memory Controller (SMC): SRAM, NOR, NAND support. NFC with 4 Kbyte
RAM buffer and ECC
• System
o Embedded voltage regulator for single supply operation
o Power-on-Reset (POR), Brown-out Detector (BOD) and Watchdog for safe reset o
Quartz or ceramic resonator oscillators: 3 to 20 MHz main and optional low power
32.768 kHz for RTC or device clock
o High precision 8/12 MHz factory trimmed internal RC oscillator with 4 MHz
default frequency for fast device
• startup o Slow Clock Internal RC oscillator as permanent clock for device clock in low-
power mode o One PLL for device clock and one dedicated PLL for USB 2.0 High Speed
Mini Host/Device o Temperature Sensor
o Up to 17 peripheral DMA (PDC) channels and 6-channel central DMA plus
dedicated DMA for High-Speed USB
o Mini Host/Device and Ethernet MAC
• Low-power Modes o Sleep, Wait and Backup modes, down to 2.5 µA in Backup mode
with RTC, RTT, and GPBR
Microcontroller AT91SAM3X8E
Length 101.52 mm
Width 53.3 mm
Weight 36 g
86
HC-05
-Bluetooth to Serial Port Module
Overview
HC-05 module is an easy to use Bluetooth SPP (Serial Port Protocol) module, designed for
transparent wireless serial connection setup.
Serial port Bluetooth module is fully qualified Bluetooth V2.0+EDR (Enhanced Data Rate)
3Mbps Modulation with complete 2.4GHz radio transceiver and baseband. It uses CSR
Bluecore 04-External single chip Bluetooth system with CMOS technology and with
AFH(Adaptive Frequency Hopping Feature). It has the footprint as small as 12.7mmx27mm.
Hope it will simplify your overall design/development cycle.
87
Specifications
Hardware features
Software features
Default Baud rate: 38400, Data bits:8, Stop bit:1,Parity:No parity, Data control: has.
Supported baud rate: 9600,19200,38400,57600,115200,230400,460800.
Given a rising pulse in PIO0, device will be disconnected.
Status instruction port PIO1: low-disconnected, high-connected;
PIO10 and PIO11 can be connected to red and blue led separately. When master and
slave are paired, red and blue led blinks 1time/2s in interval, while disconnected only
blue led blinks 2times/s.
Auto-connect to the last device on power as default.
Permit pairing device to connect as default.
Auto-pairing PINCODE:”0000” as default
Auto-reconnect in 30 min when disconnected as a result of beyond the range of
connection.
88
Hardware
89
90
AT command Default:
OK
Example:
AT+VERSION?\r\n
+VERSION:2.0-20100601
OK
4. Restore default
AT+ADDR?\r\n
92
+ADDR:1234:56:abcdef
OK
OK
AT+NAME=ITeadStudio\r\n
OK
AT+NAME?\r\n
+NAME: ITeadStudio
OK
2. FAIL
Example: (Device address 00:02:72:od:22:24,name:ITead)
93
AT+RNAME? 0002,72,od2224\r\n
+RNAME:ITead
OK
2-Slave-Loop
OK
Example:
AT+IAC=9e8b3f\r\n
94
OK
AT+IAC?\r\n
+IAC: 9e8b3f
OK
Timeout (1-48 :
1.28s to
61.44s)
Example:
AT+INQM=1,9,48\r\n
OK
AT+INQM\r\n
95
+INQM:1, 9, 48
OK
OK
Example:
AT+UART=115200,1,2,\r\n
OK
AT+UART?
+UART:115200,1,2
OK
96
AT+BIND=1234,56,abcdef\r\n
OK
AT+BIND?\r\n
+BIND:1234:56:abcdef
OK
Param2:
0- low
1- high
Example:
AT+PI0=10,1\r\n
OK
Param3:Paging
interval
Param4:Call
duration
Example:
AT+IPSCAN =1234,500,1200,250\r\n
OK
AT+IPSCAN?
+IPSCAN:1234,500,1200,250
OK cure
2——
sec_mode2_service
3——sec_mode3_link
4——
sec_mode_unknow
n
Param2:
0——hci_enc_mode_off
1——
hci_enc_mode_pt_t
o_pt
2——
hci_enc_mode_pt_t
o_pt_and_bcast
Address
Example:
AT+PMSAD =1234,56,abcdef\r\n
OK
AT+ RMAAD OK
24 . Get Authenticated
Device C ount
Command Respond Parameter
AT+ADCN? +ADCN:<Param> Param: Device Count
OK
Address
“READY”
“PAIRABLE”
“PAIRED”
“INQUIRING”
“CONNECTING”
“CONNECTED”
“DISCONNECTED”
“NUKNOW”
AT+INIT\r\n
102
OK
AT+IAC=9e8b33\r\n
OK
AT+CLASS=0\r\n
AT+INQM=1,9,48\r\n
At+INQ\r\n
+INQ:2:72:D2224,3E0104,FFBC
+INQ:1234:56:0,1F1F,FFC1
+INQ:1234:56:0,1F1F,FFC0
+INQ:1234:56:0,1F1F,FFC1
+INQ:2:72:D2224,3F0104,FFAD
+INQ:1234:56:0,1F1F,FFBE
+INQ:1234:56:0,1F1F,FFC2
+INQ:1234:56:0,1F1F,FFBE
+INQ:2:72:D2224,3F0104,FFBC
OK
AT+PAIR=<Param1>,<Param2> 1. OK Param1:Device
2. FAIL Address
Param2:Time out
AT+FSAD=1234,56,abcdef\r\n
OK
AT+LINK=1234,56,abcdef\r\n
OK
31. Disconnect
2. +DISC:LINK_LOSS
OK
3. +DISC:NO_SLC
OK
4. +DISC:TIMEOUT
OK
5. +DISC:ERROR
104
OK
Revision History
Rev. Description Release date
v1.0 Initial version 7/18/2010
105
106
107
108
109
110
111
Appendix H.
Cost of Hardware Fabrication
112
Appendix I.
Software Component Specification
114
Appendix J.
Source Code
116
ARDUINO CODES
#include <Joystick.h>
B00000000,B00000000,B00000000,B00
#define BTModule Serial1 000000};
byte joyCurrent[8]=
//baudwidth for RN-42 {B00000000,B00000000,B00000000,B0
int bauds = 115200; 0000000,
BTModule.write((byte)0x00);//X
void clearAllCurrent(){ BTModule.write((byte)0x00);//Y
state2=B00000000;state1=B00000000; BTModule.write((byte)0x00);//Rotx
for (int index = 0; index < 11;
index++) { BTModule.write((byte)0x00);//ROTy
BTModule.write(btn); //button
binaryCurrent[index]=B00000000; BTModule.write(btn2);//joystick
joyCurrent[index]=B00000000; }
}
} byte convertion(int btnNum){
byte val;
byte combineStick(){ switch(btnNum){
byte val = B00000000; //button
for (int index = 0; index < 8; case 2: val = B00000001; break;
index++) { case 3: val = (byte)0x02; break;
val = val+joyCurrent[index]; case 4: val = (byte)0x04; break;
} case 5: val = (byte)0x08; break;
return val; case 6: val = (byte)0x10; break;
} case 7: val = (byte)0x20; break;
case 8: val = (byte)0x40; break;
byte combineButton(){ case 9: val = (byte)0x80; break;
byte val = B00000000; //joystick
for (int index = 0; index < 8; case 10: val = (byte)0x01; break;
index++) { case 11: val = (byte)0x02; break;
val = val+binaryCurrent[index]; case 12: val = (byte)0x04; break;
} case 13: val = (byte)0x08; break;
return val; case 14: val = (byte)0x10; break;
} case 15: val = (byte)0x20; break;
case 16: val = (byte)0x40; break;
void sendReportIn(byte btn,byte case 17: val = (byte)0x80; break;
btn2){ default : val = (byte)0x00; break;
}
BTModule.write((byte)0xFD);//send return val;
HID REPORT }
BTModule.write((byte)0x6);//
62
63
Appendix K.
Multiple Constraints Analysis
64
Appendix L.
Evidence of Proofreading
66
Researchers’ Profile
68
BRYAN C. GUTIERREZ
Contact Details
Mobile Number: 09328883096
Email: bry082497@gmail.com
Home Address: 2294 Linceo St. Pandacan, Manila
Home Phone Number: N/A
Provincial Address: N/A
Provincial Phone Number: N/A
Personal Information
Date of Birth: August 24, 1997
Place of Birth: Manila
Citizenship: Filipino
Gender: Male
Civil Status: Single
Education
College | 2014-Present | Address: Adamson University 900 an Marcelino Street, Ermita,
1000 Manila
High School | 2010-2014 | Adamson University 900 San Marcelino Street, Ermita, 1000
Manila
Elementary |2004-2006| 2142 Jesus St. Pandacan, Manila
|2006-2010| 900 San Marcelino St. Pandacan, Manila
Place 1.5”x1.5”
ID picture here
Contact Details
Mobile Number: 09339432322
Email: joshr.ramos77@yahoo.com
Home Address: 2518 Oro B. st. San Andress Bukid, Manila
Home Phone Number: N/A
Provincial Address: Maharlika Street, Sisa, Wawa, Nasugbu, Batangas
Provincial Phone Number: N/A
Personal Information
Date of Birth: July 3
Place of Birth: Manila
Citizenship: Filipino
Gender: Male
Civil Status: Single
Education
College | Year | Address: Adamson University | 2019 | 900 | San Marcelino Street, Ermita,
1000 Manila
High School | Year | Address: Adamson University | 2015 | 900 San Marcelino Street,
Ermita, 1000 Manila
Elementary | Year | Address: Holy Family Parochial School | 2009 | Sagrada Familia, San
Andres Bukid, Maynila
Title | Date | Venue: Security and Ethical Hacking | November 24, 2017 | 8th Floor, Citynet
Central, Sultan St. Brgy. Highway Hills, Mandaluyong City
Title | Date | Venue: ICpEp.SE – NCR Symposium 2018: Protecting the internet | February
17, 2018 | Br. Andrew Gonzalez Hall, De La Salle University – Manila
Title | Date | Venue: 9th Adamson Leaders Congress | May 9-11, 2018 | Adamson
University
71
Place 1.5”x1.5”
ID picture here
JASIER E. SAHAGUN
Contact Details
Mobile Number: +639480943536
Email: jasier.sahagun@gmail.com
Home Address: 0635 Quirino Avenue San Dionision, Parañaque City
Home Phone Number:
Provincial Address: N/A
Provincial Phone Number: N/A
Personal Information
Date of Birth : April 09, 1997
Place of Birth : Parañaque City
Citizenship : Filipino
Gender : Male
Civil Status : Single
Education
College | Year | Address:
Adamson University | 2019 | 900 San Marcelino Street Ermita, 100 Manila
High School | Year | Address:
St. Andrew’s School | 2014 | 457 Quirino Avenue, La Huerta, Parañaque City
Elementary | Year | Address:
St. Andrew’s School | 2014 | 457 Quirino Avenue, La Huerta, Parañaque City
Title | Date | Venue: Philippine Auto Industry – Academia Linkage Congress 2018 |
September 28, 2018 | Technological Institutional of the Philippines –
Quezon City
Title | Date | Venue: Samsung Algorithm Workshop | April 17, 2018 | Adamson University
Title | Date | Venue: ICpEP.SE 1st Regional Convention: Computer Engineering Without
Borders | April 04-06, 2018 | FEU Institute of Technology – Manila
Title | Date | Venue: ICpEP.SE NCR Symposium 2018: Protecting the Internet | February
17, 2018 | De La Salle University - Manila
73
Contact Details
Mobile Number: 09279468060
Email: csam.lee25@gmail.com
Home Address: 1451 B ilang –ilang st. Zamora,Pandacan Manila
Home Phone Number: N/A
Provincial Address: N/A
Provincial Phone Number: N/A
Personal Information
Date of Birth: Manila
Place of Birth: Chinese General Hospital
Citizenship: Filipino
Gender: Male
Civil Status: Single
Education
College | Year | Address: Address: Adamson University 2019 900 an Marcelino Street,
Ermita, 1000 Manila
High School | Year | Address: 1521 Paz St. Paco Manila, 1007 Metro,Manila Paco Catholic
School 2013
Elementary | Year | Address: 1521 Paz St. Paco Manila, 1007 Metro,Manila Paco Catholic
School 2007
Title | Date | Venue: Security and Hacking | Feburary 2019 | OZ Conference, Adamson
University
Title | Date | Venue: I/O “Mechatronix” | March 2019 | JP AVR, Adamson University