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 over the air, but...
You haven't posted your code so we can't see where the problem is. You also need to show the connections you are using
as there's more than one way to connect and some are inherently slower. The particular module is...
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 harder. What I do...
My setup is: RPi 3B+ and Teensy 4.1. I have loaded grblHAL on the Teensy and bCNC on the RPi. The moment I start bCNC it start running something and I can't do nothing to stop it, as can be seen in the video. I have no...
So I downloaded Teensyduino and Teensy Loader and got them installed but......Oh, no. It turns out the source code cannot be read once loaded onto the Teensy. I did not know that.
So change of plans....I guess I will...
I'm looking for some guidance on writing to LCD screens. I am running an adafruit 16x02 screen on newer Teensy boards (see test examples below)
1.) LiquidCrystalFast seems to yield poor results with the 3.6 and 4.0....
If speed is not paramount you could consider a PCF8574 I2C 8 bit expansion chip. The current per pin is 25ma with a total of 100ma for the package.
There are also 16bit versions viz MCP23017. This latter chip being...
Thanks Mark. Given that I have a dozen of these and the duty cycle could be high, I will plan on using something in-between the T4 and the Opto to be safe. I could use a simple NPN transistor, but I am considering a...
I just got mail that the Gamedunio 3X Dazzler with a Teensy specific shield for Teensy 4.0/4.1 is now available:
https://excamera.com/sphinx/store.html#gameduino-3x-dazzler-for-arduino-39
Here is the Gamedunio...
Hi,
I have tried expanding on TRIPLE SERIAL in the hope of creating HEPTA_SERIAL, which will give me Serial, plus SerialUSB1..6.
I have editied and created in some cases:
yield.cpp
serialEventUSB3.cpp...
After taking the advice to upgrade to the beta7 version the code compiles as fine as powder. Big thanks @@mjs513 @KurtE for the extremely fast reply and the advice, you guys are awesome.
Though in terms of separate pins being available, there are only 56 pins that are available as gpio pins (out of 75 total pins in the MicroMod connector):
Pins 1, 7, 33, 36, 39, 45, and 75 are ground pins;
Pins 2...
Tiny connectors complicate prototyping, and some require the use of either hot air or a re-flow oven and using solder paste. Additional setup complexity is the opposite of what we want when prototyping. 1.27mm pads...
I have implemented a signal generator in a Teensy 4.0 sketch. It uses the USB Serial device: detecting a new connection, writing "SignalGenerator 1.0", and then reading the Serial device for commands and writing...
@mjs513, I apologize, it totally slipped my mind to provide the version of Teensyduino. The version I have is 1.53 (current, non-beta). Thank you both for helping @@mjs513 @KurtE. You guys are *super* fast, replies came...
Was just looking at the download page as well. Think its based on Eclipse from what I remember of the original alpha test IDEs which I had major troubles with.
@Frank B saw this on the the description page:
thinking of the 2nd row.. i had the idea, it could be a (oh my english..searching for the right vocable.. ) mouser says it is a "Card-Edge-Connector" (German "Leiterplattenverbinder")
First row - normal, pinheader -...
Morning Frank (well at least for me, probably afternoon for you)
Was just curious on what was being sent and received over USB thats why I used Wireshark. I came across Librtlsdr as well in my search and was looking...
I need to manually set the RTC on the Teency 3.6 as it is going to my used by non-tekies.
the .h file had this:
//void setTime(int hr,int min,int sec,int day, int month, int yr);
so I did this in the setup:
...
The solution is to solder one row on either side so they will insert into the breadboard, the remaining rows get soldered facing up when inserted into the breadboard. all pins available and still breadboard friendly....
I like the double rows, too.
The "problem" with the double row is, that soon there will be users who solder both and place the Teensy into a breadboard and wonder why there is smoke or something does not work.
Perhaps...
I hope we don't need wireshark..! But it is a nice find. Thanks!
The sourcode of librtlsdr is available (see Post #12) - I hope that it is enough.. at a first glance it looks ok, and seems to have all info.
It...
It should be in both Teensy3 and Teensy4 branches. And they are identical up on github, so you should be able to simply copy the one from the Teensy3 directory to the Teensy4 directory...
Or install the latest beta...
@howie.S - you didn't say which version of Teensyduino you are using. Suggest you download and install the beta7 version: https://forum.pjrc.com/threads/66357-Teensyduino-1-54-Beta-7?p=271199&viewfull=1#post271199
The "absolute maximum" switching frequency of the RT117x series is listed as 208MHz (i.MX RT1170 Crossover Processors Data Sheet for Consumer Products, Rev. 0, 12/2020, page 50, table 38). Since the maximum...
After discovering this thread when wanting to verify that my flash chip is in working order after soldering it and the PSRAM to my Teensy 4.1 board, I have ran into a problem. I have poked and looked around for a...
Maybe yes.
Or, perhaps the manual is wrong about the default. There are several things with wrong info... i.e. the all the PFD had wrong values at least in rev 1.
Don't trust the printed defaults.
Thank you for the reply! Looks like the MUX was taking the OSC clock (24MHz) instead of the IPG clock (150MHz). The default for CSCMR1 in the manual says that it should take the IPG clock but perhaps this is changed in...
@Frank B - @KurtE
Playing a bit more found that I can use Wireshark as a USB sniffer using PCAB2_interface that is part of Wireshark. Interesting, seems to use URB control as Bulkin - bulkout. Did see 16k data...
The IGP is already running with 150MHz.
Not sure about the GPT frequency (would have to take a look..)
The clock diagram on Page1016 (Rev Manual V2) say it can be switched between IGP and 24MHz with CSCMR1.
Perhaps...
Hi, does anyone have any insight on how to change the clock source on the GPT to be higher than 24MHz? I see on page 2961 of the manual that I should be able to change the input to ipg_clk_highfreq but this still seems...
T4 GPIO pins programmable output drive is from 1mA to 4mA... That's why I said 5mA is a tad high.
I'm fairly sure it can handle 5mA with some voltage droop, but I wouldn't want to risk heavily overloading
the pin...
It will be interesting, as I believe it is just a beta that has been released. Also as it is a complete different platform, it will be interesting to see if/when Paul adds support.
I've been away from the forum for about a year, but I'm now back. I had several notifications last night that the all new Arduino 2.0 IDE is now available for download. But it's not immediately useful to us unless...
I put this code sample for fun...
Because when I test it to verify that my post sample doesn't works it is work fine...
The only difference is is that I putit in a .h .cpp files...
So I do compare with the original...
This probably won't help much, but here's a page written 10 years ago when I tested Oleg's original hardware (long before any Chinese clones existed) with Teensy 2.0 and Teensy++ 2.0, which were the only 2 Teensy models...
Please show complete programs. Even if the rest of the code is trivial, it is much easier to answer if we can copy the code into Arduino and run on a Teensy without the work of adding (guessing) the missing lines.
Should be doable, but need some little changes to the core files... maybe Paul Stoffregen reads this and adds some macros...
Edit: The Teensy loader will not find it anymore but there's the 15 sec reset that erases...
I hope I understood your question right... maybe, not...
I don't get what this has to do with the bootloader, how a bootloader can help to remap inputs, and what the bootloader should do exactly. Can you clearify that?...
I have gone through everything I have been able to find on the web on these things (seven host boards in all). I have done the bypass of the power. I have clamped the reset with and without pull up resistors, 1k and...
Hey @gregevans209 !
I discovered Freejoy just yesterday but already have a couple of Teensy's around, and planned to use them for just that kind of project, using Teensy LC and Teensy 4.1. I think what would be...
PERFECT!
Silly mistake/bad assumption on my part. THANK YOU all so much... I should post more - I'd solve my problems much faster :-)
I'll post some stuff on what I'm up to for people's interest. My second custom...
when I added Collin's Object Oriented CAN callbacks to FlexCAN_T4, I also included compiler errors which you would have seen:
#if defined(__MK20DX256__) || defined(__MK64FX512__)
static_assert(_bus == CAN0,...
The connector is a "magjack", which means is more than just a plain RJ45. It has the ethernet magnetic coupling parts built in.
The kit does more or less just break out the pins, but to a magjack. It also has 1...
Thanks for the help. Ethernet seems like it may be the way to go.
Does the ethernet kit just break the pins out to be used with an RJ45 connector? Because of the physical requirements, most of my connectors are...
USB can do 2 meters. It's the way needing the least amount of extra hardware, just a good quality 2 meter cable. USB provides power, but for 2 meters make sure the cable has #24 or larger wires for the power. Cheap...
The project I am working on has a pi and teensy communicating where the teensy controls a bunch of stepper motors and recieves sensor input, and that data is sent to a pi to be diplayed for the user on a large touch...
@All - Trying to get caught up:)
I am writing up doc's that explain more of what MSC does and the way's I have used it with the various versions of MSC. Maybe this will help with the current issues.
Maybe not:)
...
That is handy @brtaylor.
Just checked github.com/TeensyUser/doc/wiki and see some cad stuff but no Ref board notes?
Also - Luni whipped up a Experimental MicroMod T_3.2 the other week. That Thread likely has full...
Yeah, I thought I had once read something about the Teensy being able to run at lower clock speeds on less voltage ... but I can't find that now.
I just tried it on the breadboard for a while & never saw it be a...
Aha! Due to yet another bug in my schematic, I did not have it wired up like I said at all.
The USB 5v connection (Vin) was connected direct to the battery+ on the PO!
Which I would have thought would boil the...
I'm sorry for the previous connection as it did not look good. I repeat in a better way:
Pin connections:
ILI9341 ----- Teensy 4.1
VCC ----------- VIN
GND ---------- GND
CS ----------- Pin 10 (CS)
RESET...
Hey man, I can thank you enough for this.
I actually managed to do exactly what I wanted. Basically I read a CV in signal that I alter through some controlled randomness. Here is a pic depicting my output (yellow)...
Thank you for your quick response and my apologies for answering you at these times due to work. Answering to @MarkT and @KurtE, the link you sent me (http://www.lcdwiki.com/2.8inch_SPI_M...41_SKU:MSP2807), is that i...
Trevor:
I forgot one more bit of advice: If you aren't already too committed to your T3.5, use a T4.1/T3.6 & get the cable that allows you to connect external MIDI devices (keyboards, etc.) to the 2nd USB (host)...
Trevor:
In my <TeensyMIDIPolySynth> project, I had 48 x 50K pots + 42 pushbuttons, all sampled by the T4.1 using the 74HC4067 MUXs. The MUXs require one analog input/output & 4 digital addressing pins. If you need...
I need to upgrade a project using Teensy 4.1 to support Hue lighting. It seems many people have done this with other Arduino. I'm looking for pointers on good libraries and projects that use Teensy specifically. Any...
News Note: The Teensy-based Audio Vector Network Analyzer has been built by a fair number and it continues to serve that original job of measuring components and circuits. But, it has grown!
It now uses the same...
Thank you all for your prompt and helpful replies. I have everything working now.
Unfortunately I haven't spent much time with the gui tool so I missed that detail.
The last thing I had to do was re-encode my wav...
Not from PJRC and not my work, but this Teensy 3.2 reference board clone has a BOM:
https://github.com/thewknd/teensy-boards/tree/master/Teensy%203.2%20reference%20board%20clone
I built it years ago and it works.
Good point. The documentation on the USB serial page says: "Initialize the Serial object. The baud rate is ignored and communication always occurs at full USB speed."
I've updated that page with better info.
I am switching some 24V 2A solenoid valves, but handling volatile gases/fluids, so I would like isolation and prefer not to run hot positive wires back to grounded switched MOSFETs, hence the opto relay.
I have...
I have also enabled this board(USB Host Mini) on ESP32
https://www.arduino.cn/forum.php?mod=viewthread&tid=94444&extra=
And here is the project for connection HP-9800 with USBHostMini and DFRobot ESP32 board.
...
Hi! I'm designing a synth around the 3.5 and audio shield. After getting a 7-pot arduino noise maker to work with Mozzi, I decided I'm qualified to take on a fully realized synth. Oh, and I've never really played one,...
Just wanted to say I love you guys! Finally graduated to Teensy, thanks so much Paul! And my TSynth is in the mail, thanks so much UHF...I'm making my own synth after years of planning to, and it wouldn't be possible...
The datasheet mentions 5mA a lot in the specs, which is a tad high for T4, but ought to work at that level. I wouldn't try to push it harder
per pin. Never connect an LED without limiting resistor to delicate CMOS...
They aren't, there's just some part numbers or values on the layout image. For instance the USB connector has no part number
and I wouldn't like to have to search through the many available to try and guess which...
Hi, I am concerned about that glitches that would occur on adjacent pins when toggling at high speed rather than EMI emissions which is another issue maybe have to be handled externally by the designer. Also the...
@KurtE
Took a break as well today and played with SDR. Got it finally working in windows so now can have some fun listening to radio :)
Anyway made the changes in post#46 but used the SDCard/adapter with 4...
I need to drive a dozen 4A opto relays using the Teensy 4.1. I am trying to figure out if I can drive them directly with the Teensy or if I need a transistor in-between.
The opto relay I am considering is the 4A...
@all - I may take break from this for rest of day.
Then I may try to see if I can reduce the number of abstractions and the like and get it to work... That is how much different does the VolumeName code and the MTP...
That looks great KurtE ...
Got distracted with the FrankB HardFault - made a sample that saves state on fault and picks up where it left off - doing that with Prime numbers - simple restart but shows capturing 2...
Paul et al, do you have a BOM for the Teensy 3.2 to go with the Schematic you would be willing to share? I am designing a project that uses the Teensy 3.2 and i would like to design the teensy into my design.
Thanks.