Posts Tagged com port

Serial com-port communication with autoIt

This weekend I found out how to read from / write to a com port with autoIt code. I created a file with some functions that read/write single characters or lines. To communicate with a com port, I use the CreateFile function from Kernel32.dll.

Continue Reading 5 comments December 7, 2008

Scope with PIC microcontroller and Matlab

After many trials I recently succeeded in using the serial connection for communication between my PIC experimental board (based on a PIC18F4455) and my laptop. Turned out I was configuring my UART wrong, but now it works. I’m very happy about this because it is very useful for debugging my robot controller. I wrote a script in Matlab to read out the sensorvalues from the COM port and plot them in some sort of scope-window. The result looks pretty cool!

Matlab scope (from PIC ADC input)

Continue Reading 34 comments June 23, 2008


Tags

18F4455 ADC asp autoIt boot bootloader CDT com port computer problem continuous_integration dll eclipse embedded evernote flash frapps java launchy Linux m2eclipse Matlab maven microchip microcontroller network php PIC PIC18F PIC18F4455 productivity programming rails robot scope serial servo silverlight software subclipse svn tutorial ubuntu uC usb webdesign

Feeds

Top Posts

Articles to be written…

Pages

 

November 2009
M T W T F S S
« Oct    
 1
2345678
9101112131415
16171819202122
23242526272829
30  

Archives

Blogroll

Meta