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 Brian,
Thank you for your solution. The problem with using diodes and relays is that the panels are rated at 315W. So the current at Vmp is around 8A. When working in 2S3P configuration, the diodes and relays used for switching will have to handle around 24A of current at 70V. I am not sure...
Hi all,
I want to build a series/parallel combination of solar panels.
The panels I propose to use have to be connected in series (6S configuration) to attain a voltage of around 200V DC to drive a motor.
While I also have a battery bank to be charged at 48V DC. I want to connect the panels...
@ BigBoss, I have checked the circuit simulation in Proteus8. The circuit is working, i.e., when the switch is closed and then opened after a brief period, say for a couple of seconds, I am getting a decaying square wave at the output as expected but the frequency is way low, 203 Hz. According...
Hello All,
I am designing a basic LC Tank circuit with comparator to be used in an inductance measurement circuit.
Ideally, when the circuit is charged for a couple of seconds and then the switch disconnected, the circuit frequency should be 13.30kHz according to the resonant frequency formula...
Hi Klaus,
Thanks for the advice. I actually did figure out what was wrong with the code by writing down the data values.
Here is the code that worked,
if (flag2==1)
{
shiftdata595(array4[tmp7]);
latch595();
tmp7++;
if (tmp7>=4)
{
tmp7=0;
tmp1 =...
Thanks for the code Easyrider83 but I can't understand how to use this in my code. Can you please explain?
- - - Updated - - -
Hi KlausST,
My algorithm is as follows. Please check if it is correct.
Lets say,
array4[10] = {6, 91, 79, 102, 109, 125, 7 , 127, 111, 63 };
Now the array needs...
I am coding SSD display using 2 cascaded shift registers. I am using a mikroC for PIC compiler. I can display a static sequence of numbers upto 4 digits with my code
Here is my complete code
#define SHIFT_CLOCK PORTB.F1 //Clock Connection of 74HC595 SSD Driver
#define SHIFT_LATCH...
Hi Klaus,
Thanks man. You sure cleared the 8.2 Second triggering reason. I did try the method that you suggested and have got the result I wanted. Thanks a ton.
Here is the updated code if anybody would need it. Now it does toggle the PORT without jumping around.
#define SW1 PORTC.RC0
char...
My Bad...This is the complete code. Ideally, the PORTB should toggle if the button is pressed. But the problem lies in the button debounce part. The PORTB is toggled only if the button is pressed for more than 8 seconds. Also if the button is kept pressed, the PORTB keeps on toggling...
Hello Guys,
Hello Guys,
I am trying to implement a delay using timer0 interrupt. I'll just post an abstraction of the code in mikroc
void inittimer()
{
//Timer initialization for a 32ms interrupt
}
void interrupt()
{
//interrupt code;
delayvariable++;
}
void main()
{
TRISB = 0...
Hello all,
Can anybody please explain to me how does this particular code work in mikroc. The timer is set to overflow every 32ms. Thus, the following code toggles the PortB pins roughly every 1 second.
Initinterrupt ()
{
======;
======;
}
Interrupt()
{
========;
========;
timerint++;
}...
Yes, you are right. I am using the mikroC PRO compiler. The thing is, I have tried almost every approach that was mentioned on the mikroC documentation to communicate with the chip but without success. I guess, I'll have to use some other chip such as 74HC595 instead of wasting more time on this...
As I mentioned, I have translated the datasheet with Google Translate but it did not help me a great deal. I could not find sufficient information in it.
Lets start with the basics based on what we can understand from the datasheet:
1. To start the chip, I have to
"Holds SCL as "1" level, SDA...
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.