Silicon ChipConway's Game of Life on the Micromite - January 2022 SILICON CHIP
  1. Outer Front Cover
  2. Contents
  3. Publisher's Letter: Risk aversion stifles innovation
  4. Mailbag
  5. Subscriptions
  6. Feature: All About Batteries - Part 1 by Dr David Maddison
  7. Project: Two Classic LED Metronomes by Randy Keenan
  8. Review: Dick Smith Autobiography by Nicholas Vinen
  9. Feature: Solar Power with Batteries by Dr Alan R. Wilson
  10. Project: Multi-Channel Speaker Protector by Phil Prosser
  11. Product Showcase
  12. Circuit Notebook: Conway's Game of Life on the Micromite by Kenneth Horton
  13. Circuit Notebook: Alternative PCB joiner for Linear MIDI Keyboard by Tim Blythman
  14. Circuit Notebook: Compact reed relay module by Gianni Pallotti
  15. Project: The Raspberry Pi-based PicoMite by Geoff Graham & Peter Mather
  16. Feature: El Cheapo Modules: LTDZ Spectrum Analyser by Jim Rowe
  17. Vintage Radio: The Mysterious Mickey Oz by Ian Batty
  18. Serviceman's Log: Designing for unrepairability by Dave Thompson
  19. Project: Remote Control Range Extender by John Clarke
  20. PartShop
  21. Ask Silicon Chip
  22. Market Centre
  23. Advertising Index
  24. Notes & Errata: SMD Trainer, December 2021; Hummingbird Amplifier, December 2021; Pocket Weather Station, November 2021
  25. Outer Back Cover

This is only a preview of the January 2022 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. You can also log in if you are already a subscriber.

Articles in this series:
  • All About Batteries - Part 1 (January 2022)
  • All About Batteries – Part 2 (February 2022)
  • All About Batteries, part three (March 2022)
Items relevant to "Two Classic LED Metronomes":
  • 8-LED Classic Metronome PCB [23111211] (AUD $5.00)
  • 10-LED Classic Metronome PCB [23111212] (AUD $7.50)
  • Classic LED Metronome PCB patterns (PDF download) [23111211-2] (Free)
  • Dial labels and drilling guide for the Two Classic LED Metronomes (Panel Artwork, Free)
Articles in this series:
  • Home Solar Panel Electricity: Is It Worth It? (May 2015)
  • Solar Power with Batteries (January 2022)
Items relevant to "Multi-Channel Speaker Protector":
  • 6-way Loudspeaker Protector PCB [01101221] (AUD $7.50)
  • 4-way Loudspeaker Protector PCB [01101222] (AUD $5.00)
  • Multi-Channel Speaker Protector PCB patterns (PDF download) [01101221-2] (Free)
Items relevant to "Conway's Game of Life on the Micromite":
  • Firmware & PCB files for Conway's Game of Life on the Micromite (Software, Free)
Items relevant to "Alternative PCB joiner for Linear MIDI Keyboard":
  • Simple Linear MIDI Keyboard Joiner PCB [23101214] (AUD $1.00)
Items relevant to "Compact reed relay module":
  • Gerber files for the Reed Relay Module (Software, Free)
Items relevant to "The Raspberry Pi-based PicoMite":
  • Firmware for the PicoMite (Software, Free)
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)
Items relevant to "Remote Control Range Extender":
  • Remote Control Range Extender IR-to-UHF PCB [15109212] (AUD $2.50)
  • Remote Control Range Extender UHF-to-IR PCB [15109211] (AUD $2.50)
  • PIC12F617-I/P programmed for the Remote Control Range Extender (UHF to IR part) [1510921A.HEX] (Programmed Microcontroller, AUD $10.00)
  • PIC10LF322-I/OT programmed for the Remote Control Range Extender (UHF transmitter part) [1510921M.HEX] (Programmed Microcontroller, AUD $10.00)
  • Kit for the Remote Control Range Extender IR-to-UHF adaptor (Component, AUD $25.00)
  • Software for the Remote Control Range Extender (Free)
  • Remote Control Range Extender PCB patterns (PDF download) [15109211-2] (Free)
  • Lid panel label artwork and box drilling diagrams for the Remote Control Range Extender (Panel Artwork, Free)

