Re: [PD] electro-mechanical piano (player piano) - Arduino, Solenoid Issue

2013-08-07 Thread Charles Goyard
hi, great news you're not stuck ! try to find logic-level P-channel mosfets, preferably TTL ones. SPP15P10PL at digikey looks like a good match. Enjoy, Charles ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -

Re: [PD] electro-mechanical piano (player piano) - Arduino, Solenoid Issue

2013-08-07 Thread Charles Z Henry
On Wed, Aug 7, 2013 at 12:05 AM, Epic Jefferson jeffreyconcepc...@gmail.com wrote: Hey Charles, it seems like this might work. i got some pnp transistors and built the circuit from julianvogels site. The only problem is that the LED on the test circuit barely lit up. I think it's because

Re: [PD] electro-mechanical piano (player piano) - Arduino, Solenoid Issue

2013-08-07 Thread Ed Kelly
-mechanical piano (player piano) - Arduino, Solenoid Issue On Wed, Aug 7, 2013 at 12:05 AM, Epic Jefferson jeffreyconcepc...@gmail.com wrote: Hey Charles, it seems like this might work. i got some pnp transistors and built the circuit from julianvogels site. The only problem

Re: [PD] electro-mechanical piano (player piano) - Arduino, Solenoid Issue

2013-08-07 Thread Mikael Fernström
://sharktracks.co.uk/ From: Charles Z Henry czhe...@gmail.com To: Epic Jefferson jeffreyconcepc...@gmail.com Cc: pd-list pd-list@iem.at Sent: Wednesday, 7 August 2013, 20:41 Subject: Re: [PD] electro-mechanical piano (player piano) - Arduino, Solenoid Issue On Wed, Aug 7, 2013 at 12:05 AM, Epic

Re: [PD] electro-mechanical piano (player piano) - Arduino, Solenoid Issue

2013-08-07 Thread Ed Kelly
2013, 0:26 Subject: Re: [PD] electro-mechanical piano (player piano) - Arduino, Solenoid Issue note that you have to subtract the voltage drop over the LED, hence it's R = (Vsupply - Vled)/ Iled, e.g. (5-2)/0.02 = 150 Ohm /Mikael On 8 Aug 2013, at 00:19, Ed Kelly morph_2...@yahoo.co.uk

Re: [PD] electro-mechanical piano (player piano) - Arduino, Solenoid Issue

2013-08-07 Thread Martin Peach
jeffreyconcepc...@gmail.com; pd-list pd-list@iem.at *Sent:* Thursday, 8 August 2013, 0:26 *Subject:* Re: [PD] electro-mechanical piano (player piano) - Arduino, Solenoid Issue note that you have to subtract the voltage drop over the LED, hence it's R = (Vsupply - Vled)/ Iled, e.g. (5-2

Re: [PD] electro-mechanical piano (player piano) - Arduino, Solenoid Issue

2013-08-05 Thread Charles Goyard
Hi, You're not doomed ! There are two ways to solve your problem: The proper one is to use PNP transistors or P-channel mosfets (remember I already told you about that ? :)) See this document, you can find the wiring at the end:

Re: [PD] electro-mechanical piano (player piano) - Arduino, Solenoid Issue

2013-08-04 Thread Epic Jefferson
Hey guys, updating on this project. I got the pwm shields and i've hit a wall. The driver circuit I'm using to control the solenoids via arduino is this one from instructables (linkhttp://www.instructables.com/id/Controlling-solenoids-with-arduino/)) and it uses a single pin to control the pwm

Re: [PD] electro-mechanical piano (player piano) - Arduino, Solenoid Issue

2013-06-29 Thread Charles Goyard
Hi, Epic Jefferson wrote: i've been able to control solenoid velocity with pwm via pd, this is also how Winfried does it. Also, motors are way too loud, as I told Olivier. That's good to hear ! How much accurate is this ? Underpowering a hub magnet that has a lot of jitter in its movement [1]

Re: [PD] electro-mechanical piano (player piano) - Arduino, Solenoid Issue

2013-06-27 Thread Epic Jefferson
Alexandros and Roman: Thanks, i'll check both of your suggestions. I'll let you know how it goes. I also just ordered a Practical Maker PWM shield for arduino UNO. 1 shield gives you 32 pwm pins and they're stackable, up to 6 without the need for an external power supply.

Re: [PD] electro-mechanical piano (player piano) - Arduino, Solenoid Issue

2013-06-27 Thread Charles Goyard
Epic Jefferson wrote: Alexandros and Roman: Thanks, i'll check both of your suggestions. I'll let you know how it goes. I also just ordered a Practical Maker PWM shield for arduino UNO. 1 shield gives you 32 pwm pins and they're stackable, up to 6 without the need for an external power

Re: [PD] electro-mechanical piano (player piano) - Arduino, Solenoid Issue

2013-06-27 Thread Epic Jefferson
Charles: Yeah, we're building custom drivers for the solenoids and we built a 30v power supply as well. On Thu, Jun 27, 2013 at 4:43 PM, Charles Goyard c...@fsck.fr wrote: Epic Jefferson wrote: Alexandros and Roman: Thanks, i'll check both of your suggestions. I'll let you know how it

Re: [PD] electro-mechanical piano (player piano) - Arduino, Solenoid Issue

2013-06-27 Thread Epic Jefferson
Roman, I tested your [solenoiduino] patch and it doesn't quite do what i expected. But i think i can expand on this idea. So, right now you send the pin number and the amount of ms you want it to be HIGH, but what if you don't know how long it will be? for instance a live performance situation.

Re: [PD] electro-mechanical piano (player piano) - Arduino, Solenoid Issue

2013-06-26 Thread Charles Goyard
Hi, this is largely off-topic, but there you go :) Epic Jefferson wrote: I've had progress building an Arduino-powered solenoid system for a controlling a piano's hammer mechanism (removing the keys) via pd. So far I've found the solenoid I want to use. With solenoids you will not get

Re: [PD] electro-mechanical piano (player piano) - Arduino, Solenoid Issue

2013-06-26 Thread Martin Peach
On 2013-06-26 03:51, Charles Goyard wrote: Hi, this is largely off-topic, but there you go :) Epic Jefferson wrote: I've had progress building an Arduino-powered solenoid system for a controlling a piano's hammer mechanism (removing the keys) via pd. So far I've found the solenoid I want to

Re: [PD] electro-mechanical piano (player piano) - Arduino, Solenoid Issue

2013-06-26 Thread Epic Jefferson
Charles Z Henry batinste: I need the project to be pd controlled, i could try multiplexing but i haven't found info yet on how to control multiplexed pins via pd. Peter Venus: i've been in contact with Winfried, and was about to purchase one of his older systems but haven't heard from him in a

Re: [PD] electro-mechanical piano (player piano) - Arduino, Solenoid Issue

2013-06-26 Thread batinste
That is one of the many cases where my advice would be : don't use firmata/pduino. Program the arduino for real. Use a basic custom protocol over the serial link, and talk to the arduino with [comport]. You'd spend much more time trying to get it to work with firmata/pduino than programming

Re: [PD] electro-mechanical piano (player piano) - Arduino, Solenoid Issue

2013-06-26 Thread Alexandros Drymonitis
Dunno if it helps, but I messed around with multiplexing and arduino some time ago and finally got it to work. You can check the arduino sketch and pd patch here http://puredata.hurleur.com/sujet-8867-arduino-multiplexers-solved This is only for reading multiplexed pins though, not for writing,

Re: [PD] electro-mechanical piano (player piano) - Arduino, Solenoid Issue

2013-06-25 Thread Charles Z Henry
Are you sure you need PWM pins? You'll definitely be paying for more *duinos if you are just using those. If I were you, I'd think of another way to deliver a variable impulse to the hammers. Chuck On Tue, Jun 25, 2013 at 3:43 PM, Epic Jefferson jeffreyconcepc...@gmail.com wrote: Hey guys,

Re: [PD] electro-mechanical piano (player piano) - Arduino, Solenoid Issue

2013-06-25 Thread Peter Venus
maybe this could help you. http://algo.mur.at/projects/microcontroller this is developed by winfried ritsch, who realised really fast responding automated pianos with these. peter Am 25.06.13 22:53, schrieb Charles Z Henry: Are you sure you need PWM pins? You'll definitely be paying for

Re: [PD] electro-mechanical piano (player piano) - Arduino, Solenoid Issue

2013-06-25 Thread batinste
Your might want to take a look at the TLC 5940. It's a led-driving chip with 16 pwm outputs. Chips are daisy-chainable, and there is an arduino library. https://www.sparkfun.com/products/10136 On 25/06/2013 22:53, Charles Z Henry wrote: Are you sure you need PWM pins? You'll definitely be

Re: [PD] electro-mechanical piano (player piano) - Arduino, Solenoid Issue

2013-06-25 Thread Olivier Baudu
Hi... It's not really the subject because we didn't use Pd for the this version... But we've done a piano player with 48 servo engine (HS-422 from Hitec) controlled by I2C with a 3 PCA9685 and a Raspberry Pi. This one from Adafruit ( http://www.adafruit.com/products/815 ) can be used with an