Re: [PD] pduino + arduino UNO

2010-10-19 Thread alessandro contini
thanks tim and jose,
i know about the new USB-to-serial chip and i wonder if this is the problem.

to make things clear we used firmata 2.2, Arduino IDE 0021, Arduino UNO
board, Pduino0.5beta8 downloaded from Hans' site, pd-extended 0.42.5 for Mac
Intel.

same set up with Arduino Duemilanove works flawlessly, so i think the
problem is with the board, but i can't be sure...
today i'll experiment with different configurations.


alessandro contini + www.cntlsn.com


2010/10/19 Jose Luis Santorcuato santorcuat...@gmail.com

 Ooops, the firmata.h is in the pduino/firmata...

 Best regards

 José

 2010/10/19 Jose Luis Santorcuato santorcuat...@gmail.com

 HI, I have no arduino one hand, you could try installing the latest
 Arduino IDE, is for the UNO plate.
 I noticed that in 2.1 are defined Firmat chipset ATMEGA xxx in the file
 named firmata.h chipsets there are defined outputs and inputs, not sure, but
 could include a chip or model, remember that the FTDI system but not 
 necessary
 with an Arduino UNO.

 The Uno differs from all preceding boards in that it does not use the FTDI
 USB-to-serial driver chip. Instead, it features the Atmega8U2 programmed
 as a USB-to-serial converter. (arduino.cc)

 Below define of plates, chips and inputs/outputs

 Try de solutions and keep working


 José





 ==
  * MACROS

  
 **/

 /* shortcut for setFirmwareNameAndVersion() that uses __FILE__ to set the
  * firmware name.  It needs to be a macro so that __FILE__ is included in
 the
  * firmware source file rather than the library source file.
  */
 #define setFirmwareVersion(x, y)   setFirmwareNameAndVersion(__FILE__, x,
 y)

 // total number of pins currently supported
 #if defined(__AVR_ATmega168__) || defined(__AVR_ATmega328P__) // Arduino
 NG and Diecimila
 #define TOTAL_ANALOG_PINS   8
 #define TOTAL_DIGITAL_PINS  22 // 14 digital + 8 analog
 #define TOTAL_PORTS 3 // total number of ports for the board
 #define ANALOG_PORT 2 // port# of analog used as digital
 #define FIRST_ANALOG_PIN14 // pin# corresponding to analog 0
 #define VERSION_BLINK_PIN   13 // digital pin to blink version on
 #define FIRST_SERVO_PIN 2 // pin# of the first servo pin
 #elif defined(__AVR_ATmega8__)  // old Arduinos
 #define TOTAL_ANALOG_PINS   6
 #define TOTAL_DIGITAL_PINS  20 // 14 digital + 6 analog
 #define TOTAL_PORTS 3  // total number of ports for the board
 #define ANALOG_PORT 2  // port# of analog used as digital
 #define FIRST_ANALOG_PIN14 // pin# corresponding to analog 0
 #define VERSION_BLINK_PIN   13 // digital pin to blink version on
 #define FIRST_SERVO_PIN 2 // pin# of the first servo pin
 #elif defined(__AVR_ATmega1280__)// Arduino Mega
 #define TOTAL_ANALOG_PINS   16
 #define TOTAL_DIGITAL_PINS  70 // 54 digital + 16 analog
 #define TOTAL_PORTS 9 // total number of ports for the board
 #define ANALOG_PORT 8 // port# of analog used as digital
 #define FIRST_ANALOG_PIN54 // pin# corresponding to analog 0
 #define VERSION_BLINK_PIN   13 // digital pin to blink version on
 #define FIRST_SERVO_PIN 2 // pin# of the first servo pin
 #elif defined(__AVR_ATmega128__)// Wiring
 #define TOTAL_ANALOG_PINS   8
 #define TOTAL_DIGITAL_PINS  51
 #define TOTAL_PORTS 7 // total number of ports for the board
 #define ANALOG_PORT 5 // port# of analog used as digital
 #define FIRST_ANALOG_PIN40 // pin# corresponding to analog 0
 #define VERSION_BLINK_PIN   48 // digital pin to blink version on
 #define FIRST_SERVO_PIN 8 // pin# of the first servo pin
 #elif defined(__AVR_AT90USB162__) // Teensy
 #define TOTAL_ANALOG_PINS   0
 #define TOTAL_DIGITAL_PINS  21 // 21 digital + no analog
 #define TOTAL_PORTS 4 // total number of ports for the board
 #define ANALOG_PORT 3 // port# of analog used as digital
 #define FIRST_ANALOG_PIN21 // pin# corresponding to analog 0
 #define VERSION_BLINK_PIN   6 // digital pin to blink version on
 #elif defined(__AVR_ATmega32U4__) // Teensy
 #define TOTAL_ANALOG_PINS   12
 #define TOTAL_DIGITAL_PINS  25 // 11 digital + 12 analog
 #define TOTAL_PORTS 4 // total number of ports for the board
 #define ANALOG_PORT 3 // port# of analog used as digital
 #define FIRST_ANALOG_PIN11 // pin# corresponding to analog 0
 #define VERSION_BLINK_PIN   11 // digital pin to blink version on
 #elif defined(__AVR_AT90USB646__) || defined(__AVR_AT90USB1286__) //
 Teensy++
 #define TOTAL_ANALOG_PINS   8
 #define TOTAL_DIGITAL_PINS  46 // 38 digital + 8 analog
 #define TOTAL_PORTS 6 // total number of ports for the board
 #define ANALOG_PORT 5 // port# of analog 

Re: [PD] pduino + arduino UNO

2010-10-19 Thread alessandro contini
solved.
thanks a lot anyway.


alessandro contini + www.cntlsn.com


2010/10/19 alessandro contini aless.cont...@gmail.com

 thanks tim and jose,
 i know about the new USB-to-serial chip and i wonder if this is the
 problem.

 to make things clear we used firmata 2.2, Arduino IDE 0021, Arduino UNO
 board, Pduino0.5beta8 downloaded from Hans' site, pd-extended 0.42.5 for Mac
 Intel.

 same set up with Arduino Duemilanove works flawlessly, so i think the
 problem is with the board, but i can't be sure...
 today i'll experiment with different configurations.



 alessandro contini + www.cntlsn.com


 2010/10/19 Jose Luis Santorcuato santorcuat...@gmail.com

 Ooops, the firmata.h is in the pduino/firmata...

 Best regards

 José

 2010/10/19 Jose Luis Santorcuato santorcuat...@gmail.com

 HI, I have no arduino one hand, you could try installing the latest
 Arduino IDE, is for the UNO plate.
 I noticed that in 2.1 are defined Firmat chipset ATMEGA xxx in the file
 named firmata.h chipsets there are defined outputs and inputs, not sure, but
 could include a chip or model, remember that the FTDI system but not 
 necessary
 with an Arduino UNO.

 The Uno differs from all preceding boards in that it does not use the
 FTDI USB-to-serial driver chip. Instead, it features the 
 Atmega8U2programmed as a USB-to-serial converter. (arduino.cc)

 Below define of plates, chips and inputs/outputs

 Try de solutions and keep working


 José





 ==
  * MACROS

  
 **/

 /* shortcut for setFirmwareNameAndVersion() that uses __FILE__ to set the
  * firmware name.  It needs to be a macro so that __FILE__ is included in
 the
  * firmware source file rather than the library source file.
  */
 #define setFirmwareVersion(x, y)   setFirmwareNameAndVersion(__FILE__, x,
 y)

 // total number of pins currently supported
 #if defined(__AVR_ATmega168__) || defined(__AVR_ATmega328P__) // Arduino
 NG and Diecimila
 #define TOTAL_ANALOG_PINS   8
 #define TOTAL_DIGITAL_PINS  22 // 14 digital + 8 analog
 #define TOTAL_PORTS 3 // total number of ports for the board
 #define ANALOG_PORT 2 // port# of analog used as digital
 #define FIRST_ANALOG_PIN14 // pin# corresponding to analog 0
 #define VERSION_BLINK_PIN   13 // digital pin to blink version on
 #define FIRST_SERVO_PIN 2 // pin# of the first servo pin
 #elif defined(__AVR_ATmega8__)  // old Arduinos
 #define TOTAL_ANALOG_PINS   6
 #define TOTAL_DIGITAL_PINS  20 // 14 digital + 6 analog
 #define TOTAL_PORTS 3  // total number of ports for the board
 #define ANALOG_PORT 2  // port# of analog used as digital
 #define FIRST_ANALOG_PIN14 // pin# corresponding to analog 0
 #define VERSION_BLINK_PIN   13 // digital pin to blink version on
 #define FIRST_SERVO_PIN 2 // pin# of the first servo pin
 #elif defined(__AVR_ATmega1280__)// Arduino Mega
 #define TOTAL_ANALOG_PINS   16
 #define TOTAL_DIGITAL_PINS  70 // 54 digital + 16 analog
 #define TOTAL_PORTS 9 // total number of ports for the board
 #define ANALOG_PORT 8 // port# of analog used as digital
 #define FIRST_ANALOG_PIN54 // pin# corresponding to analog 0
 #define VERSION_BLINK_PIN   13 // digital pin to blink version on
 #define FIRST_SERVO_PIN 2 // pin# of the first servo pin
 #elif defined(__AVR_ATmega128__)// Wiring
 #define TOTAL_ANALOG_PINS   8
 #define TOTAL_DIGITAL_PINS  51
 #define TOTAL_PORTS 7 // total number of ports for the board
 #define ANALOG_PORT 5 // port# of analog used as digital
 #define FIRST_ANALOG_PIN40 // pin# corresponding to analog 0
 #define VERSION_BLINK_PIN   48 // digital pin to blink version on
 #define FIRST_SERVO_PIN 8 // pin# of the first servo pin
 #elif defined(__AVR_AT90USB162__) // Teensy
 #define TOTAL_ANALOG_PINS   0
 #define TOTAL_DIGITAL_PINS  21 // 21 digital + no analog
 #define TOTAL_PORTS 4 // total number of ports for the board
 #define ANALOG_PORT 3 // port# of analog used as digital
 #define FIRST_ANALOG_PIN21 // pin# corresponding to analog 0
 #define VERSION_BLINK_PIN   6 // digital pin to blink version on
 #elif defined(__AVR_ATmega32U4__) // Teensy
 #define TOTAL_ANALOG_PINS   12
 #define TOTAL_DIGITAL_PINS  25 // 11 digital + 12 analog
 #define TOTAL_PORTS 4 // total number of ports for the board
 #define ANALOG_PORT 3 // port# of analog used as digital
 #define FIRST_ANALOG_PIN11 // pin# corresponding to analog 0
 #define VERSION_BLINK_PIN   11 // digital pin to blink version on
 #elif defined(__AVR_AT90USB646__) || defined(__AVR_AT90USB1286__) //
 Teensy++
 #define TOTAL_ANALOG_PINS   8
 #define TOTAL_DIGITAL_PINS  46 // 38 digital + 8 

