High speed pic scaler for Survey meter for PIC16F627A translation to PIC18F2855?


Closed Thread
Results 1 to 8 of 8

Hybrid View

  1. #1
    Join Date
    May 2013
    Location
    australia
    Posts
    2,645


    Did you find this post helpful? Yes | No

    Default Re: High speed pic scaler for Survey meter for PIC16F627A translation to PIC18F2855?

    before you go much further ;
    how do you plan to get your code into the ECIO28P , it uses some sort of bootloader .
    will the bootloader accept a HEX file? ,will it affect operation ? can you ditch the bootloader if you need to?


    Not sure what I set the speed to I am wanting to set the speed to 48Mhz. but this is the internal clock. 4Mhz is external. Do I DEFINE OSC 20 'set for 4MHz xtal' ? What about the internal clock? How does one use that?
    depends will the bootloader allow you to alter the config words ? most won't
    what accuracy do you need intclk is 1-2% acc ,ext 4mhz res ? , original had a xtal and was probably much better than either of these choices

    DEFINE LCD_DREG PORTA ' LCD on port a
    DEFINE LCD_DBIT 0 ' Data bits A0..A3
    DEFINE LCD_RSREG PORTA ' RS on PORTA
    DEFINE LCD_RSBIT 1 ' RS on A1
    DEFINE LCD_EREG PORTA ' E on PORTA
    DEFINE LCD_EBIT 2 ' E on A2

    DEFINE LCD_BITS 4 ' LCD 4 bit mode
    if porta 0:3 is the lcd data bus
    then porta 1 and 2 are already used and cannot be rs and e as well
    draw yourself a schematic using the ECIO28P footprint and how you think it will connect to everything else

    input portB.3 'set to input as the board connects this pin (9) to the LM358 output pin 7
    this means what ? is it the "probe counter output" ?
    if so is portb.3 suitable [I don't think so hint timer1 ext clk]
    Warning I'm not a teacher

  2. #2
    Seoullasers's Avatar
    Seoullasers Guest


    Did you find this post helpful? Yes | No

    Default Re: High speed pic scaler for Survey meter for PIC16F627A translation to PIC18F2855?

    The ECIO28P has a 4Mhz external Xtal, not a 10Mhz one.
    Setting the internal clock would make it faster, no? 48Mhz?

    input portB.3/pin9 (should be Pin23) is where the pulses come into the Pic to be counted at high speed.

    The bootloader does take .HEX files.. yes.. just not .bas files.


    I'm not sure on the LCD screen wiring... I'll have to have another look at a wiring guide for a 1602 series LCD on ECIO28P.

Similar Threads

  1. High Speed Oscillator question
    By Tina10 in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 9th July 2012, 10:29
  2. Pic based Wind Speed meter
    By Bobbo_ZA in forum mel PIC BASIC Pro
    Replies: 31
    Last Post: - 1st November 2011, 15:14
  3. Replies: 0
    Last Post: - 7th August 2008, 09:02
  4. High Speed Serial Comm PC - PIC and PIC - PIC
    By manumenzella in forum mel PIC BASIC Pro
    Replies: 23
    Last Post: - 16th January 2007, 21:55
  5. Need help, high speed D/A converter, see code
    By rpatel in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 20th December 2004, 01:33

Members who have read this thread : 0

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