Welcome to the MIDI Sprout forum

Author Topic: Building a Sprout with an Arduino  (Read 1131 times)

Offline boyciesdog

  • Newbie
  • *
  • Posts: 2
    • View Profile
Building a Sprout with an Arduino
« on: April 18, 2017, 09:51:31 AM »
Hi All,

I need some beginners advice with building my own sprout.

I have experience with Arduino's and know my way around a breadboard/ circuit but I can't verify any of the codes that are linked in the Arduino desktop software. I've followed these two links;

http://support.midisprout.com/index.php?topic=1235.0
http://support.midisprout.com/index.php?topic=9.0

In the second link I've downloaded the zip but not quite sure what I am supposed to be uploading to the Arduino as all of the files produce errors.

Also the link to the LEDFader.h is broken (http://The%20code%20uses%20the%20[url=https://github.com/jgillick/arduino-LEDFader.git)

I found it on github but once again it won't verify in the Arduino software.



Could someone give me a step-by-step on how I should upload the code onto the Arduino as if I begin to tell you all the errors I've had you'll probably need to do so anyway.

Help!!!

Offline sam

  • Sam
  • Moderator
  • Full Member
  • *****
  • Posts: 147
  • Understand How Your Tools Work!
    • View Profile
    • Electricity for Progress
Re: Building a Sprout with an Arduino
« Reply #1 on: April 20, 2017, 10:51:41 PM »
You will need to install the LEDFader library through the Arduino IDE.  there is a very nice Library installer. 

I can not provide a tutorial for using the Arduino IDE here, but you can look at Adafruit, their learning system had everything you need to learn about programming, arduino, physical computing, and moral lessons about sharing ideas and being a good person

This is my latest Arduino 'Shield' code which uses a new button on A1.  You need to use the BiodataSonification_026_kit.ino file.

Otherwise the original code is here.

It does take a large amount of work to get 'setup', and the rewards are quite gratifying.  Once you can make an LED flash at will, you can make anything happen!

Good luck!

Offline boyciesdog

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Building a Sprout with an Arduino
« Reply #2 on: April 23, 2017, 08:33:31 AM »
Thanks for your reply Sam,

It was adding the LEDFader to the library that was causing the issue and the code is working fine now.

I'm still not getting a reading from the sprout but I should be able to troubleshoot.

One smalll question, on the Biodata_Uno_Breadboard.png that is in this forum there is no sign of the two capacitors between 1 and 8 of the 555 timer. Is this correct?

Offline sam

  • Sam
  • Moderator
  • Full Member
  • *****
  • Posts: 147
  • Understand How Your Tools Work!
    • View Profile
    • Electricity for Progress
Re: Building a Sprout with an Arduino
« Reply #3 on: April 23, 2017, 07:58:33 PM »
The 0.1uF and 47uF capacitors are 'decoupling' and they go across the positive and negative rails, in the case of the 555 timer these are pin 1 (GND) and pin 8 (VCC).

The 0.1uF capacitor is not polarized and can be in either direction, bit the 47uF cap is polarized, and the longer leg should go to the positive (Pin 8) and the shorter leg with a (-) sign on the cylinder goes to ground.