SlideShare a Scribd company logo
MCU Interfacing
GSM usually used module
Interfacing Old Mobile Phone (Siemens,Nokia,Sony Ericsson) With Pic Or Arduino. (Cheapest
GSM Project)
letselectronic.blogspot.com /2016/07/interfacing-old-mobile-phone.html
Interfacing Old Mobile Phone With Pic Or Arduino. (Cheapest GSM Project).
Hi my dears followers, Like it is mentionned in the article title. Today i m trying to demonstrate how we could make a GSM project using any type of MCU Connected to an Old mobile
phone.
The idea was not the same used usually, In Fact i m not going to use a GSM Module like SIM900.
The idea is since there is many old mobile phone (cheap phone) why not to hack their GSM Circuit to used an our
project.
To make this real idea I collect a lot of old mobile phone
You dont have to collect many mobile phone like i did. To make your project. Just look for one, google it and collect
any information could help you.
Information like:
Which Communication Protocol is using
Current and Voltage Adaptation
Is there a naked TX/RX like in Nokia 1100
Nokia 1100
F-Bus, M-Bus, Both, None ???
Sms Text,PDU ??
This project idea was given to me by a friend of mine, he explain me that was very nice to have an GSM based Control project without using a module
but by using a simple old phone like this one (Nokia 1100).
I remember that I saw this guy trying to connect Tx Rx pins of Nokia 1100 to Tx Rx pins of a simple PIC (16F877). In this moment I noticed thats
there is a mistake because the voltage in both side is different.
I thought thats the only problem is here, and I start thinking why to pay 50 € for a GSM module when we could use a simple old mobile phone.
In fact mobile phones are different from one to other.
Nokia Family
1/3
F-Bus Converter
Arduino interfacing
Most of Nokia Mobile phone and here i m talking about Nokia 3310, Nokia 1100,... used F-Bus and M-Bus protocol in their GSM network circuit.
Most Nokia phones have F-Bus and M-Bus connections that can be used to connect a phone to a PC or in our case a microcontroller. The connection can be used for controlling just
about all functions of the phone, as well as uploading new firmware etc. This bus will allow us to send and receive SMS messages.
M-Bus is a one pin bi-directional bus for both transmitting and receiving data from the phone. It is slow (9600bps) and only half-duplex. Only two pins on the phone are used. One ground
and one data. M-Bus runs at 9600bps, 8 data bits, odd parity, one stop bit. The data terminal ready (DTR) pin must be cleared with the request to send (RTS). This powers the electronics
in the cable and I think it sets it for M-Bus operation.
F-Bus is the later high-speed full-duplex bus. It uses one pin for transmitting data and one pin for receiving data plus the ground pin. Very much like a standard serial port. It is fast
115,200bps, 8 data bits, no parity, one stop bit. For F-Bus the data terminal ready (DTR) pin must be set and the request to send (RTS) pin cleared.
F-Bus is not the same protocol usually used in GSM module so to use it you have to make your own F-bus Cable converter.
Personally I found a bit of Difficulty using this one specially when i found in the net that there is other phone like Siemens or Sony Ericsson could
simply support AT command.
Siemens Family
Siemens Have many old phone, I remember C25, S45, S45i who could easly support AT command so we have just to know how to connect those phone to a MCU.
The solution was easy, you have just to take a look to the connector of those phone.
All what you have to do is to use their charging cable.
1. > Vbatt - Power Charging (used for charging).
2. > Gnd - GND (main ground).
3. > Tx connected to MCU RX (using a resistor to limit current ).
4. > Rx connected to MCU TX (using a voltage devider from 5v to ~2,75v).
5. > CTS need to be connected to ground in order to work
6. > RTS
7. > DCD
8. > Audio P - AUDIO L
9. > AUDIO - GND
10. > Audio N - AUDIO R
11. > GND Mic
12. > EPP EPP 1 (EXT MIC.)
Noting is easier than this :)
So to connect this mobile phone to an Arduino or a PIC all what you have to do is to follow this. The resistors using is to adept current and voltage between the phone and the MCU.
Now let's speak about program after connecting the phone to the MCU.
1. We send serially AT, We received OK . Fine thats Work :D
2. To check SMS format we send AT+CMGF=0 , We received OK . Fine this phone support PDU Format message.
3. We send AT+CMGF=1 and we received error :/ here is the problem . the phone cant support text message format.
There is no problem if we convert our text message to PDU format before send it or convert received text from PDU format to
TEXT.
Here i give you two link, the first is to convert PDU to Text and the second is the inverse.
First One
Second One
Lets Code...
void createSMS()
{
phone.println("AT+CMGS=66");
delay(2000);
2/3
Pic Interfacing
phone.print("
07911256536621F801000B911296683049F300043554686973206973206D652069206D2061796D656E206C6163686B68656D2C2057656C636F6D6520696E206D7920626C6F6773697
phone.write(0x1A); //
Ctrl+Z
phone.write(0x0D);
//CR
phone.write(0x0A);
//LF
}
...and it works ! ...an SMS with "This is me i m aymen lachkhem, Welcome in my blogsite" on it was send by calling the
createSMS() function.
And Thats it ;)
See you soon : Aymenlachkem@gmail.com
3/3

