Soft UART on specific pins
Posted: Thu Apr 02, 2020 8:09 pm
Hi there all
With the help of this forum I have been able to stumble along almost to the completion of a device which will become useful to great many people. Which each iteration the device protoype has become a bit better. Today, however I need to work around a number of problems which will be addressed with the next PCB design.
The problem:
> To assist with tuning of the prototype a near real time visualization of sensor outputs is needed
Proposed solution:
> As data comes in, and following minimal processing, it is output to a serial port for display by another device
Challenges:
> The only pins I have truly free
- D14
- D36
> The SPI pins are free but I may need those for a faster ADC
- If possible a solution would need to avoid using these
> Can't use wifi/BT
- These radios cause excessive noise at sensor level
I need only send out 128bytes of data per second --- a slow serial connection would suffice.
Is there a currently supported soft UART? If not, is somone able to suggest a stable, easily implemented library?
Or this a problem solved by redesigning the PCB to free up TX2 and RX2?
Thanks.
With the help of this forum I have been able to stumble along almost to the completion of a device which will become useful to great many people. Which each iteration the device protoype has become a bit better. Today, however I need to work around a number of problems which will be addressed with the next PCB design.
The problem:
> To assist with tuning of the prototype a near real time visualization of sensor outputs is needed
Proposed solution:
> As data comes in, and following minimal processing, it is output to a serial port for display by another device
Challenges:
> The only pins I have truly free
- D14
- D36
> The SPI pins are free but I may need those for a faster ADC
- If possible a solution would need to avoid using these
> Can't use wifi/BT
- These radios cause excessive noise at sensor level
I need only send out 128bytes of data per second --- a slow serial connection would suffice.
Is there a currently supported soft UART? If not, is somone able to suggest a stable, easily implemented library?
Or this a problem solved by redesigning the PCB to free up TX2 and RX2?
Thanks.