The Philippine Electronics and Technology Forum
February 09, 2012, 08:44:41 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   Home   Help Search Login Register  

Pages: [1]   Go Down
  Print  
Author Topic: sms based grade inquiry  (Read 1543 times)
iancemacio
LR44 Battery
*

Pogi/Ganda Points: 0
Offline Offline

Posts: 4


« on: January 08, 2010, 05:24:42 PM »

hello mga sir...

paano po ba ang gagawin dito?
my plan bale ay sms lang ang gagamitin para makareceive ng grades.

ano pong cellphone model ang puede gamitin?
anong cable ang gagamitin para magconnect ng cellphone to a computer?
anong programming ang gagamitin?
Logged
The Philippine Electronics and Technology Forum
« on: January 08, 2010, 05:24:42 PM »

 Logged
zer0w1ng
Technical People
Gas Turbine
*****

Pogi/Ganda Points: 295
Offline Offline

Gender: Male
Posts: 2151


Enter any 11-digit prime number to continue...


WWW
« Reply #1 on: January 08, 2010, 05:38:01 PM »

Nokia cellphone with datacable.
This is available in some cell shops.

For the software, check gnokii http://gnokii.org/
You have to customize it a bit to connect to the grades database server.
Logged

Kaizer03
Nuclear Reactor
****

Pogi/Ganda Points: 217
Offline Offline

Posts: 4516


C#<-->Android<-->Java


WWW
« Reply #2 on: January 08, 2010, 05:41:21 PM »

hello mga sir...

paano po ba ang gagawin dito?
my plan bale ay sms lang ang gagamitin para makareceive ng grades.

ano pong cellphone model ang puede gamitin?
anong cable ang gagamitin para magconnect ng cellphone to a computer?
anong programming ang gagamitin?


it would be much more easier if you will use a GSM modem,

if you are going to use a phone, 6210 and 7210 are widely used for alternative for GSM modem

DLR3P cable is used to interface the Cellphone to the Computer

or an ordinary phone with its DataCable, mas ok ata ang Nokia, since maraming resources din ito =)


you can use any other programming Language, you only have to send AT Commands through it =) to command or access the phone..=)

AT Commands are used to communicate within your phone or GSM Modem=)
Logged

Lend a hand for those who are in need!=)

Stop Hijacking!=) More Technical Posts!=)
DataSheets are enough to answer your questions! Wink

Kaizer Killer EX Pre-Alpha
iancemacio
LR44 Battery
*

Pogi/Ganda Points: 0
Offline Offline

Posts: 4


« Reply #3 on: January 08, 2010, 05:55:07 PM »

ok salamt po...

ano kayang data based ang puedeng gamitin?
paano po icoconnect ang iyong data base at iyong ceephone? what i mean is paano automatic basahin ng tinext ko sa database at isesend ito pabalik sa sender?
Logged
zer0w1ng
Technical People
Gas Turbine
*****

Pogi/Ganda Points: 295
Offline Offline

Gender: Male
Posts: 2151


Enter any 11-digit prime number to continue...


WWW
« Reply #4 on: January 08, 2010, 05:57:30 PM »

MsAccess.
MySQL.
Or any SQL server using ODBC.

Or could just be plain text file.  The grades data structure is just a single table.
Logged

Kaizer03
Nuclear Reactor
****

Pogi/Ganda Points: 217
Offline Offline

Posts: 4516


C#<-->Android<-->Java


WWW
« Reply #5 on: January 08, 2010, 06:00:07 PM »

ok salamt po...

ano kayang data based ang puedeng gamitin?
paano po icoconnect ang iyong data base at iyong ceephone? what i mean is paano automatic basahin ng tinext ko sa database at isesend ito pabalik sa sender?

that is the purpose of your program..=)

your program will interpret the received SMS message then process it, after processing the received message it will communicate to the database(MySQL is a free database).. then upon receiving the reply from the database it will process again, then prepare the data to be send in SMS format to your phone=)
Logged

Lend a hand for those who are in need!=)

Stop Hijacking!=) More Technical Posts!=)
DataSheets are enough to answer your questions! Wink

Kaizer Killer EX Pre-Alpha
iancemacio
LR44 Battery
*

Pogi/Ganda Points: 0
Offline Offline

Posts: 4


« Reply #6 on: January 08, 2010, 06:09:00 PM »

