Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 04:27 27 Nov 2024 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : Duinomite & low standby current

Author Message
OA47

Guru

Joined: 11/04/2012
Location: Australia
Posts: 926
Posted: 04:01pm 08 Feb 2013
Copy link to clipboard 
Print this post

" DuinoMite schematic allows the PIC32 to be put into low power mode with a working 32 Khz oscillator, and consuming only 30 uA with all peripherals shut down. To keep the power at minimum we had to add a FET, which will power on and off the SD-card, CAN, and RS232 drivers."

I can see the 32Khz OSC on the duinomite mini but is the FET cct there?

Can anyone elaborate on how this low power mode is implimented?
 
bigmik

Guru

Joined: 20/06/2011
Location: Australia
Posts: 2914
Posted: 05:28pm 08 Feb 2013
Copy link to clipboard 
Print this post

  Graeme Meager said  

Can anyone elaborate on how this low power mode is implimented?


Hi Graeme,

Firstly, The support is in the DMBasic firmware and is not supported in MMBasic so you will have to use line numbers and not the nice new features of MM4.

Secondly, the code was experimental, I really dont know if it was successfully debugged and as to which versions of DMBasic it applied to... it has been a LOoong time since I played with DMBasic..

I will quote some emails, with names deleted to protect the innocent/guilty, that were from the development group around mid Dec. 2011 so that may give a good referrence as to which firmware to try...


Ok Quotes (from emails) start now (in BOLD). The battery mentioned here is the LiPo battery for the mega/eMega.
_____________________________________________



######## i have added a sleep command and without disabling all the modules like for video ect other wise it would have to do like a reset to reinit all the modules to get video and kb back again ..
i can get the power down from about 84ma to 12ma and it will be back to where it was before sleep :)
the command will be
sleep MM,DD,HH,MM,SS ' so would be Month Day Hour Minute Seconds ..
but only uses what is entered
sleep 45 will sleep for 45 seconds
sleep 10,00 will sleep for 10 minutes
sleep 1,10,00,00 will sleep till 1st of the month at 10am
sleep 01,01,10,00,00 will sleep till new years

is that too much ?

######

_____________________________


about done with the sleep part and added pin(21) for battery voltage
logfile from last night logged battery voltage every 10 minutes while charging

basic code

10 SLEEP 10 ' sleep for 10 minutes
30 PIN(0)=1 ' flash green led for a bit
40 PAUSE 500
50 PIN(0)=0
60 OPEN "testlog.txt" FOR append AS #1
65 PRINT DATE$,TIME$,PIN(21) ' write date time battery voltage to file
70 PRINT #1,DATE$,TIME$,PIN(21)
80 CLOSE #1
90 GOTO 10

12-14-2011 01:17:42 1.17788
12-14-2011 01:27:42 1.18271
12-14-2011 01:37:42 1.17896
12-14-2011 01:47:42 1.18486
12-14-2011 01:57:42 1.18594
12-14-2011 02:07:42 1.18379
12-14-2011 02:17:42 1.19023
12-14-2011 02:27:42 1.19722
12-14-2011 02:37:42 1.20205
12-14-2011 02:47:42 1.20151
12-14-2011 02:57:42 1.20688
12-14-2011 03:07:42 1.20903
12-14-2011 03:17:42 1.21011
12-14-2011 03:27:42 1.20742
12-14-2011 03:37:42 1.21011
12-14-2011 03:47:42 1.21064
12-14-2011 03:57:42 1.21602
12-14-2011 04:07:42 1.20957
12-14-2011 04:17:42 1.21548
12-14-2011 04:27:42 1.21763
12-14-2011 04:37:42 1.22031
12-14-2011 04:47:42 1.21709
12-14-2011 04:57:42 1.22139
12-14-2011 05:07:42 1.22139
12-14-2011 05:17:42 1.223
12-14-2011 05:27:42 1.22407
12-14-2011 05:37:42 1.22783
12-14-2011 05:47:42 1.22891
12-14-2011 05:57:42 1.23213
12-14-2011 06:07:42 1.23535
12-14-2011 06:17:42 1.23643
12-14-2011 06:27:42 1.23589
12-14-2011 06:37:42 1.24072
12-14-2011 06:47:42 1.24287
12-14-2011 06:57:42 1.2375
12-14-2011 07:07:42 1.24771
12-14-2011 07:17:42 1.24233
12-14-2011 07:27:42 1.24609
12-14-2011 07:37:42 1.25039
12-14-2011 07:47:42 1.25254
12-14-2011 07:57:42 1.25361
12-14-2011 08:07:42 1.25684
12-14-2011 08:17:42 1.26167
12-14-2011 08:27:42 1.26328
12-14-2011 08:37:42 1.26113
12-14-2011 08:47:42 1.26812
12-14-2011 08:57:42 1.26812
12-14-2011 09:07:42 1.26812
12-14-2011 09:17:42 1.27563
12-14-2011 09:27:42 1.27617
12-14-2011 09:37:42 1.27563
12-14-2011 09:47:42 1.28799
12-14-2011 09:57:42 1.2896
12-14-2011 10:07:42 1.29551
12-14-2011 10:17:42 1.30356
12-14-2011 10:27:42 1.3041


I hope that helps, if you cant find the correct firmware let me know and I will try to did it up from my million emails of the time but I am pressed for time to peruse them right now to dig deeper.

The last information I have on `official' DMBasic firmware is located HERE

Regards,

Mick
Mick's uMite Stuff can be found >>> HERE (Kindly hosted by Dontronics) <<<
 
JohnS
Guru

Joined: 18/11/2011
Location: United Kingdom
Posts: 3802
Posted: 10:43pm 08 Feb 2013
Copy link to clipboard 
Print this post

Start with the DM not the DM-mini schematic to look for the FET.

John
 
Print this page


To reply to this topic, you need to log in.

© JAQ Software 2024