Ive been fiddling with this IR camera I got from Linksprite to no avail. I cant get a picture off of it.
I just noticed that everyone has been telling me I need to have the baud rate at 19200. But of course there are different baud rates:
- The baud rate for my serial monitor, or in my case CoolTerm.
- The baud rate in code for the serial port being used.
- The baud rate in code for the software serial defined for the camera.
I just realized im confused about these.
The Serial.begin() is for the baud rate at which data will move through pins 0&1 of the UNO up to my computer and back. So this is just for uploading the sketch (and for whatever gets written to the serial monitor in code by Serial.print.)
The SoftwareSerial.begin() is for the comm between the camera and the UNO.
The baud rate of the CoolTerm app or the Serial Monitor itself is the baud rate at which it will receive data being .printed from code thru pins 0&1.
A) So my camera specs say its default baud rate is 38400. So SoftwareSerial.begin() should be set to 38400, right?
B) And whatever I set the Serial.begin() is what the Serial Monitor or CoolTerm should be set to, right?