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.
if you use mikro C you should study from Help (F1) menu.
This below code is basic for programming.
You can use this code program to PIC and make GUI or PIC as master for sending data.
actually u can simmulate on Proteus.
unsigned short i;
void main() {
// Initialize USART module (8...
Hello All,
I want to import data in textbox to datagridview see my attachment and the picture. I just want to click at Import button then let all data in textbox go to the datagridview.
such as
value first byte "12" put on datagridview.row 0 cell 0
value second byte "34" put on...
hi b_engine
void main()
{
trisb.b0=1; // set RB0 as input
trisd.b0=0; // set RD0 as Output
portd.b0=0; // clear portd bit 0
portb.b0=0; // clear portb bit 0
while(1)
{
portd.b0 = portb.b0;
}
}
This case I tried apply 5V by using...
This link is my post long time ago it is PWM generator on mikroC
and you can see other on there. This is for your choice....
mikroC it's very easy for doing the basic job.
https://www.edaboard.com/threads/192758/
And for the attached file is 25KHz PWM control by switch.
see more detial in...
Hi ..
I want to write program for check button pressing (Counter)
In case of Press button has 5V
In case of Not Press button has 0V
I can use ADC for detect it but the problem is when I press hold button my program will increase 1 (by non stopping.)
SO How can I do even I press hold the...
Hi taanhovoro
check my posted in this link for GUI communication I use Visual Basic 2010 it same as VB2005
https://www.edaboard.com/threads/207474/#post875779
and the PIC you just make a circuit include max232 TTL and then connect to Serial port PC.
try this first...
I learn everything from button F1( Help) UART it's very basic if we are talking about the communication between PC <----> MCU
in fact I still think UART write it easy but UART read it more complex. :lol:
see below example only UART_wirte..
TTL by Max232:
**broken link removed**
Hi Sir...
I want to measure current from my dc fan (4 dc fans 5V , Total current ~ 1.40 A.)
and send data to PC (VB2008)
So I would like to know about Value of Shunt resistor , watt?
This is my first project aboud current measurement.
please help suggest me too.
Hi,
This is my standard code you can use it for other application..
Hope this help...
Public Class Form1
Dim port_name As String()
Dim i As Integer
Dim j As Integer
Dim send_data As String
Dim input As Integer = 0
Dim receive_data As String
Dim Ctr As Control...
Hi nudrat,
for voltage devider I just use for adjust inputV to MCU only...
In fact no need to use it.
and for you want display in mV I have change some code as below
//PIC16F887
// Clock 20 MHz
// LCD 16x2
int dat = 0;
float n = 1023;
float volts;
char txt1[6];
char txt2[13];
char *text1 =...
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.