Silicon ChipLCD clock and thermometer - February 2021 SILICON CHIP
  1. Outer Front Cover
  2. Contents
  3. Publisher's Letter: New computer technology
  4. Mailbag
  5. Feature: Radio Time Signals throughout the World by Dr David Maddison
  6. Feature: Follow-up: Quantum-dot Cellular Automata by Dr Sankit Ramkrishna Kassa
  7. Project: Battery Multi Logger by Tim Blythman
  8. Project: Arduino-based Adjustable Power Supply by Tim Blythman
  9. Serviceman's Log: A feline-themed cautionary tale by Dave Thompson
  10. Project: Electronic Wind Chimes by John Clarke
  11. Circuit Notebook: LCD clock and thermometer by Mahmood Alimohammadi
  12. Circuit Notebook: DIY laser rangefinder by Bera Somnath
  13. Circuit Notebook: Animal and pest repeller by Warwick Talbot
  14. Circuit Notebook: Stable multi-frequency sinewave generator by Petre Petrov
  15. Circuit Notebook: WiFi Snooping with a Raspberry Pi by Sid Lonsdale
  16. Feature: Making Android Apps with App Inventor by Roderick Wall
  17. Feature: Making a Compact Virtual Electronics Workbench by Tim Blythman
  18. Feature: Upgrading your Computer to the latest CPU by Nicholas Vinen
  19. PartShop
  20. Feature: El Cheapo Modules: LCR-T4 Digital Multi-Tester by Jim Rowe
  21. Vintage Radio: Philips 1952 BX205 B-01 AM/SW battery valve radio by Charles Kosina
  22. Ask Silicon Chip
  23. Market Centre
  24. Notes & Errata: Busy Loo Indicator, January 2021; Mini Digital AC Panel Meters, January 2021; Radiating test antenna for AM Radios, Circuit Notebook, January 2021; Vintage Battery Radio Li-ion Power Supply, December 2020; Colour Maximite 2, July-August 2020
  25. Advertising Index
  26. Outer Back Cover

This is only a preview of the February 2021 issue of Silicon Chip.

You can view 0 of the 112 pages in the full issue.

For full access, purchase the issue for $10.00 or subscribe for access to the latest issues.

Items relevant to "":
  • BWD602 Documents (Software, Free)
Items relevant to "Follow-up: Quantum-dot Cellular Automata":
  • QCA follow-up: Potential Energy Explanation (Software, Free)
Articles in this series:
  • Quantum-dot Cellular Automata (August 2019)
  • Follow-up: Quantum-dot Cellular Automata (February 2021)
Items relevant to "Battery Multi Logger":
  • Battery Multi Logger PCB [11106201] (AUD $5.00)
  • PIC16F1455-I/SL programmed for the Microbridge [2410417A.HEX] (Programmed Microcontroller, AUD $10.00)
  • PIC32MX170F256B-I/SO programmed for the Battery Multi Logger [1110620A.hex] (Programmed Microcontroller, AUD $15.00)
  • DS3231MZ real-time clock IC (SOIC-8) (Component, AUD $10.00)
  • DS3231 real-time clock IC (SOIC-16) (Component, AUD $7.50)
  • SMD resistor - 15mΩ ±1% M6332/2512 3W (CRA2512-FZ-R015ELF or similar) (Source component, AUD $2.00)
  • 2.8-inch TFT Touchscreen LCD module with SD card socket (Component, AUD $25.00)
  • Matte/Gloss Black UB3 Lid for 2.8-inch Micromite LCD BackPack (PCB, AUD $5.00)
  • Battery Multi Logger software [1110620A.hex] (Free)
  • Battery Multi Logger PCB pattern (PDF download) [11106201] (Free)
Articles in this series:
  • Battery Multi Logger (February 2021)
  • Battery Multi Logger - Part 2 (March 2021)
