Split from: Oled lcd 128*64 using I2c protocol interfacing with atmega16

Go To Last Post
9 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I am using sim800C its works fine with power supply but as I connect it to the battery it gets restarted.

I am using  3.5 V lithium battery and using voltage booster for getting 5V but as I made connections its gets restarts.

Please help..

 

Last Edited: Fri. Jul 13, 2018 - 09:48 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Anurag_Maheshwari wrote:

I am using sim800C...

 

I am not familiar with this LCD display. Please post a link to the datasheet.

#1 This forum helps those that help themselves

#2 All grounds are not created equal

#3 How have you proved that your chip is running at xxMHz?

#4 "If you think you need floating point to solve the problem then you don't understand the problem. If you really do need floating point then you have a problem you do not understand." - Heater's ex-boss

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Anurag_Maheshwari wrote:
I am using sim800C

 

isn't that an rf modem?  So can we assume the LCD issue is solved, if so mark the solution and start a new thread.

 

Jim

Click Link: Get Free Stock: Retire early!

share.robinhood.com/jamesc3274

 

 

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Anurag_Maheshwari wrote:

I am using sim800C

ki0bk wrote:
isn't that an rf modem?

Yes - it is a GSM/GPRS module: http://simcomm2m.com/En/module/detail.aspx?id=74

 

 So can we assume the LCD issue is solved, if so mark the solution

For instructions, see Tip #5

 

and start a new thread.

Even if the LCD issue is not resolved, the SIM800 is a separate issue - so start a separate thread for that.

 

You can always give a link back to this one, if appropriate.

 

 

Top Tips:

  1. How to properly post source code - see: https://www.avrfreaks.net/comment... - also how to properly include images/pictures
  2. "Garbage" characters on a serial terminal are (almost?) invariably due to wrong baud rate - see: https://learn.sparkfun.com/tutorials/serial-communication
  3. Wrong baud rate is usually due to not running at the speed you thought; check by blinking a LED to see if you get the speed you expected
  4. Difference between a crystal, and a crystal oscillatorhttps://www.avrfreaks.net/comment...
  5. When your question is resolved, mark the solution: https://www.avrfreaks.net/comment...
  6. Beginner's "Getting Started" tips: https://www.avrfreaks.net/comment...
Last Edited: Thu. Jul 12, 2018 - 10:02 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 1

what 3.5V battery and what booster? The sim800 needs 2+ Amps peak current depending on what it is doing - can your battery and 'booster' supply this? Most likely not which would explain your problem.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Kartman wrote:
The sim800 needs 2+ Amps peak current

This is common to any GSM module - and, in fact, any radio transmitter - it is in the nature of the beast!

 

I did some measurements on a GSM modem years ago: http://www.antronics.co.uk/downloads/M1306B_Current_Traces.pdf

(as it's a modem - not just a bare module - it has its own internal power supply, which mitigates the issue. But you can still see the highly "peaky" nature of the current draw)

 

A very common problem when using GSM modules is inadequate power supply to cope with these peaks.

 

Study the manufacturer's documentation carefully - in particular, their power supply & PCB layout recommendations.

 

See: https://www.avrfreaks.net/forum/...

 

And: https://www.avrfreaks.net/forum/...

 

#GSMPowerSupply

 

 

Top Tips:

  1. How to properly post source code - see: https://www.avrfreaks.net/comment... - also how to properly include images/pictures
  2. "Garbage" characters on a serial terminal are (almost?) invariably due to wrong baud rate - see: https://learn.sparkfun.com/tutorials/serial-communication
  3. Wrong baud rate is usually due to not running at the speed you thought; check by blinking a LED to see if you get the speed you expected
  4. Difference between a crystal, and a crystal oscillatorhttps://www.avrfreaks.net/comment...
  5. When your question is resolved, mark the solution: https://www.avrfreaks.net/comment...
  6. Beginner's "Getting Started" tips: https://www.avrfreaks.net/comment...
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Kartman wrote:
can your battery and 'booster' supply this? Most likely not which would explain your problem

If you have an oscilloscope, look at the supply voltage to the GSM module - you will probably see it "collapse" as soon as the module draws its high current ...

 

This is (almost) certainly a General Electronics issue - nothing specifically to do with AVR.

Top Tips:

  1. How to properly post source code - see: https://www.avrfreaks.net/comment... - also how to properly include images/pictures
  2. "Garbage" characters on a serial terminal are (almost?) invariably due to wrong baud rate - see: https://learn.sparkfun.com/tutorials/serial-communication
  3. Wrong baud rate is usually due to not running at the speed you thought; check by blinking a LED to see if you get the speed you expected
  4. Difference between a crystal, and a crystal oscillatorhttps://www.avrfreaks.net/comment...
  5. When your question is resolved, mark the solution: https://www.avrfreaks.net/comment...
  6. Beginner's "Getting Started" tips: https://www.avrfreaks.net/comment...
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Brian Fairchild wrote:
I am not familiar with this LCD display

Because this was originally in a thread about an LCD: https://www.avrfreaks.net/forum/oled-lcd-12864-using-i2c-protocol-interfacing-atmega16

Hence also:

ki0bk wrote:
start a new thread

This is that new thread!

Top Tips:

  1. How to properly post source code - see: https://www.avrfreaks.net/comment... - also how to properly include images/pictures
  2. "Garbage" characters on a serial terminal are (almost?) invariably due to wrong baud rate - see: https://learn.sparkfun.com/tutorials/serial-communication
  3. Wrong baud rate is usually due to not running at the speed you thought; check by blinking a LED to see if you get the speed you expected
  4. Difference between a crystal, and a crystal oscillatorhttps://www.avrfreaks.net/comment...
  5. When your question is resolved, mark the solution: https://www.avrfreaks.net/comment...
  6. Beginner's "Getting Started" tips: https://www.avrfreaks.net/comment...
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

awneil wrote:

Brian Fairchild wrote:
I am not familiar with this LCD display

Because this was originally in a thread about an LCD: https://www.avrfreaks.net/forum/oled-lcd-12864-using-i2c-protocol-interfacing-atmega16

Hence also:

ki0bk wrote:
start a new thread

This is that new thread!

In fairness, both Brian's and Jim's posts were made >>before<< the thread was split:

 

 

 

 

 

 

 

"Experience is what enables you to recognise a mistake the second time you make it."

"Good judgement comes from experience.  Experience comes from bad judgement."

"Wisdom is always wont to arrive late, and to be a little approximate on first possession."

"When you hear hoofbeats, think horses, not unicorns."

"Fast.  Cheap.  Good.  Pick two."

"Read a lot.  Write a lot."

"We see a lot of arses on handlebars around here." - [J Ekdahl]