Search results

  1. P

    Help with programming for interrupt from RTC

    Thanks for the useful information! To get started with setting the alarms, does this look like a good template/guide to use?: https://picaxeforum.co.uk/threads/g...ief-comparison-of-some-other-rtc-chips.23739/
  2. P

    Help with programming for interrupt from RTC

    Oops, I mistook "X2" for "M2". Probably I should have gone with the X2 but I just purchased 7 of the M2 boards and chips. I wonder what the polling will do to the power consumption. I'll try with your information to set up the polling. Any more help with getting started on this would be...
  3. P

    Help with programming for interrupt from RTC

    So I've misinterpreted the HINTSETUP documentation? It seemed to say that the interrupt would wake the PICAXE from sleep: "The X2 parts have up to 3 hardware interrupts pin (INT0, INT1, INT2) which are activated/deactivated by the hintsetup command. The hardware interrupt pins constantly...
  4. P

    Help with programming for interrupt from RTC

    Hi, I am having trouble putting together the code for programming the 14M2 and the DS3231 to set and use alarm interrupts. I've been searching all over for examples to use; perhaps I'm overlooking a source of information but presently I'm just stuck. I need to have the 14M2 sleep until it...
  5. P

    14M2 time-lapse controller

    Thank you westaust55. The voltage regulator is adjustable and I need to end up with 8.5 V for the camera--so it seems that could make up for the voltage drop. The grounds for both the voltage regulator and camera go to a single Darlington output pin? Also, I wonder what would be the power loss...
  6. P

    14M2 time-lapse controller

    Thanks for the replies! I am still learning more about the suggestions for the Darlington chip; I am not finding much for practical-use examples. My initial question is, I think it can control voltages other than the 4.5 volts that the microcontroller uses? So, the 11.1 volts for the camera is...
  7. P

    14M2 time-lapse controller

    Hi Buzby, thanks for the reply. The converter is a buck converter--it's used only when the power is switched on for the two minutes. Yes, I was guessing that the power consumption for the AXE117 would not be much of a consideration--unless it draws power while the 14M2 sleeps. I don't know how...
  8. P

    14M2 time-lapse controller

    I am making a long-term time-lapse camera controller, using as little power as possible--it needs to work on battery power for months. I have the 14M2 sleeping until a real-time clock (DS3231) sends an alarm output to one of the 14M2's input pins. The 14M2 wakes up and using one of its pins...
  9. P

    Help with 14M2 and latching relay

    Dang, it seems that the problem was what I least expected--the relay itself. Although it was new, when I replaced it, the 14M2 worked just as the 08M2 setup does. Sorry to take you down a bit of a rabbit hole, but knowing that I was doing things correctly helped me do the replacement, which I'd...
  10. P

    Help with 14M2 and latching relay

    Hi hippy, The serial terminal says: Receive Buffer: 1 mainmainmainmainmain I hear weak clicking but there is no switching. I'll try replacing the relay next.
  11. P

    Help with 14M2 and latching relay

    Hi erco and hippy; thanks very much for the replies. I can try to put together a circuit diagram but am a beginner at that and it will take a while. So I'll first describe what I've done. I tried to just replicate what worked with the 08M2. With the 08M2 I used pins C.0 and C.4 to switch the...
  12. P

    Help with 14M2 and latching relay

    Hi, I needed another output pin and so in my project am switching from using an 08M2 to a 14M2. I was driving a latching relay. The 08M2 output pins worked switching the relay but with the 14M2 I hear just a faint click from the relay. I've spent a while getting to this point. Here is the replay...
  13. P

    "Breakpoint" question

    Hi, I have programmed 10 Picaxe 08M2Xs with PE6, all with the same program. When I went back to solve a problem I noticed that part of the program was highlighted in red, with a flag symbol to the left. In looking this up, I think that called a "breakpoint". I don't know what that is; my main...
  14. P

    Power consumption of DS3231 AT24C32 board

    Hi, I am trying to use a Picaxe 08M2 Protoboard with a DS3231 AT24C32 RTC module like this one: https://www.amazon.com/DS3231-AT24C32-Memory-Arduino-Replace/dp/B01L28A70Q/ref=sr_1_16?s=electronics&ie=UTF8&qid=1492633395&sr=1-16&keywords=ds3231 The Picaxe wakes up once a day to check the time...
  15. P

    Use camera remote shutter cable with Picaxe

    The contact will be on the stereo-jack side in this diagram:
  16. P

    Use camera remote shutter cable with Picaxe

    Hi, with electronics I am obviously a complete novice at best. How do I use a Picaxe to trigger a camera shutter via the remote shutter port? As I understand it the Picaxe outputs are pins that can be switched between high and low voltage. This isn't what's needed at the cable--what's needed, I...
  17. P

    Can this program for a timed switch be improved? O8M2, DS1307 clock, latching relay.

    I wonder whether anyone with Picaxe programming experience would be willing to take a look at what I've put together for a power supply switch program, to see whether I'm being as efficient with the Picaxe power as I can be? I've put together a Picaxe 08M2, a DS1307 clock, and a latching relay...
  18. P

    Reading from a DS1307 RTC: compare BCD with decimal

    Hi, I am hoping to get some help reading data from a DS1307 real-time-clock and using the data in a PICAXE program. I know how to set the clock. But how do I read the year data and use it? I'd like to say in the program, "if year > 2016 then". But how do I compare my decimal "2016" with what...
  19. P

    08M2, RTC, MOSFET to delay 11-V switch

    Hi folks, I have a project which uses the 08M2. I am reading the manual but am finding that I don't have some of the background for that, so I thought I'd try asking here to see whether I could speed up the project a bit. I am trying to time-delay the start of a system that takes time-lapse...
Top