Purchase a printed copy of this issue for $11.50.

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. Conway’s Game of Life on the Micromite In 1970, mathematician John Horton Conway devised The Game of Life. It illustrates how complex patterns can be created by very simple rules. This has many parallels in the natural world. The Game is based on an infinite 2D grid of square cells. Thus, each cell has eight neighbours. Four simple rules are then applied: 1. If a live cell has one or no neighbours, it dies through loneliness or under-population. 2. If a live cell has two or three neighbours, it lives on to the next generation. 3. If a live cell has four or more neighbours, it dies through over-population or overcrowding. 4. If a dead cell has exactly three neighbours, it is born by reproduction. An initial pattern of live cells is entered into the grid, and the Game is started. The Game then steps through siliconchip.com.au each generation. Some patterns die out quickly, some become stable, and others multiply indefinitely. For more information, see https://w.wiki/3TKJ I have developed two versions of the Game of Life. The first runs on the Micromite LCD BackPack with the 2.8in ILI9341-based touchscreen and does not require any additional hardware. In addition to several pre-defined starting patterns, the user can create their own. The second is designed as a standalone PCB (using the circuit shown here) with a small 0.96in IPS display, and it can be used as an interactive display with the addition of two pushbuttons or an infrared (IR) remote control. Alternatively, it can operate in fully automatic mode, taking about 55 minutes to complete an entire cycle of all the preset starting patterns. This can be incorporated as wearable jewellery Australia's electronics magazine such as a brooch, or in other novelty applications. The software driver for the IPS display was written by Peter Mather and edited by Peter Carnegie – see www. thebackshed.com/forum/ViewTopic. php?TID=7137 While the original Game was designed for an infinite 2D grid of cells, in the Micromite version, the grid is limited to 32 x 24 cells for the BackPack version or 32 x 20 cells for the smaller IPS display. There is the option for cells to drop off the edge of the display, or wrap around from one side to the other. The best choice depends on how the initial pattern develops. For the circuit of the BackPack-based version, see one of the BackPack articles. The standalone version shown here uses the same PIC32MX170F256B-50I/SP microcontroller programmed with the Micromite software, plus a simple power supply and the 0.96in ST7735S-based 80 x 160 pixel January 2022  61 The circuit built on a home-etched PCB at upper left, with two close-up shots of the display in action. The software and PCB gerber files can be downloaded from siliconchip.com.au/Shop/6/6085 IPS display. The display is controlled using the SPI protocol via eight connections: • GND and Vcc supply 3.3V. • SCL (SCK in SPI mode) and SDA (SDI in SPI mode) are the two SPI protocol pins that connect to pin 25 (SPI Clock) and pin 3 (SPI out) on the PIC chip, respectively. • RES, DC and CS are control signals connected to pins 23, 22 and 21 on the PIC. • BLK is the backlight control pin. It is not used in this application. The power supply is a simple 3.3V linear regulator. An infrared (IR) receiver or two push buttons (or both) can optionally be connected to control the display. The IR receiver connects to pin 16 on the micro. If installed, you can access the menu of preset demonstration patterns. The optional pushbuttons connect to pins 9 and 10. They provide forward and backward scrolling through the menu of preset demonstration patterns. Alternatively, pin 9 or 10 (or both) can be permanently connected to ground by fitting a wire link in place of the switch. In this case, the display runs in automatic mode, scrolling through each of the pre-defined starting patterns in turn as soon as the power is applied. Pins 9 and 10 have weak internal pull-up currents and thus do 62 Silicon Chip not require external pull-up resistors. In operation Both versions start automatically when power is applied. With the BackPack version, you can select the various pre-defined starting patterns by using the up and down arrows on the touchscreen. Touching the screen whilst the Game is running returns to the menu. There is also the option of defining your own starting pattern by touching individual cells on the screen. Each touch toggles a cell on or off. In this case, a small red square at the bottom right-hand corner acts as an Enter and Start key. As mentioned above, the standalone version uses the IR receiver or pushbuttons to move through the starting patterns menu. Pressing the ‘next’ and ‘previous’ remote control buttons scroll through the menu of preset demonstration patterns. Pressing any other button on the remote selects the menu item. Pressing the ‘next’ or ‘previous’ button whilst the Game is running returns to the menu. You can set up your remote control codes without amending the program by pressing any key on your remote control while the initial screen is displayed. You will then be asked to press the key you want to assign to ‘next’ and then the one you want to assign to ‘previous’. These are then stored in non-volatile memory so that they will be preserved when the power is removed. Alternatively, set the constants IR_ device, IR_next and IR_previous in the Micromite program to match the codes produced by your remote control. With the pushbutton version, holding the pushbutton scrolls through the menu items and releasing the pushbutton selects the menu item. Pressing a button while the Game is running returns to the menu. Kenneth Horton, Woolston, UK. ($150) Circuit Ideas Wanted Got an interesting original circuit that you have cleverly devised? We will pay good money to feature it in Circuit Notebook. We can pay you by electronic funds transfer, cheque or direct to your PayPal account. Or you can use the funds to purchase anything from the SILICON CHIP Online Store, including PCBs and components, back issues, subscriptions or whatever. Email your circuit and descriptive text to editor<at>siliconchip.com.au Australia's electronics magazine siliconchip.com.au