Nokia 3310 Interface

7 views
Skip to first unread message

Prometeo Archuleta

unread,
Jul 24, 2024, 11:51:09 AM7/24/24
to itjeffiefor

So now we have it all hooked up and ready to go, we have to know the frame format which F-bus uses, the \gnokii-0.6.31\Docs\protocol\nokia.txt provides us with this. For my phone it was F-bus version 2.

nokia 3310 interface


DOWNLOADhttps://byltly.com/2zL1YK



I have made a very basic C file fbus_checksum_and_output which can be used to calculate the checksum for any commands you want to send so you can easily modify the code above by just changing the msg array variable.

Interestingly it also sends us the network status 6 times after that:
0x0a: Network status
r network registration 0x0071, ?,?,?,length,netstatus,netsel,cellIDH,cellIDL,lacH,lacL,netcode,netcode,netcode

Hello, very interesting work, congratulation.
One question on the resistor that you use on Arduino_TX and Nokia_RX, why do you use the resistor? Can I connect directly Arduino TX/RX to Nokia RX/TX?

Hi.Mugabe . i really need your help. am working on a final year projeect due for presenation on 5th june but cannot rightly setup GSM connectivity using nokia 3310 and the arduino uno. i have setup the physical circuit. i want you to help me the right hex equivalent of equivalent of sms centre number for mtn Uganda (+256771100020). will be grateful for any assistance rendered. Paul S.

I have developped a buglar alarm using NOKIA 3310 FBUS, controlled with PIC16F628.
All is ok.
To preserve the battery life of the alarm, i want to switch off the key led and the LCD.
My question is if there is a FBUS command to do that.
Thanks for your help.

I have a Nokia 6030.which series of phones should I choose from gnokii.org (Nokia 6510 or 7110 or 6110 or 3810 or 2110 series).Even I want this because of my security system project that will alert me of any intrusions.

Can you show a picture of how you achieved the connections to the f bus pinout of the mobile phone ? Did you solder the wires to the f bus pinout of the mobile phone ? And how did you manage to insert the phone battery after making the f bus connections ?

Hi Alex,
I have found mistake already and now it is working very well, now I am trying to figure out how to receive SMS, maybe you have such code ? If so will you be so kind and share it here ? ?

Hi Vladimir,
I tried exactly that frame and I did not get any answer from the phone. But I found that the frame for marking an sms as read is making the phone to send me back the whole sms msg frame ? and I went with that after all.

Now I know why this is not working; I assume that NOKIA via serial send to Arduino data in HEX which was wrong, so this is the reason it is not working. So basicly I have to translate D3 34 3B 3C 7 to byte stream like you did above with D3 and then it should work ?

If I undersntad corctly I have to deleted from my code request to HW & SW? if so please tell me what exactly frame are you using to sync with phone, just 128 xU, like you told first package should have SeqNo = 060 so how looks this frame in your code ?

I checked last version 1e 0c 00 14 00 08 00 01 00 0a 02 02 01 60 11 75 instead HW/SW, good news is this time it not hanges up phone but still my code is unable to send SMS I have no idea what special has got HW/SW byte but it makes my code alive

