Show Posts
|
|
Pages: [1] 2 3 ... 5
|
|
1
|
Using Arduino / Sensors / piezo's producing small signal and multiple drum triggers
|
on: October 25, 2012, 09:20:23 pm
|
|
I'm making an electronic drum set with piezo sensors. Currently I have two issues. First, the piezo's are producing relatively small signals. When printing the digital values on the serial monitor, the highest values are in the 30s (on a scale to 1023 of course). The sensors are in parallel to a 1Mohm resistor (I copied this from a few other piezo projects I found online).
The other problem is that I'm getting multiple triggers from a single drum hit. I'm assuming this is because the arduino samples the piezo signal multiple times after a single drum hit because the fall time of the sensor is slow relative to the arduino loop time. Is this accurate?
Any ideas on fixing these issues?
Thanks!
|
|
|
|
|
3
|
Using Arduino / LEDs and Multiplexing / Multiple 4051 or one 4067 for fast multiplexing
|
on: October 22, 2012, 09:53:35 pm
|
|
I'm building an electronic drum set and I need more than 8 analog inputs, so I can't use a single 4051 multiplexer. Since some of the consecutive hits on a single sensor (say the snare drum for a drum roll) will be fast, I'm looking for the fastest method of multiplexing, so that each hit is registered.
Also, if anyone has any other suggestions to ensure that each hit is registered, please fill me in.
Thanks!
|
|
|
|
|
5
|
Using Arduino / Audio / Re: Best/Easiest way to send MIDI data from arduino to garageband
|
on: October 21, 2012, 10:02:01 pm
|
|
Keith thanks for the suggestion but I'd rather not have to mess with the firmware.
dxwood I've tried that but I can't seem to get it to work. When I choose the MIDI baud rate (31250), it won't let me choose an output port, but I can select it for any other baud rate. And sometimes the Serial RX square at the bottom blinks red depending on which baud rate is selected. Also, how can I tell if garageband detects the device. Will it automatically start making noises when I open it?
Any help is greatly appreciated. Thanks!
|
|
|
|
|
6
|
Using Arduino / Audio / Best/Easiest way to send MIDI data from arduino to garageband
|
on: October 18, 2012, 11:40:14 am
|
|
So I want to make an electronic drum set and right now I'm trying to figure out how to get the arduino to interface with garageband. I have never used MIDI before and I don't really know much about it or how it works. I've done some research, but it seems like there are many ways to do this. Also, some of the resources I've found haven't been too detailed. Just trying to find out the best and easiest way to accomplish this task.
Thanks!!
|
|
|
|
|
8
|
Using Arduino / Programming Questions / how to expand a string
|
on: October 01, 2012, 05:33:10 pm
|
|
I'm trying to write a function that will display text on an LCD and then expand it.
So, as an example, it will first display:
"hello world"
then...
"h e l l o w o r l d" "h e l l o w o r l d"
..until it is completely off of the screen.
Ideas? Thanks!!
|
|
|
|
|
12
|
Using Arduino / Motors, Mechanics, and Power / Re: Vibrating motor producing noise in circuit
|
on: August 20, 2012, 10:49:06 pm
|
I'm sorry for my lack of intelligence on the subject, but I'm a bit confused. MarkT I don't quite get this: Signal ground is _not_ power ground.... So, are the microphone ground and the motor ground connected or not? The circuit is on a PCB, and I placed a ground plane on the top of the board and a power plane on the bottom of the board. So, everything that says 5V is connected to the bottom, and everything that has a ground symbol is connected to the top of the board. dc42 I did this: pcb trace between the positive side of C2 and the Vin pin of MDR as short as possible But I didn't do this: the wire from the negative side of C2 and motor negative side/D1 anode needs to be a short as possible I simply connected both the negative side of C2 and the motor negative side to the top plane. What does making this path short actually do? Also, can you explain this a little more: No part of these wires or pcb traces should be in the supply or ground path to any of the sensors or the mcu Sorry for all the questions! Thank you both!
|
|
|
|
|
13
|
Using Arduino / Motors, Mechanics, and Power / Re: Vibrating motor producing noise in circuit
|
on: August 19, 2012, 09:18:58 pm
|
|
MarkT I think you may have nailed it.
In order to determine the effects of the actual EM field, I placed a different motor (not connected to the circuit) near the circuit and turned it ON. I observed absolutely no interference. So, it has to be something within the circuit itself and MarkT you're suggestion makes sense because it doesn't seem possible for the motor to feedback through the motor driver, the microcontroller, the op amps, and still show up at the microphone.
So, when you say "on a separate wire" what exactly do you mean? Two different grounds?
|
|
|
|
|