• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

NodeMCU 8266 reading from a JN5169 MCU using RX & TX

Q&A Forum › Category: ESP8266 › NodeMCU 8266 reading from a JN5169 MCU using RX & TX
0 Vote Up Vote Down
Matthew Wood asked 5 years ago

Hello community,

Please could you help. I am trying to receive data from a JN5169 NXP MCU which as a sensor connected to it via the uart RX & TX. I have initially used the code from the ESP8266 with BME280 using Arduino IDE Tutorial.

When i connect the JN5169 up on its own and use its own software to see the data from a terminal window i get the right data. when i connect it up to the NodeMCU 8266 i just get 0 coming through i should get 3071 which states 3071mv.

Any Help is much appreciated

Question Tags: Serial read.
4 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 5 years ago

Hi Matthew.
I’ve never used the JN5169 MCU. How does it communicate with the ESP8266? Wirelessly via Zigbee? Or via UART?
I’m not familiar at all with those boards. So, I’m not sure if I’ll be able to help.
If it communicates via UART, I think you just need to read incoming bytes via serial.
Regards,
Sara

0 Vote Up Vote Down
Matthew Wood answered 5 years ago

Hi Sara.
It can use UART aswell as zigbee. I can get the data from the JN5169 directly into a pc using serial cable and terminal window. The JN5169 also as cts and rts pins aswell. Do I need to have those connected to the ESP8266?
Kind Regards Matthew

0 Vote Up Vote Down
Sara Santos Staff answered 5 years ago

Hi again.
I don’t think you need to connect CTS and RTS to the ESP32. TX and RX should be enough.
But as I told you, I’m not familiar with those devices, so I might be wrong.
If you connect the TX and RX you’ll probably be able to get data using the Serial functions.
Regards.
Sara

0 Vote Up Vote Down
Matthew Wood answered 5 years ago

Hello Sara,
Thank you will give it a try. If I do need to use cts and rts what pins are those on the NodeMCU 8266?
Thanks
Matthew

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [eBook Updated] Learn Raspberry Pi Pico/Pico W with MicroPython eBook – Version 1.2 May 26, 2025
  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.