More Related Content

Viewers also liked

Tourism Resources
Tourism ResourcesTourism Resources
Tourism Resources
Ramakrishna Kongalla
 
[SOPT] 데이터 구조 및 알고리즘 스터디 - #03 : 정렬 (기본, 효율, 초효율
[SOPT] 데이터 구조 및 알고리즘 스터디 - #03 : 정렬 (기본, 효율, 초효율[SOPT] 데이터 구조 및 알고리즘 스터디 - #03 : 정렬 (기본, 효율, 초효율
[SOPT] 데이터 구조 및 알고리즘 스터디 - #03 : 정렬 (기본, 효율, 초효율
S.O.P.T - Shout Our Passion Together
 
TDC2016POA | Trilha Analise de Negocios - Como fatiar seu produto em estórias...
TDC2016POA | Trilha Analise de Negocios - Como fatiar seu produto em estórias...TDC2016POA | Trilha Analise de Negocios - Como fatiar seu produto em estórias...
TDC2016POA | Trilha Analise de Negocios - Como fatiar seu produto em estórias...
tdc-globalcode
 
Spring Framework 튜토리얼 - 네이버 최영목님
Spring Framework 튜토리얼 - 네이버 최영목님Spring Framework 튜토리얼 - 네이버 최영목님
Spring Framework 튜토리얼 - 네이버 최영목님
NAVER D2
 
natural vegetation and wildlife
natural vegetation and wildlifenatural vegetation and wildlife
natural vegetation and wildlife
Chinmaya Pattnaik
 
Texto ensayístico
Texto ensayísticoTexto ensayístico
Texto ensayístico
Angelica Flores
 
TDC2016SP - Trilha Linux Embarcado
TDC2016SP - Trilha Linux EmbarcadoTDC2016SP - Trilha Linux Embarcado
TDC2016SP - Trilha Linux Embarcado
tdc-globalcode
 
Final Presentation on Project report
Final Presentation on Project reportFinal Presentation on Project report
Final Presentation on Project report
Prashant Raghav
 
Integrated Modelling: Insights and Blind Spots
Integrated Modelling: Insights and Blind SpotsIntegrated Modelling: Insights and Blind Spots
Integrated Modelling: Insights and Blind Spots
Dirk Kassenaar M.Sc. P.Eng.
 
Assessing Sensitivity to Drought and Climate Change with an Integrated Surfac...
Assessing Sensitivity to Drought and Climate Change with an Integrated Surfac...Assessing Sensitivity to Drought and Climate Change with an Integrated Surfac...
Assessing Sensitivity to Drought and Climate Change with an Integrated Surfac...
Dirk Kassenaar M.Sc. P.Eng.
 

Viewers also liked (10)

Tourism Resources
Tourism ResourcesTourism Resources
Tourism Resources
 
[SOPT] 데이터 구조 및 알고리즘 스터디 - #03 : 정렬 (기본, 효율, 초효율
[SOPT] 데이터 구조 및 알고리즘 스터디 - #03 : 정렬 (기본, 효율, 초효율[SOPT] 데이터 구조 및 알고리즘 스터디 - #03 : 정렬 (기본, 효율, 초효율
[SOPT] 데이터 구조 및 알고리즘 스터디 - #03 : 정렬 (기본, 효율, 초효율
 
