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 crocklip

  1. C

    did a warning effect programming?

    Hi, I have been programming a PIC 16f877a, using PICC compiler to write the code. When I compile the code I get a warning: "missing newline". When I program the chip it doesnt behave anyway like it should. Could the warning be effecting this? The warning appears on the very last line (aftre...
  2. C

    "unreachable code" warning

    Hi, I am using PICC compiler for a PIC. I am getting a "unreachable code" warning when I try to return a value given a certain condition in a switch statement.I have included the code below. is this a serious warning? Thanks for the help. int get_value_1(void) { unsigned char temp =...
  3. C

    Using TC4424 Mosfet for driving a 12V motor with heavy load

    Hi, I need to drive a 12V motor that will have a heavy load which means it will suck an awful lot of current- The TC4424 is a low current mosfet h-bridge. Is there another package or alternative chip that would do the job? Thanks
  4. C

    Help me with changing a code which writes a byte to the LCD

    sample LCD code for PIC Hi, I'm using HITECH PICC V.3 compiler to program a PIC16f877a. I wish to interface with a standard 16X2 Hitachi LCD. Anyway, I plan to use a sample program that was supplied with the software. The following code is a routine used to write a byte to the LCD in 4-bit...
  5. C

    C program that makes PIC 16F877A wait until PORTD changes (HITECH HI-TIDE v3)

    Re: simpe C question The PIC is 16F877A and I'm using the HITECH HI-TIDE V.3 compiler Thanks
  6. C

    C program that makes PIC 16F877A wait until PORTD changes (HITECH HI-TIDE v3)

    Hi, I am using a PIC for a project that Im working on at the moment. I need to program it (in C) to wait until PORTD changes, ie. when any bit in portD toggles. Maybe an interrupt? Thanks for the help
  7. C

    Peak detector circuit

    peak detector circuit -patent Hi, (sorry to repost, forgot the attachment) An important part of a current project of mine is a peak detector circuit which takes a base audio signal from say a microphone (~50mV), amplifies it and squares it. I have attached the schematic of this circuit. (The...
  8. C

    programming the pic 16f877a

    thanks Philba, turns out I didnt pull the MCLR high. silly me! Now all I have to worry about is mistakes in the code!
  9. C

    programming the pic 16f877a

    Hi, I wrote some code for the 16f877a and simulated the program with pic simulator ide which seemed to yield successful results. However when I programmed the chip with a datman 48uxp universal programmer and tested it I got no response at all. the chip was completely dead! I tried again with a...
  10. C

    Which H-bridge IC can control two 12V DC motors from the o/p pins on a micro ?

    Hey, I need to find an appropriate H-bridge IC to control two 12V DC motors from the o/p pins on a microcontroller. I have not dealt with h-bridges before so I am not sure which device I should choose. preferably a dual device. Any help would be great!
  11. C

    how to display meesage to LCD using phone

    Re: Can a 16f877a do this? Hi, I tried the code with the chip and hooked it up. This time however unlike the simulator, I got no output at all. If anyone can see any problem with the code I would be delighted to hear it. Who was it who said "if the experiment works, then something went wrong"?!
  12. C

    how to display meesage to LCD using phone

    Re: Can a 16f877a do this? originally I was getting the simulation output of RB2 to be high no matter what the input frequency. Now I am getting RB0 to be high no matter what. BTW should the 64us not be 1us for the timer period? (timer freq = 1MHZ). anyway I am using PIC simulator IDE and...
  13. C

    how to display meesage to LCD using phone

    Re: Can a 16f877a do this? Jon, You are spot on with your assumptions. I really see no reason why the program shouldn't simulate properly and its being frustrating me for too long. the program is to sample the frequency of a guitar string and to set one pin if its too high and another if its...
  14. C

    how to display meesage to LCD using phone

    Re: Can a 16f877a do this? well, I used 0xFF because when this is multiplied by the overflow accumulator the result will be the actual amount of times the timer cycled. 0xFF being the maximum value the 8-bit timer can increment to before overflowing. I would be more than happy to post/email the...
  15. C

    how to display meesage to LCD using phone

    Re: Can a 16f877a do this? Hey, I checked out the CCP module which supports what I want to do but theres something which doesnt let me use it: there will be 6 different input signals in portB that I need to sample one after another but there are only two compare/capture pins on the PIC (CCP1...

Part and Inventory Search

Back
Top