Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 23:05 02 Aug 2025 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 : Thinking about a very low power Micromite

     Page 3 of 3    
Author Message
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10315
Posted: 02:59pm 06 Nov 2018
Copy link to clipboard 
Print this post

More progress:

I've got IR working and by making the IR pin the same as the wakeup pin it means you can use an IR transmitter both to wake up the Armmite and then with a second press to instruct it what to do - in the case of the example below it just prints the IR code. Count inputs are working as is DS18B20. The COM port is working with RS485 support, and PWM works (only three pins).
In the case of DS18B20 the CPU speed is automatically adjusted temporarily if required just for the duration of the onewire communications so that the CPU speed can be very low but you can still read the sensor.
Still to do is getting the ADC working and then adding some display support.

Geoff has confirmed it is OK to distribute the firmware so I should be able to post something fairly complete in the next few days.

Do
CPU sleep 'sleep at 3.3uA until an IR signal is received
IR init a,b,irint 'set up to receive a real command
Do
Loop While c=0
c=0
IR close
Loop
End
'
Sub irint
Print "IR ",a,b
c=1
Pause 200 'needed to stop IR re-triggering the sleep immediately
End Sub
 
OA47

Guru

Joined: 11/04/2012
Location: Australia
Posts: 986
Posted: 07:49pm 06 Nov 2018
Copy link to clipboard 
Print this post

Fantastic work Peter.
OA47
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6283
Posted: 08:11pm 06 Nov 2018
Copy link to clipboard 
Print this post

The DHT22 humidity sensor was removed from the firmware and relegated to a CFUNCTION.
Any chance of it returning (or a CFUNCTION for it)?

Just planning where the new critters are likely to end up around here.

Jim

VK7JH
MMedit
 
palcal

Guru

Joined: 12/10/2011
Location: Australia
Posts: 1993
Posted: 09:03pm 06 Nov 2018
Copy link to clipboard 
Print this post

@ Jim
RS Components have them $25 but its free courier delivery
Nucleo Dev Board
"It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all"
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6283
Posted: 09:25pm 06 Nov 2018
Copy link to clipboard 
Print this post

  palcal said   @ Jim
RS Components have them $25 but its free courier delivery

No problems here. I was part of the early rush at Element14.
Mine should turn up this week.

Jim

VK7JH
MMedit
 
Bill7300
Senior Member

Joined: 05/08/2014
Location: Australia
Posts: 159
Posted: 09:29pm 06 Nov 2018
Copy link to clipboard 
Print this post

Supply could tighten up further, as I see element14 has only 30 available globally. My order is in, so fingers crossed here.
Bill
 
Andrew_G
Guru

Joined: 18/10/2016
Location: Australia
Posts: 871
Posted: 10:11pm 06 Nov 2018
Copy link to clipboard 
Print this post

Jim,
are you thinking DS18B20/DHT22 with an HC-12 that is woken up every x minutes if a value has changed? (I've JUST finished converting my 3x "AA" powered units to 5V).

Anyone want to design a carrier PCB?

Andrew

(Off topic but related to the run on supplies - 40 years ago, in the early days of good dehydrated food and computer auto-stocking, I purchased a month's worth for 3 people from a UK supermarket (cleaned them out). I came back from the Himalayas to find they had trebled the shelf space for that product! I kept watching and they hardly sold any more - after a few months they returned to the original shelf space . . .) A.
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10315
Posted: 10:45pm 06 Nov 2018
Copy link to clipboard 
Print this post

  Quote  The DHT22 humidity sensor was removed from the firmware


Not in my versions
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6283
Posted: 12:59am 07 Nov 2018
Copy link to clipboard 
Print this post

  matherp said  
  Quote  The DHT22 humidity sensor was removed from the firmware


Not in my versions


My hothouses will be happy
and that makes my wife happy
and that makes me happy.

Jim

VK7JH
MMedit
 
viscomjim
Guru

Joined: 08/01/2014
Location: United States
Posts: 925
Posted: 02:17am 07 Nov 2018
Copy link to clipboard 
Print this post

@matherp

This port is most excellent and very exciting. Thank you for your effort. uA current is going to lead to very interesting projects!!!!
 
     Page 3 of 3    
Print this page


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

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025