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.
today I took some parts: pico w, RTC module, SD-Card Module, DiP Pi Power Master, some distance holders, glue and created this mini computer.
It is certainly the smallest I ever made :-)
The "mini" can store data and programs on the SD-Card, It has date & time for logging measurements, it can be received by WLAN when using MicroPython, it has an UPS with 10000 mAh akku and a power management with DC input 6-18 volts and has a size of a matchbox.
I tested the SD-Card with an Raspberry Pi 4 Card and listed the files using Picomite "files" and the "list" commands.
regards -andreas Edited 2022-08-18 04:47 by andreas
Nimue
Guru
Joined: 06/08/2020 Location: United KingdomPosts: 367
Posted: 09:04pm 17 Aug 2022
Copy link to clipboard
Print this post
Looks good.
Is that a Pico W? I thought MMBasic didnt run on that flavour? Or is that why you say "it can be received by WLAN when using MicroPython"?
Not seen that before, but the DiP-Pi PIoT version with WiFi etc looks interesting.
NEntropy is not what it used to be
andreas
Senior Member
Joined: 07/12/2020 Location: GermanyPosts: 187
Posted: 05:39am 18 Aug 2022
Copy link to clipboard
Print this post
Yes, PicoMite Version 5.070515. And yes, WLAN is not supported by PicoMite. Switching the "operating system" is a matter of seconds. When wireless is required - there is MicroPython
-andreas
andreas
Senior Member
Joined: 07/12/2020 Location: GermanyPosts: 187
Posted: 05:58am 18 Aug 2022
Copy link to clipboard
Print this post
After connecting the Dip-Pi Power Master, I used the first 7 Pins of the Pico W to connect the two external devices (SD-Card, RTC). They are listed as "free" or not used by the power master itself.
Here is a PicoMite program to test the "mini". It was run with only the akku connected. No external power source, no USB cable.
It logs: VBAT, EPWR and VSYS.
When connecting a solar panel EPWR will show somting like 16-19 volts and charging the battery. But this morning the 3.7V battery was charged fully to 4.22 volts.
The output of this program:
What I don't understand is the oscillating value of VSYS when using a pico w? Every second value shows VSYS the other value is near zero volts.
-andreas Edited 2022-08-18 17:00 by andreas
andreas
Senior Member
Joined: 07/12/2020 Location: GermanyPosts: 187
Posted: 07:09am 18 Aug 2022
Copy link to clipboard
Print this post
Update with time&date logging:
'Option DISPLAY 50,100 'Option COLOURCODE on
Dim m26 As float = 0.0 ' running mean of VBAT Dim m27 As float = 0.0 ' running mean of EPWR Dim m29 As float = 0.0 ' running mean of VSYS
Dim n26 As integer = 0 ' number ob values counted within running mean Dim n27 As integer = 0 Dim n29 As integer = 0
Const length = 10
Dim fname$ = Right$(Str$(Epoch(now)),8)+".txt" ' generic filename