Search found 1189 matches

by chipfryer27
Sat Nov 09, 2024 5:28 am
Forum: General
Topic: ON_OFF DISPLAY TM1637
Replies: 30
Views: 283

Re: ON_OFF DISPLAY TM1637

Hi Unless sleeping you will struggle to get anything like that. Also you have a minimum voltage that your display / chip will work at. Four AA will give you around six volts (e.g. from Duracell or similar) which is higher than your PIC/display can handle. From the picture I'm guessing that those bat...
by chipfryer27
Sat Nov 09, 2024 2:59 am
Forum: General
Topic: ON_OFF DISPLAY TM1637
Replies: 30
Views: 283

Re: ON_OFF DISPLAY TM1637

Hi I will try and have a look later but if you are starting again at zero then it may be an issue relating to the WDT. If it is timing out unexpectedly then it would start the program from the beginning, or if you are jumping to connection point"A" unexpectedly that will do the same. Not r...
by chipfryer27
Fri Nov 08, 2024 11:30 am
Forum: General
Topic: ON_OFF DISPLAY TM1637
Replies: 30
Views: 283

Re: ON_OFF DISPLAY TM1637

Hi Keeping the leading zero's off unless required as per Martin's recommendation will improve your battery life. You may also want to explore putting the chip to sleep (timer1 can still function) and maybe using the button as an interrupt to wake on demand. This will also help improve life as basica...
by chipfryer27
Thu Nov 07, 2024 11:51 am
Forum: General
Topic: ON_OFF DISPLAY TM1637
Replies: 30
Views: 283

Re: ON_OFF DISPLAY TM1637

Hi Martin

Thanks for the added advice in reducing the needed characters. That will certainly reduce consumption.

However in the original post, the On/Off did not appear to work in hardware. Did it work for you?

Regards
by chipfryer27
Thu Nov 07, 2024 5:16 am
Forum: General
Topic: ON_OFF DISPLAY TM1637
Replies: 30
Views: 283

Re: ON_OFF DISPLAY TM1637

Hi If your design can support, you could perhaps use the internal 32KHz osc whilst sleeping and change up to a faster one when needed as this would draw minumim power. How accurate does your 24hrs cycle need to be? I have had a look at the datasheets I can find and none go into any detail regarding ...
by chipfryer27
Thu Nov 07, 2024 3:12 am
Forum: General
Topic: ON_OFF DISPLAY TM1637
Replies: 30
Views: 283

Re: ON_OFF DISPLAY TM1637

Hi I'll look up the datasheet later but I would imagine that On/Off would consume less. Matrix will most likely see this post themselves and look at the component. To save more power, you could perhaps have your chip sleep until it needs to do something, if that's possible in your application. Regards
by chipfryer27
Thu Nov 07, 2024 2:09 am
Forum: General
Topic: ON_OFF DISPLAY TM1637
Replies: 30
Views: 283

Re: ON_OFF DISPLAY TM1637

Hi I can only simulate but it does not look like the On/Off command is working. However you could try just clearing the display. In the attached the counter increases every 300mS or so. Nothing is displayed until you press the button. I do not know how much this will save in battery power compared t...
by chipfryer27
Tue Oct 29, 2024 4:36 am
Forum: General
Topic: How to simulate a frequency to be read by a pin
Replies: 4
Views: 376

Re: How to simulate a frequency to be read by a pin

Hi

I'm not sure I understand fully. Do you want something to provide a pulse at an input? When received your program does something? Could you perhaps use a push button to simulate? Each press would be an incoming pulse.

Regards
by chipfryer27
Sun Oct 27, 2024 10:00 am
Forum: General
Topic: How do I get out of the WaituntilHigh macro?
Replies: 16
Views: 1138

Re: How do I get out of the WaituntilHigh macro?

Hi

Following on from Martin above, and without seeing your chart, it may also be able to use an interrupt. Your main does something until your pulse triggers the interrupt.

Regards
by chipfryer27
Fri Oct 25, 2024 5:03 am
Forum: User Components
Topic: MONITOR BATTERY LEVEL / FUEL LEVEL
Replies: 7
Views: 876

Re: MONITOR BATTERY LEVEL / FUEL LEVEL

Hi That "rod" one is the one I was referring to, but they are usually very, very expensive. Not used the TL136 before, but so far I'm reading they are qualified for water. Not sure how long they will last in kerosene / petrol / diesel. Whilst the stainless steel will be OK you need to be c...