element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Arduino
  • Products
  • More
Arduino
Arduino Forum Arduino SIM800L Problem...
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Arduino to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Suggested Answer
  • Replies 12 replies
  • Answers 1 answer
  • Subscribers 395 subscribers
  • Views 2798 views
  • Users 0 members are here
  • problem
  • reset
  • sim
  • arduino
Related

Arduino SIM800L Problem...

thomieboy
thomieboy over 9 years ago

Hello everyone!

 

I want to make a small project and I want to send text messages with my arduino. I bought a small SIM800L board but I have a weird problem.
This is the board I use, and I connected it to my arduino via SoftwareSerial. The arduino just acts as a pass trough between the module and the Arduino serial window.

 

So I first check if there is a connection by sending "AT", this works fine. Before I can do anything I have to set the password, to check that I send "AT+CPIN?". The module answers this with "SIM PIN", that means I indeed need to enter the pin first. I can do that by putting in this "AT+CPIN="1111". The module accepts this and sends a confirmation that the pin is correct and I am ready to go. Here is what I see.

 

AT

OK

AT+CPIN?

+CPIN: SIM PIN

OK

AT+CPIN="1111"

OK

+CPIN: READY

Call Ready

SMS Ready

 

But when I check again with the pin, it says it needs to be entered. This and a few things I have tried show that the module resets itself. This is another thing that shows this, when I enable more informative errors, instead of sending just ERROR, it sends why. I enabled that and after entering the pin, that was disabled again. Which means the module resets itself.

 

The first thing I tought it was a power issue, but there is little to no drop in voltage and the current is max 140mA and my supply can handle 2A.

 

Does anyone here has experienced this before or knows what the problem is?

Thanks in advance! image

 

Grtz,

Thomas

  • Sign in to reply
  • Cancel
Parents
  • strb
    0 strb over 9 years ago

    The datasheet at page 21 say that you can have peak up to 2A (I've found this http://www.seeedstudio.com/wiki/images/4/46/SIM800L_Hardware_Design_V1.00.pdf ), so are you sure that the power supply don't drop down too much during this peak?In theory if the voltage go below 3.4V it shut down automatically, page 25

    I hope that this will help

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • thomieboy
    0 thomieboy over 9 years ago in reply to strb

    I hooked up my multimeter and the voltage drops from 4.11 to 3.98 when I send a command. Maybe the peak is higher and not really easy to measure with a normal multimeter. I will try to hook up a scope to see, but I don't have one around right now.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • thomieboy
    0 thomieboy over 9 years ago in reply to strb

    I hooked up my multimeter and the voltage drops from 4.11 to 3.98 when I send a command. Maybe the peak is higher and not really easy to measure with a normal multimeter. I will try to hook up a scope to see, but I don't have one around right now.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
  • strb
    0 strb over 9 years ago in reply to thomieboy

    Why not use arduino to try to reveal low peaks? You can use one of the analog input to measure the voltage of the other board (first you send an instruction to the sim800l and then arduino start to control the voltage), if it drop down a certain threshold it can turn on a led or something else, probably arduino's ADC is faster than a multimeter, or if you have an operational amplifier you can use it to activate an arduino's interrupt, I think that is the better choice to reveal peaks.

    You can also try to use a battery as power supply but I'm not sure that it can be enough.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • pettitda
    0 pettitda over 9 years ago in reply to thomieboy

    A multimeter isn't fast enough to catch most power glitches.  You'll need to use an oscilloscope. 

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • thomieboy
    0 thomieboy over 9 years ago in reply to pettitda

    Alright, I should be able to get hold of one for testing, and I'll post the results here. Thank you.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 9 years ago in reply to thomieboy

    Did you find something? Because I have the same problem...

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • thomieboy
    0 thomieboy over 8 years ago in reply to Former Member

    No image  I never got it to work, it was hard, but I had to give up on this.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • adub
    0 adub over 8 years ago in reply to thomieboy

    Did you ever get this working?
    Not sure why you are using such an odd supply voltage image

    The prescribed working voltage: 3.7~5V so you would seem to be in spec. However It's unlikely that you are accurately reading the minimum voltage 'spike'. Unless using a bulletproof bench supply, I'd be inclined to start by raising the supply to 5V and add an electrolytic close to the board to buffer current needs, especially since you state that your PS can supply 2A (known, or stated on the side?), yet the peak demand is also 2A. So a brownout triggered reset is quite likely.

     

    A good quality bomb proof power supply is critical, especially on a test bench, and in some cases a bank of alkali cells is better than a flimsy PSU. And of course, even pricey PSU's can pass a large amount of ripple, so unless you are adding a lot of post filtering, 'wall warts' are not a great choice, especially when reaching their maximums.

    Don't forget that you can use rectifier diodes to drop voltage, no need for regulators, zeners or power transistors etc. and no noise.

     

    And of course as mentioned elsewhere a scope is invaluable for it's speed. I still use an old Philips CRT twin beam scope, but check out simple kits like DSO138 which work well for most needs (I love mine - given for xmas!). You can then put away your volt meter! image

     

    BTW, to another poster - ADC on an Arduino is a slow process, and for a narrow spike, timing would be critical to see it, assuming it lasted long enough. Nice cycling of available tools though.

     

    No intention to teach egg sucking, just passing on experience.

    Regards

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • thomieboy
    0 thomieboy over 8 years ago in reply to adub

    Hello,

     

    I could try adding that capacitor. I tested the small PSU, it can deliver 2A without much voltage drop. I bought that DSO138 like you said, specifically to test this a few months ago image, but it does not show any spikes.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • adub
    0 adub over 8 years ago in reply to thomieboy

    I've been waiting a while for this to arrive, so I'll let you know how I get on, assuming that my SIMs will work in it! I've not really hit the data sheets yet; I usually find that success depends on a few lines hidden away as an aside!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube