This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2013-01-23 17:06:26

technoboy10
Scratcher
Registered: 2007-08-25
Posts: 1000+

Arduino + S4A + Python = Weather station

Hi all! I've been playing with Arduino and the S4A (Scratch for Arduino) Scratch mod, and I've made a basic weather station. I used a TMP36 temperature sensor, an Arduino Uno, and a breadboard (I don't like soldering that much  tongue ). The Arduino sends the temperature data to S4A, and S4A sends the data to Python using Remote Sensor connections. Python then uploads the data to a website using FTP. 

Here's the code on GH:
http://www.github.com/technoboy10/s4a-weatherstation  smile

Last edited by technoboy10 (2013-01-25 12:52:48)


So long, 1.4.
http://goo.gl/3JEV9

Offline

 

#2 2013-01-23 20:01:49

bobbybee
Scratcher
Registered: 2009-10-18
Posts: 1000+

Re: Arduino + S4A + Python = Weather station

Or you could do it all from Arduino (in C)... but cool!


I support the Free Software Foundation. Protect our digital rights!

Offline

 

#3 2013-01-24 08:39:51

technoboy10
Scratcher
Registered: 2007-08-25
Posts: 1000+

Re: Arduino + S4A + Python = Weather station

bobbybee wrote:

Or you could do it all from Arduino (in C)... but cool!

Yeah, I probably could have, but I was more comfortable using Scratch and Python for this one.  smile


So long, 1.4.
http://goo.gl/3JEV9

Offline

 

#4 2013-01-24 11:23:39

technoguyx
Scratcher
Registered: 2008-10-18
Posts: 1000+

Re: Arduino + S4A + Python = Weather station

Sounds nice  big_smile

I hate soldering too, hah.


http://getgnulinux.org/links/en/linuxliberated_4_78x116.png

Offline

 

#5 2013-01-24 21:22:25

ScratchReallyROCKS
Scratcher
Registered: 2009-04-22
Posts: 1000+

Re: Arduino + S4A + Python = Weather station

Cool idea, I hadn't heard of the S4A mod yet.

And contrary to the general consensus of the thread, I actually do like soldering.


http://imageshack.us/a/img694/3806/sigmad.png

Offline

 

#6 2013-01-24 21:37:11

Hardmath123
Scratcher
Registered: 2010-02-19
Posts: 1000+

Re: Arduino + S4A + Python = Weather station

Hey, SRR! You're alive!  big_smile  You haven't been on since the death of Chrono wars, right?


Hardmaths-MacBook-Pro:~ Hardmath$ sudo make $(whoami) a sandwich

Offline

 

#7 2013-01-25 12:52:03

technoboy10
Scratcher
Registered: 2007-08-25
Posts: 1000+

Re: Arduino + S4A + Python = Weather station

UPDATE: Code is on GH now. See the first post.  smile


So long, 1.4.
http://goo.gl/3JEV9

Offline

 

Board footer