Can't Install Teensyduino into Arduino IDE 2.3.2

DeeNile

Member
This: https://www.pjrc.com/teensy/td_download.html
Says to go to to File --> Preferences to find "Additional boards manager URLs"
Not on my install:

1723853314574.png


This doesn't give me an option either. A search for "Teensy" returns 0.

1723853571242.png

Am I missing something?
 
Windows 11 and its skinny/auto-hiding scroll bars strikes again. You need to scroll down in the preferences dialog.
win11_arduino232.png

(I have turned OFF the option to auto-hide scrollbars in the windows settings, but it still does it in some apps when they detect a touch screen.)
 
Thanks.
I started working with Linux in 1996 and set up machines that were complicated like this back then. I'm having flashbacks...
So I got the "plug in" installed. Now how do I make this "pre-owned" Teensy 4.0 talk to my Win 10 laptop with a USB cabled hooked to the Teensy? I downloaded the "loader" and when It runs it doesn't see the Teensy. I "pressed the button" on the Teensy to make the light stop flashing, but it doesn't. Ports show a COM3, but there is no communication. Either I need reeducation or this documentation is lacking...
 
The most popular failure mode that is experienced here on the forum is an insufficient cable (poor wiring, charge-only, etc.). The quickest suggestion would be to try a different cable (or several until you find one that works).

Mark J Culross
KD5RXT
 
I "pressed the button" on the Teensy to make the light stop flashing, but it doesn't.

Teensy 4.0 has 2 LEDs. A red LED near the USB connector indicates bootloader activity. The orange LED near pin the upper right corner is connected to pin 13.

If you press and hold the pushbutton, neither LED should be able to light. If either is on while holding the button down, that's a pretty sure sign the pushbutton is defective.

Every brand new Teensy ships with a LED blink program which slowly blinks the pin 13 LED. If your Teensy is used, you can restore it to the original condition by holding the pushbutton for 15 seconds. You should see a quick blink of the red LED at 13 seconds. That's your que to release the button. If released between 13 to 17 seconds, a full erase and restore of the memory is performed. You'll see the red LED turn on bright for about 1 minute as the erase is performed. Then it should turn off and you'll see the orange LED blink again, because the original program has been restored.

Following this process can get you back to the original condition, and also confirm the hardware is basically working.
 
Hurdle 1 surmounted. I can see the board and get it to "blink".

Now comes the fun part.

This is all happening because our kid is getting married. She dropped a broken telephone and this Teensy board on me. It's the popular "telephone guest book" trick where the drunk wedding attendants pick up the receiver of the old school phone sitting on the bar. From the handset comes, "Please say something witty to the Bride and Groom after the beep" and then records their mutterings onto an SD card. This seems like a popular business to be in, so this wonderful chap figured out how to do it for a few bucks instead of a few hundred bucks. My mission, consisting of a busted phone and an "incoming wounded" Teensy 4.0 with Audio Shield D came complete with a handy 1 hour and 6 minute YouTube video. So British and so concise:


Problem is, it's two years old and is built on Arduino IDE 1.8.6 and the world has moved onto 2.3.2.

He meanders onto the need for https://www.pjrc.com/teensy/td_download.html and the libraries it contains.

1723914153939.png


Which of course isn't supported on this new version. As you can see from the YouTube link above, he instructs to install Teensy 4.0 libraries that are the same name as Arduino libraries and you need to point the compiler in the right direction after installing them:

1723914393777.png

But all of this is irrelevant it seems with the new version. Just for fun I compiled but of course it is missing the libraries:

1723914496098.png

I suppose I could claw my way through the rest of this with a few more hints, or uninstall 2.3.2 and downgrade to 1.8.6 and use the two year old instructions.

I need Audio, Bounce2 and Time. I see libraries here: https://www.pjrc.com/teensy/td_libs.html

All reference using the Installer which won't work on 2.3.2.

Suggestions?

Thanks for your continued support.
 

Attachments

  • 1723914341230.png
    1723914341230.png
    205 KB · Views: 29
MTP_teensy from @KurtE is not part of the official TD (AFAIK), and must be downloaded and copied to your local Arduino/libraries Have a look on https://github.com/KurtE/MTP_Teensy. It is worth.
Hopefully one of these days, a version of it will be installed as part of the Teensy boards, of if it is going to continue in this state,
maybe at some point I will add it to the Arduino library manager stuff.

When we were last working (Playing) with it, if I remember correctly Paul wanted to rework some portions of it. But then he got distracted with some minor other things like, finding parts and whatever else it took to allow them to keep shipping Teensies.
 
For Arduino 2.x, you don't have to manually download and install TeensyDuino as you do for Arduino 1.x. Instead, you use the Board Manager in 2.x to select the Teensy board package, and it will do the download and install for you. See the instructions at the link below and ignore the fact that the giant title is "Download Teensyduino, Version 1.59". Immediately below that are the instructions for installing the teensy board package in Arduino 2.x. It's just the first couple of steps that are actually related to 2.x.

 
and ignore the fact that the giant title is "Download Teensyduino, Version 1.59"

Good point. I've edited the web page. Title no longer has the word "Download". Added "(Install by Boards Manager)" to the Arduino 2.x.x part, and added "(Download and Run Installer)" to the Arduino 1.8.x part.

I also added words "On Windows 11 laptops a with small touchscreen display, but may need to scroll down to even if no scrollbar appears".

Hopefully these edits help?
 
Thanks everyone! Got her running. Grandpa's old phone has a new use. The pulse dial switch is used to trigger playback instead of a button. Pretty cool!

 
Glad you got it working! :)

Looks like the missing scrollbar in Preferences is a known issue with the Arduino IDE. Since the issue is nearly 2 years old and hasn't had any activity for over a year, I took the liberty to add a message with this thread's screenshot. Hopefully Arduino developers will address is in a future version, since that window really is confusing when part of the info isn't show and there's no on-screen indication the window is scrollable.
 
Thanks everyone! Got her running. Grandpa's old phone has a new use. The pulse dial switch is used to trigger playback instead of a button. Pretty cool!
Congratulations, there have been so many people wishing to get the Audio Guest Book project going and have had seemingly enormous amount of problems getting it to work. You have done it with very little problems. Well done.
 
Back
Top