I use a USB serial port for RS232 communications all the time on my projects RS232 since it is a very useful standard communication module which can be found built-into PICs and most other microcontrollers.
Computers used to come with RS232 and parallel port built-in as standard, but not any more as new computers have USB ports instead.
There are three useful features about RS232:
There are two types that do a similar job
The digital serial unit does away with all RS232 comms (and cables) and outputs only digital signals. This is the generates the same as the signals that you get at the microcontroller, after they are decoded at the MAX232 chip. Using this unit means that you can plug the signals directly to the microcontroller RX TX pins (connect digital serial Rx to uC TX and digital serial Rx to uC Rx to communicate correctly) and you do not even need a MAX232. The disadvantage is that you do not get noise immunity over long distance which the the RS232 interface does provide, but this is not a problem when working directly beside the units as I do. I use the digital serial all the time.
Digital Serial to USB on ebay :
This is the one I use - if you move the connectors a lot you can buy new duponts to replace them - it also as a low power 5V and 3V output for very simple circuits and it installs without a disk! It also has a couple of LEDs on board shown when comms is active - sometimes useful.
Search for above text on ebay. There are bound to be others available if you can not see that exact one.This USB serial port unit looks like this:
The RS232 unit provides all RS232 signals (between +-3V to +/-12V) and will plug into the MAX232 device. Since RS232 voltage levels are generated it will allow operation over long cables. For this method you will need the MAX232 chip (or equivalent) connected as shown in the circuits to decode/encode the RS232 signal levels for the PIC's digital i/o.
Search for above text on ebay. There are bound to be others available if you
can not see that exact one..
This RS232 USB Serual port unit looks like this:
I have tested this on the on-site project "serial LCD" and it works as expected.
Either of the above USB serial interfaces will do the job.
To progress, next you need a terminal program running on your PC so that you can send data to, and receive data from the microcontroller. A suitable program is "Tera Term" which is a free.
All you do is plug your chosen USB to serial interface into the USB port and connect to the development board and then start The terminal program.
Then all you do is select the serial interface that has appeared as a result of plugging in the serial to USB interface and everything works the same as if you had a built in serial link. (Tera Term menu Setup-->Serial Port...) - click the "Port" drop down and select the new Serial com port (depends on which USB port you plug into - mine is COM11)
With the ADXL345 acellerometer you can detect up to 16g! You can also find out how to use it for tap detection and more.
HMC5883L - How make a digital compass, Find out the differences between the HMC5883L and the QMC5883L and whether they are compatible.
Easily use an ESP8266 with the Arduino IDE and program your first sketch into the ESP8266
The MCP4725 chip is a 12 bit DAC with memory that outputs voltage that you can use for many dfferent purposes. Find out what they are in this page.
PCF8591: A four input ADC with single DAC. How good is this 8 bit ADC, and should you use it in your next project?
Arduino Nano ISP: How to program an ATmega328P using an Arduino Nano as the ISP programmmer. One common problem: Programming a sketch into the chip without a reset control - solved here.