banner
ニュース センター
本当に素晴らしい体験を得るために、当社の幅広い世界クラスの製品とサービスからお選びください。

E付きパーキングディスク

Jul 16, 2023

電子技術を車両に統合するという観点から見ると、自動車分野の進化は非常に高いレベルに達しています。 事実上すべての機能面は、高度なセンサー、デジタル インターフェイス、マイクロプロセッサー、および関連ソフトウェアによって最適に管理されます。 しかし、現在では「車輪付きコンピューター」と考えられるもののコックピットでは、多くの場合は質素なボール紙で作られ、手動で操作される不可欠な機器を見つけるのは依然として簡単です。 規制区域内での駐車開始を知らせる装置「タイムディスク」です。 何十年にもわたって、このアクセサリーはボール紙、プラスチック、またはその他のより高級な素材で作られており、ほとんど変わっていませんが、最近になっていくつかのデジタルモデルが市場に登場しました。 この記事で提案されているものは、ボタン 1 つで到着時刻を設定する、4 つの言語から選択できるメッセージ、現在の時刻と日付のオンデマンド表示など、いくつかの特別な機能を備えた最新の電子ペーパー ディスプレイを使用しています。 、周囲の温度、バッテリー残量。

比較的最近の発明 (1996 年) である e-インク (電気泳動インク) 技術は、一般的に電子ペーパーと呼ばれ、その成功は主に、従来の書籍に代わる電子的な手段を提供するポータブル デバイスである電子ブック リーダーでの使用によるものです。紙のような読書体験と、明るい場所でも完璧な視認性を実現します。 しかし、この技術の他の分野への普及につながった特徴は、電源がない状態でも長時間情報を表示し続けることができるため、必要な情報だけを必要とするデバイスの実現が可能になることです。画面を更新(リフレッシュ)するのに必要な時間。 小売店で人気が高まっている典型的なアプリケーションは、電子ラベルや値札であり、多くの場合、紙のものと区別するのが困難ですが、必要に応じて、ワイヤレス技術を使用して遠隔地からでも更新できます。 電子インクの仕組みをより深く理解するには、1私たちを助けてくれる。

最も単純な白黒表示バージョンでは、正 (白) および負 (黒) に帯電した顔料が、ピクセルを表す微小球に含まれる液体中に懸濁されています。 適切な電場によって生じる分極により、反対の符号の電荷 (電気泳動) に引き寄せられた色素が位置を決めて黒または白のピクセルを作成し、目的の画像を構成します。 この時点で、電場が取り除かれても、顔料は新たな電荷が印加されるまで所定の位置に留まります。 特に広角からの視認性は周囲光からの反射によって実現され、これがない場合には特別な光源が必要となります。 ただし、興味深いことに、直射日光の下では、画面の更新が正しく行われません。 この動作原理に基づいて、大型でフルカラーのディスプレイを含む多数のタイプのディスプレイが実現されていますが、依然として非常に高価です。 同時に、専門小売店による小型の白黒、グレースケール、または限定色のディスプレイを手頃な価格で提供するものが増えてきました。 その一方で、私がインターネットで見る限り、これらのコンポーネントに対する DIY 愛好家の関心はそれほど高まっていません。 私の意見では、この理由はさまざまな重要な点にあると考えられます。これは、市場に出回っているモデル、バージョン、サイズ、ドライバー、色の組み合わせの過剰な数などの要因により、このプロジェクトの開発中に明らかになりました。 、さまざまな開発プラットフォーム用の十分に文書化された実装が簡単なライブラリが不足しており、メーカー自体からの情報やサポートが断片的で不十分であることがよくあります。 それでも、最もサポートされている製品の中から選択し、Makerとして粘り強く取り組むことで、面白い結果を得ることができたと思います。 したがって、図に示す回路図の分析を続けましょう。

is written with the Arduino IDE 1.8.19 and requires, for proper compilation, the installation of the Arduino core MiniCore v2.1.3 and some specific libraries. The core used allows a more efficient and versatile management of the ATmega328P microcontroller and above all optimizes the memory usage of the compiled code, which comes to occupy 31,264 of the 32,768 bytes of program memory (Flash) and 1,501 of the 2,048 bytes of dynamic memory (SRAM), almost at the limit of this MCU’s possibilities.It should be noted that this project is not feasible, even by trial and error, with an Arduino Uno board, since part of the latter’s memory is used by the bootloader to allow direct programming, while for the ‘barebone’ microcontroller we use an external USBasp programmer. Speaking of memory, the keyword PROGMEM appears several times in the listing, referring to the byte arrays of the bitmap and text character strings, which are read-only data. By declaring these arrays as PROGMEM, functions can access these data by reading them directly from Flash memory, without first copying them into the much smaller SRAM, which then remains available for ‘dynamic’ execution of the program. The DS3231M 1.0.6 library is used for communication with the integrated real-time clock (RTC), while the GxEPD2 1.3.6 library, supported by the GFX_Root 2.0.0 graphics library, has been chosen for the basic management of the e-Paper display.The latter must be overwritten with the one supplied with the project, which has modified fonts. The GxEPD2 library is a massive piece of work and unfortunately lacks a structured documentation, which is to be found instead in the code of the available examples, which are very numerous, but at first glance daunting due to their apparent complexity, which is then discovered to be due to the attempt to extend compatibility to as many display models as possible. I have therefore attempted to do a summary job, extrapolating only the functions and definitions necessary for the type of display used in the project. These can be found in the file Waveshare_29_BW_avr.h, while the file ParkBitmap128x128.h contains the array of bytes, obtained by means of a special converter, representing the bitmap image of the parking logo (capital P inscribed in a square with rounded corners, size 128 x128 pixels, black/white). These files, available for download, reside in the sketch folder, together with the main source code file Disco_Orario_e-Paper.ino, in which there are also links to the core and library sites, extensive comments on the code, and other indications that I found useful. I advise readers interested in the details of the listing to examine it by opening it with the Arduino IDE (or their favorite editor). Instead, here I would like to illustrate the operation of the program in a more descriptive manner, with the help of the flowchart in strongFigure/strong strong8/strong./p>