Re: [PD] pduino + arduino UNO

2010-10-19 Thread John Harrison
how was this solved?

On Tue, Oct 19, 2010 at 8:30 AM, alessandro contini aless.cont...@gmail.com
 wrote:

 solved.
 thanks a lot anyway.



___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] pduino + arduino UNO

2010-10-19 Thread Jose Luis Santorcuato
+1 how???

José

2010/10/19 John Harrison johnharrison...@gmail.com

 how was this solved?


 On Tue, Oct 19, 2010 at 8:30 AM, alessandro contini 
 aless.cont...@gmail.com wrote:

 solved.
 thanks a lot anyway.





-- 
http://arselectronicachile.blogspot.com
http://www.myspace.com/santorcuato
http://comunicacionnativa.blogspot.com/
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


[PD] pduino + arduino UNO

2010-10-18 Thread alessandro contini
hey there,
i'm teaching in an intensive course about Arduino in an italian design
school.

some of the students are using Pduino for their final projects.
the point is i have a student who bought the new Arduino UNO board, we tried
to use it with Firmata 2.2 and Pduino, but it doesn't work.
when loading the arduino-test it loads only a part of the patch in the
console view. it recognizes the board as an Arduino UNO, but then it says
can't create

i tried to search for the problem with google, but we haven't found anything
useful.
maybe someone encountered a similar problem? :)


