Tim Orr
Posts
-
Which culture/tribe would you like to have been born into? -
Cry for help to the electronic hobbyists out there! -
Modern Robinson CrusoeAre these the old IBM PCs with MS BASIC in ROM?
-
Serial port and USBIf using a standard USB to serial convertor your code "should" work just fine using the COMx port installed by the driver (usually COM3 or higher), however the USB serial ports so not act quite the same as UART based serial ports, in particular they tend to appear "blockier" (data arrives in distinct blocks rather than in a more continual stream). I have found that this can interfere with the expected action, particularly the timing of serial messages. If you want to add the USB port to the actual datalogger hardware I suggest you look at something like the CP2102 (Silicon Laboratories). This is a very small IC that can easily be added to your product and converts from serial to USB (no crystal required which keeps the cost down).