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 wrote: Check Ohm's law. V=IR, so the resistor you choose is the voltage you provide to the LED divided by the current it draws. e.g. if the LED draws 20mA and you power it from 5V, then the resistor you need is 5/0.02 = 250 ohms in series with the LED. This current is drawn from the positive voltage supply through the resistor and then the LED, and then the transistor. This is a fairly good tutorial: http://www.ehobbycorner.com/pages/tut_transistors.html Ninja Jamm - a revolutionary new music remix app from Ninja Tune and Seeper, for iPhone and iPad http://www.ninjajamm.com/ Gemnotes-0.2: Live music notation for Pure Data, now with dynamics! http://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 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 the transistors are not for 20mA, none were available. i'll check another electronics store to see if i find some. I think you just need smaller resistors. Every transistor in a 3-pin package I've ever seen could run 20mA or much greater. Swapping the transistors will have no effect on the amount of current. Chuck 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: http://julianvogels.de/wp-content/uploads/2013/06/stromkreis_transistorschaltung_final-1024x627.png http://julianvogels.de/extending-pwm-output-pins-with-a-texas-instruments-tlc5940-led-driver/ The good enough one is to put a pull-up resistor (10k works) on every NPN transistor base, and use the TLC as a pull down. In this case, the on-time on the TLC corresponds to the off-time on the solenoid. Also when the arduino reboots and every time the BLANK is issued, every solenoid will act for a very short time. This can be a big problem in your project. I did this for a 96 channels motor+led strip system, and I regret not using PNPs instead. Enjoy, -- Charles Epic Jefferson wrote: 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 signal. The pwm shield (linkhttp://www.practicalmaker.com/products/arduino-shields/pwm-shield-assembled) is based on the tlc5940 which requires each pin to have it's own ground instead of a common ground across all drivers. This is a problem because all of the information i've found suggest that the signal from the pin controls the gate (transistor - TIP102). But i think, in the case of the tlc5940, the 5v supply is constant and the ground is being controlled, that's why it works perfectly for LED's but seems to be ill suited for this circuit. Any suggestions on how to modify the instructables circuit for use with the shields? or would the circuit have to completely change? ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- www.epicjefferson.com www.avmachinists.org Puerto Rico based Art Collective/ Non-Profit Org ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] [PD-announce] MA/MSc in Interactive Media, places available.
For the last 10+ years, we're using PD as one of the major platforms when teaching and exploring IxD at the University of Limerick. We still have a few places available on our taught Masters programme in Interactive Media at the University of Limerick, Ireland. It is a 12-month intensive course designed specifically for creative graduates interested in pursuing studies combining technological competence and design/artistic endeavour. The convergence of media technologies offer unique opportunities in new domains across a wide range of activities, for example interactive digital art, explorations in ubiquitous and tangible computing, social networking, augmented reality, interactive visualisation and sonification. For more information about the course, see http://www.csis.ul.ie/imedia/ best regards Mikael ___ Pd-announce mailing list pd-annou...@iem.at http://lists.puredata.info/listinfo/pd-announce ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Announcing PdParty
Dan, I'm also interested in testing it. /mikael --- Dr. Mikael Fernström Interaction Design Centre Engineering Research Building Department of Computer Science and Information Systems University of Limerick Limerick IRELAND Web: www.idc.ul.iewww.dmarc.iewww.softday.ie On 8 Mar 2013, at 14:58, Maurice Rickard maur...@mauricerickard.com wrote: Hi Dan, I'd be interested in checking this out as well. Best, M Maurice Rickard http://mauricerickard.com | http://onezeromusic.com | http://yoctonaut.com On Mar 7, 2013, at 7:18 PM, Dan Wilcox danomat...@gmail.com wrote: Yeah. I'll send out the info to everyone who responds to this thread. Thanks! Telbat ym morf tnes. --- Dan Wilcox danomatika.com robotcowboy.com On Mar 7, 2013, at 7:11 PM, Pagano, Patrick p...@digitalworlds.ufl.edu wrote: That sounds like a nice idea, do you have to sign up for beta testing Dan? Sent from my iPhone On Mar 7, 2013, at 5:56 PM, Dan Wilcox danomat...@gmail.com wrote: No it won't. I'm using TestFlight: https://www.testflightapp.com/ You just signup download the app. I then add you to the project and you receive notifications when I push out a new version. You then use the TestFlight app to install it. On Mar 7, 2013, at 5:53 PM, batinste dwanaf...@yahoo.fr wrote: Count me in ! The iDevice needs to be jailbroken, i guess. On 07/03/2013 18:57, Dan Wilcox wrote: Howdy all, Over Christmas break, I decided that making a swiss arm knife all-in-one cross-platform app to rule them all was not going to be feasible with all the other work I need to do for my thesis, so I've shelved the OpenFrameworks-based robotcowboy app for now. I've returned instead to PdParty, my port of DroidParty which I've rewritten in Obj-C as a universal iOS app. It currently supports the Pd-vanilla gui objects, CoreMIDI io, and has a built in WebDAV server for scene/patch management. The eventual goal is compatibility with DroidParty and RjDj scenes, but in the meantime, I need a new mobile platform for my songs. Yes, the gui design will be improved over time, for now I'm just trying to emulate the core gui stuff until everything is working. I'll be ready to send out beta testing invites in the next week, so please respond with an email address I can send the info to. Thanks! (And I just found out about MobMuPlat. What a crazy small world we live in.) Screenshots: Mail Attachment.png Mail Attachment.png Dan Wilcox @danomatika danomatika.com robotcowboy.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list Dan Wilcox @danomatika danomatika.com robotcowboy.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list