Over on the Tenet Technetronics Blog there are some great posts about how to connect Arduino to ThingSpeak using Python as the middleware. Please check it out and thank them for putting to together an awesome ThingSpeak Application Note and Video. The video demonstrates publishing sensor data to the web using ThingSpeak and Python. The sensor data is collected by an Arduino MCU.
Posts Tagged: python
[sirleech] of Australian Robotics created a project based on the RESTduino libraries by Jason Gullickson for Arduino-based microcontrollers. RESTduino turns an Arduino into a RESTful device and gives you the ability to access it with structured URLs. In this project, sirleech extends RESTduino with some Python scripting so that a RESTduino device can update a ThingSpeak Channel. Visit GitHub for the complete project source code.
[rob myers] created a dynamic webpage that changes based on the colours in his studio. Rob takes a picture of his studio with a webcam, processes the image with Python, and uploads the colour data to a ThingSpeak channel. The webpage uses jQuery to access the ThingSpeak API and dynamically update his webpage. All of the software is available for download as a GIT repo, so anyone with a webcam should be able to recreate this project very easily.
We love the combination of storing data in a channel and using the API to update a webpage dynamically based on the current “mood” of an area. We also love the idea of using a webcam as a passive sensor since almost everybody has one.
[via Rob Myers' Blog]
[Chris Lee] of Australian Robotics created a project that uses ThingSpeak as a resource monitor for a computer. His project explains how he uses Python to send HTTP POST requests to a ThingSpeak Channel. The data that he is sending is CPU and memory usage. This application could be used for monitoring servers and verifying uptime. Chris also makes use of the ThingSpeak Charts API to visualize the data in real-time.
The latest Python code to interface to ThingSpeak is available on GitHub.
[via Australian Robotics]
“mattyw” shows us how to read a thermistor temperature sensor with an Arduino and use a python script to update a ThingSpeak Channel.