We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpElectronics,  Serial Library › Using MIT Scratch Board / Picoboard w/ Processing
Page Index Toggle Pages: 1
Using MIT Scratch Board / Picoboard w/ Processing? (Read 1012 times)
Using MIT Scratch Board / Picoboard w/ Processing?
Oct 24th, 2008, 4:12am
 
Hi -

I've got a Scratch Board (now called the Picoboard) from MIT's excellent Scratch project, and I'd like to see if anybody has tried using it in conjunction with Processing.

If so, are there any tips/strategies you can share?

Here are some links:
http://scratch.wik.is/Support/Sensor_Boards
http://www.picocricket.com/picoboard.html
Re: Using MIT Scratch Board / Picoboard w/ Process
Reply #1 - Oct 27th, 2008, 2:05pm
 
I did a bit more poking around, and tried a few things.

First, here's the technical spec on the PicoBoard:

http://scratch.mit.edu/files/scratchboard/ScratchBoard_Tech_InfoR1.pdf

Unfortunately, I don't have enough experience with hardware integration for that document to be helpful. Here's what I also tried:

I opened up the SerialDuplex sketch by Tom Igoe (in the Serial library) and ran it. It showed the following serial ports:

Java lib Version   = RXTX-2.1-7
[0] "/dev/tty.usbserial"
[1] "/dev/cu.usbserial"
[2] "/dev/tty.PL2303-0000101D"
[3] "/dev/cu.PL2303-0000101D"
[4] "/dev/tty.Bluetooth-PDA-Sync"
[5] "/dev/cu.Bluetooth-PDA-Sync"
[6] "/dev/tty.Bluetooth-Modem"
[7] "/dev/cu.Bluetooth-Modem"

Now, I know from installing the Scratch board that it uses the PL2303 USB-to-serial driver, so I tried setting the sketch to use either port 2 or port 3, both of which are labeled "PL2303", but I'm still not seeing any sign of data showing up in the sketch.

I did test it out in Scratch, and verified that the board is sending data OK (it shows up in a Scratch program).

Any further thoughts?

Thanks in advance,

Bill
Page Index Toggle Pages: 1