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.
You need only the lower resistor, the upper one is not needed. Maybe you can get some inspiration from an Arduino schematic where Serial is used for programmint to.
The fastest if the source byte is disposable and the two bits are adjacent:
rlf source , w ; put bit1 in the same position in w
xorwf source , f ;compare bits
btfss source,bit2 ; branch
goto option1
option2; different
option1 ; equal
source byte not disposable
rlf source , w
xorwf...
I missed that ,if you're using MikroC ,a string must be passed to Lcd_Out_Cp.
Use a conversion function like ByteToStr
char txt[4];
.....
ByteToStr(minutes,txt);
Lcd_Cmd(0xc0);
Lcd_Out_Cp(txt);
assuming that minutes is a char
You also have to skip push button transitions
Maybe something like this would be better:
Timerr() // set Timer
{
k=1;
minutes=0;
Lcd_Cmd(0xc0);
Lcd_Out_Cp(minutes);// to see something if no button pressed
while(K!=6)
{
while(inc==0)
{minutes++...
Hi , you're dealing with high ground currents there , make sure the you have a good thick ground line in addition to what andig recommended. I had the same problem , the voltage drop on the ground line is higher on one side. Connect the ground , common clock and latch line in the middle to...
Use a larger transformer , the cheap small transformers are not designed with efficiency in mind. The theoretical output voltage for you would be 6v * 220v/12V = 110v , to much , can you find a 220 to 24 v transformer to obtain 55v ? Or better one 12 v output which has a 110 input option that...
You should use larger capacitors, with 10 uF capacitor and 200 hz the load should pull less than 3 mA otherwise the multiplier cannot work properly. Don't use a multiplier if you don't need it is very power inefficient if you really want a higher voltage you can use a a 110 to 12 v ac power...
The relay might be under-dimensioned for the load , use a bigger one. You can try also to put two or three diodes in series in place of D4, this way the switch off time is shorter.
Hi , the argument for lcdstring must be a string so try to use sprintf to convert sum to a string.
char sumstr[10];
// get data to sum
sprtintf(sumstr,sum);
lcdstring(sumstr);
See an example here :https://www.tutorialspoint.com/c_standard_library/c_function_sprintf.htm
Hi , my guess is also a dv/dt failure. Do not let the gates floating . Put some RC protection circuit ( use a high power resistor not a 250mW one) ,connect the gates to cathodes and see if it still fails. If not , use some low impedance driver to drive T1 and T2. I really don't understand the...
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.