Pages: [1]   Go Down
Author Topic: Load PD patch onto Arduino?  (Read 701 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 4
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hey!

I have been working a lot with Solenoids and wondered if there was anyway to eliminate the computer, so basically have a bootloader/script that starts up when you put the power on.
I literally have no idea where I start, whether it's as easy as loading a script onto the chip or having a USB drive with an OS on it.

I feel I am rambling, any help is appreciated!

Cheers!
Logged

Seattle, WA USA
Offline Offline
Brattain Member
*****
Karma: 613
Posts: 49270
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
I feel I am rambling
I do to.

Quote
Load PD patch onto Arduino?
You can't do this. A PD patch is useless as far as the Arduino is concerned, no matter how you try to get the patch to the Arduino.

Quote
wondered if there was anyway to eliminate the computer
Lots of ways. Some more effective than others.

Quote
basically have a bootloader/script that starts up when you put the power on.
The power on what? The Arduino? It already has a bootloader, and already runs whatever sketch is loaded when it is powered up/reset.

Quote
I literally have no idea where I start, whether it's as easy as loading a script onto the chip or having a USB drive with an OS on it.
Start with taking a deep breath. Breathe into a bag is necessarily. Hyperventilating isn't helping.

A USB drive with an OS on it COULD talk to the Arduino. But, where are you going to find such a device?
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 4
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Lawl,

Ok, so I have my Computer with my PD patch, my arduino, and my solenoids. Is there any logical way to eliminating the computer?

I basically want it to work like a machine, you flip a switch, it starts up and does it's thing.

Still might not be making sense...
Logged

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 538
Posts: 27069
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

What's a PD patch?

So you want the arduino to power up & control the solenoids, running them in some pattern, or in response to button pushes, switch/microswitch closures, etc?
Doesn't sound too difficult on the surface. You may need the arduiono to control some external components, transistors & such, depending on the current draw and voltage rating on the solenoids.

Please post some more details.
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Seattle, WA USA
Offline Offline
Brattain Member
*****
Karma: 613
Posts: 49270
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
Is there any logical way to eliminating the computer?
Sure there is. Presumably you are mentioning a PD patch because PureData is somehow involved in deciding what the Arduino is to do. Make the Arduino aware of the same inputs that the PD patch is (though that might be difficult if the inputs are coming from the hard drive, the mouse, or the keyboard). Make the Arduino make the same decisions as the PD patch currently makes for the Arduino.

Quote
I basically want it to work like a machine, you flip a switch, it starts up and does it's thing.
You need to tell us a lot more about what the PD patch is doing, and what the Arduino is getting from PD.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 4
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks for your replies!

Okay, what do you need to know? Screenshots of the patch? About the circuit I presume?

It has been a while since I had it up and running, it was a project from last year, but I plan to use it again in some way for my last year of Uni basically.

Yes, the data is coming from Pure Data, I have a few different patches that are based on different things, however these don't require any input from a MIDI device such a keyboard (yet maybe...) They just open up and start.

Thanks again!
Logged

Pages: [1]   Go Up
Jump to: