Continue to Site

Welcome to EDAboard.com

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.

Recent content by sonar_abhi

  1. S

    Switching Solar Panels in Series and Parallel

    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...
  2. S

    Switching Solar Panels in Series and Parallel

    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...
  3. S

    LC Tank circuit with comparator frequency error

    @ 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...
  4. S

    LC Tank circuit with comparator frequency error

    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...
  5. S

    [SOLVED] Seven Segment Display Scrolling Digits

    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 =...
  6. S

    [SOLVED] Seven Segment Display Scrolling Digits

    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...
  7. S

    [SOLVED] Seven Segment Display Scrolling Digits

    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...
  8. S

    [SOLVED] MikroC Delay Using Interupt

    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...
  9. S

    [SOLVED] MikroC Delay Using Interupt

    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...
  10. S

    [SOLVED] MikroC Delay Using Interupt

    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...
  11. S

    [SOLVED] Interrupt instead of delay function in mikroc

    Hello, I'll just paste the code I'm having trouble with... void shiftdata(char _shiftdata) { char i; char temp; int m,n; temp = _shiftdata; i=8; while (i>0) { if (temp.F7==0) { SHIFT_DATA1 = 0; } else { SHIFT_DATA1 = 1; } temp = temp<<1; SHIFT_CLOCK1 = 1...
  12. S

    [SOLVED] Interrupt instead of delay function in mikroc

    Yes, that I understand. All the code in my program is contained within the while (1) loop since we require it to work continuously.
  13. S

    [SOLVED] Interrupt instead of delay function in mikroc

    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++; }...
  14. S

    [SOLVED] Help Required on TM1650 Seven Segment Display Driver

    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...
  15. S

    [SOLVED] Help Required on TM1650 Seven Segment Display Driver

    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...

Part and Inventory Search

Back
Top