It looks like I have to buy glasses ? after your change it is working without HW/SW. What is strange I try to do the same before and it wasn`t work, also now when I copy your version it is work, but when I try edit by myself my version it is not working ? if I am corect you deleted double of initialize and sending HW/SW byte. This is crazy but now it is working well, I even make some changes to make the code shorter:

After test I confirm that above code delete SMS from position 2 but only once, when I send another SMS that come on the same position 2 is it not deleted. Strange in my opinion it should delte each SMS that will be write to 2 position

Hi, Thanks for the excellent project, but I have an issue , I tried the code of HW&SW and it works well , but when I try to send SMS , nothing is sent , I guess that the problem is from the SMSC and Recipient number , my SMSC is +20112008000 and I am from Egypt , I put
unsigned char SMSC[] = 0x07, 0x91, 0x02, 0x11, 0x02, 0x80, 0x00, 0xF0, 0x00, 0x00, 0x00, 0x00;
Is this correct ???
and what will be my Recipient Number (in the code) if the number is +201123456789 ??
THANKS

Hey Alex, great stuff! I am doing a uni project about using an ultrasonic sensor to measure water level. Ideally, we would get the data from the sensor and send it through SMS periodically (i.e. every day). Do you recon this is possible? If so, help would be much appreciated

// Calculate the checksum from the start of the frame to the end of the frame
for (unsigned char i = 0; i < frameIndex+2; i += 2)
oddCheckSum ^= FBusFrame[i];
evenCheckSum ^= FBusFrame[i+1];

FBusFrame[frameIndex] = oddCheckSum;
FBusFrame[frameIndex+1] = evenCheckSum;

Sorry for the bother, is it possible for you to send me your code to kwi...@hotmail.com
I really would appreciate it as we are currently doing a project where we need comms and this would be ideal.

I want to thank you for this detailed tutorial. I did this project with my Nokia 3210. I got the SW/HW data succesfully. I am using Software Serial for 3210 and serial connection for computer to see the deatils. I checked the code that sent to the 3210 for SMS_sent and everything is normal but there is no response from 3210. Maybe it is because of SMS center number(+48 790 998 250) or receipent number( 730 172 011). I tried for every combination for this numbers but nothing changed.

type: corresponds to original message type
len: length in bytes, always 02
sq: last 3 bits indicate sequence number of packet being
acknowledged, most significant nibble is normally 0,
8 for sequence error?
chk: 16 bit xor of all preceding 16 bit words.

It really surprises me how 16-bit game design has not caught on like the over used retro 8-bit has. I was hoping games would start to graduate to the 16-bit era of nostalgia but it has not. Hopefully soon!

So far I have yet to find a good write up on this and I have tried the code/lib from Ladyada, Arduino, and Sparkfun. All work and will print information but I still don't see how to really use the display.

This is a very common LCD which is used in the nokia 3310 display as well. Basically its connected to a microprocessor via the SPI interface, so you might want to do some reading about the arduinio and the SPI interface. The PCD8544 datasheet might be usefull too.....

You can read the Source code which will help you.....the initialisation routine is the critical bit which must be done correctly.......there are two examples which should help you.
You can reference the source with the datasheet which will help you try to understand how it works.

LinkedIn and 3rd parties use essential and non-essential cookies to provide, secure, analyze and improve our Services, and to show you relevant ads (including professional and job ads) on and off LinkedIn. Learn more in our Cookie Policy.

Christian Kraft recently left his position as Principal Innovation and User Experience expert at Nokia Beijing, having spent 14 years previously as Senior Manager, Concept Innovation and User Experience at Nokia Denmark.

Prior to Nokia, Kraft worked at Cetelco/Hagenuk as a Software Engineer and User Interface Designer, and at Sony as a User Interface Specialist. Kraft has also written a book, User Experience Innovation: User Centered Design that Works, which was published by Apress in 2012. A visionary with over 100 patents to his name, Kraft was behind both threaded SMS Chat and the front-mounted roller-key, among many other Nokia innovations.

Newnham: What first excited you about technology?
Kraft: As a child growing up in a town called Fredericia in Denmark, I would say Lego was a key element in my interest in creativity. I was very fond of playing with Lego far into my teenage years. Today, it is difficult to say what was so fascinating about it, but looking back, it was about creating something not seen before and about pushing the narrow limits of Lego further.

It was using this very manual method to do machine code for my Colour Genie, I managed to make a game inspired from the TRON movie and also, actually, very similar to the much later Snake for Nokia mobile devices.

Newnham: Tell me what happened when you graduated. What was the industry like back then?
Kraft:
When I graduated, I had no real dream or idea what kind of job I wanted. I did know that I wanted to travel though, so I applied for around 80 jobs in other European countries, but with no luck. The employment situation for engineers was pretty bad back then, so I ended up just applying for everything and ended up with a job at Cetelco/ Hagenuk, just 20 kilometers away from Aalborg. This would have been January, 1992.

Cetelco was a spin-off of Shipmate, which was developing and manufacturing GPS positioning systems for ships and boats. Before I joined Cetelco, it was bought by German-based Hagenuk, but they still used both brands for their products.

When I joined Cetelco, it was manufacturing mobile phones for the analog NMT (Nordic Mobile Telephone) system. They had also just started a project to develop digital phones for the GSM system (Global System for Mobile Communications). GSM was the first digital standard being applied to mobile communication, and it was still being specified in the ETSI forum (The European Telecommunications Standards Institute is an independent, nonprofit, standardization organization in the telecommunications industry), so targeting GSM was difficult since standards were still in progress.

ff7609af8f
Reply all
Reply to author
Forward
0 new messages