While RS-232 has higher voltage, on the Teensy 4.0/4.1/micromod (and on the legacy Teensy 3.0,3.6, and LC), the voltage on the TX and RX pins must be 3.3 volts. If you use higher voltage, you risk burning out the Teensy. Only on the legacy...
It works! Thanks for the help.
For anyone else with the same problem as I had. Just add this:
time_t getTeensy3Time()
{
return Teensy3Clock.get();
}
In setup or your custom init function place do:
setSyncProvider(getTeensy3Time);
Ignore the...
Did you call 'setSyncProvider' to tell the time library to use the real time clock. Here is the setup code from TimeTeensy3.ino:
#include <TimeLib.h>
void setup() {
// set the Time library to use Teensy 3.0's RTC to keep time...
Though as the ad notes, that particular case will not hold 18650's with the button top. The button top prevents the battery from being over-charged or depleted. If you are using 18650's in a larger enclosure that provides the protection, you...
IIRC, since those chargers charge at 1A, I think you want a battery with at least 1,000mAh of capacity (but it would be helpful to find a FAQ that goes in the details). When I'm making costume props, often times an issue is will the battery fit...
I didn't notice it was a NIMH battery, the various chargers I mentioned only work for lipo batteries.
You need some sort of charger for the battery that works with NIMH batteries. If you don't have a charger laying about you would need to buy...
The default usb connection is set up as a serial connection. Maybe it works with 8-bit binary data, maybe it doesn't (for example it might convert \n into \r\n strings). There are ways to get additional USB devices on the Teensy side, but I was...
I would suspect PaulS meant having the Teensy in USB client mode (i.e. the PI is the host). When the Teensy is a USB client, and the PI is the host, you would just write to the USB serial port with normal text print statements and use...
Well the simplest is just to use USB where the Teensy is a client and the PI is the host. If the PI can power the Teensy, then all you need is a simple USB cable. You would send data via writing text to the serial connection.
Alternatively if...
There are I2C multiplexers. You hook each device up to separate logical I2C busses. When you want to talk to a particular device, you send an I2C message to the multiplexer for which bus to connect to. You do have to be careful if the library...
If you want something that is made to be soldered to a Teensy consider this. You will have to cut the solder connection underneath the Teensy that connects VIN and VUSB...
I only use Linux, but in general your system's standard file explorer should be able to see the Teensy and allow you to cut/paste files without having to run any other programs. There are previous threads about MTP that talk about people using...
In terms of existing designs, there are at least 2 things that the Teensy 4.0/4.1 just does not have (analog output on pin A14 that can be used to play music and the ability for digital pins to receive 5 volts of input from 5 volt devices).
Do note that the pins used for the serial ports are different between the Teensy 3.2 and Teensy 4.x. On the Teensy 3.2, Serial2 was on pins 9 (RX2) and 10 (TX2). On the Teensy 4.x, Serial2 is on pins 7 (RX2) and 8 (TX2).
On both Teensies, only...
True to the title of the thread, I was wiring up the two new eyes I bought (see the previous post, #151). Now of course these new eyes have a different wiring layout than the previous eyes. So to test them out, I added jumper wires to the...
I converted my toy Dalek into a synth. Inside is a Teeny 4.1 and Audio Card. The antenna and arms are potentiometers and joysticks and I used the fasttouch library for the touch buttons on the Dalek.
Here are the innards...
Yes it would be helpful to have the code. I don't have that display, but the pins are:
VIN -- connect to the Teensy 3.3v (on a few rare displays connect to VIN instead of 3.3v);
GND -- connect to the Teensy ground pin;
DIN -- connect to pin...
I forgot to mention, I did a google spread sheet on various microprocessors:
Spreadsheet: https://docs.google.com/spreadsheets/d/1LSi0c17iqtvpKuNSYksMG306_FpWdJcniSRR6aGNNYQ/edit?usp=sharing
The first sheet tries to compare each of the pins in...
I probably wasn't clear. I meant you would put a cheap microprocessor at the remote end along with all of the I/O expanders to handle the buttons. That microprocessor does the button reading using the 4 or so I2C expanders, and it uses a single...
I vaguely remember some space related posts. I did a google search, but I didn't remember most of these. I suspect they don't meet the criteria of space qualified (but with it in several amateur rockets, maybe it is near space)...
Another thought might be to put a cheap microprocessor at the remote end that watches the buttons, and communicates the results over a serial UART, using something like RS-422 or RS-485 (or even home-brew connection with checksums).
FWIW, I was on fleabay and I noticed a US seller (datacenterliquidation) selling the GC9A01 round displays that have a squarish PCB under them for $4-ish plus s/h (i.e. you will need to hide the PCB in your build). I was able to pick up 4 spares...
Note, in the flash memory slot on the Teensy 4.1, you can put larger flash memory chips. The largest that I'm aware of is a 256MB/2G-bit NAND Flash chip (Winbond W25N02KVZEIR). You would use the LittleFS_QPINAND constructor with Littlefs to...
I2C is a shared bus. As long as the devices addresses don't overlap, you should be able to put the trellis on the standard I2C bus. The Teensy audio shield uses addresses 0x0A and 0x1A to set up the parameters for the audio shield.
If you use...
Well maybe it can handle it, maybe not. But I suspect it may be a lot of work. If you aren't interested in doing the work and learning stuff, etc. it may be better to buy something off the shelf that already has most of the functionality you want.
The Voyager Sailing Drones are a long-term hobby project to develop ocean-going autonomous sailing drones.
They are 4 feet and 6 feet in length, constructed using fibreglass over foam core, with a central stringer and keel encasement, similar to...
I suspect the Teensy just does not have to power to record Full HD by reading the camera and writing to the SD card. Maybe it can handle it, but I have my doubts. But an Arduocam does have a 2MP sensor and evidently you can control it from an...
Or as I said, use a Teensy 4.0 or 4.1 for the secondary processor. That way you don't have deal with the issues of the differences. That being said, at the Arduino level things are pretty much the same thing, but of course when you are dealing...
I tend to think that having multiple processors of different types will add to your complexity. You will need to deal with various incompatibilities.
I would think if you are going with multiple processors, it may be better to use a Teensy 4.0...
Unfortunately, MTP is not yet included in the standard Teensy libraries.
You have to download the MTP_t4 library from: https://github.com/WMXZ-EU/MTP_t4
I modified the mtp_example program as follows:
// From...
The ST7789_t3.h include file comes from the ST7735_t3 library (https://github.com/PaulStoffregen/ST7735_t3). I would imagine that it comes from the standard Teensy installation. If not, you would need to install it in your Libraries directory.
I think I saw h4n0nnym0u5e in another thread talk about their/her/his media player starting to copy the SD file into memory, and play the file from there. I could be wrong about it.
If you notice, many of the 128x128 displays have a micro SD card reader, and a separate pin that is the CS pin for the SD card. Those displays need to MISO so you can read data from the SD card.
Some of the 240x240 displays have a SD card...
FWIW, the displays used for Uncanny Eyes do not send information back to the Teensy (i.e. having a MISO pin, which would be pins 12 and 1). Thus, while it is a valid concern in general, it isn't an issue in this particular case.
When I wire...
I can't help you with the specifics, but all 3 of the Teensies currently available (Teensy 4.0, Teensy 4.1, and the Teensy MicroMod from Sparkfun all use the same processor inside. The memory provided with the Teensy, the form factor, and the...
I don't think there is an official connector. In the past there have been PCB boards designed to bring out these solder pads, and a lot of people just soldered wires to the pads. My interest in the pads faded when the Teensy 4.1 came out...