a6httplibrary's Introduction
Readme - HTTP Post library for Arduino. 2016/09/29 Made by Tobias Koops from MicroEnergyInternational Based on code from Andreas Spiess License: Opensource http://gitlab.koukei.de/Tobias/A6HTTPLibrary.git This is a library for the A6-GSMChip by Ai-Thinkers. Standart settings: RX(Arduino): PIN 4 TX(Arduino): PIN 3 Reset: PIN 10 (needed for correct initialization) Baudrate: 9600 (Arduino - A6) Baudrate: 112500 (Arduino - PC) These can be changed in A6HTTP.cpp In A6HTTP_Example I used the free service from posttestserver.com of posting something on it and beeing able to see it afterwards. IMPORTANT WIRING (see pictures for details): 1. For correct initialization the A6 is reseted on startup. In order for that to work the reset Pins cannot be connected directely. First you need to permanently connect PWR and VCC on the module. This will also turn on the module, once it gets power. Then ýou will need a transistor or mosfet, between the reset pins. I used an IRF3205 N-channel mosfet. Connect like this: Gate - Arduino reset(Pin10) Drain - A6 reset Source - Ground This will allow the A6reset to be jumped with ground, whenever the arduino pin 10 is in state HIGH. 2. The A6 has 3.3V logiclevel. Which means you need to shift the arduino's 5V of its TX Pin (3) to a suitable voltage. I used a voltagedivider consisting of 3 identical resistors. However you can directly connect RX of arduino and TX of A6 because arduino will accept 3.3V level high's. 3. I had the problem of voltage drops whenever the A6 was sending. Altough my power source supplied enough current, it seems that the cables leading to the A6 may be too thin. I managed to solve this by soldering 2 1mF capacitors (because i dind't have larger ones) directly onto the board between VCC and Ground. If you set up everything the right way, you should be able to use this example just as it is.
a6httplibrary's People
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.