Silicon ChipThe New Arduino IDE 2.0 - June 2021 SILICON CHIP
  1. Outer Front Cover
  2. Contents
  3. Publisher's Letter: Semiconductor shortages are becoming serious / The right to repair
  4. Feature: The Right to Repair (and Modify) by Dr David Maddison
  5. Project: Advanced GPS Computer - Part 1 by Tim Blythman
  6. Feature: The History of USB by Jim Rowe
  7. Project: Recreating Arcade Pong by Dr Hugo Holden
  8. Feature: The History of Videotape – Camcorders and Digital Video by Ian Batty, Andre Switzer & Rod Humphris
  9. Project: PIC Programming Helper by Tim Blythman
  10. Review: The New Arduino IDE 2.0 by Tim Blythman
  11. Project: Programmable Hybrid Lab Supply with WiFi – Part 2 by Richard Palmer
  12. Review: Weller T0053298599 Soldering Station by Tim Blythman
  13. Product Showcase
  14. Serviceman's Log: Trying to fix unbranded, generic equipment is frustrating by Dave Thompson
  15. PartShop
  16. Vintage Radio: 1940 RME Model 69 communications receiver by Fred Lever
  17. Market Centre
  18. Advertising Index
  19. Notes & Errata: Programmable Hybrid Lab Supply with WiFi, May 2021; Arduino-based Power Supply, February 2021; DIY Reflow Oven Controller, April-May 2020; Deluxe Touchscreen eFuse, July 2017
  20. Outer Back Cover

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

You can view 37 of the 112 pages in the full issue, including the advertisments.

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

Items relevant to "Advanced GPS Computer - Part 1":
  • Advanced GPS Computer PCB [05102211] (AUD $7.50)
  • PIC32MX170F256B-50I/SP programmed for the Advanced GPS Computer [0510221A.hex] (Programmed Microcontroller, AUD $15.00)
  • DS3231 real-time clock IC (SOIC-16) (Component, AUD $7.50)
  • VK2828U7G5LF TTL GPS/GLONASS/GALILEO module with antenna and cable (Component, AUD $25.00)
  • MCP4251-502E/P dual 5kΩ digital potentiometer (Component, AUD $3.00)
  • Micromite LCD BackPack V3 complete kit (Component, AUD $75.00)
  • Matte/Gloss Black UB3 Lid for Advanced GPS Computer (BackPack V3) or Pico BackPack (PCB, AUD $5.00)
  • Firmware for the Advanced GPS Computer [0510221A.HEX] (Software, Free)
  • Advanced GPS Computer PCB pattern (PDF download) [05102211] (Free)
  • Advanced GPS Computer box cutting diagram and lid dimensions (Panel Artwork, Free)
Articles in this series:
  • Advanced GPS Computer - Part 1 (June 2021)
  • Advanced GPS Computer - Part 1 (June 2021)
  • Advanced GPS Computer – Part 2 (July 2021)
  • Advanced GPS Computer – Part 2 (July 2021)
Articles in this series:
  • The History of USB (June 2021)
  • The History of USB (June 2021)
  • How USB Power Delivery (USB-PD) works (July 2021)
  • How USB Power Delivery (USB-PD) works (July 2021)
Items relevant to "Recreating Arcade Pong":
  • Mini Arcade Pong PCB [08105211] (AUD $27.50)
  • Pair of Signetics NE555Ns (Component, AUD $12.50)
Articles in this series:
  • The History of Videotape – Quadruplex (March 2021)
  • The History of Videotape – Quadruplex (March 2021)
  • The History of Videotape - Helical Scan (April 2021)
  • The History of Videotape - Helical Scan (April 2021)
  • The History of Videotape – Cassette Systems (May 2021)
  • The History of Videotape – Cassette Systems (May 2021)
  • The History of Videotape – Camcorders and Digital Video (June 2021)
  • The History of Videotape – Camcorders and Digital Video (June 2021)
Items relevant to "PIC Programming Helper":
  • 8-pin PIC Programming Helper PCB [24106211] (AUD $5.00)
  • 8/14/20-pin PIC Programming Helper PCB [24106212] (AUD $7.50)
  • Relay - 1A DPDT 5V DC coil (EA2-5NU) (Component, AUD $3.00)
  • PIC Programming Helper PCB patterns (PDF download) [24106211-2] (Free)
Items relevant to "Programmable Hybrid Lab Supply with WiFi – Part 2":
  • WiFi-Controlled DC Electronic Load control PCB [18104212] (AUD $10.00)
  • Programmable Hybrid Lab Supply Control Panel PCB [18104211] (AUD $10.00)
  • Programmable Hybrid Lab Supply Regulator Module PCB [18104212] (AUD $7.50)
  • 2.8-inch TFT Touchscreen LCD module with SD card socket (Component, AUD $25.00)
  • ESP32 DevKitC microcontroller module with WiFi and Bluetooth (Component, AUD $25.00)
  • Software, manuals and laser templates for the Programmable Hybrid Lab Supply (Free)
  • Programmable Hybrid Lab Supply Control Panel PCB pattern (PDF download) [18104211] (Free)
  • Programmable Hybrid Lab Supply Regulator PCB pattern (PDF download) [18104212] (Free)
  • Drilling/cutting diagrams and front panel artwork for the Programmable Hybrid Lab Supply (Free)
