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. The process is easy and you can use your Google, Facebook, or Twitter account to make it even faster. 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 and play member and staff-run games
  • Enter contests to win free LEGO sets and other prizes, and vote to decide the winners
  • Participate in raffles, including exclusive raffles for new members, and win free LEGO sets
  • Send private messages to other members
  • Organize with other members to attend or send your MOCs to LEGO fan events all over the world
  • Much, much more!
Enjoy your visit!





Photo

Arduino programming help wanted

Posted by Bfahome , Mar 12 2013 · 162 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

Pwofile

Posted ImageBfahome Posted Image
Posted Image
Posted Image
Posted Image
Not currently at home
Posted Image
Group: Premier Blog Assistants
Joined: 1-February 08
Premier: 11-March 08
Staff: 23-April 09
Member No.: 72834
Posted ImagePosted Image

0 user(s) viewing

0 members, 0 guests, 0 anonymous users

Recent Entries

Recent Comments

December 2014

S M T W T F S
 123456
78910111213
14151617181920
21222324252627
28 29 3031   

Search My Blog

This Block Is Dedicated To

BIONICLES BIONICLES BIONICLES BIONICLES BIONICLES BIONICLES BIONICLES BIONICLES BIONICLES BIONICLES BIONICLES BIONICLES BIONICLES BIONICLES BIONICLES BIONICLES BIONICLES BIONICLES BIONICLES BIONICLES BIONICLES BIONICLES BIONICLES BIONICLES BIONICLES BIONICLES BIONICLES BIONICLES BIONICLES BIONICLES BIONICLES BIONICLES BIONICLES BIONICLES BIONICLES BIONICLES BIONICLES BIONICLES BIONICLES BIONICLES BIONICLES BIONICLES BIONICLES BIONICLES BIONICLES BIONICLES BIONICLES

Randombanner™

Posted Image
Or would you prefer a larger version?

Why, Ryan…

Posted Image

… that's almost like humor!