tag:blogger.com,1999:blog-23217409.post8065237613839043311..comments2024-03-15T15:10:58.249+10:30Comments on little-scale: Ping TimeSebastian Tomczakhttp://www.blogger.com/profile/12712567577323498804noreply@blogger.comBlogger10125tag:blogger.com,1999:blog-23217409.post-59061437887631367582010-03-30T19:38:52.436+10:302010-03-30T19:38:52.436+10:30to The Rhythmist ;
just wondering how you got thi...to The Rhythmist ; <br />just wondering how you got this working in pd? got it working in max/msp but my trial of this runs out tomorrow - tried to sort it in pd but just can't get it to read the ping. was wondering could you share the patch or some advice? <br />cheers<br />Harry laughterjoe bloghttps://www.blogger.com/profile/06991853853458418441noreply@blogger.comtag:blogger.com,1999:blog-23217409.post-85632122323701884832009-12-09T00:51:04.827+10:302009-12-09T00:51:04.827+10:30when i change "serial a" to "COM3&q...when i change "serial a" to "COM3" it crashes, can you maybe explain what is going wrong?Men is er men is er niethttps://www.blogger.com/profile/01937709369866598350noreply@blogger.comtag:blogger.com,1999:blog-23217409.post-12179071272057370442009-12-03T07:33:54.636+10:302009-12-03T07:33:54.636+10:30Thanks alot for posting your project and findings!...Thanks alot for posting your project and findings! Very interesting and well constructed stuff :D <br /><br />I was just wondering if you would mind giving me a few bits of advice...I am attempting to do a very similar project but using a Sharp infra-red sensor instead of a PING sensor.<br /><br />So far I have been able to successfully connect the sensor with my arduino by using this following code:<br /><br />int var1 = 0;<br /><br />void setup() {<br />Serial.begin(9600);<br />}<br /><br />void loop(){<br />var1 = analogRead(0);<br />Serial.print(var1);<br />Serial.println();<br />delay(1000);<br />}<br /><br />I used this code to see if the sensor was working and used the serial monitor which showed that the sensor was indeed communicating the Arduino because a new line of code was being written as I moved my hand in front of the IR sensor - with the number changing depending how close or far away from the sensor my hand was.<br /><br />What I am wondering now is - is there a way I can borrow from/modify the code you have used to convert the PING into Arduino information so that I can convert the output of my IR sensor into MIDI? <br /><br />My main goal is to convert the output of my IR sensor to MIDI via the arduino, and send this to MAX/MSP to then be sent to Reason/Ableton etc to be used as a MIDI controller<br /><br />Thanks alot mate :) ...much appreciated!Unknownhttps://www.blogger.com/profile/05525441444064076891noreply@blogger.comtag:blogger.com,1999:blog-23217409.post-31389016131728769372009-11-10T08:16:20.718+10:302009-11-10T08:16:20.718+10:30Very nice! Made a small change in the following:
b...Very nice! Made a small change in the following:<br />beginSerial(9600); to Serial.begin(9600). Works fine now!<br />(Macbook - Leopard - Arduino16)Schakelennoreply@blogger.comtag:blogger.com,1999:blog-23217409.post-13141758664492224642009-05-30T01:58:06.681+09:302009-05-30T01:58:06.681+09:30Hi Sebastian,
thank you for your code - I have r...Hi Sebastian, <br /><br />thank you for your code - I have recently acquired a Ping ))) sensor and have been trying to get your code to work but sadly with no luck, when I paste it into the arduino window i get the following error message;<br /><br /><br /><br />/tmp/build30952.tmp/core.a(wiring_serial.c.o): In function `__vector_18':<br /><br />/Applications/arduino-0015/hardware/cores/arduino/wiring_serial.c:112: multiple definition of `__vector_18'<br /><br />/tmp/build30952.tmp/core.a(HardwareSerial.cpp.o):/Applications/arduino-0015/hardware/cores/arduino/HardwareSerial.cpp:95: first defined here<br /><br />Couldn't determine program size: hardware/tools/avr/bin/avr-size: '/tmp/build30952.tmp/Serial_to_Midi.hex': No such file<br /><br />do you know what might be the problem?Unknownhttps://www.blogger.com/profile/07028949582549787364noreply@blogger.comtag:blogger.com,1999:blog-23217409.post-31086958033551822092009-04-25T04:45:00.000+09:302009-04-25T04:45:00.000+09:30Hi Sebastian,
The info was really useful for my p...Hi Sebastian,<br /><br />The info was really useful for my project.<br /><br />I was wondering if you have any way to transform the values from the ping to centimeters? <br /><br />Thank you very much!!<br /><br />BestGabriel Scapusiohttps://www.blogger.com/profile/02486886611946862223noreply@blogger.comtag:blogger.com,1999:blog-23217409.post-29909998854794091422009-01-13T11:29:00.000+10:302009-01-13T11:29:00.000+10:30hi sebastian i've been trying to adapt some code s...hi sebastian i've been trying to adapt some code so i can get two ping sensors to work on one board and output the data to max/msp here's what i've got so far:<BR/>http://mouldywashingmachine.blogspot.com/2009/01/ping-post.html<BR/>i have two different codes that don't quite work the way i want them to, can you have a look please?richard carriganhttps://www.blogger.com/profile/07469922262018918819noreply@blogger.comtag:blogger.com,1999:blog-23217409.post-57879516646264563032008-08-19T03:53:00.000+09:302008-08-19T03:53:00.000+09:30Very cool! Thanks for the info too...I used your t...Very cool! Thanks for the info too...I used your tutorial here to do the same thing but using Pure-Data instead of Max/MSP. Works great!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-23217409.post-5549229969093741342008-04-24T11:01:00.000+09:302008-04-24T11:01:00.000+09:30))))))Sebastian Tomczakhttps://www.blogger.com/profile/12712567577323498804noreply@blogger.comtag:blogger.com,1999:blog-23217409.post-89931047396197487982008-04-24T10:56:00.000+09:302008-04-24T10:56:00.000+09:30Awesome:))Awesome:))Poppihttps://www.blogger.com/profile/11802676756554731948noreply@blogger.com