The t4.x's have components on the underside of the boards. You MUST leave a gap for these components or have your PCB routed to allow for these components.
I would recommend Visual Micro with Visual Studio. It gives the stability/understanding of the Arduino system with the IDE of visual studio and Teensy Debugging.
I use it all the time and would not go back. I have used...
How about functions analogWrite16 and analogWriteFrequency16? Perhaps with the proviso that you must/cannot jump between analogWrite & analogWrite16 and the same for ..frequency.
You can always preserve your current Arduino environment, do your tests, and if necessary put the original back. I use this scheme:-
1: Click and open Program Files (x86)
2: Right click Arduino and select Copy
3:...
There's sort of a way. Click on a persons name/id, then select view forum posts. A page of that person's posts will appear. To search on the page, if using edge, click the ... at the top of the page and select find on...
You should really say what program should be used to display the .txt file when you attempt to align columns in a text file. As you can see the columns do NOT line up when viewed with notepad in Windows.
The only...
There definitively would be a market for something like that. The only problem would be the Marketing required to make it happen.
In the past I designed the electronics and software for the Renishaw Rapid...
Possibly something to do with the Serial.print/.println filling up a buffer and then slowing down.
Which USB Serial are you using?
There is a problem with the Arduino serial monitor, in that it is not fast enough for...
Thanks for that, I was trying to make it as flexible as possible and also easy to use.I did a similar thing in the past! Was spending so much time and attention at RX/TX orientation that I completely forgot about the...
I have written a library to communicate with the Nextion.
It has most of the I/O conditions covered but is in reality a skeleton Library which is intended to be expanded by the user.
You can see it here, In includes...
You could try going to the manufacturer here. I did and got 5 free samples and MORE IMPORTANTLY a free demo board.
I obviously asked for the samples and demo board. I am not sure that they will send you the demo board...
Get one of these, the battery will last for years and will unlikely need adjusting!
If I remember correctly accuracy is quoted as being better than 1.5ppm which is about 1 second in 7 days.
Difficult to see, but comparing your photo with the Component Locations shown at the bottom of the T4.1 page it looks like L2 which from the circuit diagram is a Ferrite 120.
If it's R2 which is close by it is a 470...
...further to the above it might be that you are not reading all the reset data coming from the Nextion and the characters left in the serial buffer are corrupting the following data. Of course as soon as those corrupt...
After "Reset" Nextion returns the following:-
You have to handle all of that data before getting any other values.
Have a look at my code for Nextion::reset(uint32_t br){in my Nextion.cpp
Hi XForce, thanks for those kind words.
As far as numbers are concerned, I see very little delay (about 5ms).
What numbers are you returning from the Nextion?
Perhaps you could give a snippet of your Nextion code....
I too am using the Nextion display and wrote my own Library. I had heard bad things about the Itead library and in any case I prefer to know what is going on in my system so I wrote my own library.
Have a look here and...
What display are you using?
If it's a Nextion, not all of them are compatible with the T4.0, having a 5v serial interface rather than 3.3v.
The T4.0 is NOT 5v tolerant.
/*
Code by Robert E Bridges bob@bricomp-uk.com
This library is intended to be used to create your own Nextion Library. Most of it is done for you.
The function that you will mostly alter is the...
I would recommend using Visual Micro(VM) with Visual Studio(VS).
If you code will compile with the Arduino IDE it will compile with VM ands VS.
The other major advantage is the VM gives you inbuilt debugging.
See...
No there is no hardware debugging available.
However there are debugging facilities, especially using VisualMicro with VisualStudio, see here.
I use it all the time and would not be without it. It also does not suffer...
You probably need a switch circuit after the voltage regulator and before the Teensy that only switches on when voltage has reached 3V.
If that was not clear the switched voltage will supply the Teensy when up to at...
Your welcome, thanks for that.
Before you purchase anything, download the Nextion Design Editor. It has a debug facility which allows you to run your design in simulation mode.
This will better allow you to learn the...
Why not use something like this?
It will be off by a few us every stroke, but since you are only going at 500 strokes/s I don't suppose it will matter.
The purists will say that this is NOT the way to do it, but I...
I have recently finished a Driver for the Nextion Display.
Actually it is a Skeletal driver with most things done but an area where
you can insert your own code.
I have also developed a Text Monitor page on the...
How about using a Nextion?
You design your screen offline on an editor. Then send it to the Nextion display.
The display just sits there until you send data to it.
Basically it's a display with it's own...
When you had it hooked up to 5v you may have destroyed the pins.
Check by trying to use them as Serial1 pins to another MCU (or I suppose you could connect Rx to Tx ) to see if they still function ok.
No good saying...
#include <ADC.h>
#define testpin A9 // analog pin to be tested
#include <RunningMedian.h>
ADC* adc = new ADC();
/////////// Buffer declaration///////////////////////////////<--- This probably does nothing
#define...
If you originally connected the light controller to the Teensy WITHOUT the RS232/TTL level converter then you will have killed those Teensy inputs. +/-12V into a 3.3v device results in sudden death of the device or...