UPDATE:
I got the circuit up and running with 8x of the OLED Displays on the 1x MUX (all running at 400kHz) and, as anticipated, the frame rate is rather poor -- about 10FPS. It may be good enough for a prototype, but it won't be good enough...
Hello,
you should find what you're looking for here;
https://randomnerdtutorials.com/tca9548a-i2c-multiplexer-esp32-esp8266-arduino/
they use oled displays like you with esp32,but i'm sure it works also with teensy.
Sorry, hopefully others who use I2C a lot more than I do, will chime in.
Wondering, about maybe I2C Speed and/or maybe might need a slight delay after changing the I2C address before starting next one?
I am not sure what the default Wire speed...
Thanks for the advice!
The datasheet I'm looking at suggests that it's good to 400kHz, but I'm not twiddling with the speeds just yet, so I assume I'm at 100kHz.
I tried putting a `delay(1)` between finishing the write to the first display and...
Hi!
I'm writing some code (below) to drive multiple 128x32 OLED I2C displays (which all have the same address) via the TI TCA9548A I2C 1:8 MUX. (10K pull-ups all around) I was able to get code working that drives two displays using the...
Good to hear the new cable worked out for you. Yeah..., tight!!! Just don't trip over it. You're gonna fall before that cable lets go. Also good to know CNC Tech has not lost the magic.
After searching through the forums here, it appears that there isn't a dedicated Teensy development Discord/Slack. In reading these threads, I saw a good number of people running off to the Adafruit Discord, and a number of project-specific...
Hi y'all! I wanted to come back and let everybody know: Those CNC Tech cords discussed here? They work BEAUTIFULLY! No glitches, no flakiness, no problems at all. And yes, they are pretty tight in the jack -- I wouldn't want to plug and unplug...
That's the plan. I just haven't gotten that far yet. I have the panel mount pigtails to disconnect power (as mentioned in the power convo) but I'm just trying to get up and running.
FWIW, I did take one of my other Teensies and squish the jack...
To circle back around for future visitors to this thread:
@BillFM Thank you for your help in diagnosing! I wanted to answer the inquiries you had so if someone else has similar problems, maybe it'll help.
Yes. I will want to figure out the...
A few questions about your hardware setup. Somewhat all related to power.
Is the micro-USB connector the only source of power for Teensy on the proto board? I ask this because many people have (by mistake) connected a 5V power supply to the 5V...
After reading through this entire thread again, one recommendation is to stop and begin again. Your first post begins with a rejection of the Arduino IDE. We all get why Arduino is a big let-down for professional programmers, which includes many...
Thank you! Thank you! Thank you! While this tip didn't exactly solve my problem, it was the catalyst that helped me to stumble onto what I'll call the 'combo solution':
I pulled up the spring pins with a scalpel, as you suggested -- it was still...
My experience and my equipment are the only things I have to go on here.
Number of Teensies I've used: 3
Number of Teensies I've had USB connectivity problems with: 3
Number of A -> MicroB cables I've tried with these boards: 6 (at least, if not...
But why aren't these 'purportedly poison' cables destroying other devices? And the first one I tried on this new T4.1 was the exact same Amazon Basics one I've been using primarily on my previous T4.1 (I have tried it on other devices to try and...
I just want to be instructed as to how to get work done with my Teensies. That's it, and that's all. If the answer were "re-solder the micro-b connector" that would be fine -- I tried that; it didn't help. If the answer is 'buy this one, specific...
There appeared to be zero solder at all on the shield thru-holes of my connectors. I soldered them up, but it didn't improve anything w/r/t connectivity.
This is what my setup looks like. No joke.
Like... whatever it takes... but this is absolutely a pain in the ass. And this is the most reliable cable I have.
All of my Teensies were purchased directly from PJRC. All 3 of them, so not a huge sample, but not an N of 1 either.
I would be willing to consider the issue being on the USB-A end if I hadn't tried half a dozen different cables, or if other...
OK, I ordered another Teensy 4.1 recently and I have to wiggle the cable on it, even using the cable that was "good" for the other Teensy 4.1 I bought previously.
I hate to be a negative Nelly, but this, by empirical process of elimination...
Yeah, that's mainly what I was hoping for: a way to iterate super-quickly on a PC, preferably with some kind of I/O sim (at least GPIO), but even just CPU sim would be cool. Again, I'm not demanding, mainly just asking if something already...
Sure. IIRC, the 68332's manual was ~1600 pages. And there was a sim for that, back in the day (early 90s). I didn't write it, but...
I'm not requesting that someone create one, just asking if someone happened to have already done so. :)
I've found a number of threads about the Teensy emulating lots of different stuff like classic games, etc. But how about the other way around? Can we emulate/simulate a Teensy itself on a desktop/laptop//PC/Mac computer (with any reasonable speed...