caramoan tour package

caramoan tour package

Author Topic: sms based grade inquiry  (Read 1871 times)

Offline iancemacio

  • LR44 Battery
  • *
  • Posts: 4
  • Pogi/Ganda Points: 0
sms based grade inquiry
« 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?

Philippine Electronics Forum

sms based grade inquiry
« on: January 08, 2010, 05:24:42 PM »

Offline zer0w1ng

  • Technical People
  • Gas Turbine
  • *****
  • Posts: 2179
  • Pogi/Ganda Points: 305
  • Gender: Male
  • Enter any 11-digit prime number to continue...
    • The Cebuano Geek
Re: sms based grade inquiry
« 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.
The Cebuano Geek

Philippine Electronics Forum

Re: sms based grade inquiry
« Reply #1 on: January 08, 2010, 05:38:01 PM »

Offline Kaizer03

  • Nuclear Reactor
  • ****
  • Posts: 4849
  • Pogi/Ganda Points: 225
  • C#<-->Android<-->Java
    • PhilRobotics
Re: sms based grade inquiry
« 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=)
Lend a hand for those who are in need!=)

Stop Hijacking!=) More Technical Posts!=)
 ;)

Kaizer Killer EX Pre-Alpha

Philippine Electronics Forum

Re: sms based grade inquiry
« Reply #2 on: January 08, 2010, 05:41:21 PM »

Offline iancemacio

  • LR44 Battery
  • *
  • Posts: 4
  • Pogi/Ganda Points: 0
Re: sms based grade inquiry
« 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?

Philippine Electronics Forum

Re: sms based grade inquiry
« Reply #3 on: January 08, 2010, 05:55:07 PM »

Offline zer0w1ng

  • Technical People
  • Gas Turbine
  • *****
  • Posts: 2179
  • Pogi/Ganda Points: 305
  • Gender: Male
  • Enter any 11-digit prime number to continue...
    • The Cebuano Geek
Re: sms based grade inquiry
« 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.
The Cebuano Geek

Philippine Electronics Forum

Re: sms based grade inquiry
« Reply #4 on: January 08, 2010, 05:57:30 PM »

Offline Kaizer03

  • Nuclear Reactor
  • ****
  • Posts: 4849
  • Pogi/Ganda Points: 225
  • C#<-->Android<-->Java
    • PhilRobotics
Re: sms based grade inquiry
« 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=)
Lend a hand for those who are in need!=)

Stop Hijacking!=) More Technical Posts!=)
 ;)

Kaizer Killer EX Pre-Alpha

Offline iancemacio

  • LR44 Battery
  • *
  • Posts: 4
  • Pogi/Ganda Points: 0
Re: sms based grade inquiry
« 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

Offline zer0w1ng

  • Technical People
  • Gas Turbine
  • *****
  • Posts: 2179
  • Pogi/Ganda Points: 305
  • Gender: Male
  • Enter any 11-digit prime number to continue...
    • The Cebuano Geek
Re: sms based grade inquiry
« 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
The Cebuano Geek

Offline iancemacio

  • LR44 Battery
  • *
  • Posts: 4
  • Pogi/Ganda Points: 0
Re: sms based grade inquiry
« 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?


Offline emond

  • CR2032 Battery
  • **
  • Posts: 25
  • Pogi/Ganda Points: 2
  • Gender: Male
  • Long Live TAU GAMMA
    • emondsoft
Re: sms based grade inquiry
« 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
emond sabiniano
programmer/analyst-consultant

Philippine Electronics Forum

Re: sms based grade inquiry
« Reply #9 on: February 02, 2010, 11:08:20 PM »

 

Privacy Policy

Contact Us: elabph@yahoo.com