October 5, 2012 AT 6:00 am
Raspberry Pi and Cosm #piday #raspberrypi @Raspberry_Pi
Raspberry Pi and Cosm by MrMobileWill –
Over a month ago I decided to give Cosm.com a try instead of using my own MySQL database and graphing in Python. Since this was awhile ago I don’t remember everything I did to get it working but I will post the code and libraries I am using that work.
Here is a simple library to making sending to Cosm easy.
Here is the full code I am using to log the PIR sensor to Cosm, after the jump.
Each Friday is PiDay here at Adafruit, be sure to check out our posts, tutorials and new Raspberry Pi related products. Have you tried the new “Adafruit Raspberry Pi Educational Linux Distro” ? It’s our tweaked distribution for teaching electronics using the Raspberry Pi.
Join 7,000+ makers on
Adafruit’s Discord channels and be part of the community! http://adafru.it/discord
CircuitPython in 2018 – Python on Microcontrollers is here!
Have an amazing project to share? Join the SHOW-AND-TELL every
Wednesday night at 7:30pm ET on Google+ Hangouts.
Join us every Wednesday night at 8pm ET for
Ask an Engineer!
Follow Adafruit on Instagram for top secret new products, behinds the scenes and more https://www.instagram.com/adafruit/ Maker Business — The many, many manufacturing processes listed on Wikipedia Wearables — A bevel illusion Electronics — Blown transistor? Biohacking — We are Wired to Exercise at a Moderate Pace Python for Microcontrollers — Make It Move with Crickit!
Get the only spam-free daily newsletter about wearables, running a "maker business", electronic tips and more! Subscribe at
No comments yet.
Sorry, the comment form is closed at this time.