Re: [PD] Connection with sensors - new devices?

2007-05-15 Thread Kyle Klipowicz
Hmmm so is the size of the data chunk the issue here? It took some looking at the patch with some super arcane int to ascii to float wizardry to even read the values coming from one sensor. Could you please elaborate on this? I _THINK_ that the firmware right now is using the digital connector to

Re: [PD] Connection with sensors - new devices?

2007-05-14 Thread Hans-Christoph Steiner
You would just send the data as an analog value, which gives you 14- bits of resolution. In the Arduino firmware, it would just take the values from the sensor and report them as a analog value using the Firmata protocol. The [arduino] object already understands the Firmata protocol, so

Re: [PD] Connection with sensors - new devices?

2007-05-11 Thread Koray Tahiroglu
This firmware reads 2 ultrasound sensors at the same time, I guess it might read more with a little adjustment in firmware. Firmata Ultrasound firmware will be really great, I remember we had this discussion earlier, and there was some sort of problem to code Pulse in Pd_firmware.pde so

Re: [PD] Connection with sensors - new devices?

2007-05-11 Thread Kyle Klipowicz
Yes, it seems better to code these microsecond pulses in the firmware rather than letting Pd control this directly. Maybe at audio signal rate this would be more satisfactory, I am not well-versed in this. Our plan is to use 6 sensors, so we will attempt to modify the existing ultrasound firmware

Re: [PD] Connection with sensors - new devices?

2007-05-10 Thread Kyle Klipowicz
Thanks so much Koray, it works great! I see you used the same Arduino code for the sensor as I had found, and your Pd patch is very well-written and well-commented. I appreciate this, because I did not want to try coding microsecond-level events in Pd by porting the Arduino code and using

Re: [PD] Connection with sensors - new devices?

2007-05-10 Thread Koray Tahiroglu
Hello Kyle, I am glad that those patches worked and helped you out with your project. I guess big thanks goes to Hans for them, cos during that time, I just modified his existing multi-sensor patches and developed them further to use in my project. Koray.

Re: [PD] Connection with sensors - new devices?

2007-05-10 Thread Hans-Christoph Steiner
Does this firmware handle multiple ultrasound sensors? If so, it would awesome to make a Firmata Ultrasound firmware. I just started making the Firmata protocol into a library so that people can write more firmwares and still use the same objects in the host software. A multiple

Re: [PD] Connection with sensors - new devices?

2007-05-10 Thread Kyle Klipowicz
Well, we are going to be using multiple sensors, so I will let you know if this code works with them, once we get to that phase of the installation. ~Kyle On 5/10/07, Hans-Christoph Steiner [EMAIL PROTECTED] wrote: Does this firmware handle multiple ultrasound sensors? If so, it would

Re: [PD] Connection with sensors - new devices?

2007-05-10 Thread marius schebella
I think the ultrasonic sensors send serial bytevalues and not an analog value, correct? how can you connect them to the pduino? or how can you connect even more of them. can firmata handle serial inputs? marius. Kyle Klipowicz wrote: Well, we are going to be using multiple sensors, so I will

Re: [PD] Connection with sensors - new devices?

2007-05-07 Thread Kyle Klipowicz
Hi Koray~ I am working on a group project that involves Arduino and the parallax PING ultrasonic sensors. Would you be willing to share your Pd patches regarding this usage, as indicated in this email? Thanks in advance! ~Kyle On 12/22/05, Koray Tahiroglu [EMAIL PROTECTED] wrote: hello Hans,