Upload data to a blogger site using PIC16F877A

Status
Not open for further replies.

sawula

New Member
I have build a project that measure temperature, humidity and some other things and now I want to upload those measurements to a blog and plot graphs of them. The project uses PIC16F877A and SIM300 modem to connect to the internet over GPRS. And I was able to connect to the internet.

Can any one give me an idea how to upload real time data to a blog and how to draw the chart. Please help me
 
You really need to be able to install some php code on a webserver to do that. A PIC16F877A can send stuff to a webserver though GPRS by http, ftp or email, but you would be adding a lot of complication to the PIC16F877A code if you had to conform to a blog format. It would also be difficult to get charts drawn.

You would normally have some code on the server that would store what the PIC sends in a database, and then have other code that would take that data and draw a graph from it.
 
Can any one give me an idea how to upload real time data to a blog
You can upload data to the website by using a HTTP POST containing the sensor data to an active page (e.g. php, asp, asp.net) that stores it on the server (e.g. in a file or database). The blog page will have to access that data or e.g. a gif image of the chart produced from it.

how to draw the chart.
If you're using ASP.NET, you can use a System.Web.UI.DataVisualization.Charting.Chart, which can create a temporary image for you to reference, or stream a dynamic one.
If you're using something else, you can draw a bar chart by creating a table dynamically with varying height cells or there's probably some already written charting packages you can use (you might be able to use gnuplot through CGI or something - I don't know though).
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…