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 hexreader

  1. hexreader

    PIC18f46k22 not working

    Inputs are analogue by default. You need to changed inputs to digital for your application Button de-bounce is missing. Here is my attempt: // random code found on forum // desperately needs button de-bounce code added // CONFIG1H #pragma config FOSC = HSHP // Oscillator Selection bits...
  2. hexreader

    Can one buy a DB25 pin inverter?

    How about something like this: https://uk.farnell.com/mh-connectors/ga2525mflgk-rc/d-sub-adaptor-25pos-plug-rcpt/dp/2532983 Just poke in the pre-made wires any way you want, then snap on the cover You may also want this...
  3. hexreader

    Flat Cable- Connector Help

    Mouser has an obvious choice... Even this tool requires a little thought before use. There are many options for orientation of ribbon and socket. Wurth Disclaimer - I have used a similar press - long ago, but I have not used this exact model I assume that this device is adjustable for most...
  4. hexreader

    Flat Cable- Connector Help

    I find this cheap tool works really well for me... Duratool IDC Crimping Tool 240mm - D03028
  5. hexreader

    [SOLVED] compiler cmcon=7; pic16 //LCD module connections

    Cannot polish a turd, but I have re-published above code with better formatting and comments as I see it Maybe OP will spot the errors in his/her own code once the code is more readable? // random code found on forum - do not blame me, I did not write it! // need an explanation of what the...
  6. hexreader

    SIRC and RF Transmission

    EDIT: posted in error don't know what I am talking about :(
  7. hexreader

    [SOLVED] 16F887 > MikroC > minus « - » never display on lcd for negative values ...

    I think I see the problem at the start of the print_float_v7() function: If number is negative - you change it to positive, so the next test for positive will pass. This results on the '-' character being overwritten with a space. Either do the positive test before the negative test... ... or...
  8. hexreader

    [SOLVED] 16F887 > MikroC > minus « - » never display on lcd for negative values ...

    Yes, I apologise. I tend to only see problems that need fixing. I often forget the educational need. I make a poor teacher. Will try to improve :)
  9. hexreader

    [SOLVED] 16F887 > MikroC > minus « - » never display on lcd for negative values ...

    I do not understand your code, but I tried my best to improve it. MikroC project is attached. See my commenting at the top of the forum.c file.
  10. hexreader

    [SOLVED] 16F887 > MikroC > minus « - » never display on lcd for negative values ...

    Which PIC16 are you using? Doh... answer is in the title .. I feel stupid now :( I will load your code and see if I can find solution...
  11. hexreader

    LCD Character error!

    You are processing for no button pressed (kp = 0) the same as if a button were pressed, so EEPROM gets filled with zeros. Here is my attempt at a horrible fix. Still messy, still buggy, but better formatted. Requires valid entry of 11 numbers, else garbage is saved - but will leave that for you...
  12. hexreader

    LCD Character error!

    Which PIC? What Fosc frequency?
  13. hexreader

    [SOLVED] Baud rate from clock cycle

    First box - The smallest bit is 1 millisecond long. How many bits can you send in a second? Second box - you have almost the right answer except bit 0 is on the left (after start bit of '0' low), not on the right EDIT: KlausST beat me to it :)
  14. hexreader

    [PIC] 16F88 > Build And Program Process > Error message

    "Device detected PIC 12F508" is an indication that wiring to PIC has a problem. If you connect nothing, then PIC12F508 is dumbly assumed If you are using microE development board, then likely problem is jumpers not set correctly (see development board manual). If you are using own board, then...
  15. hexreader

    [PIC] 16F887 > 2 axis joystick drive 2 servomotors

    Interrupt code would take a lot of explaining, sadly I do not have the patience, nor the teaching skills If you just accept that the interrupt code works, then any adjustments that you might want to make are in these two lines: PWM1_high_time = ADC_Read(0)/4...

Part and Inventory Search

Back
Top