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 Duresh

  1. D

    mkroC 4 Digits example

    You need to use common cathode 7 Segments. FYI, At power up, all the ports are configured as input. Therefore, will not do what you expect. (But here this is not the problem.). You need to set ports as output first then set them zero. TRISA = 0; // All port A pins are configured as outputs...
  2. D

    [SOLVED] What is the problem in this 4-bit LCD Code?

    In the simulation, you have wired the LCD and PIC in a wrong way. wire RA0 -> LCD.D4 RA1 -> LCD.D5 RA2 -> LCD.D6 RA3 -> LCD.D7 Also to be sure, ground LCD.D0 to LCD.D3 to ground.
  3. D

    [AVR] PRINTF not working in AVR Studio 7

    So I assume that your "printf" has worked before? You haven't given us the complete setup code for "printf" Give us the code.
  4. D

    74HC595 with ATmega88PA

    What are you trying to do? There is no any SPI interface in "74HC595" ? Anyway in SPI communication what is this code for SPI_PORT |= (1<<SPI_SCK); _delay_us(10); // Hold pulse for 1 micro seconds SPI_PORT &= ~(1<<SPI_SCK);
  5. D

    PIC resets when connected to 12V solenoid valve

    Remove this voltage divider form MCLR, just conect "MCLR" pin to Vdd (or use 1K resistor) as it needs a strong pull-up. What is your power supply capacity? Can it handle your solonoid? When solonoid get on/off it introduce noise into the power lines, do you have any noise filtering section for...
  6. D

    [SOLVED] Convert Keypad Input Char Array into String To Compare with Predefined String

    try this, unsigned char keyin_char[6]; // you can only store 5 characters in this arrray. Last char is the null terminator for string. char *string_pointer = &keyin_char[0]; void main() { // your code... //after you taking all the input from the keypad and before using "string_pointer" you...
  7. D

    How does flag create in C language

    what do you mean by "flag". Are you talking about "boolean" variable.
  8. D

    [ARM] Reading Negative Values of accelerometer

    I think UART_OutUDec((unsigned short) (accelerationX*-1)); has no meaning. It is multiplied by -1 and again cast into "unsigned". And other thing is is "int". But it is casted into "short". I guess output of is short.
  9. D

    LM35 LED Temperature Bar

    try resistors between LM324 outputs and 4532 inputs.
  10. D

    [SOLVED] 20x4 LCD not working with Pic18..Need Help.....

    #use delay(clock=40000000) #fuses XT, NOWDT, NOPROTECT, BROWNOUT, PUT, NOLVP you need to add fuse for high speed crystal. set port A,B,C,D as output before you use "Output_high_x()".
  11. D

    How to find out how many other devices/pins can I drive using a PIC output

    Are you talking about "fan-in" and "fan-out". https://en.wikipedia.org/wiki/Fan-in https://en.wikipedia.org/wiki/Fan-out If so, https://www.edaboard.com/threads/102711/
  12. D

    [Moved] 20x4 lcd on and off problem

    Ok. As i told above, Try grounding EN2, IN3 & IN4 of L293
  13. D

    [Moved] 20x4 lcd on and off problem

    ground EN2, IN3 & IN4 of L293. - - - Updated - - - If you have got a multimeter, connect it between supply and the circuit. undo you processor, remove your motor(but leave motor driver), LCD, keypad and power the circuit. write down the current measurement value. Then connect only the keypad...
  14. D

    Serial interrupt problem with Atmega16

    use volatile for and also change all to
  15. D

    Serial interrupt problem with Atmega16

    I think you are telling the compiler to optimize the code greatly. use "volatile" when declaring the "flag".

Part and Inventory Search

Back
Top