Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 11 of 11

Thread: OSCuino & Wiz820io beginner.

  1. #1

    OSCuino & Wiz820io beginner.

    Hi everyone.
    I'm new to all of this and would appreciate some help getting an OSC project off the ground.
    I have a Teensy 3.2, Wiz820io and want to connect some sensors (IR range finder, some buttons etc) and output them as OSC over ethernet.
    I'm still unclear on some things:

    1. Do I need any external/3rd party libraries to drive the wiznet or will the standard ethernet library work? What about with a standard arduino uno and Arduino 1.6.6? I see there are alternative wiznet libraries around for w5200 but very few people mentioning their use.

    2. My teensy arrives this afternoon (hopefully) so in the meantime I loaded the UNO with standard oscuino examples and had blinky lights but couldn't see any OSC output. I'm trying to receive the OSC in touch designer but can't see anything, what are good software tools for monitoring/diagnosing OSC over udp?

    I'd really appreciate it if someone could provide me with some example code and hardware configurations that are known to work.
    Thanks a lot.

  2. #2
    Senior Member adrian's Avatar
    Join Date
    Oct 2015
    Location
    Wellington, NZ
    Posts
    504
    I'm interested in this too... what is 'touch designer' ... I looked up 'oscuino' and it seems like dabomb.... I don't know if anyone has worked with it on the forum with a teensy ...i sure hope so ... it says it will work with teensy on the home page ...

    As for your question about the ethernet library for the Wiz820i0, I think you are right about that ... its just the standard library (I used google, I've never used ethernet on a teensy YET) ...

    Oscuino has really good udp examples, and on the assumption that oscuino can be used directly on teensy (I wonder about some of the analogRead examples .... hopefully they are 'Port independent, since i think arduino port registers are different from teensy ..) ......MAN this is exciting.

    I use reaper DAW and it has a very good OSC implementation, I understand. I wonder if oscuino can be used with bluetooth? Have to have a look at that. probably should be OK, given that oscuino has a serial output mode... very exciting.

    I'm supposed to be doing a new guitar track, and then in my mind I was going to look at convolution (after I finish a fsr drum machine) ....i wonder how I am going to do any work at the day job...
    Last edited by adrian; 12-04-2015 at 02:36 AM.

  3. #3
    Senior Member
    Join Date
    Jun 2013
    Location
    So. Calif
    Posts
    2,828
    For me and the other acronym-challenged folks
    OSC..
    http://opensoundcontrol.org/spec-1_0

  4. #4
    Senior Member adrian's Avatar
    Join Date
    Oct 2015
    Location
    Wellington, NZ
    Posts
    504
    Also, there is oscii-bot from cockos (the makers of reaper) ...that looks like it will allow you to see, on a windows computer (and some macs), osc messages sent using udp ...

    it looks like you might have to script an output display program, but it doesn't look that hard if you do (I haven't used it, I just looked it up now that you have piqued my interest ..)

  5. #5
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    23,374
    Quote Originally Posted by bLackburst View Post
    1. Do I need any external/3rd party libraries to drive the wiznet or will the standard ethernet library work?
    Ethernet from Teensyduino supports W5100 and W5200. It automatically detects which chip you've used.

    For W5200, the reset signal must be connected to pin 9, and chip select to pin 10. This adaptor board is recommended.

    W5200 is significantly faster for UDP.

    What about with a standard arduino uno and Arduino 1.6.6? I see there are alternative wiznet libraries around for w5200 but very few people mentioning their use.
    Arduino's Ethernet lib only works with W5100.

  6. #6
    Senior Member
    Join Date
    Jan 2013
    Posts
    966
    Yes, I've used Teensy with Oscuino and TouchOSC. Works beautifully in Teensy and WIZ820io !!!
    The Teesnyduino Ethernet library works with it out of the box.

  7. #7
    Senior Member mortonkopf's Avatar
    Join Date
    Apr 2013
    Location
    London, uk
    Posts
    924
    @Headroom, thats a really nicely written tutorial.

  8. #8
    Senior Member adrian's Avatar
    Join Date
    Oct 2015
    Location
    Wellington, NZ
    Posts
    504
    thankyou. awesome

  9. #9
    Thanks for the replies everyone.
    I've given up using the W5200 with the UNO, but the standard 5100 shield works, courier seems to have misplaced my teensy Look forward to it, though I'm amazed there isn't an easy solution with the arduino in the meanwhile. I guess that's why we've gone with the better product

    The udposcuino example intrigues me. Am I right in saying that it facilitates the remote changing of pin modes as well as reading them, ala firmata? As that's what I'm after.
    Does anyone know of a working example with bonjour like in Headroom's post? What a great way to make it user friendly.

  10. #10
    Senior Member
    Join Date
    Jan 2013
    Posts
    966
    I can help with both and post some code if not today then definitely this week.

    This video shows what you can do with Analog Reads and Wrirtes etc. It's not a video I made but it is from Yotam Man, one of the original creators of the Oscuino library. I salvaged the code from Yotam's website before Oscuino was hosted on Github and re-wrote large parts of the scriupt to make it work with Teensy and TouchOSC.

    This sketch was also tested with Bonjour through a min WiFi router and it works very nicely.

  11. #11
    Senior Member
    Join Date
    Jan 2013
    Posts
    966
    I apologize for the delay. Unfortunately it'll take a little longer ;-)
    Since Arduino 1.6.6 the official Ethernet library includes multicastUDP, which is needed for Bonjour to work. I am in process of upgrading the EthernetBonjour library to work with Arduino 1.6.6 and while it should be very easy I have come across a coding problem that eludes me at the moment. I'll come back once I've figured it out ;-)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •