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 z01z

  1. Z

    Timer1 with external Crystal on PIC16F88

    mikrobasic interrupts 16f88 First of all, the osc of the PIC and the osc of timer1 is totally different, you cannot use the timer1 osc to run the PIC. If I understand the datasheet right, this PIC will run on 31kHz internal osc with your settings. I'd recommend to sort out how to use the...
  2. Z

    SPI Maximum Distance for 16 Devices

    long distance spi I agree with the other posts, do not use SPI in a noisy enviroment, use a differential bus like CAN or rs-422/485. The microchip SPI CAN controller is the MCP2515, the CAN transceiver is the MCP2551.
  3. Z

    SPI Maximum Distance for 16 Devices

    spi maximum distance The distance will depend on the bus speed. 70cm is OK, question is, how fast do you want to go? I've connected an SPI accelerometer with a ~1/2m cable, I was able to use 1.5MHz clock speed.
  4. Z

    Display values to a 7 segments display.(howto?)

    Also post the ds1820_read routine. The easiest would be to modify it to return the four digits, instead of computing them from a float value.
  5. Z

    Programming PIC onboard.

    I use a diode for this purpose (and a resistor in series). Anode towards Vdd, cathode to MCLR. During normal operation the diode is open, providing Vdd to MCLR. When programming MCLR get the ~13v but the diode is closed.
  6. Z

    NOP (No Operation) Problem

    nop + assembly For picc it's like this: asm("nop"); What compiler do you use?
  7. Z

    Help me write delay subroutines for PIC16F877A using an external 4MHz clock

    Re: Delay Subroutine check http://microchipc.com/sourcecode/#delay16x
  8. Z

    How to adjust the clock frequency for SPI communication?

    Re: spi clock Yes, you can. Do some delay when changing the clock pin.
  9. Z

    Need info about commands for MMC card

    Re: Regarding MMC card I recommend checking this page for info on MMC. There are also working examples, even routines for FAT handling, check the resource part of this page.
  10. Z

    Questions about interrupts latency and ISR

    interrupt latency pic 18f That text applies to external interrupts only, where you don't know exactly when the interrupt hits, so cannot compensate the for the exact number of cycles (the variation in the number of cycles is because it depends on during which internal cycle the interrupt...
  11. Z

    Edge detector in PIC using CCS

    I don't know how the ports are called in CCS, but something like this should work. while(RC4); This waits until the pin becomes low, so a falling edge. Use "!RC4" for the other direction.
  12. Z

    Memory extension for PIC 16F628A

    IMHO this is not possible with PIC. Use another PIC with bigger program mem.
  13. Z

    Counter mode program for PIC16F877 using MPLAB compiler

    Probably the easiest is to use a pin with an interrupt capability on change (RB0/INT or RB4-7). In the interrupt routine simply increment your counter.
  14. Z

    Read data from hyperterminal in C (ASCII to INTEGER/CHARACTE

    Re: Read data from hyperterminal in C (ASCII to INTEGER/CHAR It's not really clear what you want achieve. Please describe it in more detail.
  15. Z

    How to interface CAN controller(MCP 2515) with AT89s51 controller?

    Re: CAN Protocol Is the at89s51 really necessary? There are ucs with built-in can modules (like at90canxx from atmel or there are lot of pics from microchip like the 18f4480), so you have one problem less.

Part and Inventory Search

Back
Top