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...
Type: Posts; User: pictographer
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...
The Time library used in the TimeSerial example documented in https://www.pjrc.com/teensy/td_libs_Time.html works.
To set the time, I needed to use /dev/ttyACM1 because I had a Teensy LC at...
The Metro library appears to work, but the example at https://www.pjrc.com/teensy/td_libs_Metro.html uses the obsolete BYTE constant and fails to compile for this reason. I'm not sure if the timing...
KeyPad library appears to work. Very lightly tested. Used the example from https://www.pjrc.com/teensy/td_libs_Keypad.html
The EEPROM library appears to work. I tried EEPROM.wriite() and EEPROM.read(). Looks like 1024 bytes as of 1.47-beta4.
The CryptoAccel library does not appear to be working.
Tried manitou's code from Teensy 3.6 testing in post...
Hi firehopper,
I just got my T4 Beta 2 hardware today and installed 1.47-beta4. Tried compiling my Fast LED sketch for an APA102 strip. Where is the patch you mentioned?
When I try to build...
If you're up for it, I think you can make it more convenient and more secure. What you described doesn't protect against replay attacks. Imagine the attacker uses a Bus Pirate or USB protocol...
Should be possible. You control the software at both ends. The Teensy has persistent memory to store keys and licence parameters. The Teensy can run authentication algorithms and other crypto...
In another thread, someone was asking about a circuit activated by a vibration sensor but kept energized for the duration of a timer.
I wonder if it would make sense to only power the teensy after...
Since you mentioned a 555, it's pretty easy to add some resistors and capacitors to make a timer. Check out monostable mode.
http://www.555-timer-circuits.com/operating-modes.html
You can also...
Very cool! Thanks for sharing this. This would be great for the PJRC projects page.
Here's what the verbose info from the Loader says:
18:39:24.365 (ports 2): Begin, version=1.46-beta1018:39:24.965 (ports 2): add device: subsys=usb, type=usb_device,...