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 denny9167

  1. denny9167

    PIC16F15225 programmer

    Purchase a PICKit2 and purchase the PICKit2 plus software it has support for that PIC. That's what I'm using right now, it will automatically reload the HEX file if its updated to. https://www.piccircuit.com/shop/software/202-243-pickit2-plus.html
  2. denny9167

    DS1307 datasheet question

    It increments the variable in binary instead of decimal. I had issues after compiling, bit 6 would not set consistantly, a bug possibly not sure.
  3. denny9167

    DS1307 datasheet question

    I believe an additional line of will insure the bit 6 is properly set and the code has been tested and works. case 1: hour= BCD2Binary(hour); if(!plus_button)hour+= 1; hour =Binary2BCD(hour)...
  4. denny9167

    DS1307 datasheet question

    One correction to securely set bit 6: the line "hour &= 0x61; " needs to be "hour = 0x01 | 0x60;"
  5. denny9167

    [PIC] signal processing in microcontroller

    I use a low noise op amp in the phono stages I build,and it would work great with this application, I would go with the AD797, its an expensive op amp, but will give you very low noise and distortion figures.
  6. denny9167

    DS1307 datasheet question

    My code will need to be changed if the hour is decremented of course. 1697807264 It is difficult to interpret 1697807397 As long as one remembers to reset bit 6 and 5 for every hour change, when incrementing or decrementing.
  7. denny9167

    DS1307 datasheet question

    I couldn't post a link to some code , but it can be found at electrosome dot com. Some have used this code in programming a ds1307 with PIC, and I decided to port it to XC8, but it wasn't working in 12 hour time, bit 6 wasn't properly set and bit 5 toggles were wrong, the below code properly...
  8. denny9167

    DS1307 datasheet question

    I want to apologize, it is mostly my fault for posting this question, which I should have already known the answer. Most of the code I have seen that use adjustable time editing on RTC chips, toggle bit 5 at 1:00PM, particularly the code I was looking at, and that is where the problems begin, AM...
  9. denny9167

    DS1307 datasheet question

    Don't think so becuase it doesn't roll over to 13:00:00, It goes right to 1:00:00, so bit 6 is set for sure.
  10. denny9167

    DS1307 datasheet question

    I simply asked if the bit toggles automatically Here is the line of code that flips the bit hour = hour ^ 0x20; the code flips the bit during editing but, in run mode nothing happens to bit 5. There are at least two datasheets out there you want me to choose?????
  11. denny9167

    DS1307 datasheet question

    Don't know if its been asked, but the question is does bit 5 in the hour register toggle automatically when bit 6 is set and the chip is in 12 hour mode the datasheet doesn't say for sure, I have working code, and the clock is working in 12 hour mode, but the AM/PM isnt toggling every 12 hours...
  12. denny9167

    Converting from CCS to XC8

    Yes excuse my typos.
  13. denny9167

    SIRC and RF Transmission

    Ive just recently started working with RF modules , and there are many variaties. A lot of superregenerative types mostly, and for them the timing is critical for both the range and consistent AGC lock. Ive heard that Manchester coding would be best. So to be more specific, would SIRC timing...
  14. denny9167

    Converting from CCS to XC8

    Apologies, I mostly work the PIC12 family, and some PIC16 for some of my products. I have some include files that have alot of #defines for my ASM firmware that makes migrating back and forth really easy, Ive worked with a gentleman in the UK that helped me out.
  15. denny9167

    Converting from CCS to XC8

    Ive been working with MCC some, Im still trying to get a handle on the features and setup, Thanks I used CCS a few years ago to do a few projects, The performance of the chip suffers, I would just as soon as do something in ASM, than work with CCS code!

Part and Inventory Search

Back
Top