I am thinking of purchasing an IR thermometer sensor to embed it in my design project built around an STK600.
The corresponding sensor module is:
My question is, what is the best (meaning easiest & quickest...;-)) way to be able to "talk" to the sensor through the required 1-wire interface?
- Would coupling of the Rx and Tx PINs of one of the UARTs of the ATmega2560 on a single connector cable be able to do the job? Would there be a pull-up resistor required or can I use the internal pull-ups?
- Would implementing a software UART like it is descibed in AVR274 make more sense? In this case the "single_wire_UART.h" would have to be modified for an 8-bit Atmega, has anyone done anything similar? In the documentation it says also that further modification of the example code would be required to compile the code on any other compiler than IAR Embedded Workbench...
Any ideas/suggestions? :roll: