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 sa_indo

  1. S

    Using WDT to interrupt SLEEP, but MPLAB SIM gets stuck at SLEEP instruction.

    Solved the problem, MPLAB SIM problem, code is working....
  2. S

    [SOLVED] Reducing Power Consumption on PIC16F628A in SLEEP mode

    I guess if you don't understand ASM then we are stuck, I've studied it now and too far down to go back now. Wrote complete code in ASM, will look for different forum and help that can assist in ASM. Thank you.
  3. S

    [SOLVED] Reducing Power Consumption on PIC16F628A in SLEEP mode

    Thank you, my eyes are square now from all the reading. Will continue in the morning.
  4. S

    [SOLVED] Reducing Power Consumption on PIC16F628A in SLEEP mode

    Yes, I want to save power, but WDT has max timeout of 2.3s, so will wakeup every 2.3s anyway. Then can sample IO's OR do I just set an interrupt on RB0 with a seperate routine?
  5. S

    [SOLVED] Reducing Power Consumption on PIC16F628A in SLEEP mode

    Done that, this is how far I am now: list p=16F628A radix hex org ;Definitions STATUS equ 03h ;Set status address TRISB equ 86h ;Set TRISB address PORTB equ 06h ;Set PORTB address ;Initialisation bcf STATUS,0 ;Make sure we are in bank 0 clrf 01h ;Address of the other...
  6. S

    [SOLVED] Reducing Power Consumption on PIC16F628A in SLEEP mode

    I have built the circuit on a bread board, have everything ready, but still waiting for the programmer. In the mean time I am trying to write some code to start with once I have the programmer.
  7. S

    [SOLVED] Reducing Power Consumption on PIC16F628A in SLEEP mode

    No, I don't, I'm trying to define it so you can help. :shock:
  8. S

    [SOLVED] Reducing Power Consumption on PIC16F628A in SLEEP mode

    Hi speedEC, Ready to start writing some code, but not sure which route to take? Do I put the PIC in sleep or do I use the watcdogtimer to do my 8 hour loops? When the PIC starts up TRISB will be set to 00000101, under normal operation RB0 will be low on start-up, the PIC should stay in sleep...
  9. S

    [SOLVED] Reducing Power Consumption on PIC16F628A in SLEEP mode

    Thanks, ordered the PICkit 3 then, 7 day delivery from US though! 8-O
  10. S

    [SOLVED] Reducing Power Consumption on PIC16F628A in SLEEP mode

    Any advice on buying a programmer? Completely confused after spending hours on the net ;) **broken link removed** - is the PicStart+, DV003001 **broken link removed** is the Olimex PICkit 3 looks ok, but will need an external development board or need to build it up? Or maybe this one? MCUmall...
  11. S

    [SOLVED] Reducing Power Consumption on PIC16F628A in SLEEP mode

    Thank you. The GSM module runs from same source as PIC 3.5V battery. But for some reason the IO's are at 2.8V CMOS with a max of 3.3V. I have made provision on the PCB for inline resistors between IO connections to compensate for the minimal voltage difference, but will run some tests without it...
  12. S

    [SOLVED] Reducing Power Consumption on PIC16F628A in SLEEP mode

    Agree ;o) The IO's on the GSM runs 2.8V CMOS (Max 3.3V), so the 3.5V from the PIC is out of range. Inserted 10k resistors to compensate for the voltage difference, that ok?
  13. S

    [SOLVED] Reducing Power Consumption on PIC16F628A in SLEEP mode

    Thank you, will keep it in mind. Will start writing the code this tomorrow, will post as soon as I have enough down.
  14. S

    [SOLVED] Reducing Power Consumption on PIC16F628A in SLEEP mode

    Hi, thank you, understand the power part and will do that. But why the resistors on the IO's, those resistors will consume 3.5mA when high, which defeats the purpose of the power saving? The IO's I selected on the GSM module is internally pulled up with 47k resistors.
  15. S

    [SOLVED] Reducing Power Consumption on PIC16F628A in SLEEP mode

    Thank you. Will do that. C4, I use a 6800uF Aluminium Electrolytic 6.3V Capacitor, this is the supply line to the GSM as well and the current peak on that will be bigger. I added the 0.1uF to the PIC supply, correct? Herewith the updated drawing: Herewith the updated Pins on FlowChart:

Part and Inventory Search

Back
Top