# \[ANN\] Nextion.jl - Julia library to communicate with Itead Nextion displays

**URL:** <https://discourse.julialang.org/t/ann-nextion-jl-julia-library-to-communicate-with-itead-nextion-displays/19357>\
**Category:** Package Announcements\
**Created:** [January 7, 2019, 4:07pm UTC](https://discourse.julialang.org/t/ann-nextion-jl-julia-library-to-communicate-with-itead-nextion-displays/19357 "2019-01-07T16:07:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![scelles](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/scelles/32/220408_2.png) [@scelles](https://discourse.julialang.org/u/scelles)\
**Post date:** [January 7, 2019, 4:07pm UTC](https://discourse.julialang.org/t/ann-nextion-jl-julia-library-to-communicate-with-itead-nextion-displays/19357/1 "2019-01-07T16:07:33Z")

</div>

An unofficial Julia library to communicate with Itead Nextion displays

> **[GitHub - scls19fr/Nextion.jl: An unofficial Julia library to communicate with...](https://github.com/scls19fr/Nextion.jl)**
>
> An unofficial Julia library to communicate with Itead Nextion display - GitHub - scls19fr/Nextion.jl: An unofficial Julia library to communicate with Itead Nextion display

[Itead Nextion display](https://nextion.itead.cc/) is a Human Machine Interface (HMI) solution combining a TFT touch display with an onboard processor and memory.

User interface can be defined using a free and downloadable editor software (unfortunately closed source and Windows only).

This library is just a work in progress. A lot of work is still necessary to make it fully usable.

Callbacks are, for example, currently not supported.

Communication between a computer running Julia and Nextion is performed using serial communication and [LibSerialPort.jl](https://github.com/andrewadare/LibSerialPort.jl) library - thanks Andrew Adare for fixing / updating it

What is necessary to test this library?

To use this library you will need:

- a Nextion intelligent display
- a USB TTL converter (such as those using [Prolific PL2303](https://www.google.com/search?q=pl2303+usb+to+ttl) or [Silicon Labs CP2102](https://www.google.com/search?q=cp2102+usb+to+ttl) or [FTDI FT232RL](https://www.google.com/search?q=ft232rl+usb+to+ttl) chip)
- or a computer with TTL output such as [Rasperry Pi](https://www.raspberrypi.org/) but probably many others [single-board computers (SBC)](https://en.wikipedia.org/wiki/Single-board_computer) with [Universal asynchronous receiver-transmitter (UART)](https://en.wikipedia.org/wiki/Universal_asynchronous_receiver-transmitter).
- Julia \>= 0.7 and LibSerialPort.jl

Please follow the following wiring:

- Red wire 5V
- Black wire GND
- Yellow wire (between Nextion RX and USB TTL TX or SBC TX)
- Blue wire (between Nextion TX and USB TTL RX or SBC RX)

!!! warning

```
Do it at your own *risk*!

Bad wiring can result in damaging the Nextion display, the USB converter or maybe more.

If you don't know what you are doing, it's maybe safer not to try!

```