Articles in this series:
  • Programmable Hybrid Lab Supply with WiFi – Part 1 (May 2021)
  • Programmable Hybrid Lab Supply with WiFi – Part 1 (May 2021)
  • Programmable Hybrid Lab Supply with WiFi – Part 2 (June 2021)
  • Programmable Hybrid Lab Supply with WiFi – Part 2 (June 2021)

Purchase a printed copy of this issue for $10.00.

The New Arduino IDE 2.0 Review by Tim Blythman The Arduino boards and software are incredibly popular, mainly because of the free, powerful and easy-to-use integrated development environment (IDE) for developing code. Now there has been a significant revision of the IDE with the beta release of version 2.0. Here is what you can expect from it. I t was just in March last year that we took an in-depth look at the Arduino ecosystem (siliconchip.com.au/ Article/12575). That article included details on the history of the Arduino software; primarily, the IDE. Tracing its history back almost 20 years to the Wiring IDE (http://wiring. org.co/), it has been nearly 10 years since the official version 1.0 release of the Arduino IDE. It is open-source, which means that it is easy to write libraries, add support for new boards and even make clones of existing boards. Some people have noted that the Arduino IDE lacks some features that experienced programmers have come to expect from other development environments. These include features such as debugging, auto-completion and source code management. command-line-based Arduino-cli (command-line interface) and the Arduino Pro IDE. We understand that a lot of what has gone into the new IDE has been informed by those programs. First look Opening up the IDE after installation opens a window as shown in Screen 1. The overall appearance is similar to older versions, but with a few extra buttons down the left-hand side and a new drop-down list near the top. These extra buttons are to access the Boards Manager, Library Manager and the debugging and search functions. These are features we expect to use a lot, so it’s handy to have them just one click away. The new drop-down selects a board and port combination. This makes it easier to work with different projects, as the board and port can be changed easily and together, meaning less chance of getting these mixed up or changing one and not the other. At this stage, the debugging function only works with some SAMD and Mbed boards and requires a separate debugging probe. So we weren’t able to test that feature out. The debugging console and controls are visible in Screen 2. We also found a comprehensive list of keyboard shortcuts; they are accessed from the File → Advanced → Keyboard Shortcuts menu item. The Output window is hidden by default, so pressing the Verify or Upload buttons doesn’t immediately Arduino IDE 2.0 The Arduino IDE 2.0 was released in February, and not long after that, we downloaded it and tried it out. If you don’t wish to switch over fully, it can run alongside the current version 1.8.13 (and older versions). We downloaded the .zip installer version from siliconchip.com.au/link/ab85 Note that Arduino IDE 2.0 is still in the beta stage of development. This means that it is essentially complete, but still has some minor bugs and glitches. The blog announcement (found at siliconchip.com.au/link/ab84) indicates that the new version will include some of the requested features that we mentioned above. In the March 2020 article, we noted that some Arduino software variants had popped up, such as the 70 Silicon Chip Screen 1: simply hovering your mouse over a keyword will bring up a tooltip, pressing F12 will open the file where the keyword is declared. Australia’s electronics magazine siliconchip.com.au Screen 2: the debug controls are shown at left, while the list of keyboard shortcuts is shown in the main editor window. appear to do anything, which is disconcerting. Once the Output window appears (when verification completes), this is less of a problem. The Boards Manager and Library Manager now appear as panels in the Editor window (see Screen 3), rather than modal windows, meaning that they don’t block working on sketches. The Serial Monitor appears as a panel rather than a separate window too. The context-sensitive help feature is also visible in Screen 1. In this case, it is showing the value of an enumerated symbol. This makes it much simpler to follow and troubleshoot code inside sketches. It’s even possible to right-click on an item in the code to jump to the library file which defines it. Line numbering is turned on by default, and small arrows allow functions to be collapsed, making it easier to view and navigate a sketch. Screen 3: the Library Manager is now an integral panel and can be toggled from the block button at left. Screen 4: auto-completion is activated by the Ctrl-Space key combination; the results are often very extensive. siliconchip.com.au Quirks One slight problem we ran into was that opening a new window takes a few seconds in the IDE 2.0, while it is practically instantaneous with older versions. But this is not something that needs to be done often. We also noticed that the IDE did not prompt us to save a changed file when closing the window, but rather it appears to save the changes without prompting. The auto-complete feature (see Screen 4) is very comprehensive (for boards that support it), giving a great number of options, but we had to use Ctrl-Space to trigger it, even though this is not noted in the getting started guide. Interestingly, the IDE 2.0 does not come with any board profiles installed. This suggests that the Arduino developers no longer favour the older AVR boards (their profiles came with older versions of the IDE). Despite this, we Australia’s electronics magazine don’t think we’ll see them disappear any time soon. In any case, they are easy to install from the Boards Manager. Otherwise, the newer version has all the same features and menu items in much the same places, meaning that it’s straightforward to transition between the two. Summary While we haven’t had a chance to test-drive the Arduino IDE 2.0’s full range of features, we’re happy that it does everything that the older versions do and more. We’re looking forward to testing out the debug feature once we have the hardware required. We haven’t come across any glitches in the beta version that have been show-stoppers, but we expect that updated versions will quickly follow that iron out some of the minor quirks we noted above. We’re planning to continue using the Arduino IDE 2.0 to find out what else it has to offer. More information on using the new and improved features of the IDE 2.0 can be found at siliconchip.com.au/ SC link/ab86 June 2021  71