![]() To do this go to Component | Install Packages | Add (/bin/dclsockets70.bpl). /rebates/&252farduino-delphi-serial-communication-port. You will need to add the dclsockets package to the IDE. I need these variables separated correctly. I need to have 1 and 2 and 3 etc … but not 12310141516 … into my form caption… I have a result totally crasy, it’s look like the program recieve varios packages… without the final “enter” del printLN… I found this application of a serial terminal (You have to put your arduino into COM1 or COM2) and I added a line to recuperate the variable sent by the arduino into the caption of the form. Arduino-Due-1-600圆00.jpg' alt'Arduino Delphi Serial Communication With Arduino Microcontroller' title'Arduino Delphi Serial Communication With Arduino Microcontroller' /> Installing Windows drivers for a US232R100BLK USB to RS232 serial port converter cable from FTDI http RS Components stock number. ![]() We send to the serial port each 100 millisecond a number which will increase. The objective is to send a variable to the PC with the SERIAL/USB default interface included to the arduino. I made it simple to try it, you will have only to connect the arduino to the PC, without have to connect any component to the arduino. The future objective is to read the value of a sensor and visualize it with a program made with delphi using GLScene (experiment of visuals). ![]() I am trying to make a communication with Delphi and Arduino exactly like this stuff : ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
January 2023
Categories |