With Instructables you can share what you make with the world, and tap into an ever-growing community of creative experts.
whoa, I never saw this before, so cool phil!
you mean one resistor for all the LEDs? No - that will give you variable current through your leds depending on how many leds are on at once. Best case scenario, you will not be able to control the brightness of your LEDs, worst case scenario, you could blow an LED.
hey sorry for the late reply - it seems like you have your wav in the wrong place. It should be in the same folder as the python script. Hopefully you figured that out on your own by now!
oh wow that's cool! Do you have them set up for pwm-ing? would love to see more videos as you progress with this!
yeah I think it's possible. I haven't implemented any midi receive stuff yet, but you can do it with arduino's serial library:https://www.arduino.cc/en/reference/serialhttps://www.instructables.com/id/Send-and-Receive-...
arduino isn't really set up to store large amounts of audio data and output analog, but you can get external modules that you can connect to arduino to make that work (though the code gets a little tricky). My only concern is that this project already uses a lot of io pins and you might find that you run out of other resources on the board - timer/counters etc.
nice, glad to see this worked! what are you going to do with it next?
you mean you want to be able to control the leds to make them do other things? They won't be able to change color or brightness bc the circuit isn't set up for that, but you could write your own app to control them in different ways. this is the basic keyboard app:https://github.com/amandaghassaei/Sugarcube-Arduin...see how you can add code to different events? I would start from there if you want to program something yourself.
you could definitely write an app that caused the sugarcube to send a program change message:https://en.wikipedia.org/wiki/General_MIDI#Program...the sugarcube class in this code has a method to send a generic midi command:void sendMIDI(byte command, byte param1, byte param2);this could be used to send the change program message.
For those asking about the mph calc:mph = (56.8*float(circumference))/float(timer);"circumference" is measured in inchestime per revolution of the wheel ("timer") is measured in milliseconds (0.001s)miles/hr = 1/(inches per mile) * (miliseconds per hr) * (circumference / timer)there are 63360 inches in a mile and 1000*60*60 = 3,600,000 ms in an hr:mph = 1/63360*3600000*circumference/timermph = 56.8*circumference/timerto do this in km/hr:km/hr = 1/(inches per km) * (miliseconds per hr) * (circumference / timer)km/hr = 1/39370*3600000*circumference/timerkm/hr = 91.4*circumference/timer
use a text to speech chip, it will be much easier:https://www.instructables.com/id/Twitter-Enabled-Text-to-Speech/
awesome! yeah go for it!
you'll have to look through the reference pages:https://docs.cycling74.com/max5/refpages/max-ref/serial.html
you could hack something together to make that work over midi, but it would probably be easier to use serial. You might also look into osc, i think it could support something like that - not sure though.
yeah at some point I think there was formatting to make that list more clear. I fixed it. glad to hear you solved it!
leds could be wired backwards? do they turn off when you would expect them to be on?
in Max if you send a "bang" to the serial object and then look at what's printed it will tell you which port - a, b, c, d, e, etc You can set the port by clicking on the one of the buttons attached to the serial object.
ok, use a multimeter to check the voltage across the leds to see if they're even getting power. Are you sure the leds are installed in the correct orientation?
hmm that is really strange. What is the error message? usually I just run the code with the wav in the same folder.
the connections look fine. what are the symptoms? no leds are turning on? In my experience, the ics used to drive the leds are pretty robust, I haven't seen one get fried in normal circumstances - I'm not generally too careful about esd. Do you have an oscillascope to debug the output from the ics?
Movie to Mutoscope
Blooms: Phi-Based Strobe Animated Sculptures
Pulsing fluidic heart micropump
Spoken Word Chess Pieces
3D Printed Reaction Diffusion Patterns
3D Print a Protein: Modeling a Molecular Machine
3D Printed Speaker Enclosures (With Lights!)
Touche for Arduino: Advanced touch sensing.
Bjork Costume (Or "Just A Swan")
Free-form curved furniture without molds / Part 1
umbrelAudio: Sound Dome Umbrella
Printable Tilt-Shift Lens Adapter
Musical MIDI Shoes
Custom records for a 70's toy record player
Making a Touch Sensitive On/Off Circuit with Bare Paint and a 555 Timer IC
Turn a pencil drawing into a capacitive sensor for Arduino
Polargraph Drawing Machine
Project RE_ by Samuel Bernier
A Framework For Making Affordable & Stylish Modular Controllers (USB to MIDI, HID, or Serial)
Joy Slippers Version 2
Kite Aerial Photography (KAP)
How to make a Ruben's Tube
Twitter Mood Light - The World's Mood in a Box
Crystal cMoy Free Form Headphone Amplifier
Cyanotypes - super easy photo prints at home.
Fully Functional Television Oscilloscope
Air quality balloons
USB Dead Drops
Complete Circuit Board Lab & POV Business Card
Let your inbox help you discover our best projects, classes, and contests. Instructables will help you learn how to make anything!
© 2016 Autodesk, Inc.