Items relevant to "Arduino-based Adjustable Power Supply":
  • Arduino-based Adjustable Power Supply PCB [18106201] (AUD $5.00)
  • SMD resistor - 15mΩ ±1% M6332/2512 3W (CRA2512-FZ-R015ELF or similar) (Source component, AUD $2.00)
  • MCP4251-502E/P dual 5kΩ digital potentiometer (Component, AUD $3.00)
  • Arduino-based Adjustable Power Supply Software (Free)
  • Arduino-based Adjustable Power Supply PCB pattern (PDF download) [18106201] (Free)
Articles in this series:
  • Making a Compact Virtual Electronics Workbench (February 2021)
  • Arduino-based Adjustable Power Supply (February 2021)
Items relevant to "Electronic Wind Chimes":
  • Electronic Wind Chimes PCB [23011201] (AUD $10.00)
  • PIC16F1459-I/P programmed for the Electronic Wind Chimes [2301120A.HEX] (Programmed Microcontroller, AUD $10.00)
  • Pair of CSD18534KCS logic-level Mosfets (Component, AUD $6.50)
  • Electronic Wind Chimes software [2301120A.hex] (Free)
  • Electronic Wind Chimes PCB pattern (PDF download) [23011201] (Free)
Articles in this series:
  • Electronic Wind Chimes (February 2021)
  • Electronic Wind Chimes - Part 2 (March 2021)
Items relevant to "LCD clock and thermometer":
  • Firmware for the LCD Clock and Thermometer (Software, Free)
Items relevant to "DIY laser rangefinder":
  • Firmware for the DIY Laser Rangefinder (Software, Free)
Items relevant to "WiFi Snooping with a Raspberry Pi":
  • Commands for WiFi Snooping with a Raspberry Pi (Software, Free)
Items relevant to "Making Android Apps with App Inventor":
  • TDR Android app (made using App Inventor) (Software, Free)
Items relevant to "Making a Compact Virtual Electronics Workbench":
  • Arduino-based Adjustable Power Supply PCB [18106201] (AUD $5.00)
Articles in this series:
  • Making a Compact Virtual Electronics Workbench (February 2021)
  • Arduino-based Adjustable Power Supply (February 2021)
Articles in this series:
  • El Cheapo Modules From Asia - Part 1 (October 2016)
  • El Cheapo Modules From Asia - Part 2 (December 2016)
  • El Cheapo Modules From Asia - Part 3 (January 2017)
  • El Cheapo Modules from Asia - Part 4 (February 2017)
  • El Cheapo Modules, Part 5: LCD module with I²C (March 2017)
  • El Cheapo Modules, Part 6: Direct Digital Synthesiser (April 2017)
  • El Cheapo Modules, Part 7: LED Matrix displays (June 2017)
  • El Cheapo Modules: Li-ion & LiPo Chargers (August 2017)
  • El Cheapo modules Part 9: AD9850 DDS module (September 2017)
  • El Cheapo Modules Part 10: GPS receivers (October 2017)
  • El Cheapo Modules 11: Pressure/Temperature Sensors (December 2017)
  • El Cheapo Modules 12: 2.4GHz Wireless Data Modules (January 2018)
  • El Cheapo Modules 13: sensing motion and moisture (February 2018)
  • El Cheapo Modules 14: Logarithmic RF Detector (March 2018)
  • El Cheapo Modules 16: 35-4400MHz frequency generator (May 2018)
  • El Cheapo Modules 17: 4GHz digital attenuator (June 2018)
  • El Cheapo: 500MHz frequency counter and preamp (July 2018)
  • El Cheapo modules Part 19 – Arduino NFC Shield (September 2018)
  • El cheapo modules, part 20: two tiny compass modules (November 2018)
  • El cheapo modules, part 21: stamp-sized audio player (December 2018)
  • El Cheapo Modules 22: Stepper Motor Drivers (February 2019)
  • El Cheapo Modules 23: Galvanic Skin Response (March 2019)
  • El Cheapo Modules: Class D amplifier modules (May 2019)
  • El Cheapo Modules: Long Range (LoRa) Transceivers (June 2019)
  • El Cheapo Modules: AD584 Precision Voltage References (July 2019)
  • Three I-O Expanders to give you more control! (November 2019)
  • El Cheapo modules: “Intelligent” 8x8 RGB LED Matrix (January 2020)
  • El Cheapo modules: 8-channel USB Logic Analyser (February 2020)
  • New w-i-d-e-b-a-n-d RTL-SDR modules (May 2020)
  • New w-i-d-e-b-a-n-d RTL-SDR modules, Part 2 (June 2020)
  • El Cheapo Modules: Mini Digital Volt/Amp Panel Meters (December 2020)
  • El Cheapo Modules: Mini Digital AC Panel Meters (January 2021)
  • El Cheapo Modules: LCR-T4 Digital Multi-Tester (February 2021)
  • El Cheapo Modules: USB-PD chargers (July 2021)
  • El Cheapo Modules: USB-PD Triggers (August 2021)
  • El Cheapo Modules: 3.8GHz Digital Attenuator (October 2021)
  • El Cheapo Modules: 6GHz Digital Attenuator (November 2021)
  • El Cheapo Modules: 35MHz-4.4GHz Signal Generator (December 2021)
  • El Cheapo Modules: LTDZ Spectrum Analyser (January 2022)
  • Low-noise HF-UHF Amplifiers (February 2022)
  • A Gesture Recognition Module (March 2022)
  • Air Quality Sensors (May 2022)

