Tony 2023-09-19 13:09:03 +01:00
commit 0226b83b60
4 zmienionych plików z 26 dodań i 22 usunięć

Plik binarny nie jest wyświetlany.

Przed

Szerokość:  |  Wysokość:  |  Rozmiar: 2.2 MiB

Plik binarny nie jest wyświetlany.

Przed

Szerokość:  |  Wysokość:  |  Rozmiar: 2.1 MiB

Plik binarny nie jest wyświetlany.

Przed

Szerokość:  |  Wysokość:  |  Rozmiar: 361 KiB

Wyświetl plik

@ -1,27 +1,31 @@
# Analog Clock on an RP2040. #
* Features:
* Direct Digital Synthesis (DDS)
* Dual 8 bit R-2R Digital to Analog converter
* Target device = Pico (also works on Pimoroni PGA2040)
* Set time through Putty terminal session over USB port
### Construction... ###
![Hardware](https://github.com/oddwires/RP2040/blob/master/Clock/Images/Pico_DAC_bb.jpg)
### Early Low res version on a digital scope... ###
![Hardware](https://github.com/oddwires/RP2040/blob/master/Clock/Images/IMG_1215.JPG)
### Looking so much better with the new clock face on a CRT scope... ###
![Hardware](https://github.com/oddwires/RP2040/blob/master/Clock/Images/IMG_1222.JPG)
There is also an asscociated <a href="https://www.instructables.com/Oscilloscope-Clock-on-a-Raspberry-Pi-Pico/" target="_blank" />Instructable</a> detailing the hardware.
* Supported commands
* ? - Help
* V - Version info
* S - Set time: Notation: HH:MM:SS or HH,MM,SS<br>
HH can be either 12 or 24 hour notation. e.g. '03:00:00' is the same as '15:00:00'<br>
Delimiter can be either ':' or ','. e.g. '15:00:00' is the same as '15,00,00'<br>
MM is in the range 0<=MM<=59<br>
SS is in the range 0<=SS<=59<br>
Leading zeros can be ommited. e.g. '1:2:3' is the same as '01:02:03'<br>
Trailing parameters can be ommited, and will be set to zero. e.g. '12:15' is the same as '12:15:00' and '12' is the same as '12:00:00'
https://github.com/oddwires/RP2040-code/assets/3483157/f9f16b66-ea9f-45c7-9ec1-8131fb11000c
* Limitations:
### Features:
* Two independent 8-bit Digital to Analog (DAC) channels using R-2R networks.
* Oscilloscope XY mode to plot an analogue clock.
* C++ program
* Single USB provides power, programming and control.
* Solder-less construction.
### Supported commands
* ? - Help
* T - Set time
* Notation: HH:MM:SS or HH,MM,SS
* HH can be either 12 or 24 hour notation. e.g. '03:00:00' is the same as '15:00:00'
* Delimiter can be either ':' or ','. e.g. '15:00:00' is the same as '15,00,00'
* MM is in the range 0<=MM<=59
* SS is in the range 0<=SS<=59
* Leading zeros can be omitted. e.g. '1:2:3' is the same as '01:02:03'
* Trailing parameters can be omitted. e.g. '12:15' is the same as '12:15:00'
* L - Set level
* Notation: 2 digit percentage 0<=NN<=100
* V - Version info
* X - Invert X axis
* Y - Invert Y axis
### Limitations:
* USB serial requires Windows (10 or later)