electro-music.com   Dedicated to experimental electro-acoustic
and electronic music
 
    Front Page  |  Articles  |  Radio
 |  Media  |  Forum  |  Wiki  |  Links  |  Store
Forum with support of Syndicator RSS
 FAQFAQ   CalendarCalendar   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   LinksLinks
 RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in  Chat RoomChat Room 
Live streaming at radio.electro-music.com

  host / artist show at your time
  Antimon Antimon's Half Year Report
Please visit the chat
 Forum index » DIY Hardware and Software » Microcontrollers and Programmable Logic
Arduino MIDI Velocity Sensitive Drum Controller
Post new topic   Reply to topic Moderators: State Machine
Page 1 of 1 [4 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
Author Message
dshay



Joined: May 04, 2009
Posts: 11
Location: Minnesota

PostPosted: Mon May 04, 2009 5:34 pm    Post subject: Arduino MIDI Velocity Sensitive Drum Controller Reply with quote  Mark this post and the followings unread

Howdy y'all.

I recently created a project, wrote an algorithm to read force sensing resistors (FSRs)

(Interlink sensors, you can get them from places like Trossen Robotics)

FSRs are the type of sensor used by Trigger Finger, Akai, and most keyboards with velocity sensitivity.

The reason I used these sensors is because this drum controller is wearable, it straps to my bicep. It's wireless, I use an Xbee configured to 31250 baud rate (ATBD7A12 is the AT command)

Anyways, my code is opensource, copyleft, and you can figure out how to interface these sensors if you read some of Tom Igoe's material.

Photobucket

It's just a simple voltage divider, sensor in series with 10k ohm resistor and an analog input on the Arduino measuring the voltage across the resistor.

Hook one one leg of the sensor to 5V, the other to the resister, the other end of the resistor to ground, and where the resistor and sensor meet, attach an analog input from the microcontroller. I'll draw up a schematic when I'm out of finals. The code can be found here:


http://arduino.pastebin.com/d174bf57f
Back to top
View user's profile Send private message
Blue Hell
Site Admin


Joined: Apr 03, 2004
Posts: 20475
Location: The Netherlands, Enschede
Audio files: 147
G2 patch files: 318

PostPosted: Mon May 04, 2009 5:55 pm    Post subject: Reply with quote  Mark this post and the followings unread

Cool project!

welcome

_________________
Jan
Back to top
View user's profile Send private message Visit poster's website
dshay



Joined: May 04, 2009
Posts: 11
Location: Minnesota

PostPosted: Tue May 05, 2009 3:35 pm    Post subject: Reply with quote  Mark this post and the followings unread

Thanks!

The code expired on that host, I reposted it:

http://arduino.pastebin.com/mab7f488
Back to top
View user's profile Send private message
anotherscott



Joined: Jun 18, 2010
Posts: 10
Location: US

PostPosted: Thu Sep 08, 2011 1:50 pm    Post subject: Reply with quote  Mark this post and the followings unread

I see the info is gone again, any chance of a repost? I'm actually looking into creating a single small velocity sensitive pad that will send out a MIDI note when struck. Any leads appreciated...
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Moderators: State Machine
Page 1 of 1 [4 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
 Forum index » DIY Hardware and Software » Microcontrollers and Programmable Logic
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum
e-m mkii

Please support our site. If you click through and buy from
our affiliate partners, we earn a small commission.


Forum with support of Syndicator RSS
Powered by phpBB © 2001, 2005 phpBB Group
Copyright © 2003 through 2009 by electro-music.com - Conditions Of Use