TDC2016POA | Trilha Analise de Negocios - Como fatiar seu produto em estórias...
TDC2016POA | Trilha Analise de Negocios - Como fatiar seu produto em estórias...TDC2016POA | Trilha Analise de Negocios - Como fatiar seu produto em estórias...
TDC2016POA | Trilha Analise de Negocios - Como fatiar seu produto em estórias...
 
Spring Framework 튜토리얼 - 네이버 최영목님
Spring Framework 튜토리얼 - 네이버 최영목님Spring Framework 튜토리얼 - 네이버 최영목님
Spring Framework 튜토리얼 - 네이버 최영목님
 
natural vegetation and wildlife
natural vegetation and wildlifenatural vegetation and wildlife
natural vegetation and wildlife
 
Texto ensayístico
Texto ensayísticoTexto ensayístico
Texto ensayístico
 
TDC2016SP - Trilha Linux Embarcado
TDC2016SP - Trilha Linux EmbarcadoTDC2016SP - Trilha Linux Embarcado
TDC2016SP - Trilha Linux Embarcado
 
Final Presentation on Project report
Final Presentation on Project reportFinal Presentation on Project report
Final Presentation on Project report
 
Integrated Modelling: Insights and Blind Spots
Integrated Modelling: Insights and Blind SpotsIntegrated Modelling: Insights and Blind Spots
Integrated Modelling: Insights and Blind Spots
 
Assessing Sensitivity to Drought and Climate Change with an Integrated Surfac...
Assessing Sensitivity to Drought and Climate Change with an Integrated Surfac...Assessing Sensitivity to Drought and Climate Change with an Integrated Surfac...
Assessing Sensitivity to Drought and Climate Change with an Integrated Surfac...
 

Similar to Interfacing old mobile phone siemens nokiasony ericsson with pic or arduino cheapest gsm project

Gsm based wireless notice board Rajneesh
Gsm based wireless notice board RajneeshGsm based wireless notice board Rajneesh
Gsm based wireless notice board Rajneesh
RAJNEESH KUMAR SALGOTRA
 
Gsm
Gsm    Gsm
Gsm
Rzgar Ali
 
User Interface for Visually Impaired People
User Interface for Visually Impaired PeopleUser Interface for Visually Impaired People
User Interface for Visually Impaired People
IOSRJECE
 
Bsnl
BsnlBsnl
I mode
I modeI mode
BSNL training seminar ppt
BSNL training seminar pptBSNL training seminar ppt
BSNL training seminar ppt
Shubham Singh
 
Webinar ethernet basics part a v1.3
Webinar ethernet basics part a v1.3Webinar ethernet basics part a v1.3
Webinar ethernet basics part a v1.3
wilbertl
 
BSNL Industrial Training
BSNL Industrial Training BSNL Industrial Training
BSNL Industrial Training
Moulik .
 
GSM BASED THEFT DETECTED ALERT SYSTEM
GSM BASED THEFT DETECTED ALERT SYSTEMGSM BASED THEFT DETECTED ALERT SYSTEM
GSM BASED THEFT DETECTED ALERT SYSTEM
FAIZAN SHAFI
 
GSM based E-Notice Board
GSM based E-Notice BoardGSM based E-Notice Board
GSM based E-Notice Board
Mohammad Aazam Ali
 
I - Mode Technology
I - Mode TechnologyI - Mode Technology
I - Mode Technology
vasanthimuniasamy
 
SMS based Wireless Digital Board with Voice Recognition Based on GSM
SMS based Wireless Digital Board with Voice Recognition Based on GSMSMS based Wireless Digital Board with Voice Recognition Based on GSM
SMS based Wireless Digital Board with Voice Recognition Based on GSM
IRJET Journal
 
GSM based e-Notice Board
GSM based e-Notice BoardGSM based e-Notice Board
GSM based e-Notice Board
vivekranu1
 
Thesis power theft detection ch 3
Thesis power theft detection ch 3Thesis power theft detection ch 3
Thesis power theft detection ch 3
Faraz Ahmed
 