alessandro contini + www.cntlsn.com
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] pduino + arduino UNO

2010-10-18 Thread tim vets
from http://arduino.cc/en/Main/Hardware :
It is similar to the Duemilanove, but has a different USB-to-serial chip
the ATMega8U2
may have something to do with it...?
gr,
Tim


2010/10/18 alessandro contini aless.cont...@gmail.com

 hey there,
 i'm teaching in an intensive course about Arduino in an italian design
 school.

 some of the students are using Pduino for their final projects.
 the point is i have a student who bought the new Arduino UNO board, we
 tried to use it with Firmata 2.2 and Pduino, but it doesn't work.
 when loading the arduino-test it loads only a part of the patch in the
 console view. it recognizes the board as an Arduino UNO, but then it says
 can't create

 i tried to search for the problem with google, but we haven't found
 anything useful.
 maybe someone encountered a similar problem? :)


 alessandro contini + www.cntlsn.com

 ___
 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


Re: [PD] pduino + arduino UNO

2010-10-18 Thread Jose Luis Santorcuato
HI, I have no arduino one hand, you could try installing the latest Arduino
IDE, is for the UNO plate.
I noticed that in 2.1 are defined Firmat chipset ATMEGA xxx in the file
named firmata.h chipsets there are defined outputs and inputs, not sure, but
could include a chip or model, remember that the FTDI system but not necessary
with an Arduino UNO.

The Uno differs from all preceding boards in that it does not use the FTDI
USB-to-serial driver chip. Instead, it features the Atmega8U2 programmed as
a USB-to-serial converter. (arduino.cc)

Below define of plates, chips and inputs/outputs

Try de solutions and keep working


José




==
 * MACROS
 **/

/* shortcut for setFirmwareNameAndVersion() that uses __FILE__ to set the
 * firmware name.  It needs to be a macro so that __FILE__ is included in
the
 * firmware source file rather than the library source file.
 */
#define setFirmwareVersion(x, y)   setFirmwareNameAndVersion(__FILE__, x, y)

