Author Topic: I finally think I have a use for my arduino.  (Read 2869 times)

haveyouseenhim

I finally think I have a use for my arduino.
« on: November 03, 2012, 07:37:59 AM »
A while back I bought an Arduino Uno with the intent to learn to write simple code and just tinker. But like a lot of people it seems, I just kinda gave up  :icon_redface:
I was half awake the other day and I thought that I could use an accelerometer to measure tilt and adjust a digipot accordingly. For expression pedals or wahs or something.
So my question is can anyone here write some code for me that does that?
http://www.youtube.com/haveyouseenhim89

I'm sorry sir, we only have the regular ohms.

alparent

Re: I finally think I have a use for my arduino.
« Reply #1 on: November 03, 2012, 08:03:26 AM »
This is DIY (Do It Yourself) not ODTCFMNIFM (Others Do The Code For My New Idea For Me)!

But I'm positive some kind soul will help out!
People on this site are just like that.

haveyouseenhim

Re: I finally think I have a use for my arduino.
« Reply #2 on: November 03, 2012, 01:47:35 PM »
What a nice fella :icon_rolleyes:
http://www.youtube.com/haveyouseenhim89

I'm sorry sir, we only have the regular ohms.

mattthegamer463

Re: I finally think I have a use for my arduino.
« Reply #3 on: November 03, 2012, 02:52:47 PM »
Since you're a beginner, try googling things like "arduino accelerometer code" and "arduino digipot code" and find some example/reference code and then all you'll have to do is buy those chips, put it all together and change a couple variables to get them to work.  You'll learn a bit as you go too.

Related:

http://arduino.cc/en/Tutorial/SPIDigitalPot

http://arduino.cc/en/Tutorial/ADXL3xx

Those two alone may suffice to give you all the puzzle pieces you need.  Using a 3-axis you could actually have multiple digipots, one controlled by normal rocking of the treadle, another controlled by rocking side-to-side.

haveyouseenhim

Re: I finally think I have a use for my arduino.
« Reply #4 on: November 03, 2012, 03:14:10 PM »
Ah thanks. It's just jibberish to me. I really gave it an honest try, but I'm pretty much useless with anything but fabrication and physical building of pedals... I wouldn't have a snowballs chance in hell to make a single line of code that works :icon_sad:
http://www.youtube.com/haveyouseenhim89

I'm sorry sir, we only have the regular ohms.

mattthegamer463

Re: I finally think I have a use for my arduino.
« Reply #5 on: November 03, 2012, 03:16:47 PM »
Just means you've got some more learning to do, is all.  Change that attitude and you'll pick up enough to get this done in no time.

http://arduino.cc/en/Tutorial/HomePage

Start with the basics, take it slow, ask questions in the forum, you'll be a pro in no time.

alparent

Re: I finally think I have a use for my arduino.
« Reply #6 on: November 04, 2012, 01:43:34 AM »
What a nice fella :icon_rolleyes:
You know I'm just kidding....... right?!

This is the perfect place to get help.
I'de be lost as an effect builder if it wasn't for the help of the great folks on this site.
« Last Edit: November 04, 2012, 01:45:41 AM by alparent »