If I recall correctly, I connected a Teensy 3.2 to a GPS using USB-Serial using no other hardware than a cable. It's possible I wired the GPS to hardware TX and RX pins of the Teensy, but I don't...
Type: Posts; User: pictographer
If I recall correctly, I connected a Teensy 3.2 to a GPS using USB-Serial using no other hardware than a cable. It's possible I wired the GPS to hardware TX and RX pins of the Teensy, but I don't...
Wow. Congrats on getting it working!
I'm sure I'm not the only one who is curious about what marvelous gadget will you put this in and what will it do?
Would a Teensy 4.0 spare you a heap of trouble?
https://www.pjrc.com/store/teensy40_front.jpg
Summing up, I thought it would be easy to add an IR remote to a wireless keyboard. A Teensy LC, an IR LED, and the IRRemote library work beautifully, but with only two AA batteries in parallel, the...
Wondering how to do the investigation/measurement with what I have...
I've got an external USB battery that powers the Teensy + LED well enough to work at the intended range and a multimeter. I...
4.7MFD is literally what's printed on the cardboard the capacitor came in. Looking closer at the capacitor itself, it's 4.7µF. Thanks again, MarkT.
The boost converter gets the Teensy LC to work and it can flash its builtin LED. Alas, the 3mm IR LED doesn't seem to illuminate. With a big USB battery, it worked fine.
IR remote controls flash...
I ordered some boost converter modules. We'll see how it goes.
MarkT, thanks for the insights.
The IR LED I'm using didn't come with a datasheet. Not sure how to measure my working prototype. I've got a cheap hand held multimeter, an inline USB tester, a...
Trying to embed a Teensy LC in a Logitech K400r wireless keyboard that we use to control a media PC running Ubuntu. The keyboard controls the computer just fine, but I thought it would be nice to be...
Neat design! I hope people do buy or make some.
Should be fine to cover the traces with solder mask.
The touch sense hardware has tuning parameters. You might want to take a look at the source code for touchRead.
You might want to include...
I've updated a Teensy with a Raspberry Pi Zero W. If you need the Pi desktop environment to install Arduino and configure things, the Zero is so slow, it's barely usable. Once you struggle through...
That's an excellent idea!
Maybe this thread will be helpful: https://forum.pjrc.com/threads/44587-TTS-(Text-to-Speech)-Library-Port
Have you looked at https://forum.pjrc.com/threads/13987-Teensy-3-0-capactive-touch?highlight=touchread+timeout ?
I think there's a need for a library on GitHub to support non-blocking touch sense....
Thanks, Paul.
I did grab the latest udev rules. I'll update my Arduino/Teensyduino soon.
Tried an experiment with a bare teensy LC that shows some promise.
Using touchRead() you can tell the difference between the following
Teensy held its USB cable plugged into the PC
Teensy...
Now that /dev/ttyACM0 is back, I can select it in the Arduino IDE Port menu and things are back to working.
Well, working with a workaround. I don't think the Arduino IDE serial monitor should...
Thanks, Kurt. I think you're probably right.
My first symptom was that the Arduino Serial Monitor failed to open with an error. Unfortunately, I didn't write down the error at the time.
When...
Progress! I tried a different Teensy that hadn't been updated lately and that uses USB Serial. /dev/ttyACM0 appeared as usual.
I'm guessing that somehow the Arduino IDE settings got confused...
The teensy still functions as a keyboard device, but USB-serial still isn't working. Still no /dev/ttyACM0. Tried various things.
sudo modprobe cdc-acm
sudo modprobe usbcore
sudo modprobe...
corbett@nao:/dev$ uname -a
Linux nao 5.8.0-44-generic #50-Ubuntu SMP Tue Feb 9 06:29:41 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
corbett@nao:/dev$ cat !$
cat /var/log/apt/history.log
Start-Date: 2021-03-04 08:57:32
Commandline: /usr/bin/unattended-upgrade
Upgrade: wpasupplicant:amd64 (2:2.9-1ubuntu8.1, 2:2.9-1ubuntu8.2)...
A recent update to Ubuntu 20.10 on my desktop PC seems to have removed /dev/ttyACM0. This was working fine in Ubuntu 20.10 before the update.
I tried updating to the latest UDEV rules.
I tried...
Perhaps the Pi doesn't have the needed USB serial driver installed. There should be a device like /dev/ttyACM0. You might also need to mess with stty to configure it or use a terminal emulator like...
Recently, I was able to build and run teensy_loader_cli for OpenWrt 19.07.7 running on an GL-iNet Mango GL-MT300N-V2 Mini Router.
As I mentioned in another thread, I'm able to reprogram the Teensy...
I've done something like this with plain serial. It's a little wonky if the serial port also has all the console messages. You can disable the console messages, but then debugging the system gets...
You could try posting picture and giving a bit more information. What exactly did you do? What did you expect? What did you observe? What have you tried regarding fixing it?
Some stud finders use capacitance to locate wooden studs behind drywall, based on the difference between the dielectric constant of air and wood.
I'm wondering if a Teensy could be made into a...
Paul diagnosed why long runs of APA101 LEDs don't perform at high speed. How complicated would it be to make a circuit that gets inserted every 100 or so LEDs to clean up the clock signal?
For...
I guess this is possible
What makes you think the keyboard controller is the problem and not the switches or a trace in common between the failing switches?
If you think of a photodiode as a single pixel camera, you can make a very low resolution color detector by using three of them. Either get ones that target the color frequencies you care about or...
I second this. Paul and the community here are amazing at providing help to anyone willing to share code and follow up reasonably. Many of the amazing libraries that make Teensys so useful are...
I did have a second copy of arduino-1.8.12. When I sorted that and upgraded to Arduino 1.8.13 and Teensyduino 1.53, I was able to remove nano.spec, but on a Teensy LC,
Serial.printf("Using...
With the touchRead sense wire just pressing against the metal case, the difference between touch and no touch was about two counts. Now with a bit of magnet wire taped to the inside of the case over...
Thanks, Paul.
I did search for other copies of boards.txt and none of the others mentioned the Teensy LC. Haven't yet tried updating Arduino and Teensyduino. Verbose output still includes...
I edited boards.txt and restarted arduino. Haven't been able to make it work. It appears the changes to boards.txt didn't take effect.
teensyLC.menu.opt.osstd=Smallest Code...
My latest project is a desk light. It uses a Teensy LC in an electrical junction box 4"x2"x1.5" made of metal that's about a 1/16" thick. While I was refining it, I had a wire soldered from Teensy LC...
Thanks, manitou!
Since my needs are modest, I'm getting by with Serial.println() which does print floats okay. Was reporting the bug in case there was interest in fixing it. I mean, I can...
Tried Paul's magic trick from https://forum.pjrc.com/threads/27827-Float-in-sscanf-on-Teensy-3-1?p=65321&viewfull=1#post65321 but no joy.
I haven't been able to make Serial.printf() print floats on the Teensy LC with any of the compiler settings I've tried. Some settings produce no output. Some produce different memory garbage. The...
Same issue for Mouse.h. Removing Mouse.h and Keyboard.h allows the KeyboardAndMouseControl sketch to compile and run.
Arduino: 1.8.12 (Linux), TD: 1.52-beta3, Board: "Teensy 4.1, Serial +...
Looks like keyboard emulation isn't there yet. Here's the example from https://www.pjrc.com/teensy/td_keyboard.html
#include "Keyboard.h"
int count = 0;
void setup() { } // no setup...
I'm going to try to compile the examples in menu order starting from the top. I've made it through 01.Basic and 02.Digital so far with no issues other than spurious "An error occurred while uploading...
The Generate_Password example doesn't compile for the T4.1 beta doesn't compile.
Arduino: 1.8.12 (Linux), TD: 1.52-beta3, Board: "Teensy 4.1, Serial, 600 MHz, Faster, US English"
...
I've never been able to observe a pattern that explains when the program button needs to be pushed and when it doesn't.
Just tried switching from my little Hello program to the FastLED demo...
Just got my T4.1 beta! It blinked as expected when I plugged it in to a USB port of my AMD A10-7800 radeon r7 running Ubuntu 19.10.
My first upload attempt failed because I forgot to change the...
Interesting article on trends and trade-offs in MCU design: https://semiengineering.com/the-mcu-dilemma/
The TimeAlarm library appears to work. I ran the TimeAlarmExample.pde from Paul's github repo. Here's the output:
14:23:02.018 -> 8:29:0014:23:02.952 -> 8:29:01
14:23:03.944 -> 2 second timer...
@defragster, thank you.
The time appears to be set reasonably by the TeensyLoader. I modified the example to report the time during setup. The example does not recognize that the Teensy is...