Gsm pocket guide (acterna)
Gsm pocket guide (acterna)Gsm pocket guide (acterna)
Gsm pocket guide (acterna)
Rida098
 
Overview of Modem
Overview of Modem Overview of Modem
Overview of Modem
Kishan Patel
 
Wireless electronic notice board using gsm technolgy
Wireless electronic notice board using gsm technolgyWireless electronic notice board using gsm technolgy
Wireless electronic notice board using gsm technolgy
dhanshri_deshmukh
 
FPGA Based Wireless Jamming Networks
FPGA Based Wireless Jamming NetworksFPGA Based Wireless Jamming Networks
FPGA Based Wireless Jamming Networks
ijtsrd
 
SEMINAR REPORT ON GSM ARCHITECTURE
SEMINAR REPORT ON GSM ARCHITECTURESEMINAR REPORT ON GSM ARCHITECTURE
SEMINAR REPORT ON GSM ARCHITECTURE
salman khan
 
Project ppt
Project pptProject ppt
Project ppt
Ashu0711
 

Similar to Interfacing old mobile phone siemens nokiasony ericsson with pic or arduino cheapest gsm project (20)

Gsm based wireless notice board Rajneesh
Gsm based wireless notice board RajneeshGsm based wireless notice board Rajneesh
Gsm based wireless notice board Rajneesh
 
Gsm
Gsm    Gsm
Gsm
 
User Interface for Visually Impaired People
User Interface for Visually Impaired PeopleUser Interface for Visually Impaired People
User Interface for Visually Impaired People
 
Bsnl
BsnlBsnl
Bsnl
 
I mode
I modeI mode
I mode
 
BSNL training seminar ppt
BSNL training seminar pptBSNL training seminar ppt
BSNL training seminar ppt
 
Webinar ethernet basics part a v1.3
Webinar ethernet basics part a v1.3Webinar ethernet basics part a v1.3
Webinar ethernet basics part a v1.3
 
BSNL Industrial Training
BSNL Industrial Training BSNL Industrial Training
BSNL Industrial Training
 
GSM BASED THEFT DETECTED ALERT SYSTEM
GSM BASED THEFT DETECTED ALERT SYSTEMGSM BASED THEFT DETECTED ALERT SYSTEM
GSM BASED THEFT DETECTED ALERT SYSTEM
 
GSM based E-Notice Board
GSM based E-Notice BoardGSM based E-Notice Board
GSM based E-Notice Board
 
I - Mode Technology
I - Mode TechnologyI - Mode Technology
I - Mode Technology
 
SMS based Wireless Digital Board with Voice Recognition Based on GSM
SMS based Wireless Digital Board with Voice Recognition Based on GSMSMS based Wireless Digital Board with Voice Recognition Based on GSM
SMS based Wireless Digital Board with Voice Recognition Based on GSM
 
GSM based e-Notice Board
GSM based e-Notice BoardGSM based e-Notice Board
GSM based e-Notice Board
 
Thesis power theft detection ch 3
Thesis power theft detection ch 3Thesis power theft detection ch 3
Thesis power theft detection ch 3
 
Gsm pocket guide (acterna)
Gsm pocket guide (acterna)Gsm pocket guide (acterna)
Gsm pocket guide (acterna)
 
Overview of Modem
Overview of Modem Overview of Modem
Overview of Modem
 
Wireless electronic notice board using gsm technolgy
Wireless electronic notice board using gsm technolgyWireless electronic notice board using gsm technolgy
Wireless electronic notice board using gsm technolgy
 
FPGA Based Wireless Jamming Networks
FPGA Based Wireless Jamming NetworksFPGA Based Wireless Jamming Networks
FPGA Based Wireless Jamming Networks
 
SEMINAR REPORT ON GSM ARCHITECTURE
SEMINAR REPORT ON GSM ARCHITECTURESEMINAR REPORT ON GSM ARCHITECTURE
SEMINAR REPORT ON GSM ARCHITECTURE
 
Project ppt
Project pptProject ppt
Project ppt
 

Recently uploaded

