What should I add to the code in order to make SIM808 gps/gsm/gprs module boot up automatically after supply without holding the button for 2 seconds? Should i solder something also and add some pins like with sim900?
You have a phone module that doesn't boot up when you apply power? Strange... have you consulted the module documentation? How do you recognize a boot up? By the way, which exact module do you have? Can you provide a link to the exact actual hardware that you are using?
aarg:
You have a phone module that doesn't boot up when you apply power? Strange... have you consulted the module documentation? How do you recognize a boot up? By the way, which exact module do you have? Can you provide a link to the exact actual hardware that you are using?
I have SIM808 EVB-V3.2
That is gsm/gprs/gps board i speak of.
There is ''Start button'' that i need to press and hold every time it is powered.
Yes, I see reference to the Start button on this board in other sources as well. I haven't seen an actual schematic to see what it is connected to. Do you have any detailed documentation on your board?
cattledog:
Yes, I see reference to the Start button on this board in other sources as well. I haven't seen an actual schematic to see what it is connected to. Do you have any detailed documentation on your board?
This is how i connected it, TX on pin 10 arduino uno RX on 11. So is there a way i can solder something and modify my code so i don't have to use button?
So, that would be a "no", to the question "do you have any detailed documentation"?
aarg:
So, that would be a "no", to the question "do you have any detailed documentation"?
I didn't get anything except how to use it, nothing specific about start button.
Btw. this is why i think i need 2 power supplies (one for arduino, one for GSM board). Because arduino will boot up faster than the board since it has to press and hold. If arduino boots up before board, code won't be uploaded to it.
another141:
I didn't get anything except how to use it, nothing specific about start button.Btw. this is why i think i need 2 power supplies (one for arduino, one for GSM board). Because arduino will boot up faster than the board since it has to press and hold. If arduino boots up before board, code won't be uploaded to it.
So let me get this straight...
You are pressing and holding the reset on the Arduino, waiting for the GSM module to complete power up, then releasing the reset switch so the sketch restarts??
Just put an appropriate startup delay in the sketch setup() function before you start taking to the GSM module.
Okay, what about this from the very page you linked to?
POWKEY - start button. press it to start the module (how to turn on by software - check the note in Tips and Hacks below)
There is a simple way of power on the SIM808 GSM GPRS GPS Bluetooth evolution board (EVB-V3.2) without pressing the POWKEY - start button. There is D9 at the bottom right corner of the SIM808 GSM GPRS GPS Bluetooth evolution board (EVB-V3.2). Just set HIGH the D9 pin (for example, attached to Arduino digital pin 9) for 1 second. See the turnOnOFFbySoftware sketch Then it will power the whole module. No need to press the POWKEY - start button any more. Make sure that you power up GSM GPRS GPS Bluetooth module with power supply adapter (5-26VDC 2A) DC044 interface or with V_IN pin (5-26VDC 2A) or with Lithium Ion battery 3,5-4VDC. If you want to turn off the SIM808 GSM GPRS GPS Bluetooth evolution board (EVB-V3.2) just set LOW the D9 pin (for example, attached to Arduino digital pin 9) for 3 seconds. See the turnOnOFFbySoftware sketch
Okay, what about...
+1 for taking on the TLDR.
cattledog:
+1 for taking on the TLDR.
I DR. I just searched the page for “start” and then “tips”.
pcbbc:
Okay, what about
You never fail to amaze me kind sir!
pcbbc:
Just put an appropriate startup delay in the sketch setup() function before you start taking to the GSM module.
By that i can make arduino start couple seconds after power supply, so GSM board will always boot up first, brilliant. How do i put start up delay? Just add for example "delay(10000)" in setup()? I tried that but it doesn't work.
another141:
Damn sharp eye, you never fail to amaze me kind sir!By that i can make arduino start couple seconds after power supply, so GSM board will always boot up first, brilliant. How do i put start up delay? Just add for example "delay(10000)" in setup()? I tried that but it doesn't work.
Did you toggle D9 first?
aarg:
Did you toggle D9 first?
Yes, but i had to put the delay before D9 toggle and another delay after D9 toggle as well. If there isn't short delay before D9 toggle it wouldn't trigger it since arduino boots up faster.
It works now, thank you all.