こちらの記事の中でセットアップしたArduinoサーバに、別のPCからStreamlitを立ち上げて電圧値を取得するようリクエストを投げることで、その結果を表示するwebサーバを立ち上げます。 以下の記事で作っていたソーラーパネルによる充電回路の様々な箇所と ...
Aurduino UNOだと「~」マークがあるピンはデジタル出力とアナログ出力を兼用できる。 値が連続的で、loop関数は常時動いている なので、上記のように常時変化させることもできる。 フルカラーLED RGB LEDで出力するので、色は0から255の種類。 RGB LEDの一番長い ...
Digital displays are useful for quick and accurate readout, but lots of people prefer the physical motion of a needle moving along a dial. For instance, many smartwatch users choose an analog face to ...
const byte pin_dir = A0; // ADC pin for Direct voltage const byte pin_rev = A2; // ADC pin for Reverse voltage const byte PeakResetPin = 7; // Pin for PeakReset button const byte maPin = 9; // PWM ...
一部の結果でアクセス不可の可能性があるため、非表示になっています。
アクセス不可の結果を表示する