1001 Freelance Projects
Latest Projects from Freelance Marketplaces
Today is: 02-May-2024 22:00 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
3D Comedy Series for Teenagers
Category: 3D Animation, 3D Modelling, 3D Rendering, Animation, Graphic Design
Budget: $2 - $8 USD
02-May-2024
16:04 GMT
Design Update Needed
Category: Graphic Design, Illustration, Logo Design, Photoshop, Photoshop Design
Budget: $10 - $30 USD
02-May-2024
16:03 GMT
Stripe Integration Required
Category: Mobile App Development, Python, React Native
Budget: $10 - $100 USD
02-May-2024
16:03 GMT
BOQ Preparation for 2 Building Stages
Category: AutoCAD, Building Architecture, Civil Engineering, Home Design, Interior Design
Budget: $750 - $1500 AUD
02-May-2024
16:02 GMT
ETSY Shop Set Up for Photography Prints
Category: Dropshipping, Etsy, Graphic Design, Logo Design, Photoshop
Budget: €30 - €250 EUR
02-May-2024
16:00 GMT
HackerRank algorithmic task
Category: Algorithm, Java, JavaScript, Python, Software Architecture
Budget: €30 - €250 EUR
02-May-2024
16:00 GMT
Full-Time 8:30am-4:30pm Recruitment Resourcer 02-May-2024
16:00 GMT
Legal Advice on possibility of Contract Breach. Wrten & complete within a 3 days limited time
Category: Contracts, Legal, Legal Research, Legal Writing, Property Law
Budget: £750 - £1500 GBP
02-May-2024
15:58 GMT
Advanced Technical Project Manager -- 2
Category: Management, Project Management, Technical Documentation, Technical Support
Budget: $8 - $15 AUD
02-May-2024
15:57 GMT
3D Morse Code Wedding Vows Canvas
Category: 3D Animation, 3D Modelling, 3D Rendering, Animation, Illustration
Budget: $15 - $25 USD
02-May-2024
15:57 GMT
Web Content Research and Spreadsheet Population
Category: Data Entry, Data Mining, Excel, Web Scraping, Web Search
Budget: £10 - £15 GBP
02-May-2024
15:57 GMT
Russian Machinery Document Translation
Category: English (UK) Translator, English (US) Translator, Russian Translator, Translation, Ukrainian Translator
Budget: $5000 - $10000 USD
02-May-2024
15:56 GMT
Zcart Codecanyon php script installation Needed
Category: HTML, JavaScript, Linux, MySQL, PHP
Budget: $2 - $8 USD
02-May-2024
15:56 GMT
Kiosk Website with Touchscreen Interface -- 3
Category: Graphic Design, HTML, PHP, User Interface / IA, Web Design
Budget: $3000 - $5000 USD
02-May-2024
15:56 GMT
Corporate Emotional Intelligence Enhancement
Category: Business Analysis, Business Writing, Management, Report Writing, Research Writing
Budget: $25 - $50 USD
02-May-2024
15:56 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)

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