Hey folks,
I have scoured the internet for a solution and decided to create an account to ask you fine people! I have an Arduino Uno r3, I have wired 2x maxx6675 thermocouples to it. I coded the Arduino and got it to spit out two readings when I open the serial monitor!
So the two problems I think I have are:
How to get the Raspberry Pi to read that Arduino data over USB connection?
How do I get Home Assistant to get that data and show it as a sensor?
If it is too difficult to answer, that’s ok. At least I hopefully can better state my problem! “A problem well stated is a problem half solved” <and I don’t know the lingo well enough to well state it haha.
if you plug the UNO USB connector in a RPi USB port it will create a virtual serial port, e.g. dev/ttyUSB1
you can open the port using a terminal emulator to view the UNO Serial Monitor output
I tried that, but it didn't work. I can't seem to figure out how to use that integration, I fiddled with it for a few hours and can't seem to get it!. Perhaps my Arduino code is not written well. This is the code I had uploaded to the Arduino Uno r3! I just copied it from the old ESP 8266 board that died. I am quite a newb, and will hopefully clean up that code anyway to make sense better as to which stove it is monitoring!
you can also write code for the RPi to receive/transmit data from/to microcontrollers using serial - I tend of use Java but have also used C++ and Python
putty is a stand alone terminal emulator
when you connect the arduino to the RPi and run putty the text output which usually appears on the IDE Serial Monitor will appear on the putty screen
once you confirm that the RPi can communicate with the arduino you can start thinking about home assistance
I don't use home assistant so can not help with that
omg... I didn't even know how to ask.... You literally just fixed everything for me. You have no idea how long it took me trying! Also, I learned a lot from all of these reply's!! The only difference is I took the "/dev/ttyUSB0" and made it "/dev/ttyACM0" like you said and boom. I can't thank you enough!! Your formatting and home assistant code was too good to be true haha!