Jump to content

  • Log in with Facebook Log in with Twitter Log In with Google      Sign In   
  • Create Account

Welcome to BZPower!

Hi there, while we hope you enjoy browsing through the site, there's a lot more you can do if you register. Some perks of joining include:
  • Create your own topics, participate in existing discussions, and vote in polls
  • Show off your creations, stories, art, music, and movies
  • Enter contests to win free LEGO sets and other prizes
  • Participate in raffles to win LEGO prizes
  • Organize with other members to attend or send your MOCs to LEGO fan events all over the world
  • Much, much more!
Enjoy your visit!


Arduino programming help wanted

Posted by Bfahome , Mar 12 2013 · 396 views

Arduino help TouchOSC
Hi, I'm Bfa, and I don't know a dang thing about coding.
So I'm looking for someone to help me with something.
I'm thinking of using an Arduino UNO in a project, and I would like to be able to use TouchOSC to control it from my iPod.  The little snag that I'm hitting is that I have no idea how to even begin to do that.
(Okay, that's a lie, I made a TouchOSC layout for the buttons and toggles and stuff.  But from there I'm clueless.)
My goal is to have buttons that I can touch that'll activate individual LEDs (or toggle them on/off) as well as ones that I can push to run programs in the Arduino.  Basically something to flash the LEDs in a set patters or let me control them individually.
Does anyone know how, or know anyone that would know how, to go about doing this?
(I kind of want to have it done within the next two months.)

  • 0

I imagine the logic for what you want to do is pretty easy, it's just a matter of the syntax. Try writing up what you want to do in pseudo-code and then read some Arduino guides to find examples of turning on LEDs, then just copy and paste and debug (and debug and debug).
    • 0

I already know someone who's been programming some basic Arduino stuff (he's the one who turned me on to the idea in the first place) so he could probably help me with that, the issue I'm running into is how to then connect it to TouchOSC so I can control it from my iPod.

    • 0
The easiest way would be to have a loop that's listening on a port/connection/however it's abstracted in the language. If it hears something from the iPod, it executes the appropriate function, then goes back to listening.
    • 0

Well I've managed to set up a Processing document that takes commands from the app.  Now I just have to convert that to an Arduino program to have the Arduino turn on LEDs instead of highlighting triangles and squares.



e: so actually I may have figured out a way to do this, yay

    • 0


Posted Image


Posted ImageBfahome Posted Image
Posted Image
Posted Image
Posted Image
Claws out!
Posted Image
Group: Premier Blog Assistants
Joined: 1-February 08
Premier: 11-March 08
Staff: 23-April 09
Member No.: 72834
Posted ImagePosted Image

2 user(s) viewing

0 members, 2 guests, 0 anonymous users

Recent Entries

Recent Comments

June 2018

171819 20 212223

Search My Blog