does anyone know where I can find any info on the serial object? There doesn't seem to be any in the helpfiles. I want to use the serial object to recieve data from a basic stamp. Is this possible?
josh
-
Serial object?
-
see :
[url=http://iem.kug.ac.at/pdb/query.html?all=y&alb=y&qry=serial ]http://iem.kug.ac.at/pdb/query.html?all=y&alb=y&qry=serial
works with Nt apparently -
here is a link that may be of interest.:
[url=http://www.0x09.com/Marlboro/physcomp/ ]http://www.0x09.com/Marlboro/physcomp/
it's not about about basic stamps, it's about PIC microcontrollers (don't some basic stamps use PIC chips?). anyway, the page talks about all the electronics and then talks about getting the data into Pd.
i'm just curious if you have been succesful in control Pd with your basic stamp because i am interested in building some 'gear' for control Pd externally.
hilbert~ -
Hi all
I used to have serial data input in pd through the Comport object, on WXP. I would like to switch to Mac OSX, but there is no serial port. I purchased a Serial-to-USB converter, but Comport oes not recognize it (obviously...). I need a way to tell Pure Data to identify the USB port and to get its data from it.
Does anyon have an idea ?
Thanks
Quadruscate -
how does mac osx treat a serial to usb converter? i know on PC's serial to usb devices usually create a virtual com port when plugged in and the your software doesn't not see any difference between a usb serial interface and a native serial interface. did any drivers come with the converter? it seems like you'd have to write an extern (or find one that's already out there?) that accesses the data from the usb. i would assume this would be done by using any API that comes with the converter. i have to confess i don't know the right terminology to use when talking about macs. i know with windows, i could say you have to write an extern that uses a DLL function or ActiveX control to communicate with the hardware. do you do any programming or know anyone who does? that might help.
-zac -
anyone had any more luck with serial in osx?
i have a keyspan adapter and if i type "ls /dev/tty.*" in terminal i get:
/dev/tty.USA19H2b2P1.1
(which is the devicename)
a long time back someone on the pd mail list sent me a copy of comport compiled for osx (although they didn't have a machine to test it). the binary loads but it can't create a comport object as it can't find the ports specified in the source. changing the devicename for comport after opening pd doesn't seem to work.
i have all the files but am not able to get them to compile with the current pd install (lack of know-how) but searching the source for "/dev/tty" it looks like it *might* be as simple as replacing those strings with whatever the devicename is and then compiling
if anyone wants to have a crack at it let me know and i could email what i have. otherwise it looks like i might try to use a combination of pyserial and the pyext objects
cheers
~nay