This project has been completed and is working perfectly. However, it is taking me some time to upload all of the files, because it is important to remove any personal information. Please be patient...
Hologram offers 1M bytes of free GPRS data per month. This project shows how this can be used to remotely collect data.
To make the experience fit your profile, pick a username and tell us what interests you.
We found and based on your interests.
This project has been completed and is working perfectly. However, it is taking me some time to upload all of the files, because it is important to remove any personal information. Please be patient...
newdata.phpPHP program to add new data to the database.application/x-php - 1.09 kB - 10/11/2017 at 12:51 |
|
|
index.htmlHTML file to read data from the database.text/html - 938.00 bytes - 10/11/2017 at 12:51 |
|
|
wiring.pngWiring diagram.image/png - 341.38 kB - 10/10/2017 at 15:27 |
|
|
gprs_data_collector.inoArduino code to collect hourly measurements and send them to the internet.x-arduino - 4.00 kB - 10/10/2017 at 12:46 |
|
This project has been designed according to the following requirements.
You don't actually need a free web hosting service if you are willing to pay for one. I personally used 000webhost.com, but you can use any web hosting service that provides PHP and MySQL.
This example is valid for 000webhost.com, but the procedure should be very similar for any free webhost.
-- Create a table "Info" which contains columns "Time" and "Voltage" in database "data"
-- Remember to change id1234567 to the correct user id
SET time_zone = "+00:00";
CREATE TABLE id1234567_data.Info (
Time datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
Voltage text COLLATE utf8_unicode_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
ALTER TABLE id1234567_data.Info ADD PRIMARY KEY (Time), ADD KEY Time (Time);
If you have any problems, click on the tab "Structure" and enter the above options using the graphical interface.
This example is valid for 000webhost.com, but the procedure should be very similar for any free webhost.
<Files index.html>
AddType application/x-httpd-php .html
Files>
Create an account to leave a comment. Already have an account? Log In.
Thank you for sharing this project! I Currently have a network of 3 cabins, each with their own off-grid solar systems. I've linked them together via radio with XBEE chips and am logging (5min interval) to an SD card for all the varying statistics. I have been struggling to move forward with using a cellular modem to push that data to the web - this is the EXACT example I needed to help get me rolling. I was just going to push the csv file to the web, but I think I'll got the MySQL route now and learn some PHP.
Thank you!
Become a member to follow this project and never miss any updates
By using our website and services, you expressly agree to the placement of our performance, functionality, and advertising cookies. Learn More
Really nice work. My projects are always not as neat. I am going to try this with a project that needs to log texts.