Engineering Drawings Lecture Detail Drawings 2014.pdf
Engineering Drawings Lecture Detail Drawings 2014.pdfEngineering Drawings Lecture Detail Drawings 2014.pdf
Engineering Drawings Lecture Detail Drawings 2014.pdf
abbyasa1014
 
Literature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptxLiterature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptx
Dr Ramhari Poudyal
 
NATURAL DEEP EUTECTIC SOLVENTS AS ANTI-FREEZING AGENT
NATURAL DEEP EUTECTIC SOLVENTS AS ANTI-FREEZING AGENTNATURAL DEEP EUTECTIC SOLVENTS AS ANTI-FREEZING AGENT
NATURAL DEEP EUTECTIC SOLVENTS AS ANTI-FREEZING AGENT
Addu25809
 
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Sinan KOZAK
 
Textile Chemical Processing and Dyeing.pdf
Textile Chemical Processing and Dyeing.pdfTextile Chemical Processing and Dyeing.pdf
Textile Chemical Processing and Dyeing.pdf
NazakatAliKhoso2
 
ML Based Model for NIDS MSc Updated Presentation.v2.pptx
ML Based Model for NIDS MSc Updated Presentation.v2.pptxML Based Model for NIDS MSc Updated Presentation.v2.pptx
ML Based Model for NIDS MSc Updated Presentation.v2.pptx
JamalHussainArman
 
BRAIN TUMOR DETECTION for seminar ppt.pdf
BRAIN TUMOR DETECTION for seminar ppt.pdfBRAIN TUMOR DETECTION for seminar ppt.pdf
BRAIN TUMOR DETECTION for seminar ppt.pdf
LAXMAREDDY22
 
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdfBPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
MIGUELANGEL966976
 
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
Yasser Mahgoub
 
Properties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptxProperties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptx
MDSABBIROJJAMANPAYEL
 
Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...
IJECEIAES
 
UNLOCKING HEALTHCARE 4.0: NAVIGATING CRITICAL SUCCESS FACTORS FOR EFFECTIVE I...
UNLOCKING HEALTHCARE 4.0: NAVIGATING CRITICAL SUCCESS FACTORS FOR EFFECTIVE I...UNLOCKING HEALTHCARE 4.0: NAVIGATING CRITICAL SUCCESS FACTORS FOR EFFECTIVE I...
UNLOCKING HEALTHCARE 4.0: NAVIGATING CRITICAL SUCCESS FACTORS FOR EFFECTIVE I...
amsjournal
 
john krisinger-the science and history of the alcoholic beverage.pptx
john krisinger-the science and history of the alcoholic beverage.pptxjohn krisinger-the science and history of the alcoholic beverage.pptx
john krisinger-the science and history of the alcoholic beverage.pptx
Madan Karki
 
22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt
KrishnaveniKrishnara1
 
Computational Engineering IITH Presentation
Computational Engineering IITH PresentationComputational Engineering IITH Presentation
Computational Engineering IITH Presentation
co23btech11018
 
Introduction to AI Safety (public presentation).pptx
Introduction to AI Safety (public presentation).pptxIntroduction to AI Safety (public presentation).pptx
Introduction to AI Safety (public presentation).pptx
MiscAnnoy1
 
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming PipelinesHarnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Christina Lin
 
Casting-Defect-inSlab continuous casting.pdf
Casting-Defect-inSlab continuous casting.pdfCasting-Defect-inSlab continuous casting.pdf
Casting-Defect-inSlab continuous casting.pdf
zubairahmad848137
 
官方认证美国密歇根州立大学毕业证学位证书原版一模一样
官方认证美国密歇根州立大学毕业证学位证书原版一模一样官方认证美国密歇根州立大学毕业证学位证书原版一模一样
官方认证美国密歇根州立大学毕业证学位证书原版一模一样
171ticu
 
spirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptxspirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptx
Madan Karki
 

Recently uploaded (20)

Engineering Drawings Lecture Detail Drawings 2014.pdf
Engineering Drawings Lecture Detail Drawings 2014.pdfEngineering Drawings Lecture Detail Drawings 2014.pdf
Engineering Drawings Lecture Detail Drawings 2014.pdf
 
