Hello together,
this is my first post to this list, so please take it easy on me if I missed some point or my problem is trivial.
Here's the project: I am building a system of approximately 200 little speakers that can be switched on/off individually. This works via 4066 8bit-registers that are filled by an atmega. I want to use PD to feed the atmega the bits that then go into the registers. At the same time I want to feed a step motor and get feedback about its current position.
Here's the question: Has anybody here experience with using an ft232 (http://www.ftdichip.com/Products/FT232BM.htm) with PD? It provides a virtual serial port via usb and appears the easiest (cheapest) way to communicate. I'm using OSX and drivers for the chip are provided.
I am not at all firm with PD right now. Last time I used Max/MSP an thats about 5 years ago. As I understand, the [comport] object works with OSX now. I couldn't find much in the forum about sending data to the outside. Most things seem to be done via Arduino and its derivates…
Thanks for your help.
cheers ff
The Arduino uses the FT232 or something just like it. You need to install drivers for it. They are included with the Arduino software.
Martin
Felix Obée wrote:
Hello together,
this is my first post to this list, so please take it easy on me if I missed some point or my problem is trivial.
Here's the project: I am building a system of approximately 200 little speakers that can be switched on/off individually. This works via 4066 8bit-registers that are filled by an atmega. I want to use PD to feed the atmega the bits that then go into the registers. At the same time I want to feed a step motor and get feedback about its current position.
Here's the question: Has anybody here experience with using an ft232 (http://www.ftdichip.com/Products/FT232BM.htm) with PD? It provides a virtual serial port via usb and appears the easiest (cheapest) way to communicate. I'm using OSX and drivers for the chip are provided.
I am not at all firm with PD right now. Last time I used Max/MSP an thats about 5 years ago. As I understand, the [comport] object works with OSX now. I couldn't find much in the forum about sending data to the outside. Most things seem to be done via Arduino and its derivatesÂ…
Thanks for your help.
cheers ff _______________________________________________ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Not exactly, the Arduino Duemilanove uses the ATmega168 chip. I have no knowledge of the FT232.
Comport works really well on OSX with Pd however. The only issue is that it will crash Pd if you disconnect the USB without first disconnecting in the software. This is in the bugtracker/list of fixes, so maybe sometime soon it will be solved. Other than that, it works great.
Good luck on your project, and be sure to send documentation of the completed work. It sounds interesting.
~Kyle
On Mon, Dec 7, 2009 at 8:24 AM, Martin Peach martin.peach@sympatico.cawrote:
The Arduino uses the FT232 or something just like it. You need to install drivers for it. They are included with the Arduino software.
Martin
Felix Obée wrote:
Hello together,
this is my first post to this list, so please take it easy on me if I missed some point or my problem is trivial.
Here's the project: I am building a system of approximately 200 little speakers that can be switched on/off individually. This works via 4066 8bit-registers that are filled by an atmega. I want to use PD to feed the atmega the bits that then go into the registers. At the same time I want to feed a step motor and get feedback about its current position.
Here's the question: Has anybody here experience with using an ft232 ( http://www.ftdichip.com/Products/FT232BM.htm) with PD? It provides a virtual serial port via usb and appears the easiest (cheapest) way to communicate. I'm using OSX and drivers for the chip are provided.
I am not at all firm with PD right now. Last time I used Max/MSP an thats about 5 years ago. As I understand, the [comport] object works with OSX now. I couldn't find much in the forum about sending data to the outside. Most things seem to be done via Arduino and its derivates…
Thanks for your help.
cheers ff _______________________________________________ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
On Mon, Dec 7, 2009 at 10:52 AM, Kyle Klipowicz kyleklip@gmail.com wrote:
Not exactly, the Arduino Duemilanove uses the ATmega168 chip. I have no knowledge of the FT232.
It uses the FT232 to communicate between the USB and the ATmega168:
http://www.scribd.com/doc/18027806/Arduino-Duemilanove-Schematic
Aaaah. Schooled me!
~Kyle
On Mon, Dec 7, 2009 at 11:03 AM, John Harrison johnharrisonwsu@gmail.comwrote:
On Mon, Dec 7, 2009 at 10:52 AM, Kyle Klipowicz kyleklip@gmail.comwrote:
Not exactly, the Arduino Duemilanove uses the ATmega168 chip. I have no knowledge of the FT232.
It uses the FT232 to communicate between the USB and the ATmega168:
http://www.scribd.com/doc/18027806/Arduino-Duemilanove-Schematic
Thanks for the help everybody!
As I understand it, the Arduino uses the FT232 for communication with the computer. So it should be recognized by pd and comport. I'll do some soldering and see, what I get.
http://arduino.cc/en/Main/MiniUSB
Is there a further documentation for the comport object, apart from Martins helpfile? I'm also missing a quick reference guide. Somehow OSX has hidden all pd-files from me (probably somewhere root?) and some overview would be nice.
The project will hopefully be well documented to the last resistor. Right now we're working on synchronizing the switching to the 0-phase of the sound played, to avoid producing crackles when switching.
cheers ff
Am 07.12.2009 um 18:03 schrieb John Harrison:
On Mon, Dec 7, 2009 at 10:52 AM, Kyle Klipowicz kyleklip@gmail.com wrote: Not exactly, the Arduino Duemilanove uses the ATmega168 chip. I have no knowledge of the FT232.
It uses the FT232 to communicate between the USB and the ATmega168:
http://www.scribd.com/doc/18027806/Arduino-Duemilanove-Schematic
hey
look at this link, it may help you
http://wiki.dataflow.ws/comport?highlight=%28comport%29
2009/12/7 Felix Obée felix@amphibiousthoughts.com
Thanks for the help everybody!
As I understand it, the Arduino uses the FT232 for communication with the computer. So it should be recognized by pd and comport. I'll do some soldering and see, what I get.
http://arduino.cc/en/Main/MiniUSB
Is there a further documentation for the comport object, apart from Martins helpfile? I'm also missing a quick reference guide. Somehow OSX has hidden all pd-files from me (probably somewhere root?) and some overview would be nice.
The project will hopefully be well documented to the last resistor. Right now we're working on synchronizing the switching to the 0-phase of the sound played, to avoid producing crackles when switching.
cheers ff
Am 07.12.2009 um 18:03 schrieb John Harrison:
On Mon, Dec 7, 2009 at 10:52 AM, Kyle Klipowicz kyleklip@gmail.comwrote:
Not exactly, the Arduino Duemilanove uses the ATmega168 chip. I have no knowledge of the FT232.
It uses the FT232 to communicate between the USB and the ATmega168:
http://www.scribd.com/doc/18027806/Arduino-Duemilanove-Schematic
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
On Dec 9, 2009, at 8:36 PM, Simon Wise wrote:
Felix Obée wrote:
I'm also missing a quick reference guide. Somehow OSX has hidden all pd-files from me (probably somewhere root?) and some overview
would be nice.
on OSX all Pd files are inside the Pd.app folder, try the right- click menu to open it up.
The Help Browser gives you something of an overview (Help ->
Browser). Or you can also look at Pdpedia:
.hc
I have always wished for my computer to be as easy to use as my
telephone; my wish has come true because I can no longer figure out
how to use my telephone." --Bjarne Stroustrup (creator of C++)