[PD] Arduino+firmata - digital input (pull-up) - for Hans

Hans-Christoph Steiner hans at eds.org
Fri Apr 27 02:14:06 CEST 2007


On Apr 26, 2007, at 9:45 AM, João Miguel Pais wrote:

> Hello Hans and list,
>
> we're in the workshop with Sukandar in Berlin, and something  
> strange just
> happened. My arduino isn't the newest, it has with the ATMEGA8 chip  
> (the
> one we got in Zürich some time ago). I've put the latest firmata  
> into it,
> and the analogue stuff worked quite well.
>
>
> While doing some digital inputting (just simple switches) a few things
> happen:
>
> - the inputs/outputs don't match: if the switch is connected in the  
> input
> 2, it comes out from 5 (the same to all other inputs, although I  
> didn't
> mapped them). But consequently, if I switch the input 2 off, the  
> output 5
> switches off.
> This doesn't happen on other participants who have the newest arduino
> board.
>
> - someone here mentioned that the arduino has its own pull-up  
> resistors.
> but in the firmware they're switched off, and we found no  
> possibility to
> switch it in the arduino-test patch. so we must build our own pull-up
> resistors in the circuit, outside.
> is it possible with this firmata to activate the pull-up resistor in
> arduino from the pd patch? if not, do you think you're going to  
> implement
> it? or could you tell just quickly how enable it?

Hmm, I am still mostly working with the ATMEGA8 boards.  I am unaware  
of a way to disable or enable pull-up resistors in the ATMEGA8/ 
Arduino.  If such is a thing is a possibility, I would happily add it  
to the Firmata firmware.

Do you have any docs on how to do this?  Have you tried the Arduino  
forums?

.hc

>
>
> Thanks,
>
> João Miguel Pais
>
>
> -- 
> Friedenstr. 58
> 10249 Berlin
> Deutschland
> Tel +49 30 42020091
> Mob +49 162 6843570
> jmmmpais at googlemail.com
> skype: jmmmpjmmmp
> http://www.puredata.org/Members/jmmmp
> IBM Thinkpad R51, XP, Pd-Ext-0.39-2-t5
>
> _______________________________________________
> PD-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/ 
> listinfo/pd-list



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

Using ReBirth is like trying to play an 808 with a long stick.    - 
David Zicarelli






More information about the Pd-list mailing list