Before I break somethng

Status
Not open for further replies.

orac

Member
Finally getting started on my project, The basic sensors I was worried about appear to work, but will need a little tweaking.
However I want to use a nextion display. I have a couple NX3224T024_011 variants here which I am going to use for testing, maybe the final project but not sure as yet.
However they run on 5v (as they all seems to according to their website). While I can feed the display with 5v, but I am concerned that the data line coming back from the display will over volt the teensy 4.0, and damage it.
I have some zenner diodes here that I could use as protection, is this a good idea or will it adversely affect the data signal, is needed at all?

Further to this is the 3.3v from the teensy output enough to send data to the nextion?

I can't help but think that the answer is there somewhere, I have just missed or overlooked it.
 
A level (fast) shifter may be the right solution.
Zeners are tricky and introduce a parasite capacitance which may smooth out signals.
 
Finally getting started on my project, The basic sensors I was worried about appear to work, but will need a little tweaking.
However I want to use a nextion display. I have a couple NX3224T024_011 variants here which I am going to use for testing, maybe the final project but not sure as yet.
However they run on 5v (as they all seems to according to their website). While I can feed the display with 5v, but I am concerned that the data line coming back from the display will over volt the teensy 4.0, and damage it.
I have some zenner diodes here that I could use as protection, is this a good idea or will it adversely affect the data signal, is needed at all?

Further to this is the 3.3v from the teensy output enough to send data to the nextion?

I can't help but think that the answer is there somewhere, I have just missed or overlooked it.

I don't know much about the Nextion, but I did look it up. It mentions that it supports the Raspberry Pi. Since the Pi similarly requires 3.3v processing, you might be able to see what things are needed to hook up a PI.

Given it appears to use a serial connection, one way to do it would be to use a bi-directional level shifter on the TX/RX pins (and connect VIN to the power). One I've used in the past for I2C level shifting is:

  • https://www.pololu.com/product/2595
  • Hook up HV to VIN (and also hook VIN to the display);
  • Hook up H1 to the TX pin on the display;
  • Hook up H2 to the RX pin on the display;
  • Hook up LV to 3.3v;
  • Hook up L1 to pin 1;
  • Hook up L2 to pin 0 (or maybe you need to hook up L1 to pin 0 and L2 to pin 1);
  • Hook up ground to the display's ground;
  • Use Serial1 to talk to the display (or use one of the other serial ports).
 
All the nextion displays I’ve ever used specs said 3.3V on their website for data lines.... hold on... google,first result,electrical characteristics...says 3.3v. I think u safe unless you got some clone.
 
Thanks guys, noticed in the early hours of this morning that vcc should be 5v, but the data lines are typically around 3-3.2v
 
Finally getting started on my project, The basic sensors I was worried about appear to work, but will need a little tweaking.
However I want to use a nextion display. I have a couple NX3224T024_011 variants here which I am going to use for testing, maybe the final project but not sure as yet.
However they run on 5v (as they all seems to according to their website). While I can feed the display with 5v, but I am concerned that the data line coming back from the display will over volt the teensy 4.0, and damage it.
I have some zenner diodes here that I could use as protection, is this a good idea or will it adversely affect the data signal, is needed at all?

Further to this is the 3.3v from the teensy output enough to send data to the nextion?

I can't help but think that the answer is there somewhere, I have just missed or overlooked it.

look for vin low (max) and vin high (min) for the data input pin
 
Status
Not open for further replies.
Back
Top