[PD] arduino and digital outputs

Hans-Christoph Steiner hans at at.or.at
Sat Jun 5 18:15:35 CEST 2010


The normal Firmata doesn't support the Arduino Mega very well because  
the Mega has a very strange, custom abstraction layer for mapping the  
pins, as compared to the rest of the Arduinos.

Like other people said in this thread, you need to use Paul  
Stoffregen's version of Firmata for Arduino in order for it to work  
well with the Mega.

.hc

On May 21, 2010, at 6:54 AM, olsen wrote:

> oye josé
> check this post:
> http://www.mail-archive.com/pd-list@iem.at/msg33130.html
> ...
> though with the Mega there's some lack in the well-behaviour that i  
> would like
> to report:
>
> __DigitalInput
> No DigitalInput on Pins 0 to 8 and 12&13
>
> Putting a physical digital input on pin 9 to 11 in pduino the state  
> for all these pins is always displayed on digital input 12!
>
> __DigitalOutput
> DigitalOutput only on Pin 10-13 and to get pin 13 high i've to  
> checkerbox pin
> 15 in pduino
>
> Seems there's some kind of trouble with the Pin settings and their
> represenation in pduino.
> ...
>
> this was on ubuntu 9.04 with standard firmata
> hth a byte
> salutis
> ø
>
>
> On 05/19/2010 08:50 PM, Jose Luis Santorcuato wrote:
>> Yes, not work, but in the old boards yes... I tested in my  
>> duemilanove
>> and diecimila, and all the digitals outputs works fine, one by one.
>> Mmm, strange ...
>>
>> I tested the Firmata for mega... dont work and crashes...maybe in OSX
>>
>> I use GNU/Linux Ubuntu 9.04... Barbie network...heheheheh
>>
>> Best regards from Chile
>>
>> José
>>
>>
>>
>> 2010/5/19 Jose Luis Santorcuato <santorcuato76 at gmail.com
>> <mailto:santorcuato76 at gmail.com>>
>>
>>    Well.... check the arduino firmata program (arduino ide).... the
>>    outputs.... 13? 16? when i work with bluetooth i needed change the
>>    baud... to 115.200, many programs in arduino ide have a  
>> problems...I
>>    test the firmata teensy...
>>
>>    Best regards
>>
>>    José
>>
>>
>>    2010/5/19 Ricardo Lameiro <ricardolameiro at gmail.com
>>    <mailto:ricardolameiro at gmail.com>>
>>
>>        I also forgot to mention that this issue was mentioned on this
>>        list before.
>>
>>        there is a link for a firmata firmware made for the mega from
>>        the made by the teensy guy.
>>
>>        http://www.pjrc.com/tmp/firmata/
>>
>>        check the list in here
>>        http://www.mail-archive.com/pd-list@iem.at/msg31148.html
>>
>>
>>        2010/5/19 Ricardo Lameiro <ricardolameiro at gmail.com
>>        <mailto:ricardolameiro at gmail.com>>
>>
>>            As far as I know, the pduino is not made for the arduino
>>            mega. so it could work, but you need to test it out. also
>>            the firmata firmware would need also some tweak since the
>>            mega has more outputs/inputs and analog ports
>>
>>            2010/5/19 Andres Ferrari <anfex at yahoo.com
>>            <mailto:anfex at yahoo.com>>
>>
>>                hello,
>>                When I use the abstraction [arduino] or [comport]  
>> object
>>                the numbers of the digital outputs (pins) of the  
>> arduino
>>                hardware
>>                don't match with the output's numbers of the patch.
>>
>>                for example, when i send 1 to digital output "12" from
>>                puredata the led connected to digital out 12 don't  
>> turn
>>                on but ...but turn on in digital out "14"...
>>
>>                only works pins from 10- 13 but 0- 9 dont't work.
>>
>>                When I've tested from the arduino's software with a
>>                sketch there aren't any problem, all works fine.
>>
>>                Is it a [comport]r  or "Firmata" problem?
>>                I have osx 10.5 and arduino mega.
>>
>>                Any suggestions?.....thanks a lot!!!
>>
>>
>>                Andrés Ferrari G.
>>
>>                http://www.myspace.com/anfex
>>
>>
>>
>>                _______________________________________________
>>                Pd-list at iem.at <mailto:Pd-list at iem.at> mailing list
>>                UNSUBSCRIBE and account-management ->
>>                http://lists.puredata.info/listinfo/pd-list
>>
>>
>>
>>
>>            --
>>            Fagote / Contrafagote
>>            Bassoon / Contra-bassoon
>>            http://myspace.com/ricardolameiro
>>
>>
>>
>>
>>        --
>>        Fagote / Contrafagote
>>        Bassoon / Contra-bassoon
>>        http://myspace.com/ricardolameiro
>>
>>        _______________________________________________
>>        Pd-list at iem.at <mailto:Pd-list at iem.at> mailing list
>>        UNSUBSCRIBE and account-management ->
>>        http://lists.puredata.info/listinfo/pd-list
>>
>>
>>
>>
>>    --
>>
>>    http://arselectronicachile.blogspot.com
>>    http://www.myspace.com/santorcuato
>>
>>
>>
>>
>>
>> --
>>
>> http://arselectronicachile.blogspot.com
>> http://www.myspace.com/santorcuato
>>
>>
>>
>>
>> _______________________________________________
>> Pd-list at iem.at mailing list
>> UNSUBSCRIBE and account-management ->  http://lists.puredata.info/listinfo/pd-list
>
> -- 
> ETs DNA will not be televised
> http://hasa-labs.org
>
>
> _______________________________________________
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list





----------------------------------------------------------------------------

"[T]he greatest purveyor of violence in the world today [is] my own  
government." - Martin Luther King, Jr.







More information about the Pd-list mailing list