[PD] Arduino/SRF05

PSPunch shima at pspunch.com
Mon Mar 2 01:44:59 CET 2009


Hi Daffydd,


I don't recall having too much trouble transferring bytes from an 
Arduino over to [comport].

Do you not have any data flowing between the two, or is your concern 
more about how numeric figures are to be formatted?


--
David Shimamoto


> Hey Hans-Christoph
> 
> Actually, I've had the sensor working with Arduino and pulsing LEDs
> for a while - that part's fine. Now it's just getting Pd to understand
> Arduino's Serial.println that's giving me trouble. I'm going to open
> up [arduino] and I bet I'll find the secret there.
> 
> I was hoping there's be a strictly Pd way to do it - it's for an intro
> workshop and I was going to show folks how super-easy it is. Hopefully
> I'll be able to show folks how almost super-easy it is instead.
> 
> This may be one of those rare occasions where it's actually easier to
> do something _without_ Pd:)
> 
> cheers
> dafydd
> 
> On Sun, Mar 1, 2009 at 5:14 PM, Hans-Christoph Steiner <hans at eds.org> wrote:
>>
>> It wouldn't be so hard, but you'd need some arduino programming experience.
>>  If you want something like that sensor that is really easy to use, get a
>> Maxbotix, you can just hook them up to an analog pin and read them
>> immediately with Pduino:
>>
>> http://www.sparkfun.com/commerce/categories.php?c=84
>>
>> .hc
>>
>> On Mar 1, 2009, at 5:03 PM, Dafydd Hughes wrote:
>>
>>> Thanks Hans-Christoph
>>>
>>> In over my head again.
>>>
>>> cheers
>>> dafydd
>>>
>>> On Sun, Mar 1, 2009 at 4:59 PM, Hans-Christoph Steiner <hans at eds.org>
>>> wrote:
>>>> I think that is one of the sensors where you have to do the triggering
>>>> and
>>>>  pulseIn measurement yourself. There are examples on the arduino forum of
>>>> firmwares that do this, then if you combine such a firmware with the
>>>> Firmata
>>>> Arduino library, then you'll have a firmware that will work with Pduino
>>>> and
>>>> that sensor.
>>>>
>>>> .hc
>>>>
>>>> On Mar 1, 2009, at 3:43 PM, Dafydd Hughes wrote:
>>>>
>>>>> Hi folks
>>>>>
>>>>> I'm wondering if anybody can point me at an example of using Pduino
>>>>> and an SRF05 ultrasonic ranger? Not sure how to get the microsecond
>>>>> intervals needed. Apologies if this is covered elsewhere on the list
>>>>> or if it's just a stupid question.
>>>>>
>>>>> cheers
>>>>> dafydd
>>>>>
>>>>> --
>>>>> www.sideshowmedia.ca
>>>>> skype: chickeninthegrass
>>>>>
>>>>> _______________________________________________
>>>>> Pd-list at iem.at mailing list
>>>>> UNSUBSCRIBE and account-management ->
>>>>> http://lists.puredata.info/listinfo/pd-list
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> ----------------------------------------------------------------------------
>>>>
>>>> "It is convenient to imagine a power beyond us because that means we
>>>> don't
>>>> have to examine our own lives.", from "The Idols of Environmentalism", by
>>>> Curtis White
>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> www.sideshowmedia.ca
>>> skype: chickeninthegrass
>>
>>
>>
>> ----------------------------------------------------------------------------
>>
>> All mankind is of one author, and is one volume; when one man dies, one
>> chapter is not torn out of the book, but translated into a better language;
>> and every chapter must be so translated.... -John Donne
>>
>>
>>
> 
> 
> 





More information about the Pd-list mailing list