Expanding to the micro:bit and the CLUE
Typically in the Garage Internship, students will work in teams to create a new product or experience from scratch, responding to a challenge from an engineering or product sponsor (check Ink to Code or Seeing AI for some fan favorites). But, recently, the Garage Internship in Vancouver has been experimenting with a team from one cohort passing the baton to a second team to expand upon the intern project. In the case of Web Template Studio, for example, another VS Code extension open sourced on GitHub, a second team of interns was able to enable additional front and back end services in response to community feedback and pull requests.
The team continued the Summer 2019 partnership with Adafruit to enable simulation for the CLUE as well. Developers can enable CLUE features in preview mode beginning today. The team welcomes feedback via GitHub.
Python with or without a device
A lot of activities are going digital these days as we find new and creative ways to connect and be productive. Device Simulator Express expands access to makers, hobbyists, and student developers hoping to learn more about programming circuit boards with Python. The core principle of the extension is to provide a way to program microcontrollers with or without the board.
The simulator is designed to be extremely user friendly and build familiarity with Python, microcontrollers, and Visual Studio Code. As Sayyeda Mussa, the Program Manager Intern for Device Simulator Express explains,”Anyone at any level can pick any of the supported boards and start to work with their preferred microcontroller.” The team has been testing with TEALS, a Microsoft program that pairs Microsoft employees to classrooms around North America to teach computer science, and found that students new to VS Code were facing a dual learning curve. “We introduced a Getting Started feature that contains sample code snippets to make the experience even more accessible to beginners.”
Key features include:
- Device simulation for those without hardware
- Code deployment to devices
- Auto-completion and error flagging
- Integrated Python debugging for the simulator
- Template file generation
- Serial monitor (available on Windows and Mac only)
- Getting started mode
- Support for the Adafruit Circuit Playground Express, BBC micro:bit, and Adafruit CLUE
When asked about why they were excited by the expansions, Andrea Mah, a Software Engineer Intern on the project, spoke of the ability to expand access and instill confidence in young developers. “When I was just getting started with computer science, it just felt like a lot of math,” she jokes. “I hope by making this tool more available, it gives others an opportunity to see themselves as programmers, because they can see the cause and effect of their work, which makes programming feel more like art than math.” Kevin Nguyen, another Software Engineer Intern added, “Our extension is really beginner friendly, but it’s based in VS Code and has a debugger and IDE, so it has the added bonus of giving you a little bit of what it’s like to work as a professional developer. For example, we use Visual Studio in our jobs; this experience allows students to preview that.”
Try it out
Device Simulator Express is available worldwide in the Visual Studio Marketplace. You can learn more about the Adafruit Circuit Playground Express, BBC micro:bit. and Adafruit CLUE here. The team welcomes feedback via GitHub.