Real time clock + external interrupt in one PIC possible?


Closed Thread
Results 1 to 34 of 34

Hybrid View

  1. #1
    Join Date
    Jan 2008
    Location
    Selm, Germany
    Posts
    116


    Did you find this post helpful? Yes | No

    Default Re: Real time clock + external interrupt in one PIC possible?

    Hello Henrik,
    no I´m not out of interest. I bought some 18F45K22 and 16Mhz crystal generators and then realized my PICKIT2 doesn´t support this device. I really appreciate your help and I´m astonishied about your speed. But I need some more time to get
    into the hardware. I´ll realize that with a 18F1320 because i am already working on a project : a water pump, fuel pump and fan controller. I´m shure the configs for the speedo project will drive me crazy.

  2. #2
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,615


    Did you find this post helpful? Yes | No

    Default Re: Real time clock + external interrupt in one PIC possible?

    If you look at this thread: http://www.microchip.com/forums/m540021.aspx I Think you'll find that you can get your PICKit2 working with the 45K22. If you don't wan't to mess around just get a PICKit3 from Digikey, Mouser or Microchip Direct and be done with it :-)

    The timer code, as written, expects an 8MHz Clock, you'll need to change some things if you're using 16MHz, the CONFIG isn't one of them though. It should run fine with the CONFIG as posted.

    /Henrik.

  3. #3
    Join Date
    Jan 2008
    Location
    Selm, Germany
    Posts
    116


    Did you find this post helpful? Yes | No

    Default Re: Real time clock + external interrupt in one PIC possible?

    Hello Henrik,

    I´m stupid. Looked at the cristals and they were the right 8 MHz ones. Ordered the PICkit 3 yesterday so i can move along.

  4. #4
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    3,172


    Did you find this post helpful? Yes | No

    Default Re: Real time clock + external interrupt in one PIC possible?

    POST PICTURES!!!

    I get a kick out of looking at people's projects. It gives me ideas on how to do stuff.

    Art's slacking off with posting youtube videos, so someone else has to PIC up the slack.

    Robert
    My Creality Ender 3 S1 Plus is a giant paperweight that can't even be used as a boat anchor, cause I'd be fined for polluting our waterways with electronic devices.

    Not as dumb as yesterday, but stupider than tomorrow!

  5. #5
    Join Date
    Jan 2008
    Location
    Selm, Germany
    Posts
    116


    Did you find this post helpful? Yes | No

    Default Re: Real time clock + external interrupt in one PIC possible?

    Hello Demon,

    i will post pictures. my computer in the basement that i use for PIC programming runs on XP and has no internet connection. I have to learn how to speed up posting mobile phone pics to my email account and then to here.....no digital native I am.

  6. #6
    Join Date
    Jan 2008
    Location
    Selm, Germany
    Posts
    116


    Did you find this post helpful? Yes | No

    Default Re: Real time clock + external interrupt in one PIC possible?

    Name:  Anita Damenpokal Brilon 08 2017.jpg
Views: 2990
Size:  189.3 KB
    This is my wife and the car that needs an electronic update.
    Bought PBP3 gold yesterday.
    will try Henriks code with PBP3.

  7. #7
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    3,172


    Did you find this post helpful? Yes | No

    Default Re: Real time clock + external interrupt in one PIC possible?

    Now you have to post a video. I want to hear those side pipes growl.
    My Creality Ender 3 S1 Plus is a giant paperweight that can't even be used as a boat anchor, cause I'd be fined for polluting our waterways with electronic devices.

    Not as dumb as yesterday, but stupider than tomorrow!

Similar Threads

  1. real time clock
    By maria in forum Code Examples
    Replies: 44
    Last Post: - 1st March 2022, 12:13
  2. Real time clock + external interrupt in one PIC possible?
    By Mugelpower in forum mel PIC BASIC
    Replies: 1
    Last Post: - 10th September 2017, 17:11
  3. Real Time Clock
    By in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 2nd June 2012, 04:52
  4. Real time clock
    By PlantBob in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 10th February 2011, 13:01
  5. Real Time Clock
    By savnik in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 8th December 2006, 02:02

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts