1001 Freelance Projects
Latest Projects from Freelance Marketplaces
Today is: 06-May-2024 12:51 GMT
View Project
View this project in detail (Note: you will be redirected to external marketplace)
Project title: Arduino Nano log bat voltage, send via SIM800 to a mysql hourly
Posted by: External project from PeoplePerHour
Started: 30-Jun-2020 03:09 GMT
Description: Arduino Nano C Code to be created and Mysql connector app/service to integrate.

Project is to have an Arduino Nano, powered from a 2 wire connection to a car battery 12v.
There will be a potential divider, onto an input pin say A0 which will have 5v when the car battery shows 14V (allowing for some buffer when engine running).
There will be a push button connected to A1 which will wake the unit or trigger an action.
There will be a 16x2 LCD display connected SDL SCA connected to A2 A3.
There will be a DHT22 sensor connected to D2.
There will be a simcom SIM800L connected via a 4V from a LM317 TX to pin D5 RX to pin D6. There will be a FET to turn on the LM317 and GSM module connected to pin D7.

On power up, the LCD will initialise, the device will read the battery voltage (or the analogue voltage of 0-5v on pin A0 x scaler).
On power up, the temperature and humidity will be checked.
On power up, D7 will be powered to turn on the GSM module so it can start network connection.
The LCD will display the current battery voltage and the temperature for 10 seconds.
Then, the GSM module will initialise and make a PDP connection.
Then, the GSM will send an HTTP Post message to a listening application on a web server which will decode the message and insert into a mysql database the ID, temperature, humidity, voltage and event flag.
The listener app, will responsd with GSM OK and a number from the db, from a config table, which has a value of 1 - 24 back to the arduino - which will display on the LCD - Message sent - and the backlight will then go off after 10 seconds following this message.
when the backlight goes off, the FET will switch off which will power down the GSM module.

The arduino will now start in internal timer running on the device (which may not be extremely accurate) but after 1 hour, the device is to read the temperature, humidity and voltage again and store it locally.
This will happen every hour.
Every 12 hours (approx) the device will wake up the GSM engine and send the data back to the database.
This value of 12 (is the number which is already in the DB under the config value for each device).
The ID stored in the DB is the at+ccid number from the module.

So, if the config value in the db is set to 1, then the device will wake every hour and send data to the db.
if the config value in the db is set to 24, then the device will wake every 24 hours and send in 24 previously stored values.

If someone presses the push button, this will simply turn on the backlight of the LCD and display the current voltage reading.
if someone presses and holds the button down for 5 seconds, then the device will wake the GSM and send teh reading back (event = 2 with the current and any stored readings to the db and check the stored config etc.


Event flags are
1= power on
2= manual
3= timed

The LCD has standard libraries, the GSM module has standard libraries also Tiny_GSM_Sim800 which work well with the SIM800 module.

if you require some external flash to store the values - let me know, but i was hoping we could do this with existing arduino nano - or we simply reduce the amount of storage we offer.

I am looking for the code to be created for arduino and the web connector source code. Arduino to be Arduino IDE or C, web connector to be linux or php or windows app/service - just let me know which you prefer (i prefer php).
i will create the mysql db and crons etc on a webserver somewhere.
the connection will be a dns lookup on a static port - so for instance tcp or udp push to www.battconnect.com:8000 (this doesnt exist but i will create something similar)

Existing libraries for driving LCD and Driving GSM make that very simple - I can certainly help with commands required to establish pdp and socket connection, and retrieving sim details etc.
Project ID: 3017857
Project category:
Project budget:
View this project in detail (Note: you will be redirected to external marketplace)
Last Projects / Browse Projects
  Project Started
Website New Features
Category: Graphic Design, HTML, PHP, Web Design, WordPress
Budget: £20 - £250 GBP
06-May-2024
10:04 GMT
Italian Recording Project -- 32455
Category: Italian Translator, Sound Design, Translation, Voice Artist, Voice Talent
Budget: $4 - $5 USD
06-May-2024
10:03 GMT
Οργάνωση δομής συγγράμματος
Category: Editing, LaTeX, Word Processing
Budget: €8 - €30 EUR
06-May-2024
10:03 GMT
Blog Design with Specific Branding
Category: Graphic Design, HTML, PHP, User Interface / IA, Web Design
Budget: ₹1500 - ₹12500 INR
06-May-2024
10:03 GMT
Modern Residential Architect Needed
Category: AutoCAD, Building Architecture, Graphic Design, Home Design, Interior Design
Budget: $250 - $750 USD
06-May-2024
10:02 GMT
Commercial Park Urban Planning and Design
Category: Architecture, Concept Design, Urban Design, Urban Planning
Budget: $250 - $750 USD
06-May-2024
10:02 GMT
Daily TikTok & YouTube Comedy Skits
Category: Video Editing, Video Production, Video Services, Videography
Budget: $2 - $8 AUD
06-May-2024
10:00 GMT
Senior Web Developer for complex Web Application integration
Category: JavaScript, Node.js, NoSQL Couch & Mongo, PHP, Python
Budget: $25 - $26 AUD
06-May-2024
10:00 GMT
Desarrollador frontend ionic con angular para cambio de diseño en app ha existente
Category: AngularJS, HTML5, Ionic Framework, JavaScript, Mobile App Development
Budget: €250 - €750 EUR
06-May-2024
10:00 GMT
Creative AI Video Editing in Adobe CC
Category: After Effects, Graphic Design, Video Editing, Video Production, Video Services
Budget: ₹600 - ₹1500 INR
06-May-2024
09:59 GMT
Comprehensive App & Web Platform Dev
Category: Android, IPhone, JavaScript, Mobile App Development, PHP
Budget: ₹37500 - ₹75000 INR
06-May-2024
09:58 GMT
Polish Proofreader for Pregnancy and Postpartum Articles
Category: Copywriting, Editing, Polish Translator, Proofreading, Translation
Budget: €30 - €250 EUR
06-May-2024
09:57 GMT
E-commerce Consultant for Product Upload
Category: Amazon, Amazon Web Services, Data Entry, ECommerce, Shopify
Budget: $8 - $15 USD
06-May-2024
09:57 GMT
Need Changes in Donation Collection Mobile Application & Web Based Admin Panel
Category: API Development, Laravel, Mobile App Development, React Native
Budget: $10 - $30 USD
06-May-2024
09:57 GMT
CGI Video Specialist Needed
Category: 3D Animation, 3D Modelling, After Effects, Animation, Video Services
Budget: ₹12500 - ₹37500 INR
06-May-2024
09:57 GMT
Browse All Projects
Projects by Skills ...
Projects for 'android'
Projects for 'ajax'
Projects for 'asp'
Projects for 'aspnet'
Projects for 'cms'
Projects for 'cpp'
Projects for 'csharp'
Projects for 'css'
Projects for 'delphi'
Projects for 'design'
Projects for 'drupal'
Projects for 'excel'
Projects for 'facebook'
Projects for 'flash'
Projects for 'html'
Projects for 'java'
Projects for 'javascript'
Projects for 'joomla'
Projects for 'iphone'
Projects for 'mysql'
Projects for 'photoshop'
Projects for 'php'
Projects for 'python'
Projects for 'ruby'
Projects for 'seo'
Projects for 'sql'
Projects for 'sysadm'
Projects for 'translate'
Projects for 'typing'
Projects for 'twitter'
Projects for 'vbnet'
Projects for 'xml'
Projects for 'wordpress'
Projects for 'writing'
Read RSS feeds ... New!
RSS feed for 'android'
RSS feed for 'ajax'
RSS feed for 'asp'
RSS feed for 'aspnet'
RSS feed for 'cms'
RSS feed for 'cpp'
RSS feed for 'csharp'
RSS feed for 'css'
RSS feed for 'delphi'
RSS feed for 'design'
RSS feed for 'drupal'
RSS feed for 'excel'
RSS feed for 'facebook'
RSS feed for 'flash'
RSS feed for 'html'
RSS feed for 'java'
RSS feed for 'javascript'
RSS feed for 'joomla'
RSS feed for 'iphone'
RSS feed for 'mysql'
RSS feed for 'photoshop'
RSS feed for 'php'
RSS feed for 'python'
RSS feed for 'ruby'
RSS feed for 'seo'
RSS feed for 'sql'
RSS feed for 'sysadm'
RSS feed for 'translate'
RSS feed for 'typing'
RSS feed for 'twitter'
RSS feed for 'vbnet'
RSS feed for 'xml'
RSS feed for 'wordpress'
RSS feed for 'writing'
New!
Проекты на русском
(Projects in Russian)

Long URL:
www.1001freelanceprojects.com
Mobile version:
m.1001fp.com
Copyright © 2005-2022 1001 Freelance Projects