Thanks to @vjmuzik for making this lib! It's saved me a lot of time, but has also caused me some grievances so I thought I'd share what I've learned to help others.
I have a very simple machine to...
Type: Posts; User: jensa
Thanks to @vjmuzik for making this lib! It's saved me a lot of time, but has also caused me some grievances so I thought I'd share what I've learned to help others.
I have a very simple machine to...
Hi,
This might be one for @luni, but I ran into a conflict between FreqMeasureMulti and TeensyStep as they were both using TIMER_FTM0. I resolved this by setting #define USE_TIMER TIMER_FTM1 in...
Hi Gonzales. It's likely because you are using CAN and CAN always has 8 data bytes. To send more, you will just have to send multiple packets of data. Depending on your application, you might be able...
1) A Teensy 4 might be worthwhile, but for these projects, you'll only need a Teensy 3.2. You'll program this using the Arduino IDE with the Teensyduino extension installed. You might also want to...
Oh my. I had swapped the CAN HI / CAN LO wires on the bus. The bus had a good resistance value of 60.4 ohm, but the voltage measured 0.017v rather than the much more sensible 1.49V. Sigh... I did...
Ok. Back at my desk and I found that now I get something on the output pin, but it does not look sensible? My logic analyzer (enclosed image) shows it as 17 bits low (17us long @ 1000000 baud) and...
I just tried again with a T3.2 modified version (CAN0) of the T4.1 code above, but there is nothing on the TX pin according to the logic analyser?
(sorry for posting multiple times. On Mobile, the...
That works much better! :)
But - still no signal on Pin 22. That is the CAN0 TX pin, right?
The reason I'm testing on a T3.2 is that on my T4.1, I also get no output on the CAN2 port (pin0 + pin...
Right, but you would expect the LED to turn on, right @tonton81? I tried with a 2 second delay. The first output prints fine and then nothing after that happens. No pin 13 LED turns on.
I have a...
Beginner question: testing on a T3.2 I'm using the below code. The LED never turns on and I only get the first serial output. It looks like the Teensy is crashing. I downloaded the latest version...
Teensy 4.1 should be fast enough if your code is using interrupts but I guess the Arduino library is not fast enough, but did you read this? Looks like that lib isn't required when using a Teensy...
Solved it!
The 1V signal was fixed by reflowing the MKL02 and when this did nothing and all else looked good, I got annoyed and started removing IC's one by one while testing. After removing 8 ICs...
It could be @jonr, but as mentioned - the previous version of this board had 100% identical layout on everything related to the Teensy. This board worked without any issues on all 3 copies I made, so...
When I hit the Program button, a clock signal is produced on PTB0 on the MKL02 and I see data on PTA7 as expected. But this capture of the two channels is a bit surprising? The data channel is only 1...
@jonr All power pins have a 0.1uF decoupling cap and one of them have a 10uF. The crystal is not resonating, so the MK20 does not start. How can I test if it tries to reset itself or is even...
The RESET is LOW when the Program button is held LOW, so I guess that confirms that the MKL02 is good. Also - since I see the pulse train on PTA7, it's trying to wake the MK20, but this fails.
Any...
I just received 3 boards from PCBA that do not work at all and this is a curious case. The board is based on Teensy 3.2 and has a MKL02 from PJRC. This is version two of the board. The first version...
Hehe. You've done so many nice writeup's that I understand why. Thanks!
Update: It's still a little messy from a debug & develop perspective as the Teensy Loader will happily program any Teensy connected :-/
I'm using Platformio as my IDE. There you can set debug and...
Brilliant @luni! This got me to search for "teensy change usb serial number" and I found this:
https://forum.pjrc.com/threads/60347-Teensy-3-2-3-6-how-to-change-GUID-UUID
and that lead to this...
Hi all,
I have a setup with two (custom) Teensy 3.2 based boards and I run into problems having both of them connected to my Mac at the same time.
If I connect only board #1, it comes up as...
Cool. So all that is needed is a small bodge-wire to that test point and it'll always work? Not too difficult.
Got a link? I'm sure that could answer @drewhamiltonasdf question then :)
There is a section on power sequencing in the i.MX RT1060 Processor Reference Manual, but looking at the schematic, it...
@BriComp I don't know where you have that information from? If you look at the schematic, you'll easily see that VDD_SNVS_IN is powered from either VBAT or 3.3V. Applying either will wake up the SNVS...
Hi,
I don't know your project, so I really have no idea how this works? If you explain better, it's much easier to offer advice...
From what you have written up until now, I'm guessing that you...
Hi Jorge,
This will probably work for a while, but you can already see the signs of this becoming a very long file? Long files are hard to read. I would split out things to classes according to...
Hi @EagleEye,
It's a little unclear to me what your project is - do you want to build a Bluetooth keyboard?
J
Looking at the schematic for Teensy 4.0 /4.1 you could power the 3V3 rail directly. I had a look at Chapter 16 (Power Management Unit PMU) in the i.MX RT1060 Processor Reference Manual. According to...
Hi all,
I'm working on project based on a Teensy 3.2 that talks to a Qt based application over Serial2. I kept running into problems with Serial data being corrupted, but after searching the forum...
Heh. Good to know. Thanks!
Hi all,
Dunno if there's a forum admin other than @PaulStoffregen but our IP range is apparently blocked from the forum? Our Hackerspace is very much in the customer group for PJRC products, so I'd...
Glad it's of use :)
The FeatherWing board is based upon this board so also a confirmed design. It's quite useful with NeoPixels, though Teensy is better for anything with a large amount of pixels.
Nahh. It's all good feedback. C1 is the 10uF cap on the power input, so I added a new cap next to the MLK20 power pins and posted it back to the Git repo. I'm making a board for a customer using this...
True. The board works well with this layout, but C4 should certainly be moved to Pin 7 & 8. Oversight on my behalf :cool:
I updated the Kicad files to implement this change.
I finally got around to write up my experience making a DIY board based on Teensy 3.2: https://github.com/jenschr/Teensy3.2-example
It has files for Kicad 5 and uses a USB Type C connector. Hope...
@Loren42 It's just two layers. No need for any more :)
Turns out I had managed to swap D+/D- :-/
Now working well after some bodge wires to swap them.
20547
Hi all,
I've made my first custom Teensy based on schematics and a MKL02 from PJRC. I made 3 copies of the board and nothing happens by default as explained here...
Might be worth trying with several cards like i did? I was surprised at how different the output I got was. I'm pretty sure that I tried a Sandisk Ultra some years ago and that did actually play back...
Correct URL to the Zip file with samples. Also found this thread that mentions Static in playback, so I think it's the same?
@greg1 Try using a UHS-3 card? I just found that this has significant impact. Using Teensy 3.2, I can now play back 5-6 simultaneous sounds from my SD card.
Hi all,
For a while I've been wanting to make a launchpad & drum machine to bring along for our stands at Maker Faire and such events. Kids love anything that makes sound, so why not make something...
On OSX Catalina (versions 10.15.2 - 10.15.4), Teensyduino (1.51 and 1.52 beta) will appear to work until you open a menu. It takes a few seconds and then the program disappears. Starting from command...
The solution became to use the standard Encoder class for Teensy and just ignore one of the three phases in the Hall sensor signal. This looses precision, but solves the problem elegantly as it...
Thanks @mbogerson! Those posts was quite a dense read, but from what I gathered it boils down to adding this one line to the setup-method (given that the pins I use are on the C-port:
...
Hi all,
It's been a while since I've posted on this forum, but I need some advice on a Teensy project I'm doing. I have a Brushless motor with 3 Hall sensors. The motor has 7 pole pairs that each...
@Manu You say you have an ER3303-1, but in your code you say that it is a ER3301_1?
J
@scoobydoo That did the trick! For these displays - desolder R1,R2,R3 plus C1 & C2 as described here https://github.com/sumotoy/RA8875/wiki/EastRising-and-Buydisplay-SPI-configuration-and-wiring and...
I have a resistive touch version of the 5" display and I can't seem to get it to light up? It appears to work, but there is no light. I have connected a 1A 3V3 supply to the power pins on JP1 and the...
Duh... Replying to myself so others can search this topic.
As one of the first includes, I had a call (in a Class constructor) that used Serial. Using Serial before it is available/included will...