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

#1 2012-05-17 11:09:09

osbock
Scratcher
Registered: 2007-05-16
Posts: 14

Scratch and Arduino

I know this has been covered here before, but I'm bringing a new Arduino based sensor board project to Scratch day at MIT. I documented it on my blog, and thought you'd like to see it:

http://baldwisdom.com/itchyduino

The code is up there, and I'm hoping to release it as an Arduino Library as well.

Offline

 

#2 2012-05-18 22:56:36

flinthill
Scratcher
Registered: 2012-01-09
Posts: 1

Re: Scratch and Arduino

Thanks for posting this!  I saw it on Hackaday and have had a fun evening working with it.

Would you confirm that the code you posted on your blog is accurate?  There's a few bits of weirdness in how it posted, with a string of int assigns wrapped in a long comment, and (what I assume is) a bitshift written as <> 7.

Thanks again for posting the code *and* for posting here!  With comments disabled on your original post, I didn't have any clue how to contact you!

Offline

 

#3 2012-05-21 06:40:30

TeadsTetRam
New Scratcher
Registered: 2012-05-21
Posts: 23

Re: Scratch and Arduino

As a variant, yes

Offline

 

#4 2012-05-22 00:09:49

osbock
Scratcher
Registered: 2007-05-16
Posts: 14

Re: Scratch and Arduino

I've re-written it as an Arduino Library and released it on github. That should solve any formatting problems from the blog.

http://baldwisdom.com/arduino-library-for-scratch-sensor-board-emulation/
https://github.com/osbock/ScratchSensors

I get too much spam on the blog. You can follow me on google+ or email:
[removed]

Last edited by cheddargirl (2012-05-22 00:28:56)

Offline

 

#5 2012-05-22 00:31:10

cheddargirl
Scratch Team
Registered: 2008-09-15
Posts: 1000+

Re: Scratch and Arduino

Hi osbock, because this is a website open to all ages, sharing personal contact information such as e-mail isn't allowed on the Scratch website. Maybe there's an alternative way for Scratchers to follow you?  smile


http://i.imgur.com/8QRYx.png
Everything is better when you add a little cheddar, because when you have cheese your life is at ease  smile

Offline

 

#6 2012-05-22 07:09:50

osbock
Scratcher
Registered: 2007-05-16
Posts: 14

Re: Scratch and Arduino

Well, It would be nice If I could subscribe to just this topic (enhancement request?)
But anyway, I subscribed to the digest of this and the advanced forum. If I see a question there, I'll come back.
Sorry about the transgression.

Offline

 

#7 2012-05-22 10:47:07

osbock
Scratcher
Registered: 2007-05-16
Posts: 14

Re: Scratch and Arduino

I wanted to also point out that this is based on a program that was posted to the scratch forums long ago (I think Mike Donovan was the author)
I found this posting that is related, and has lots of good info on electrical connection and such:
http://scratch.mit.edu/forums/viewtopic.php?id=28188

Offline

 

#8 2012-06-03 07:19:44

boardsmm
New Scratcher
Registered: 2012-05-11
Posts: 25

Re: Scratch and Arduino

I really appreciate these efforts. The concept of controlling something as flexible as an Arduino with the friendly Scratch is fantastic!

Thank you osbock!!!!!!

:-)

Offline

 

#9 2012-06-07 13:27:10

Nathanator1416J
Scratcher
Registered: 2012-02-21
Posts: 100+

Re: Scratch and Arduino

You do know there is a scratch variant that allows you to interface the arduino without extra libraries?


http://wiki.scratch.mit.edu/images/Ptp.gif PEPPERTREE  Productions (PtP)
Tourmaline Scientific Research Programs

Offline

 

Board footer