ok.. maraming salamat....

meron ba kayong architecture nito?
mga pictures ng mga gagamitin?
paki.email po sa cemacio_ian@yahoo.com
you can contact me at 09169163011

kailangan na kailangan po para sa aming project.. thanks.. God Bless
Logged
zer0w1ng
Technical People
Gas Turbine
*****

Pogi/Ganda Points: 295
Offline Offline

Gender: Male
Posts: 2151


Enter any 11-digit prime number to continue...


WWW
« Reply #7 on: January 08, 2010, 06:35:03 PM »

I discourage direct emails or PMs when helping.
Posting the answers and questions on the forum let everybody or somebody in the future with same needs will be benefited also by just reading the posts.

For your question on the architecture? Please elaborate on this.
Hardware architecture or software?

For software, the application is straightforward and IMHO does not need even complicated charts or UML.
You just need to parse the SMS received for the student ID.  Using a standard format for the SMS query helps a lot.
For example: GRADE 12345. You need just to trim spaces at the beginning of the text received and copy the ID number at the 7th position.  You need also to compare the string "GRADE" if present else just ignore the text.

After you have the ID number, just do a lookup on your grades database and send the grade back.

You also need to retrieve the sender's number to be able to send it back.

As suggest by gigz, you can use a GSM modem.  If you follow this route, you need to familiarize and do research on AT commands.
http://www.developershome.com/sms/atCommandsIntro.asp

Serial communications knowhow is also needed.
http://www.google.com.ph/search?hl=tl&rlz=1C1GGLS_enPH323PH323&q=serial+communications&btnG=Maghanap&meta=&aq=f&oq=

--

For the hardware, a datacable is just needed and connected like this:

CELLPHONE <---------------------> COM1 / COMPUTER
                          ^
                           data cable

GSM modem <--------------------->COM1 / COMPUTER
                          ^
                           serial cable
Logged

iancemacio
LR44 Battery
*

Pogi/Ganda Points: 0
Offline Offline

Posts: 4


« Reply #8 on: January 11, 2010, 05:01:43 PM »

ok sir... maraming salamt po...im using vb6 with mscomm control so i cud use AT commands, and at the same time connect it to a database...im still learning pa po...am i on the right path?

Logged
emond
CR2032 Battery
**

Pogi/Ganda Points: 2
Offline Offline

Gender: Male
Posts: 25


Long Live TAU GAMMA


WWW
« Reply #9 on: February 02, 2010, 11:08:20 PM »

sample code for connecting GSM/Phone modem using MScomm control in vb6

With frmDataEnv.MSComm1
     
   
      .RThreshold = 1
        .InputLen = 0
        .Settings = "9600,N,8,1"
        .DTREnable = True
        .InBufferSize = 32
        .OutBufferSize = 0
        .CommPort = Me.cmbPorts.Text
        .RTSEnable = True
        DoEvents
        .PortOpen = True
        DoEvents
   End With
Logged

emond sabiniano
programmer/analyst-consultant
The Philippine Electronics and Technology Forum
   

 Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  


Related Topics
Subject Started by Replies Views Last post
inquiry
General Electronics and Technology Discussion
-edz- 3 587 Last post February 05, 2008, 10:20:19 PM
by express
PIC Configuration bit inquiry
PIC Microcontrollers
Ugin 2 399 Last post August 23, 2008, 07:34:24 AM
by paranz
inquiry.
Television Repair
jerimaya 3 657 Last post September 29, 2008, 11:35:09 AM
by jerimaya
LF: Audio Grade Capacitors
Electrical/Electronic Parts and Suppliers
BonJonG 13 1262 Last post November 12, 2008, 12:23:30 AM
by 1110000
Bagsak na grade « 1 2 3 »
The Academic Community (Engineering and Vocational Students)
Google 44 4787 Last post April 14, 2009, 08:34:47 AM
by simple plan
UP GRADE PSP MODEL-PSP-1001
Arcade and Game Consoles
batang_teatro_ako 2 928 Last post September 01, 2009, 08:12:31 PM
by [J]sil
$147.72 Audio Grade Wall Socket or 6.4k+ in PHP « 1 2 3 »
Electrical Engineering Board
kalansing 41 3789 Last post December 20, 2009, 04:31:25 PM
by 7_SeVeN_7
Powered by MySQL Powered by PHP Powered by SMF 1.1.15 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!