![]() |
Forum Index : Microcontroller and PC projects : Thinking about a very low power Micromite
![]() ![]() |
|||||
Author | Message | ||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10315 |
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: AustraliaPosts: 986 |
Fantastic work Peter. OA47 |
||||
TassyJim![]() Guru ![]() Joined: 07/08/2011 Location: AustraliaPosts: 6283 |
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: AustraliaPosts: 1993 |
@ 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: AustraliaPosts: 6283 |
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: AustraliaPosts: 159 |
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: AustraliaPosts: 871 |
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 KingdomPosts: 10315 |
Not in my versions ![]() |
||||
TassyJim![]() Guru ![]() Joined: 07/08/2011 Location: AustraliaPosts: 6283 |
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 StatesPosts: 925 |
@matherp This port is most excellent and very exciting. Thank you for your effort. uA current is going to lead to very interesting projects!!!! |
||||
![]() ![]() |
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |