A miniature device depicting the relative position of the planets in Solar System.
The software is written in MicroPython 1.19 and uses a custom build from Pimoroni which includes drivers for the display. Download it from the official Pimoroni repository here. Please note that Pico and Pico W require different UF2 files. Here is a direct link for Pico and for Pico W
To upload and configure your Pico Solar System you will need to install rshell. Make sure you have pip installed.
pip3 install rshell
git clone https://github.com/dr-mod/pico-solar-system.git
cd pico-solar-system
(If using Wi-Fi), rename wifi_config_sample.py to wifi_config.py and edit to include your Wi-Fi information
Copy required python files to your pico
rshell
cp *.py /pyboard/
import time
import ds3231
rtc = ds3231.ds3231()
rtc.set_time(time.time())
To account for a timezone you might want to apply an offset to the UTC timestamp in seconds:
rtc.set_time(time.time() + 60 * 60 * (+ OFFSET_IN_HOURS) )
```
A 3d printable case for this project can be found here.
A remixed case for the Pico W and display (without the RTC) can be found here.
If you would like to support what I do and keep me caffeinated, you can do it here:
I got it working a few months ago and all was good..i updated to the new release uf2. Updated the py scripts. Not able to get it working again. ds3231 inst defined. Using a Pico (no wifi) and a generical DS3231 board wired to i2c (pin 20 and 21). Tried rshell on ubuntu and Thony on windows. The REPL comands worked, no errors :)
Traceback (most recent call last):
File "main.py", line 218, in
Any ideas? Thanks
raspberry-pi-pico planets solar-system micropython clock