Purchase a printed copy of this issue for $10.00.

CIRCUIT NOTEBOOK Interesting circuit ideas which we have checked but not built and tested. Contributions will be paid for at standard rates. All submissions should include full name, address & phone number. LCD clock and thermometer This circuit demonstrates my userfriendly alphanumeric LCD library (lcd.c) that can be employed for interfacing an ATmega micro to an LCD in 4-bit mode using just six pins. All the interface functions of the LCD library are used in this sample program, which includes a digital clock and a thermometer that can show degrees Celsius or Fahrenheit. The LCD interface functions include character printing, user-defined custom characters, writing text, showing integer numbers, floating-point numbers, scrolling text to the left or right and clearing the LCD. The user just needs to select the data direction register (DDRX) and therefore the I/O port used to communicate with the LCD. By default, it is defined as “DDRD” in the “lcd.h” file with pins PD0-3 mapping to pins D4-7 on the LCD, and pins PD4 & 5 on siliconchip.com.au that port going to the RS and EN lines of the LCD. The port used can be changed to DDRA, DDRB or DDRC. In fact, you can change which port and pin are used for each LCD function if necessary. The type of LCD you are using (16x1, 16x2, 16x4 or 20x4) is also defined in the “lcd.h file”. You can change the lines which read “#define lcd_lines 2” and “#define lcd_characters 16” to different values to suit 1-line, 4-line or 20-column displays. The cursor style can also be controlled by changing the number on the “#define LCD_cursor 0” line to 1 or 2 to show a solid cursor (1) or have it blink (2). The default value of zero means that no cursor is visible. The circuit is designed around an ATmega328P, a 16x2 alphanumeric liquid crystal display and an LM35 temperature sensor. When the cir- Australia’s electronics magazine cuit is powered up, the clock starts at midnight. There are two pushbutton switches used to set the time; S2 changes the hours and S3 increments the minutes value. Internal pull-up currents allow the micro to sense when these buttons are pressed, pulling the pins low. The LM35 temperature sensor is used for the thermometer function. It produces an output of 10mV/°C. In this circuit, the temperature range is 0-100°C, so the 0-1V output of IC2 is fed to analog input ADC0 of microcontroller IC1 (pin 23). It converts this voltage to a digital value and then scales it for display on the second line of the LCD. The units used are defined in the software file which can be downloaded from siliconchip.com.au/Shop/6/5754 Mahmood Alimohammadi, Tehran, Iran. ($75) February 2021  69