// total number of pins currently supported
#if defined(__AVR_ATmega168__) || defined(__AVR_ATmega328P__) // Arduino NG
and Diecimila
#define TOTAL_ANALOG_PINS   8
#define TOTAL_DIGITAL_PINS  22 // 14 digital + 8 analog
#define TOTAL_PORTS 3 // total number of ports for the board
#define ANALOG_PORT 2 // port# of analog used as digital
#define FIRST_ANALOG_PIN14 // pin# corresponding to analog 0
#define VERSION_BLINK_PIN   13 // digital pin to blink version on
#define FIRST_SERVO_PIN 2 // pin# of the first servo pin
#elif defined(__AVR_ATmega8__)  // old Arduinos
#define TOTAL_ANALOG_PINS   6
#define TOTAL_DIGITAL_PINS  20 // 14 digital + 6 analog
#define TOTAL_PORTS 3  // total number of ports for the board
#define ANALOG_PORT 2  // port# of analog used as digital
#define FIRST_ANALOG_PIN14 // pin# corresponding to analog 0
#define VERSION_BLINK_PIN   13 // digital pin to blink version on
#define FIRST_SERVO_PIN 2 // pin# of the first servo pin
#elif defined(__AVR_ATmega1280__)// Arduino Mega
#define TOTAL_ANALOG_PINS   16
#define TOTAL_DIGITAL_PINS  70 // 54 digital + 16 analog
#define TOTAL_PORTS 9 // total number of ports for the board
#define ANALOG_PORT 8 // port# of analog used as digital
#define FIRST_ANALOG_PIN54 // pin# corresponding to analog 0
#define VERSION_BLINK_PIN   13 // digital pin to blink version on
#define FIRST_SERVO_PIN 2 // pin# of the first servo pin
#elif defined(__AVR_ATmega128__)// Wiring
#define TOTAL_ANALOG_PINS   8
#define TOTAL_DIGITAL_PINS  51
#define TOTAL_PORTS 7 // total number of ports for the board
#define ANALOG_PORT 5 // port# of analog used as digital
#define FIRST_ANALOG_PIN40 // pin# corresponding to analog 0
#define VERSION_BLINK_PIN   48 // digital pin to blink version on
#define FIRST_SERVO_PIN 8 // pin# of the first servo pin
#elif defined(__AVR_AT90USB162__) // Teensy
#define TOTAL_ANALOG_PINS   0
#define TOTAL_DIGITAL_PINS  21 // 21 digital + no analog
#define TOTAL_PORTS 4 // total number of ports for the board
#define ANALOG_PORT 3 // port# of analog used as digital
#define FIRST_ANALOG_PIN21 // pin# corresponding to analog 0
#define VERSION_BLINK_PIN   6 // digital pin to blink version on
#elif defined(__AVR_ATmega32U4__) // Teensy
#define TOTAL_ANALOG_PINS   12
#define TOTAL_DIGITAL_PINS  25 // 11 digital + 12 analog
#define TOTAL_PORTS 4 // total number of ports for the board
#define ANALOG_PORT 3 // port# of analog used as digital
#define FIRST_ANALOG_PIN11 // pin# corresponding to analog 0
#define VERSION_BLINK_PIN   11 // digital pin to blink version on
#elif defined(__AVR_AT90USB646__) || defined(__AVR_AT90USB1286__) //
Teensy++
#define TOTAL_ANALOG_PINS   8
#define TOTAL_DIGITAL_PINS  46 // 38 digital + 8 analog
#define TOTAL_PORTS 6 // total number of ports for the board
#define ANALOG_PORT 5 // port# of analog used as digital
#define FIRST_ANALOG_PIN38 // pin# corresponding to analog 0
#define VERSION_BLINK_PIN   6 // digital pin to blink version on
#elif defined(__AVR_ATmega644P__) || defined(__AVR_ATmega644__)  // Sanguino
#define TOTAL_ANALOG_PINS   8
#define TOTAL_DIGITAL_PINS  32 // 24 digital + 8 analog
#define TOTAL_PORTS 4 // total number of ports for the board
#define ANALOG_PORT 3 // port# of analog used as digital
#define FIRST_ANALOG_PIN24 // pin# corresponding to analog 0
#define VERSION_BLINK_PIN   0 // digital pin to blink version on
#elif defined(__AVR_ATmega645__)  // Illuminato
#define TOTAL_ANALOG_PINS   6
#define TOTAL_DIGITAL_PINS  42 // 36 digital + 6 

Re: [PD] pduino + arduino UNO

2010-10-18 Thread Jose Luis Santorcuato
Ooops, the firmata.h is in the pduino/firmata...

Best regards

José

