Previously, the Indusphone user interface (UI) was designed and the GSM module was tested, integrating it with the IndusBoard coin to advance the design. This segment combines the UI with such functions as contacts and calculator. The connections established in part 1, published in EFY’s October issue, remain unchanged. The focus now shifts to software and UI integration for the IndusBoard phone.
The initial step involves integrating fundamental functions like dialling a number, making calls, checking call status, handling incoming calls, and displaying the idle screen within the previously designed UI. Fig. 1 illustrates the IndusBoard phone.
Integrating the calling system
In the code, the GSM call library and the TFT_eSPI libraries combine into a single codebase. An idle screen is created to monitor incoming calls, battery status, and signal strength in a continuous loop. When a call comes in, the UI transitions to display the ‘attend’ and ‘end’ buttons. The function to attend the call is activated when the attend button is touched on the UI. The code checks the UI input; if the input is ‘attend’ or ‘end,’ it navigates to the corresponding screen and executes the appropriate function using the `call.answer();` and `call.hangup();` commands. Fig. 2 provides a code snippet for TFT_ eSPI, while Fig. 3 depicts the initial idle screen code, which checks for incoming calls, network connectivity, and battery levels.
この記事は Electronics For You の November 2024 版に掲載されています。
7 日間の Magzter GOLD 無料トライアルを開始して、何千もの厳選されたプレミアム ストーリー、9,000 以上の雑誌や新聞にアクセスしてください。
すでに購読者です ? サインイン
この記事は Electronics For You の November 2024 版に掲載されています。
7 日間の Magzter GOLD 無料トライアルを開始して、何千もの厳選されたプレミアム ストーリー、9,000 以上の雑誌や新聞にアクセスしてください。
すでに購読者です? サインイン
TRULY INNOVATIVE ELECTRONICS -INNOVATION UPDATES
Amongst numerous press releases of new products received by us, these are the ones we found worthy of the title Truly Innovative Electronics
Elastomer enhancing smart wearable performance
A high-tech, flexible wearable device made from the innovative elastomer material
Nanotechnology based noninvasive cancer diagnostics
Nanoflake sensors built from indium oxide with platinum and nickel detect changes in isoprene
Space communication with silent amplifiers
In the new communication system from researchers at Chalmers University of Technology, in Sweden, a weak optical signal (red) from the spacecraft's transmitter can be amplified noisefree when it encounters two so-called pump waves (blue and green) of different frequencies in a receiver on Earth.
Advancements in TOPCon solar cells
The structure and performance of tandem devices with highly passivated TOPCon bottom cells
Quantum leap in magnetism refines superconductors
Rice University physicists have uncovered key magnetic and electronic properties in kagome magnets, structures resembling basket-weaving patterns.
Sensor targets food antioxidants
A research team from Hunan City University and Xiangtan University in China has developed a sensor for detecting TBHQ, a food antioxidant used in oils and fats, addressing health concerns at high concentrations.
Data sensing with repurposed RFID tags
UC San Diego researchers have advanced passive data collection with a breakthrough in battery-free sensing.
Seal-inspired sensors to safeguard offshore wind farms
Schematic structure of the seal whisker-inspired flow sensors
Artificial nose identifies scents accurately
Artificial nose identifies scents accurately