Page 1 of 1

making phone need help

Posted: Fri Nov 13, 2015 4:54 pm
by GamerXbot
Well i'm that same guy who asked help early this week this phone making. So i have done phone v1 i and it doesn't work that well i excepted it doesn't let me go to menu. And i need you guys help.

Re: making phone need help

Posted: Sat Nov 14, 2015 10:32 pm
by dazz
Hi GamerXbot
Heres a few pointers to your chart,
The keypad is numbered 0 to 11 ,so change your decisions from 12 to 11( * button is number 10,as the 0 button is number 0, the # button is number 11 ,also add a clearscreen above the connection point b in those decisions ,as this will show during simulation that the # key is responding.

Remember once you send the flowchart to a loop as a result of a key press, it will only carry out instructions inside that loop, think about how it can read keypresses.
Again once it exits a loop it returns to main loop, so have a think what happens when you ask it to go into sub menu's ie once its in the 123 menu, you need to tell it what to do.

not sure if you realise but if you slow down the sim by adjusting the speed in the sim debugger, you can add variables to watch, look at the debugger you will see the word Expression greyed out, move your mouse pointer to the left of the word ,a drop down arrow will appear , now simply right click the arrow.
A box will appear saying add variable, click it and add all your variables. rerun the simulation, now when you press a button or a variable changes you will see it, this is handy as say you have gone into the 123 menu and you want to input a phone number hold down a number and watch the flowchart as it steps through, this will enable you to follow the chart and see exactly what happens, if you make it as slow as poss , you have more time as its a delayed single step.
see how you get on

Hope it helps
Regards
Dazz

Re: making phone need help

Posted: Fri Nov 20, 2015 7:32 am
by GamerXbot
Hello Dazz

How i can get that go into loop while? I doesn't know how im gonna do it. When i press 9 it should go to loop but it doesn't do it.

GamerXbot

Re: making phone need help

Posted: Fri Nov 20, 2015 10:45 am
by GamerXbot
Hello guys, i got an idea, is there possibilities to do a real time clock on glcd? I would like to put the clock time to the up right corner of Graphical lcd-display.
It should only show hours and minutes not seconds. Does the pic have enough memory?

Thanks

Re: making phone need help

Posted: Fri Nov 20, 2015 1:34 pm
by dazz
HI
If you slow simulation down and add the buttons variable to the watch window, you will see every button press and what the chart reaction is, What is happening is when you press the 9 button it goes to the menu as requested but then sits in that menu, what is happening is its going into your menu loop but as the previous key press is still stored it cannot ,do anything, the answer is to add another get number macro, between your macro to print "to goto menu" and your if button=10 decition



Hope that helps
Regards
Dazz

Re: making phone need help

Posted: Fri Nov 27, 2015 9:00 pm
by GamerXbot
Hello guys

I'm now trying to do text message that work with numbers like old school Nokia
Well my friend told me i should do text with using strings and that calculation should do example: number_one [1] = 0 + 1 + 1 = A, B, C

Well i'm stuck with that it put there 255 and i don't understand where it comes there
Help is very helpful to me and my friend so could someone explain that to us

I know that slowing down simulation helps me find the error lots easier

Here is my phone v3

GamerXbot

Re: making phone need help

Posted: Fri Nov 27, 2015 9:11 pm
by medelec35
Hi GamerXbot,
I may have a solution for you?
Take a look at this topic
keypad2.fcf would probably be the better one as it acts more like a mobile would
To import a V5 Flowchart in to V6 just select open, then change

Code: Select all

Flowcode project files (*.fcfx)
in the drop down box to

Code: Select all

Flowcode for PIC files (*.fcf)
Note: Since it was designed with Flowcode V5, it won't simulate as well.
Should be fine with hardware.

Martin

Re: making phone need help

Posted: Sat Nov 28, 2015 8:57 pm
by medelec35
As you have flowcode V6, I have modified flowchart so it simulates better.
This version will not work well on hardware.

Martin

Re: making phone need help

Posted: Thu Dec 03, 2015 7:20 am
by GamerXbot
Hi medelec35

I just realize that what you have done. Well it really nice but how i'm gonna put that graphical lcd?

GamerXbot

Re: making phone need help

Posted: Thu Dec 03, 2015 2:10 pm
by medelec35
Hi GamerXbot,
The flowchart that I posted a link to is to demonstrate how to convert keypad press into corresponding letters as they would on a phone.
As for gLCD, If you follow the way it's done for LCD then conversion to gLCD should be doable.
Have a play and see how you get on.
After that if you're still stuck then post flowchart and I can see if i can assist you further.


Martin

Re: making phone need help

Posted: Thu Dec 10, 2015 8:49 am
by GamerXbot
Hello

I wanted to test my phone v3 on inreal life microcontroller but Graphical lcd won´t start and show screen some weird reason.
Can someone explain reason why it doesn´t work.

phone v3 is little bit upgraded version only new thing is button what i thinked to use as send button

GamerXbot

Re: making phone need help

Posted: Thu Dec 10, 2015 11:38 am
by GamerXbot
Hello

Is there any possibilities to make gsm work without RS232 eblock?

GamerXbot

Re: making phone need help

Posted: Thu Dec 10, 2015 1:51 pm
by medelec35
Hi GamerXbot,
GamerXbot wrote: Graphical lcd won´t start and show screen some weird reason.
You have not got a gLCD initilise component macro on your flowchart.
Also you have got initilised variables which will be assigned with a random number.
This will give you unexpected results.

Martin

Re: making phone need help

Posted: Thu Mar 31, 2016 11:45 am
by GamerXbot
Hello

I cant get my phone done because i cant find problem on my code. I was trying to play audio file from sd card but i cant hear it.
I have been read all topics about this and resolved part too but still it wont play audio file. Please put your fixed version to me so i can test it if its eb076 broken.
play audio value is 0 and voice 127

GamerXbot