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 hate

  1. H

    Defining a MATLAB code for a series expansion

    So, what's the pattern here? The pattern must match certain rules if you'll write a compact equation and did you notice the multiplier count for each term is not constant? The constants (I'm guessing they are constants) from m8 to m19 have only 2 variables in the multiplication while the last 8...
  2. H

    Signal power in Matlab

    I didn't say it affects the signal power, just wanted to make sure if you've taken it into consideration or not while calculating the power. If you're sure it's right then I can't offer anything else to check other than debuging a very simple case with just 'fft', 'ifft' and power calculation...
  3. H

    Signal power in Matlab

    Result of fft and ifft are complex numbers even though inputs may not be. Are you taking care of that?
  4. H

    Need Help: Automatic Daylighting

    That would be a possible solution for dimming 3 different lamps. Or as I mentioned before, you can decrement a separate counter for each lamp when a timer overflows (considering a 50Hz mains, time between 2 zero crossings will be 10ms, you can adjust a timer which overflows every 200us for a...
  5. H

    Signal power in Matlab

    Does your code filter your fft results?
  6. H

    Need Help: Automatic Daylighting

    1- To dim 3 different lamps you can use 3 different timers OR decrement 3 different counter variables for each of the lamps at a single timer overflow after the zero crossing happens. Then fire the triac for the lamp when the corresponding timer or counter is zero. 2- You may try to obtain a...
  7. H

    serial transmission in 8051

    I guess you are trying to say that master clock provides the system clock for all slaves and I'm not talking about the UART transmission here. If that's the case, what type of a clock signal are you providing to the slaves? There is a certain minimum for the clock frequency which the receiving...
  8. H

    What happened if Multi-master and Single-master devices are connected with a I2C Bus?

    I don't know what happens if both multi and single Masters share the same I2C bus. But a possible step towards the solution to your problem would be to try every combination to find out which device pulls the line low. Maybe disabling the pullup resistors one by one may reveal which one is...
  9. H

    What happened if Multi-master and Single-master devices are connected with a I2C Bus?

    Which one is pulling the line low? Can it be a bus collision error?
  10. H

    c++ Queue Simulator (cinema booking)

    An event driver system might be a good solution. Like you create a queue first and when a new customer arrives you insert a new event for a new customer in a random number of time and loop the events. Search for the word 'event driven'.
  11. H

    Defining a MATLAB code for a series expansion

    That equation doesn't seem to be following a pattern so it'll be easier to input by hand.
  12. H

    Simple PIC Interrupt

    I don't use basic but does your code actually sleeps the uc or just waits until a change on GPx? If latter, you may put the uc in sleep by using the asm command 'sleep' somehow.
  13. H

    serial transmission in 8051

    What kind of synchronization are you expecting, can you please go into more detail? Like for example does all the slaves use the same clock to communicate with each other through UART, I2C etc...?
  14. H

    Plotting using ansi c language

    Graphing with plain C without using any other library or framework is usually a bad idea. Matlab would be easier to plot anything. If you are obliged to plot in C, you may want to use something like below or similar: Simple DirectMedia Layer Check the tutorials for further info.

Part and Inventory Search

Back
Top