Replies: 5 comments 53 replies
-
Sounds very interesting. Yes, I was thinking of creating a PCB and I already installed KiCad but I have no experience with that tool and I have so many things to improve in software that I do not see my own PCB being created sometime soon. What trigger software did you have in mind when you started thinking about your project? |
Beta Was this translation helpful? Give feedback.
-
I can also contribute designing a PCB in KiCad. I think it's crucial to decide which module will go in the hardware (esp32 or teensy?). |
Beta Was this translation helpful? Give feedback.
-
Sorry what do you mean by trigger software? The hardware would produce midi out over usb and maybe ble. I think the processor/adc situation is critical to figure out first, obviously, since that will impact the piezo conditioning circuitry necessary. eDRUMin uses a digitally controlled analog gain system, allowing it to support Sampling with 1024 levels of precision at 10K samples per second, eDRUMin So he's using 10-bit adc at 10ksps with digitally controlled analog gain. I'm not sure that's required since 12-bit adc will give 12dB more range. But that comes down to the hardware since some adc's have a pga in front. And, of course, latency. Needs to be low. The other thing I would like to see is a wifi interface for configuring the modules (with client side rendering). Then it will work anywhere. No software specific to the hardware will need to be installed anywhere. That's the dream anyhow. I have doubts that the ESP32 is capable of processing all of that data and providing a web interface. But that depends on how positional sensing is implemented. When I played with something similar I was using cross correlation which was heavy and it didn't work all that well. So the first thing I'm trying to decide on is dedicated muxed adcs or a microcontroller (like the STM32) that has 20+ adc available. And if you're not familiar with eDRUMin: It's well thought out hardware and software. If it was only open source ;p |
Beta Was this translation helpful? Give feedback.
-
The choice of enclosure is a tough one due to the size of these jacks. But at the same time the number of jacks is a problem too. And supporting 16 channels means we can't use fewer jacks. I don't really want to compromise on the number of inputs. I've picked out a single enclosure that I think can be used for both 16 and 32 jack designs. The extrusion is quite common, but the length isn't so it may one day not be available. It should be possible to get them cut to length though, at least from that company. I'll look into that. The end plates won't be machined and I'm sure that could be done for extra cost. Something else I'll enquire about. Pcb pricing is driven by size. 100x100 or less seems to have a "special" price. The size 141x91 is what's needed for the enclosure. Minimum size for this design could be as small as 115mm so the board will have to be 26mm wider. Min Qty is 5. Prices in USD. hasl is leaded.
enig might not be important to have as long as hasl is done with smobc. I need to confirm that because JLCPCB doesn't say. If it's possible to stick to 2 layers and hasl, then $9.2 vs $2 isn't a huge deal to go 4 layer. I've got one enclosure in my cart (CAD$23 including shipping) and a bunch of jacks. But before I order anything I thought I'd ask if perhaps a different configuration would work. Specifically 3.5mm jacks. They're significantly smaller. It would require special cables, or 3.5mm to 3.5mm cables with an adapter, but they would pack in a lot tighter and the pcb could be less than 100x100 so special pricing. Dumb idea? Be honest ;) Alternately, could use a roland style db25 connector and then source a roland harness. Need to buy cables anyway so this might not be a terrible idea and each harness has 17 zones it seems. I think 1/4" jacks is the best way to go, but it does add expense to the project. Using the cheapest shipping options: The cheapest jacks: $15 subtotal so far is at CAD$55 or USD$43. To that we still need to add: endplates with holes in them And that's basically a kit that you solder together yourself. But it's pushing USD$100 already with a teensy. Since the stuff costs what it costs, it seems fair to me, but I don't know about how other purchasers might feel. I have no idea what MegaDrums cost. The eDRUMin is USD$329 including shipping for basically 22 adc inputs. Would anyone want to build their own (besides me)? At the same time to expand to 32 inputs would be really cheap. Would just need to buy the jacks and an esp32/teensy since there are 5 pcbs and two of these boards should fit in that single enclosure. |
Beta Was this translation helpful? Give feedback.
-
I found a really nice part: MCP4351. It's a digital potentiometer with some nice features and it's pretty cheap. It's got a wide tolerance of 20% and I'm not sure how that will play out. A 100K pot could be 80K to 120K. One useful feature is that it can disconnect all 3 terminals. Using that feature I think I can combine a hihat and piezo input with some caveats. Here's a schematic to talk about. I'm using regular potentiometer symbols for illustration because it's more compact. The top half shows the circuit. The RV reference designators represent the digital pots. I've connected 3.3V via p channel fet and a polyfuse to the ring terminal of the jack. This way a gpio can be used to turn power on/off for hihat electronics. The circuit connected to the tip terminal of the jack is what I'd like comments on. The bottom half of the picture shows two cases for which the digital pots can be configured. The first is for a piezo input. The wiper of RV1 is set to 50% so that there is a voltage divider formed at the wiper. That will bias the piezo. RV2 can be adjusted from 100K down to it's minimum of 180R. This will increase the load on the piezo and lower the voltage. However, the minimum impedance will be limited to the parallel combination of the biasing resistors plus the minimum of RV2. That works out to 25K or so and that may not be enough to reduce a "hot" piezo. The second case shows the configuration for a hihat input. That terminal disconnect feature comes in handy here because RV1 goes from resistor divider to pull up resistor. RV2 now goes to minimum impedance of 180R. Also, if we don't want any pull up (say for hall effect input), then we can disconnect the wiper from RV1. This circuit would only be used for jacks 8 and 9. Jacks 1 through 7 would use fixed resistor dividers of 22K instead of RV1. RV2 would still be used to control the load on the piezo. Have I overlooked anything? This technique is only going to work if increasing the piezo load reliably reduces the peak voltage enough to accommodate hot piezos. And I have no idea to test this. @ignotus666 are you able to measure the peak voltage from your hot piezos? Are they normal 27mm piezos or the bigger 35mm? And how could I duplicate your setup? |
Beta Was this translation helpful? Give feedback.
-
I like what you're putting together in this repository.
I'm considering designing an open hardware design similar to eDRUMin. It would be a combination of:
The idea would be piezos in, usb midi out. Maybe even ble midi out.
A reasonably simple main board that could be made at OSHPark and then hand soldered. Designed in KiCAD.
Before I start on a design, I was wondering if you've got plans for hardware.
Beta Was this translation helpful? Give feedback.
All reactions