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

#1 2010-05-15 06:11:41

IrisSophia
Scratcher
Registered: 2009-09-25
Posts: 10

Acelerometer with Picoboard

Hi everyone.

I am no specialist but got the Picoboard and tried making programs with light sensors
and reed switches ( to calculate distance traversed by a turning wheel, Scratch house alarm...). It actually works and kids love it ( I am a teacher). Anyway, someone asked me if it was possible to connect an acelerometer to the Picoboard. I didn't even know what that was but did some investigating. Found out someone actually already did that - Ichi Board or Ichiboard but they don't seem to be  for sale. Would it be easy to do that , I mean assuming there are x. y and z axes could I just hook those wires up to alligators? If this is possible  could someone tell me what acelerometer to buy and how to connect?
P.S. Used an inclinometer already. the kind used in mototcycle alarms  but results are just 0 or 1.

Thankyou!  smile
Sophia

Offline

 

#2 2010-05-15 06:14:53

meew0
Scratcher
Registered: 2010-02-22
Posts: 1000+

Re: Acelerometer with Picoboard

I am not so experienced with sensorboards... I can't help you. This thread should be in Sensor Boards.


http://i.imgur.com/mJV3j.pnghttp://i.imgur.com/HwWAX.pnghttp://i.imgur.com/sZ7Ui.pnghttp://i.imgur.com/0y6yh.pnghttp://i.imgur.com/nOC4l.png

Offline

 

#3 2010-05-15 06:32:30

sparks
Community Moderator
Registered: 2008-11-05
Posts: 1000+

Re: Acelerometer with Picoboard

hm, yeah, put it in sensor boards. however, I don't think connecting an accelerometer directly to the crocodile clips will work, I think they require external power. I was going to try that myself, but couldn't find any cheap ones. I would love to hear from you if you get it to work.

If you have any knowledge with Python (a programming language) you can actually connect a wiimote with two accelerometers inside to the computer via bluetooth, then use Python to set X and Y varaibles for Scratch to read using Scratch's enable remote sensor connections. That might be a bit tricky though.

hope you get it fixed, it sounds like a neat project.

oh, one other thing I have tried with my picoboard is to open up an old playstation controller and solder some connections to the potentiometers around the joysticks, you can then controll a player in a game with the modified joystick controller, it's great fun!


http://img541.imageshack.us/img541/7563/scratchbetabanner.png

Offline

 

#4 2010-05-15 11:14:23

IrisSophia
Scratcher
Registered: 2009-09-25
Posts: 10

Re: Acelerometer with Picoboard

Thanks, will post question in Sensor Boards!

Sophia

Offline

 

#5 2010-05-15 11:21:09

sparks
Community Moderator
Registered: 2008-11-05
Posts: 1000+

Re: Acelerometer with Picoboard

you can just click report next to any post, and in the box that comes up, type "please move this topic to sensor boards" it will be sent to moderators and they will move it for you.


http://img541.imageshack.us/img541/7563/scratchbetabanner.png

Offline

 

Board footer