Literature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptxLiterature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptx
 
NATURAL DEEP EUTECTIC SOLVENTS AS ANTI-FREEZING AGENT
NATURAL DEEP EUTECTIC SOLVENTS AS ANTI-FREEZING AGENTNATURAL DEEP EUTECTIC SOLVENTS AS ANTI-FREEZING AGENT
NATURAL DEEP EUTECTIC SOLVENTS AS ANTI-FREEZING AGENT
 
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
 
Textile Chemical Processing and Dyeing.pdf
Textile Chemical Processing and Dyeing.pdfTextile Chemical Processing and Dyeing.pdf
Textile Chemical Processing and Dyeing.pdf
 
ML Based Model for NIDS MSc Updated Presentation.v2.pptx
ML Based Model for NIDS MSc Updated Presentation.v2.pptxML Based Model for NIDS MSc Updated Presentation.v2.pptx
ML Based Model for NIDS MSc Updated Presentation.v2.pptx
 
BRAIN TUMOR DETECTION for seminar ppt.pdf
BRAIN TUMOR DETECTION for seminar ppt.pdfBRAIN TUMOR DETECTION for seminar ppt.pdf
BRAIN TUMOR DETECTION for seminar ppt.pdf
 
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdfBPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
 
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
 
Properties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptxProperties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptx
 
Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...
 
UNLOCKING HEALTHCARE 4.0: NAVIGATING CRITICAL SUCCESS FACTORS FOR EFFECTIVE I...
UNLOCKING HEALTHCARE 4.0: NAVIGATING CRITICAL SUCCESS FACTORS FOR EFFECTIVE I...UNLOCKING HEALTHCARE 4.0: NAVIGATING CRITICAL SUCCESS FACTORS FOR EFFECTIVE I...
UNLOCKING HEALTHCARE 4.0: NAVIGATING CRITICAL SUCCESS FACTORS FOR EFFECTIVE I...
 
john krisinger-the science and history of the alcoholic beverage.pptx
john krisinger-the science and history of the alcoholic beverage.pptxjohn krisinger-the science and history of the alcoholic beverage.pptx
john krisinger-the science and history of the alcoholic beverage.pptx
 
22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt
 
Computational Engineering IITH Presentation
Computational Engineering IITH PresentationComputational Engineering IITH Presentation
Computational Engineering IITH Presentation
 
Introduction to AI Safety (public presentation).pptx
Introduction to AI Safety (public presentation).pptxIntroduction to AI Safety (public presentation).pptx
Introduction to AI Safety (public presentation).pptx
 
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming PipelinesHarnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
 
Casting-Defect-inSlab continuous casting.pdf
Casting-Defect-inSlab continuous casting.pdfCasting-Defect-inSlab continuous casting.pdf
Casting-Defect-inSlab continuous casting.pdf
 
官方认证美国密歇根州立大学毕业证学位证书原版一模一样
官方认证美国密歇根州立大学毕业证学位证书原版一模一样官方认证美国密歇根州立大学毕业证学位证书原版一模一样
官方认证美国密歇根州立大学毕业证学位证书原版一模一样
 
spirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptxspirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptx
 