2010/10/19 Jose Luis Santorcuato santorcuat...@gmail.com

 HI, I have no arduino one hand, you could try installing the latest
 Arduino IDE, is for the UNO plate.
 I noticed that in 2.1 are defined Firmat chipset ATMEGA xxx in the file
 named firmata.h chipsets there are defined outputs and inputs, not sure, but
 could include a chip or model, remember that the FTDI system but not necessary
 with an Arduino UNO.

 The Uno differs from all preceding boards in that it does not use the FTDI
 USB-to-serial driver chip. Instead, it features the Atmega8U2 programmed
 as a USB-to-serial converter. (arduino.cc)

 Below define of plates, chips and inputs/outputs

 Try de solutions and keep working


 José





 ==
  * MACROS

  
 **/

 /* shortcut for setFirmwareNameAndVersion() that uses __FILE__ to set the
  * firmware name.  It needs to be a macro so that __FILE__ is included in
 the
  * firmware source file rather than the library source file.
  */
 #define setFirmwareVersion(x, y)   setFirmwareNameAndVersion(__FILE__, x,
 y)

 // total number of pins currently supported
 #if defined(__AVR_ATmega168__) || defined(__AVR_ATmega328P__) // Arduino NG
 and Diecimila
 #define TOTAL_ANALOG_PINS   8
 #define TOTAL_DIGITAL_PINS  22 // 14 digital + 8 analog
 #define TOTAL_PORTS 3 // total number of ports for the board
 #define ANALOG_PORT 2 // port# of analog used as digital
 #define FIRST_ANALOG_PIN14 // pin# corresponding to analog 0
 #define VERSION_BLINK_PIN   13 // digital pin to blink version on
 #define FIRST_SERVO_PIN 2 // pin# of the first servo pin
 #elif defined(__AVR_ATmega8__)  // old Arduinos
 #define TOTAL_ANALOG_PINS   6
 #define TOTAL_DIGITAL_PINS  20 // 14 digital + 6 analog
 #define TOTAL_PORTS 3  // total number of ports for the board
 #define ANALOG_PORT 2  // port# of analog used as digital
 #define FIRST_ANALOG_PIN14 // pin# corresponding to analog 0
 #define VERSION_BLINK_PIN   13 // digital pin to blink version on
 #define FIRST_SERVO_PIN 2 // pin# of the first servo pin
 #elif defined(__AVR_ATmega1280__)// Arduino Mega
 #define TOTAL_ANALOG_PINS   16
 #define TOTAL_DIGITAL_PINS  70 // 54 digital + 16 analog
 #define TOTAL_PORTS 9 // total number of ports for the board
 #define ANALOG_PORT 8 // port# of analog used as digital
 #define FIRST_ANALOG_PIN54 // pin# corresponding to analog 0
 #define VERSION_BLINK_PIN   13 // digital pin to blink version on
 #define FIRST_SERVO_PIN 2 // pin# of the first servo pin
 #elif defined(__AVR_ATmega128__)// Wiring
 #define TOTAL_ANALOG_PINS   8
 #define TOTAL_DIGITAL_PINS  51
 #define TOTAL_PORTS 7 // total number of ports for the board
 #define ANALOG_PORT 5 // port# of analog used as digital
 #define FIRST_ANALOG_PIN40 // pin# corresponding to analog 0
 #define VERSION_BLINK_PIN   48 // digital pin to blink version on
 #define FIRST_SERVO_PIN 8 // pin# of the first servo pin
 #elif defined(__AVR_AT90USB162__) // Teensy
 #define TOTAL_ANALOG_PINS   0
 #define TOTAL_DIGITAL_PINS  21 // 21 digital + no analog
 #define TOTAL_PORTS 4 // total number of ports for the board
 #define ANALOG_PORT 3 // port# of analog used as digital
 #define FIRST_ANALOG_PIN21 // pin# corresponding to analog 0
 #define VERSION_BLINK_PIN   6 // digital pin to blink version on
 #elif defined(__AVR_ATmega32U4__) // Teensy
 #define TOTAL_ANALOG_PINS   12
 #define TOTAL_DIGITAL_PINS  25 // 11 digital + 12 analog
 #define TOTAL_PORTS 4 // total number of ports for the board
 #define ANALOG_PORT 3 // port# of analog used as digital
 #define FIRST_ANALOG_PIN11 // pin# corresponding to analog 0
 #define VERSION_BLINK_PIN   11 // digital pin to blink version on
 #elif defined(__AVR_AT90USB646__) || defined(__AVR_AT90USB1286__) //
 Teensy++
 #define TOTAL_ANALOG_PINS   8
 #define TOTAL_DIGITAL_PINS  46 // 38 digital + 8 analog
 #define TOTAL_PORTS 6 // total number of ports for the board
 #define ANALOG_PORT 5 // port# of analog used as digital
 #define FIRST_ANALOG_PIN38 // pin# corresponding to analog 0
 #define VERSION_BLINK_PIN   6 // digital pin to blink version on
 #elif defined(__AVR_ATmega644P__) || defined(__AVR_ATmega644__)  //
 Sanguino
 #define TOTAL_ANALOG_PINS   8
 #define TOTAL_DIGITAL_PINS  32 // 24 digital + 8 analog
 #define TOTAL_PORTS 4 // total number of ports for the board
 #define ANALOG_PORT 3 // port# of analog used as digital
 #define FIRST_ANALOG_PIN24 // pin# corresponding