Their tutorial is quite weird.
I do need additional hardware or can hook it to say PIC16F886 directly?
Also, about Baudrate and other init options, it is not clear I need to do it each time on power up or just once?
Their tutorial is quite weird.
I do need additional hardware or can hook it to say PIC16F886 directly?
Also, about Baudrate and other init options, it is not clear I need to do it each time on power up or just once?
No extra hardware needed.
The easiest way is to put a config.txt, containing your desired options, on the SD card. See the Configuration File section of the tutorial.
Thanks!
I never used serial transmission with PICs, so I need SEROUT/SERIN statements to be used, right?
Yes. SEROUT, SEROUT2 or HSEROUT/HSEROUT2 is what you want.
I've looked at these modules and besides TX/RX they also have CTS RTS pins. Can be these handled by PBP, or I have to add some manual code like this?
Code:HIGH RTS 'make RTS pin high MAIN: IF CTS=1 THEN GOTO SEND 'wait while CTS gets high, before sending the data GOTO MAIN SEND: 'SOMETHING
PBP command SEROUT2 can handle flow control.
With that said I've never needed to use it with OpenLOG but it depends on how much data and at what speed you you're trying to log.
So I just disregard these pins and let them float?
Bookmarks