Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 22 of 22

Thread: Audio Tutorial - Getting started

  1. #1
    Junior Member
    Join Date
    Jan 2019
    Posts
    15

    Audio Tutorial - Getting started

    I'm trying to follow the Audio Tutorial PDF.

    I'm using Arduino 1.6.5.

    I go to the path File > Examples > Audio >Tutorial and the files I see are not nearly as extensive as those listed in the PDF. What am I doing wrong - what's the correct path?

    Thanks!
    Dan

  2. #2
    What do you see? On Arduino 1.8.5., Windows 10 I see:
    Click image for larger version. 

Name:	20190118_223023.jpg 
Views:	13 
Size:	69.1 KB 
ID:	15644
    (After I selected a Teensy 3.5 in Tools > Board)

  3. #3
    Junior Member
    Join Date
    Jan 2019
    Posts
    15
    Thanks for your reply. I'm using the tutorial kit that contains the Teensy 3.2. However, the PDF says 'requires Arduino 1.6.5 or 1.6.6.' That's why I used that program. When I look at Tools > Board I see 27 choices, none of them being Teensy 3.5. Tools > Board displays 'Arduino/Genuino Uno.' Now, to confuse me even MORE, I thought I was downloading Arduino 1.8.5, but the top of the window displays 'Arduino 1.8.8. What am I doing wrong?

  4. #4
    Did you install the Teensyduino? If you don't select one of the Teensy boards at Tools > Boards, then you won't see the Teensy libraries in the menu.

  5. #5
    Administrator Robin's Avatar
    Join Date
    Oct 2012
    Location
    PJRC Global Headquarters
    Posts
    306
    Quote Originally Posted by twowindsbear View Post
    Thanks for your reply. I'm using the tutorial kit that contains the Teensy 3.2.
    I just want to be clear what hardware you are using. Are you using the fully assembled Audio Tutorial Kit, or did you build your own audio tutorial using the extra parts kit?

  6. #6
    Junior Member
    Join Date
    Jan 2019
    Posts
    15
    Quote Originally Posted by Robin View Post
    I just want to be clear what hardware you are using. Are you using the fully assembled Audio Tutorial Kit, or did you build your own audio tutorial using the extra parts kit?
    Yes, I'm using the fully assembled Audio Tutorial Kit. It does seem to work, the orange LED flickers, and turns off when I press the button, and then I got it to blink & beep like the tutorial said,

    I just can't get the Arduino (maybe the IDE program) to agree with what the tutorial PDF shows.

    Thanks for your help

  7. #7
    Junior Member
    Join Date
    Jan 2019
    Posts
    15
    Quote Originally Posted by cow_n_berg View Post
    Did you install the Teensyduino? If you don't select one of the Teensy boards at Tools > Boards, then you won't see the Teensy libraries in the menu.
    When I go to Tools > Boards, it displays 'Arduino/Genuino Uno.' Do I need to change that to another board? The Teensy included in the Audio Tutorial kit is a 3.2. 3.2 is not listed as a choice on the list that is displayed for Tools > Boards.

    Does this forum have a chat feature? That way we could 'talk' to each other more or less in real time, rather than over the course of hours posting notes.

    Thanks for your help

  8. #8
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    19,931
    Quote Originally Posted by twowindsbear View Post
    3.2 is not listed as a choice on the list that is displayed for Tools > Boards.
    You need to run this installer. Quit Arduino first, since it adds lots of files to your copy of Arduino.

    https://www.pjrc.com/teensy/td_download.html

    Then run Arduino again and select Teensy 3.2. Arduino updates the File menu depending on which board, so you should find the examples after Teensy is selected.

  9. #9
    Junior Member
    Join Date
    Jan 2019
    Posts
    15
    Quote Originally Posted by PaulStoffregen View Post
    You need to run this installer. Quit Arduino first, since it adds lots of files to your copy of Arduino.

    https://www.pjrc.com/teensy/td_download.html

    Then run Arduino again and select Teensy 3.2. Arduino updates the File menu depending on which board, so you should find the examples after Teensy is selected.
    Ok, I think I've tried to DL both of those installers. I get a message to the effect that 'Win 10 has an installer and doesn't need this one.'

    Which one do I need to use?

    Windows Serial Installer
    or
    Windows XP / 7 / 8 / 10 Installer

    I am using WIN 10

    Thanks for your help

    I tried, again, to DL & install both of these programs. They both give a message that there is a Windows installer program on my computer & that this program is unnecessary. And, it is version 1.45 & the PDF tutorial specifically says to DL version 1.26. I am SO confused!

  10. #10
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    19,931
    Maybe you're downloading the wrong version of Arduino? Hard to make much sense of any of this, with these imprecise descriptions of the error messages. Any chance you could start giving us screenshots, so we can actually see the same thing you're seeing?

    This is the page where you download Arduino.

    https://www.arduino.cc/en/Main/Software

    You need the 1st one, called "Windows Installer, for Windows XP and up".

    DO NOT get the "Windows app Requires Win 8.1 or 10". That one does not work with Teensyduino. If you have previously tried that one, fully uninstall it before getting the correct installer ("Windows XP and up").

    Again, use the "Windows XP and up" installer.

    Click image for larger version. 

Name:	sc.png 
Views:	12 
Size:	53.2 KB 
ID:	15682

  11. #11
    Junior Member
    Join Date
    Jan 2019
    Posts
    15
    Thanks Paul
    I uninstalled all the Arduino versions & reinstalled the version you've specified, Arduino 1.8.8. It runs & displays a text that probably needs to be resolved. Here's a copy & paste of that text:

    void setup() {
    // put your setup code here, to run once:



    }

    void loop() {
    // put your main code here, to run repeatedly:

    }

    Here's a screenshot - I hope!

    Click image for larger version. 

Name:	Arduino 1 8 8 screenshot.jpg 
Views:	8 
Size:	56.6 KB 
ID:	15685

  12. #12
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    19,931
    I see the lower right corner still says "Arduino/Genuino Uno". That means you haven't selected Teensy 3.2 yet from the Tools > Boards menu.

    The 31 page tutorial has pretty good step-by-step instructions, at least in the first sections. Less is spelled out as each little thing as you go, on the assumption you've learned the prior parts and have gained some familiarity with what to do.

    I know getting this first bit can be a chore if you have never installed or used Arduino at all. Hopefully you're on the right path and things will become more intuitive as you go?

  13. #13
    Junior Member
    Join Date
    Jan 2019
    Posts
    15
    Thanks, again, and for your patience with me.

    Yes, this is my first attempt at using an Arduino.

    Yes, I know about the "Arduino/Genuino Uno" choice. I don't see an option to select the Teensy 3.2. I'm trying to follow the 31 pg tutorial, but I can't seem to resolve what the instructions tell me to do, the files to DL & such, with what I'm finding when I go to the links. Here's a screen shot of what I see when I follow the Tools > Boards menu.

    Click image for larger version. 

Name:	Arduino Boards Menu.jpg 
Views:	15 
Size:	84.1 KB 
ID:	15686

  14. #14
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    Posts
    8,382
    The TeensyInstaller needs to be run on that copy of the IDE to have the Teensy Board family show up.

  15. #15
    Junior Member
    Join Date
    Jan 2019
    Posts
    15
    Hi, thanks for your reply.

    What is the 'IDE?' Is that the Arduino 1.8.8, another version of Arduino, or the Teensy Installer 1.40?

  16. #16
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    Posts
    8,382
    Indeed the IDE is the Arduino 'integrated development environment' >> "Download the Arduino IDE" as noted on their page already you already downloaded https://www.arduino.cc/en/Main/Software - also shown in Paul's post #10 screenshot … so many TLA's to learn

  17. #17
    Administrator Robin's Avatar
    Join Date
    Oct 2012
    Location
    PJRC Global Headquarters
    Posts
    306
    You must install Teensyduino to be able to select Teensy 3.2 in the Tools > Board menu (needed for the Audio Tutorial)

    Before you install Teensyduino
    Click image for larger version. 

Name:	No_Teensyduino.jpg 
Views:	12 
Size:	75.5 KB 
ID:	15689

    After you install Teensyduino
    Click image for larger version. 

Name:	Teensyduino.jpg 
Views:	17 
Size:	95.5 KB 
ID:	15690

  18. #18
    Junior Member
    Join Date
    Jan 2019
    Posts
    15
    Hi Defrager:

    I HAVE downloaded this program! Arduino 1.8.8. See my post #13.

    Thank you for your help and patience.
    Last edited by twowindsbear; 01-20-2019 at 05:38 AM.

  19. #19
    Junior Member
    Join Date
    Jan 2019
    Posts
    15
    Hi Robin

    I've been to this link - https://www.pjrc.com/teensy/td_download.html

    And I try to follow the instructions on this page. What I wind up with is this

    Click image for larger version. 

Name:	Teensy Duino.png 
Views:	6 
Size:	132.2 KB 
ID:	15691

    When I go to Help > About it says it is: Teensy Loader 1.40 - not Teensyduino. Here's another screenshot.
    Click image for larger version. 

Name:	Teensyduino 2.png 
Views:	7 
Size:	205.7 KB 
ID:	15692

    They both seem to run, but they don't seem to interact. That is, I get what you've shown in your first image, but NOT what you've shown in your second image. What am I missing?

    Thank you for your help and patience.

  20. #20
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    Posts
    8,382
    Quote Originally Posted by defragster View Post
    The TeensyInstaller needs to be run on that copy of the IDE to have the Teensy Board family show up.
    From this post the needed program is Windows XP / 7 / 8 / 10 Installer - the Teensy Duino installer.

    Quote Originally Posted by defragster View Post
    Indeed the IDE is the Arduino 'integrated development environment' >> "Download the Arduino IDE" as noted on their page already you already downloaded https://www.arduino.cc/en/Main/Software - also shown in Paul's post #10 screenshot … so many TLA's to learn
    This post was in response to a question asked ... to explain IDE … and notes : "you already downloaded "

  21. #21
    Junior Member
    Join Date
    Jan 2019
    Posts
    15
    Quote Originally Posted by Robin View Post
    You must install Teensyduino to be able to select Teensy 3.2 in the Tools > Board menu (needed for the Audio Tutorial)

    Before you install Teensyduino
    Click image for larger version. 

Name:	No_Teensyduino.jpg 
Views:	12 
Size:	75.5 KB 
ID:	15689

    After you install Teensyduino
    Click image for larger version. 

Name:	Teensyduino.jpg 
Views:	17 
Size:	95.5 KB 
ID:	15690
    Hi Robin

    YAY!!! Finally, at long last - I've gotten Arduino 1.8.8 to recognize my Teensy 3.2. Now, my next mission, is to get the File > Examples to work!

    Thanks for your help.

  22. #22
    Junior Member
    Join Date
    Jan 2019
    Posts
    15
    Hi cow_n_berg

    YAY!! finally, at long last I've found the audio tutorial files.

    thank you so much for your help.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •