SparkFun Forums 

Where electronics enthusiasts find answers.

Questions relating to designing PCBs
By TokTok
#171367
Hi all,

As per my schematic below and my breadboard set up I’m already executing serial communications successfully between the PIC18F2580 and the ETRX357HR Zigbee module but I’m being advised by my board house there is the potential for serial communication issues to arise due to the differing voltages powering the PIC18F2580 and the ETRX357HR Zigbee module.
Here's my schematic
Their advice is based on the absolute maximum ratings of the Zigbee module whereby in the Zigbee module manual it is stated:

Absolute Maximum Ratings:
Inputs: -0.3V to Vcc + 0.3V


Essentially this means the voltage on any input pin should not be above 3.6V in this design, since it is being powered from 3.3V. This is violated on Pin 17, in the PIC18F2580 Tx to Zigbee module Rx. Having looked around for a solution I believe I can improve the situation by adding something like a 10k resistor.

This will limit the current that will flow through the Zigbee module's input pin protection diode, but since a max current rating for it is not given, you just have to guess at the resistor value.

Does anyone see a problem with having a 10k resistor between the serial communications lines? If so any ideas for a better solution?

Here are the respective datasheets:

http://www.telegesis.com/downloads/gene ... 10-100.pdf

http://ww1.microchip.com/downloads/en/D ... 39637b.pdf

Thanks,
TokTok.
You do not have the required permissions to view the files attached to this post.
By uChip
#171370
Per my previous response to this question (https://forum.sparkfun.com/viewtopic.php?f=20&t=38300) you can take a look at the voltage divider circuit in the schematic that I referenced. The problem with a single resistor is that you are relying on the protection circuit in the radio to regulate the voltage. Rather than regulating it could fail. Rather than stress that part just add the voltage divider. It's only one more resistor. The input current to the radio when within the spec'd voltage range is negligible.

- Chip
By TokTok
#171398
@Don Hersey:

Thanks for the reply. I'll go for the voltage divider approach similar to the very 1st diagram on this link - https://learn.sparkfun.com/tutorials/vo ... viders/all.

Essentially I'll test using the values of R1 and R2 as 1700ohms and 3300ohms respectively. Ideally my understanding is that R2 should be double of R1.

These should give me 3.3V as my Vout which should be OK drive the Rx pin of my zigbee module from the Tx pin of my PIC18F2580.

Do you think the resistor values are correct?

Regards,
Alex.