Skip to main content

using Tx Using TX as gpio, while using RX as serial pin to read data from other uC - arduinoArduino atmega8

iI am having a circuit the ithat I am using the RX pin to recievereceive data (int) from other uC (ESP12E) as one way communication, and for the lack on pin iof pins I had to use the TX pin as GPIO for a digit of a sevsegseven segment display, the.

The circuit and display works fine before iI use the Serial.begin(9600) in the setup function.

after iAfter I init my serial connection the program stop working.

imI'm am using atmega8 with arduinoArduino framework, and wondering if the issue iI am facing is caused because of this usage of txTX as gpioGPIO and rxRX as serial communication pin, if. If yes, how can iI solve this issue by identifying only the RX as serial pin and be able to use the TX as gpioGPIO. for

For some reason software Serial library doesn't work fine with atmega8

thank you very much.

using Tx as gpio, while using RX as serial pin to read data from other uC - arduino atmega8

i am having a circuit the i am using the RX pin to recieve data (int) from other uC (ESP12E) as one way communication, and for the lack on pin i had to use the TX pin as GPIO for a digit of a sevseg display, the circuit and display works fine before i use the Serial.begin(9600) in the setup function.

after i init my serial connection the program stop working

im am using atmega8 with arduino framework, and wondering if the issue i am facing is caused because of this usage of tx as gpio and rx as serial communication pin, if yes, how can i solve this issue by identifying only the RX as serial pin and be able to use the TX as gpio. for some reason software Serial library doesn't work fine with atmega8

thank you very much

Using TX as gpio, while using RX as serial pin to read data from other uC - Arduino atmega8

I am having a circuit that I am using the RX pin to receive data (int) from other uC (ESP12E) as one way communication, and for the lack of pins I had to use the TX pin as GPIO for a digit of a seven segment display.

The circuit and display works fine before I use the Serial.begin(9600) in the setup function.

After I init my serial connection the program stop working.

I'm am using atmega8 with Arduino framework, and wondering if the issue I am facing is caused because of this usage of TX as GPIO and RX as serial communication pin. If yes, how can I solve this issue by identifying only the RX as serial pin and be able to use the TX as GPIO.

For some reason software Serial library doesn't work fine with atmega8.

Source Link
Maher
  • 11
  • 4

using Tx as gpio, while using RX as serial pin to read data from other uC - arduino atmega8

i am having a circuit the i am using the RX pin to recieve data (int) from other uC (ESP12E) as one way communication, and for the lack on pin i had to use the TX pin as GPIO for a digit of a sevseg display, the circuit and display works fine before i use the Serial.begin(9600) in the setup function.

after i init my serial connection the program stop working

im am using atmega8 with arduino framework, and wondering if the issue i am facing is caused because of this usage of tx as gpio and rx as serial communication pin, if yes, how can i solve this issue by identifying only the RX as serial pin and be able to use the TX as gpio. for some reason software Serial library doesn't work fine with atmega8

thank you very much