Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
Hi!i'm designing a motor controller using PIC16F876.Would like to write the register which store the setpoint value through visual basic.is it possible to do so?
i'm actually employing PID to control my motor.
Beside setpoint, i also would like set my PID gains in visual basic then the previous gains saved in the PIC EEPROM could be updated.
Is there any way to do this?
I have come across RS232 dynamic link library but don't understand how it works..
definitely we can do this. I think you are going to update the new value in the previous one. yes ....
For that you can type the new value in the text box window already you created using VB. Click OK button then it will come to serial port . Then the controller read this value and save it to the registers. For that you have to set the controller to watch the serial port every one sec or two sec once. (this can be done through the program of PIC).
For serial communication any standard book yo can refer. easily you can understand. First you do a small experiment for reading data from serial port.
Then concentate your work...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.