Interfacing old mobile phone siemens nokiasony ericsson with pic or arduino cheapest gsm project

  • 1. MCU Interfacing GSM usually used module Interfacing Old Mobile Phone (Siemens,Nokia,Sony Ericsson) With Pic Or Arduino. (Cheapest GSM Project) letselectronic.blogspot.com /2016/07/interfacing-old-mobile-phone.html Interfacing Old Mobile Phone With Pic Or Arduino. (Cheapest GSM Project). Hi my dears followers, Like it is mentionned in the article title. Today i m trying to demonstrate how we could make a GSM project using any type of MCU Connected to an Old mobile phone. The idea was not the same used usually, In Fact i m not going to use a GSM Module like SIM900. The idea is since there is many old mobile phone (cheap phone) why not to hack their GSM Circuit to used an our project. To make this real idea I collect a lot of old mobile phone You dont have to collect many mobile phone like i did. To make your project. Just look for one, google it and collect any information could help you. Information like: Which Communication Protocol is using Current and Voltage Adaptation Is there a naked TX/RX like in Nokia 1100 Nokia 1100 F-Bus, M-Bus, Both, None ??? Sms Text,PDU ?? This project idea was given to me by a friend of mine, he explain me that was very nice to have an GSM based Control project without using a module but by using a simple old phone like this one (Nokia 1100). I remember that I saw this guy trying to connect Tx Rx pins of Nokia 1100 to Tx Rx pins of a simple PIC (16F877). In this moment I noticed thats there is a mistake because the voltage in both side is different. I thought thats the only problem is here, and I start thinking why to pay 50 € for a GSM module when we could use a simple old mobile phone. In fact mobile phones are different from one to other. Nokia Family 1/3
  • 2. F-Bus Converter Arduino interfacing Most of Nokia Mobile phone and here i m talking about Nokia 3310, Nokia 1100,... used F-Bus and M-Bus protocol in their GSM network circuit. Most Nokia phones have F-Bus and M-Bus connections that can be used to connect a phone to a PC or in our case a microcontroller. The connection can be used for controlling just about all functions of the phone, as well as uploading new firmware etc. This bus will allow us to send and receive SMS messages. M-Bus is a one pin bi-directional bus for both transmitting and receiving data from the phone. It is slow (9600bps) and only half-duplex. Only two pins on the phone are used. One ground and one data. M-Bus runs at 9600bps, 8 data bits, odd parity, one stop bit. The data terminal ready (DTR) pin must be cleared with the request to send (RTS). This powers the electronics in the cable and I think it sets it for M-Bus operation. F-Bus is the later high-speed full-duplex bus. It uses one pin for transmitting data and one pin for receiving data plus the ground pin. Very much like a standard serial port. It is fast 115,200bps, 8 data bits, no parity, one stop bit. For F-Bus the data terminal ready (DTR) pin must be set and the request to send (RTS) pin cleared. F-Bus is not the same protocol usually used in GSM module so to use it you have to make your own F-bus Cable converter. Personally I found a bit of Difficulty using this one specially when i found in the net that there is other phone like Siemens or Sony Ericsson could simply support AT command. Siemens Family Siemens Have many old phone, I remember C25, S45, S45i who could easly support AT command so we have just to know how to connect those phone to a MCU. The solution was easy, you have just to take a look to the connector of those phone. All what you have to do is to use their charging cable. 1. > Vbatt - Power Charging (used for charging). 2. > Gnd - GND (main ground). 3. > Tx connected to MCU RX (using a resistor to limit current ). 4. > Rx connected to MCU TX (using a voltage devider from 5v to ~2,75v). 5. > CTS need to be connected to ground in order to work 6. > RTS 7. > DCD 8. > Audio P - AUDIO L 9. > AUDIO - GND 10. > Audio N - AUDIO R 11. > GND Mic 12. > EPP EPP 1 (EXT MIC.) Noting is easier than this :) So to connect this mobile phone to an Arduino or a PIC all what you have to do is to follow this. The resistors using is to adept current and voltage between the phone and the MCU. Now let's speak about program after connecting the phone to the MCU. 1. We send serially AT, We received OK . Fine thats Work :D 2. To check SMS format we send AT+CMGF=0 , We received OK . Fine this phone support PDU Format message. 3. We send AT+CMGF=1 and we received error :/ here is the problem . the phone cant support text message format. There is no problem if we convert our text message to PDU format before send it or convert received text from PDU format to TEXT. Here i give you two link, the first is to convert PDU to Text and the second is the inverse. First One Second One Lets Code... void createSMS() { phone.println("AT+CMGS=66"); delay(2000); 2/3
  • 3. Pic Interfacing phone.print(" 07911256536621F801000B911296683049F300043554686973206973206D652069206D2061796D656E206C6163686B68656D2C2057656C636F6D6520696E206D7920626C6F6773697 phone.write(0x1A); // Ctrl+Z phone.write(0x0D); //CR phone.write(0x0A); //LF } ...and it works ! ...an SMS with "This is me i m aymen lachkhem, Welcome in my blogsite" on it was send by calling the createSMS() function. And Thats it ;) See you soon : Aymenlachkem@gmail.com 3/3