Jump to content
  • entries
    1,919
  • comments
    16,140
  • views
    594,259

Arduino programming help wanted


Bfahome

687 views

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.)

4 Comments


Recommended Comments

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).

Link to comment

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.

Link to comment

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.

Link to comment

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

Link to comment
Guest
Add a comment...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...