All Visual Micro Videos and Tutorial Media

Click on the below button to show / hide each section....

All Videos and articles produced recently are below


[#] Arduino: Hardware Debugging ESP32 with vMicro

Learn how to setup Arduino Hardware Debugging with vMicro, from end to end including external drivers.

 

Once complete you can connect, setup and debug your board, with an external hardware debugger with only a few steps... to quickly squash those bugs...

See More:-

https://www.visualmicro.com/page/DebuggerSupportList.aspx

https://zadig.akeo.ie/

https://www.visualmicro.com/page/ESP32-Debugging.aspx


Arduino Debugging Espressif ESP32 Problem Solving GDB GDB Debugger

[#] Arduino GDBStub Debugging With Custom Serial

Find out how to continue using your own Serial Code whilst running GDBStub in Visual Micro using SoftwareSerial

 

With a few changes you can switch between your Serial interfaces quickly, and have the benefit of both your Serial logging code, and the GDBStub Debugging functionality.

See More:-

GDB Stub AVR

GDB Stub ESP8266

Setting Up GDBStub


GDBStub SoftwareSerial GDB Debugging Arduino Debugging

[#] Arduino Debugging Nano 33 BLE on DIY STM32 Black Magic Probe

A walk through of flashing your STM32 Blue Pill as a Black Magic Probe.

 

Then we configure Visual Micro for an Arduino Nano 33 BLE board using the Custom Debugger feature, and get the Arduino flashed and debugging started....

 

NOTE - Already available as a pre-configured Hardware Debugger option for other boards such as the Nano 33 IoT, SAMD

See More:-

How to debug an NRF52840 with an Arduino project and GDB?

Debugger Support List

Arduino ProjectHub: Arduino Nano 33 BLE/IoT Custom Debugging

 

Nano33 Debugging Arduino Debugging GDB Debugger BLE Sense

[#] Basic Arduino Debug Charts with vMicro

Quickly demonstrate the digital / analog pin readings and variable values, visually from your hardware using Visual Micro.

 

With editable charts, and scaling visuals it scales from laptop to projector, allowing you to show what is happening more easily in your Arduino project.

 

See More:-

Drawing Graphs Using @Plot Windows

 

VisualMicro Debug Graph Multiplot Arduino Graph Arduino GUI

[#] Arduino: Adding Libraries with vMicro

Visual Micro can be configured to automatically clone your external libraries into your solution/project, reducing external dependencies ...

 

See More:-

Adding Libraries to your Sketch

The Visual Micro Library Manager

 

Arduino Library Version Control Library Manager Shared Library Versioned Library

[#] Easy Arduino Sensor and Driver Calibration

Quickly calibrate and adjust your Arduino sensor tolerances, and driver output values on the fly

 

Using Visual Micro's Serial Debugger you can stop the code in multiple places, as well as track and EDIT variables as the program runs, saving you time and frustration when trying to hone your project to the real world.

 

See More:-

Sketch Example Used

Full Instructable Article

 

Calibrate Arduino sensor Stepper Motor Arduino Uno Arduino Projects STM32 ESP32 ESP8266 Teensy Visual Studio

[#] Arduino Uno GDB Debugging

How to setup your Arduino sketch for GDB Debugging on an AVR in Visual Micro, with an external GDB Stub library....

 

No additional hardware required, and only a few code changes needed!

 

See More:-

GDB Stub Library

AVR GDB Stub Page

ESP8266 GDB Stub Page

Full Instructable

 

GDBStub AVR Debugging Arduino Uno Visual Studio GDB GDB Debugging Embedded Development Arduino Nano Arduino Mega

[#] Arduino Shared Project: PC Debugging and Automated Testing

Learn how to setup Automation Testing and Debugging for Arduino Shared Projects, allowing you to Test and Debug your Shared Project code directly on your PC

 

Using this approach you can develop your code on your PC and know it works before you integrate it into your Arduino project, saving you hours of uploads and Debugging on chip.

 

See More:-

VS2019 CPP Test Methods

Full Instructable

 

Automated Testing Debug Arduino Shared Projects Visual Studio

[#] Debugging Arduino Nano 33 IoT with GDB

With the new Arduino Nano 33 IoT Board you can use the Debugging capabilities of Visual Micro on the Arduino platform.

 

In this video we will show you how to get started with the Visual Micro Debugging tools, using a Segger J-Link in this case (other debuggers are compatible with this SAMD board).

 

See More:-

How to debug an Arduino Nano 33 IoT with GDB?

vMicro Debugger Support Listing

ProjectHub: Arduino Nano 33 IoT Debugging

 

Nano33 IoT Debugging GDB Debugger GDB SAMD Debug ARM Cortex M0

[#] Teensy Arduino Installation and Serial Debugging

A walkthrough video to show how to install the Teensyduino software for the Arduino IDE, and use the vMicro Serial Debugger...

 

Solve those project problems quickly and easily on your Teensy board of choice....

Don't forget once you have this worked out, you can also use the Serial Debugger to plot charts and calibrate sensors easily as well with literally a few clicks more...

 

See More:-

Arduino ProjectHub: Teensy Setup and Debugging

PJRC Website

Easy Arduino Sensor and Driver Calibration

Basic Arduino Debug Charts with vMicro

 

Teensy Debugging Teensyduino Installation

[#] Arduino: Use Examples in vMicro

Quickly get started with your next Arduino Project in seconds using the Visual Micro Example Explorer.

 

With its intuitive interface, example search tools, and options to create new projects, or just review code files you can achieve what you need in only a few clicks to get that next project off the ground.

 

See More:-

Full Documentation

Using Libraries Video

 

Examples Visual Micro Explorer Arduino Help

[#] Calibrating Linear Actuator with Serial Debugger

Calibrating stepper motors and linear actuators on your Arduino project can be a painful process at times with the physical factors to consider.

 

With the Visual Micro Serial Debugger you can work through calibrations quickly, and test them as you change the variables, without re-uploading your code.

 

See More:-

Serial Debugging Explained

Example Project: Extending Arduino to the Lab

LEGO Solution for Microscopy

 

Microscopy Dispenser Laboratory

[#] Arduino: Solving Performance and Memory Issues

A walk through of using the Visual Micro Serial Debugger to identify performance and memory problems in a project.

 

With unlimited Serial Debugging Break / Trace points, and its compatibility with virtually any board with Serial, its the easiest and fastest way to get problems resolved without any special equipment, and no additional code bloating your project when released.

 

See More:-

Easy Arduino Sensor and Driver Calibration

Basic Arduino Debug Charts with vMicro

Breakpoint Actions: Showing Text and Watching Expressions When a Breakpoint is Hit

 

Debugging Performance Problem Solving Arduino Slow Low Memory

[#] ESP32 Debugging OTA

Can't work out why your ESP32 project isn't right? Want to Debug over WiFi without additional hardware? This is for you...

 

In the latest release you can use the Visual Micro Serial Debugger Over The Air, as well as upload your code, for full wireless Updates and Debugging of your Arduino Project. Further Information and links below...

All features of the Serial Debugger are available, allowing you to step through your code easily as well as use @plot charts to graph data, watch variables, and more....

 

See More:-

OTA WiFi Debugging for Espressif ESP Boards

Visual Micro - Remote Transport Setting Reference

ESP32 OTA Sketch Used is the "BasicOTA.ino" included with the ESP32 Arduino Core

Plot Charting with the Serial Debugger

Performance Monitoring with the Serial Debugger

Visual Micro Serial Debugger Walk through Guide

All Visual Micro Releases

 

ESP32 Debugging OTA Upload Arduino Debug OTA Debug Wifi Debug Wireless Debug ESP8266 Espressif

[#] Share Arduino Coding and Debug Session Remotely

Trying to work remotely on an Arduino project? With vMicro and Live Share you can stay connected as if you are there...

 

With Live Share you can share your Visual Studio session, and work on an Arduino solution with Visual Micro as if you were sat at the same desk.

Not only can you review and edit the code together, and follow each others lead remotely, but you can share a Hardware Debugging Session for your Arduino with a user who doesn't have the hardware as well!

This can be especially useful for everything from assisting learners in a group setting, to assisting with project code or debugging from the other side of the world.

 

See More:-

Live Session Sharing

 

Remote Assist GDB Debugging Live Share Visual Studio Remote Working

[#] Visual Micro: IDE Navigation Tips and Help

New to Arduino and Visual Studio? Our Tips will get you harnessing the IDE features to simplify development and coding...

 

A quick guide to getting started with the Visual Micro Arduino Extension for Visual Studio, from project creation to IDE Layout....

In this guide we show the basic IDE layout tools for Windows and toolbars, as well as using the Solution and File Explorer views to get the most from your Visual Micro and Visual Studio experience.

 

See More:-

Getting Started

All Documentation

 

Getting Started Arduino Blink IDE Navigation

[#] Serial to Web Debug UI for Arduino

Want to move your Debugger to a Web Enabled UI, and be able to move it to another machine as easily as your board? This is for you...

 

Using the Standard Serial Debugger Breakpoints / Actions / @Plot charts can now be done through a web interface, as well as allowing you to take the Web Debugger to another machine by simply copying the folder, so you can show your project off, or try different environmental tests and settings with ease. This is available in our full 45 day trial, which is now available to everyone again due to the COVID-19 outbreak (see link at bottom).

This is currently Experimental, and will be continually updated automatically in your Sketch\__vm\ folder each time it is run through Visual Micro.

 

See More:-

Learn More about this Tool COVID-19 Update on Trials

 

Web Interface Debugging

[#] Installing Visual Micro into Visual Studio (with Arduino)

Use a cutting edge Arduino IDE with all the features you expect as a Developer in minutes, and why not with a 45 day free trial

 

Only Visual Studio 2019 is required before following this guide, and if you have never used Arduino or Installed Visual Studio Extensions before this is the best place to get started.

 

See More:-

Get Started with Visual Micro

Already Use Visual Studio & Arduino?

Already use Visual Studio, but never used Arduino?

 

Installation Get Started with Arduino Visual Studio Arduino Visual Studio Embedded Development

[#] Using Built In Code Snippets for Arduino Programming

With our growing list of Arduino code snippets built in to the IDE, you can focus on your complex project instead of the basics

 

Some pieces of code come into use sporadically when developing your Arduino project (so libraries may not be suitable), and using the Code Snippets built in to Visual Micro you can select and add them to your sketch in only a few clicks, saving time and frustration finding the bit of code you need.

All suggestions for additional code snippets are welcomed on our forum (registration required), please include "Code Snippet" in the title of your post.

 

See More:-

Using AnalogReadSmooth

Suggestions Forum

 

Snippets Code Example

[#] Quick IoT Device Using the vMicro Debug UI

Want to build a PC Controlled IoT Device, but have only just got Blink working? Get it done with vMicro, without extra code...

 

If you have just started out with Arduino, or want to get your prototype running quickly, the Serial Debugger built into vMicro you can add charting, and control digital pins to any project in minutes.

If you have just begun, we reccomend going through our course below, to take you from the start to this point in an afternoon....

 

See More:-

IoT Solution Course

 

IoT Device Debugging

[#] Adding C++ / C / INO Code to Arduino Project

Do you need better code structure to complete your Arduino Project? Add INO / C++ / C code at the click of a button with vMicro

 

When you need to add additional INO, or C/C++ code to a project Visual Micro helps you get there in a few clicks, as well as adding the base code for your Arduino Header files, and Classes to get your project moving as quickly as your ideas do.

With support for the standard project and src folder structures for Arduino your project remains backwards compatible, whilst giving you the control to structure your project as you need it, without having to write all the base code yourself.

**These new Templates are available from build 20.03.21.21 onwards**

 

See More:-

Understanding Project Structure

About INO and CPP Files

Adding and Deleting Source Files

 

Source Code INO Source Files

[#] Physical Arduino Sensor Positioning Made Easy

Have your code working, but your project is misbehaving in the real world? vMicro makes it easy to see whats happening...

 

Using Visual Micro you can harness the Serial Debug tools to give you a visual reading of your sensors, without changing your project. This allows you to physically place the project and monitor the real world feedback from multiple sensors, without having to trawl through the Serial Monitor.

This makes it easy to find the perfect position for your projects sensing capabilities, ensuring you get the readings you need, and information to help you tweak your code to fit the environment.

 

See More:-

Setting Up the Serial Debugger for Sensor Calibration

ESP32 Debugging Over The Air

 

Sensor Setup Arduino Positioning

[#] Creating Arduino Libraries (The Easy Way)

Do you want to share your code with the Community using Libraries? Create a Library for all Arduino platforms in a few clicks..

 

With Visual Micro you can create Arduino Library Projects in seconds from our Template, allowing you to encapsulate your code for use in multiple projects, and across platforms.

Adhering to all Arduino Library Specifications means you can share your Library with the entire Arduino Community irrelevant of what IDE and tools they use.

Coupled with our in-project Library capture, and versioning, you can safely keep your project on one version, while continuing to develop your library at the same time, as shown in the Adding Libraries Video.

 

See More:-

Cross Platform Library Development Documentation

Adding Libraries to Projects

Arduino 3rd Party Library Specification

 

Libraries Create Library Shared Code

[#] Installing Arduino Board Packages with Visual Micro

Can't Find the Board you need? Need to Install a New Board or a Custom package? This is the place to start...

 

Visual Micro shares the board packages with the Arduino IDE, and inherits all additional JSON URLs from the Arduino IDE for you.

Using the Board Manager in Visual Micro makes it easy to find and install a new board package, as well find an existing board quickly and easily.

Additional URLs can be configured to allow custom board packages and cutting edge boards to be used in your development process immediately.

 

See More:-

Using the Board Manager

 

Board Installation Board Support Package Arduino Board Setup Arduino Board Manager Board Manager Board Package JSON URL Visual Studio

[#] Installing Energia IDE for Visual Micro in Visual Studio

If you want to use the Texas Instruments boards and Energia IDE with Visual Micro, this is the place to start.

 

**NOTE** If you have not installed Visual Micro yet, watch this video to see how to install Visual Micro into Visual Studio.

The Energia IDE can be used with Visual Micro, alongside other IDEs such as Arduino, to allow you to develop your IoT Solutions for a variety of hardware and manufacturers, allowing you to create industry ready solutions, with certifiable routes to market.

 

See More:-

Energia IDE Download

 

Energia Texas Instruments CC3200 Launchpad

[#] Creating a Cross Platform Shared Code Arduino Project

Do you want to use the same code on multiple platforms, and in multiple solutions, without having to create it as an Arduino Library?

 

Using Shared Projects you can create separate C/C++ projects which are included with your project at build time from anywhere on your machine.

Though your project is platform independent, Visual Micro switches to the platform selected for your startup project, so you can quickly and easily make your project cross platform and reliable.

Also if your Shared Project code is compatible with Windows as well, you can implement Automated Testing directly on your desktop, allowing you to test flow / logic and mathematical code reliably without even knowing what board it is destined for.

There will be further videos on shared projects shortly, to go through how to add a Shared Project to an existing solution, and solutions which contain both Shared Projects, and multiple Arduino Board projects.

 

See More:-

Using Shared Projects Docs

Arduino Shared Project: PC Debugging and Automated Testing

Arduino Shared Project: PC Debugging and Automated Testing

 

Shared Project Visual Studio Shared Project C++ Cross Platform Shared Project

[#] GitHub Integration for Arduino in Visual Studio

Want to develop your Arduino project with other team or community members for free, GitHub Projects integrate seamlessly with vMicro...

 

Backing your project onto GitHub allows you to easily collaborate online, and develop as a group, whilst keeping track of all changes to your code. Using the Visual Studio integration you can seamlessly add your existing and next projects to GitHub, and keep developing with Visual Micro as normal.

 

See More:-

GitHub

GitHub VS Extension

 

Version Control Systems GitHub Version Control Firmware Version Control Firmware Version Git GitHub Visual Studio

[#] Azure Git Integration for Arduino in Visual Studio

Wanting Git Version Control with multiple developers on an Arduino project, and further tools in Azure Dev Ops, this is for you...

 

In this video we will setup a new ADO Project and Git Repository, and connect this back to Visual Studio on our machine, Create and Check In a new Arduino Project using Visual Micro.

Harnessing Microsoft Azure Dev Ops you can have multiple Git Repositories per project, all within the ADO platform. This allows you to quickly implement Version Control, as well as expand into additional features such as task management, and even implement a build process with a remote server....

 

See More:-

Azure Dev Ops

Cloud Build Process for Arduino

 

Azure Dev Ops Team Services Git Remote Development Verson Control Product Development Professional Arduino

[#] Add Cross Platform Shared Code to Existing Arduino Project

Already have an Arduino Project and want to re-use cross platform code in this, and other projects, you'll need to add a Shared Project to your existing Visual Micro Solution.

 

In This Video: We will add a new Shared Project to an Existing Arduino Solution to demonstrate how you can quickly compartmentalise your code for multiple platforms.

About Shared Projects: Using Shared Projects you can create separate C/C++ projects which are included with your project at build time from anywhere on your machine.

Though your project is platform independent, Visual Micro switches to the platform selected for your startup project, so you can quickly and easily make your project cross platform and reliable.

Also if your Shared Project code is compatible with Windows as well, you can implement Automated Testing directly on your desktop, allowing you to test flow / logic and mathematical code reliably without even knowing what board it is destined for.

There will be further videos on shared projects shortly to demonstrate solutions which contain both Shared Projects, and multiple Arduino Board projects for different boards.

 

See More:-

Using Shared Projects Docs

Create Shared Project from Scratch

Automated Testing with Shared Projects

 

Cross Platform Shared Project Automated Testing

[#] Arduino Hardware Debug Troubleshooting

If you are having trouble getting Hardware (GDB) Debugging working on your Visual Micro project, this video may have the solution you need.

 

When you have issues getting the Hardware Debugging working it can seem like solving your bug is further away than before... thankfully there are a few common problems which we can all run into from connection issues, to incorrect selections in the IDE, and even USB driver issues...

Our full online troubleshooter can be found below, and will guide you through these solutions in more detail. Follow the troubleshooter through and it will advise on what is best to do to get you up and running as quickly as possible.

 

See More:-

Hardware Debugging Troubleshooter

Introduction to GDB Debugging

vMicro Debugger Support Listing

 

GDB Debugging Troubleshooting Hardware Debug

[#] Installing Visual Micro (Bleeding Edge Releases)

This shows how to install the very latest release of Visual Micro before it is updated on the Microsoft Gallery.

 

If you have reported an issue on the forum, or if you want to stay completely up to date with all features and bug fixes in Visual Micro before a release to the Microsoft Gallery, this shows how to install it.

The Version Selector is the safest way to install the update, and ensures no conflicts happen between the Atmel Studio and Visual Studio VSIX installers.

 

See More:-

Forum Releases

Microsoft Gallery Releases (Stable)

 

Installation Latest Version

[#] Customise Arduino for Visual Studio Toolbars

We all work differently in our IDEs, we all like to have our own custom layouts... with Visual Micro you can customise the IDE to your needs

 

Using the Automatic toolbar options Visual Micro's toolbars only appear when you are working on an Arduino project, also allowing manual control to ensure toolbars always or never appear.

On top of this you can customise the toolbars appearance, by hiding and showing buttons, as well as adding buttons not currently on the toolbar to it. With further customisation for keyboard shortcuts as well, you can lay out your IDE just as you like it, saving you time and frustration when building your projects.

 

See More:-

Auto Toolbars

VS Customisation Options

 

Custom Toolbar IDE Layout Visual Studio

[#] Conditional Debugging for Arduino Projects

With the Visual Micro Serial Debugger you can use the advanced conditionally Break and Trace features to easily control your debugging session.

 

In this video we explore Conditional Breakpoints, Hit Counters, and Time based Breakpoints.

Often you need to control what conditions cause a debugging action to trigger, so you can output data or stop your program only in a certain scenario. With the Serial Debugger you can use Conditional Expressions, as well as Hit Counters, and Millisecond Counters, to quickly and easily allow you to debug the scenario you need, without having to step all the way to the problem.

GDB Tools for Micro-controllers often don't support the Hit Counters, and can often affect the speed at which your board executes your program. With the Serial Debugger these problems and wiring headaches are a thing of the past....

 

See More:-

Serial Debugging Overview

Breakpoint Actions

Conditional Breakpoints

Breakpoint Hit Counters

The Breakpoint Window

 

Arduino Debugger Arduino Debug Serial Arduino Debugging Software Conditional Break Hit Counter Debugging Serial Visual Studio

[#] Embedding Version Info Into An Arduino Project

Multiple installations or multiple boards? Its always useful to be able to tell what version on-board ties up with which code build....

 

We have all lost track of which firmware is on which board, and what changes were in it, often leading to a lot of wasted time and confusion...

Using a few simple techniques you can embed the date / time, as well as any other externally generated information, directly into your project at build time, every time. This also allows your Version Controlled Check-ins to be tied up quickly with running firmware, saving your time and energy when trying to identify a fix, or if it has already been fixed.

This works with any Version Control System, and some tools provide additional Command Line tools which are perfect for this purpose, when combined with the build.hooks available. (e.g. Tortoise Git uses GitWCRev can be used to generate more detailed information)

 

See More:-

Project Used in this Example

Arduino Build Hooks

 

Version Control Systems Embedded Version Control Firmware Version Control Firmware Version Git TFS Azure Dev Ops Azure TortoiseGit Visual Studio

[#] Debugging Arduino Libraries (Without Code Modification)

It can be difficult to solve a problem in your own Library, or in an external one, but using Visual Micro you can debug in seconds, without modifying the Library!

 

We all run into issues with our projects, and it can be even more difficult to solve Library problems, even if they are your own libraries... By including them as Shared Projects in Visual Micro you can debug using GDB/GDBStub in no time, and get those problems solved quickly.

 

See More:-

Setting up GDBStub for AVR

 

Arduino Library Debug Arduino Library Error Arduino Library Development GDB Debugger Tutorial GDB Debugging in C Arduino Library Library Development Debug Debugger Tutorial Visual Studio

[#] Installing Atmel Studio and Visual Micro for Arduino

Get setup with Atmel Studio and Visual Micro to start building applications for AVR and SAM Processors, in Hobby and Business projects...

 

For Arduino IDE Installation see the start of this video

Using Atmel Studio from Microchip gives a tailored development environment for embedded programming, which is free for hobbyists and businesses. Combined with Visual Micro you can develop your projects in less time and with more flexibility.

 

See More:-

Atmel Studio

Get Started with Visual Micro

 

Atmel Studio 7 Arduino Atmel Studio 7 AVR Microcontroller AS7 AVR SAM Visual Studio

[#] Visualize Millisecond Events from Your Arduino

When you want to see events faster than you can interpret using Serial, you need an approach like this to slow things down, and graphically display them.

 

When you are working on your project, there are often events which happen so fast in the physical and electrical world (e.g. switch / contact bouncing), that you can't stream them out to Serial in a meaningful way. Using the approach shown in this video of buffering the data, and releasing it slower after allows you to slow things down so you can see the issues, as well as the improvements your changes make.

Adding the Visual Micro Serial Debugger, gives you an easy to setup interface, allowing you to control the execution of your tests from your PC, as well as graphically review the data. In this example we show contact bouncing happening via the @Plot Charts interface, allowing a much better understanding of what happens as two electrical contacts are made, which is fundamental when working on embedded projects.

 

See More:-

Serial Debugging Overview

Breakpoint Actions

Conditional Breakpoints

Breakpoint Hit Counters

The Breakpoint Window

Conditional Debugging for Arduino Projects https://www.youtube.com/watch?v=kSxPGl8pEY8

 

Debounce Switch Arduino Switch Debounce Arduino Switch Input Arduino Switch Tutorial Switch Push Button Button Visualize Millisecond Too Fast Visual Studio

[#] Teensyduino Touch MIDI Notebook

For anyone who uses Arduino and MIDI, or just likes to tap a beat on the desk, create a MIDI device with Teensy and Paper!

 

Using the powerful Teensy boards with Visual Micro, you can create and calibrate a USB MIDI capable device in minutes, and coupled with in-built hardware touch detection you can add a buttons to it using nothing more than pencil, paper and a paperclip!

This is a simple example of how to create your own notebook MIDI Device, using just a Teensy LC and a few wires, allowing you to have a whole array of instruments in your top pocket. As the Teensy is fully USB compliant, it can also be connected to a USB Host adapter on a mobile phone, so you can plug your notepad into your phone, and begin recording anywhere.....

Of course the instrument layouts are only limited by your imagination (or in my case drawing skills), so you could have a roll out / fold up keyboard, which allows for a full size keyboard to unfold from next to your phone!

This is just the tip of the Teensy features, and with more power on the new boards than you can shake a stick at, the limit is imagining what to make next.....

 

See More:-

Basic @Plot Charts in Visual Micro

Teensy Capacitive Touch Information

Teensy MIDI Information

MIDI-OX Software

 

Arduino Touch Pad Arduino Touch Sensor PJRC Teensy 4.0 Teensy 3.6 MIDI Capacitive Touch Sensor Touch Teensy Teensyduino Visual Studio

[#] Enhahncing Projects with Night Vision Modifications

With your Arduino camera project, you may want to work in low or no visible light, or be able to watch for wildlife without them noticing...

 

In this video we show the hardware modification which can be made to a variety of cameras used with embedded boards, such as the OV2640 as shown here on the ESP32-CAM. By simply removing the Infra Red Light filter, you can then use the camera in complete darkness with IR lighting, and in low light conditions.

We used a TV remote in this video for our IR Light Source, and for the ESP32-CAM the on-board Torch LED could be replaced with an IR LED instead allowing for control of the LED lighting from the software...

This is fiddly to achieve physically due to the size of the parts, and lenses/cameras without IR filters can be purchased as an alternative.

The software used is the ESP32-CAM Camera Example, which added in from the Examples for this board, in the Visual Micro Explorer.

 

See More:-

Arduino: Use Examples in vMicro

ESP32-CAM GDB Debugging

 

ESP32 ESP32-CAM Nightvision

[#] Speed Up Build Times for Large Arduino Projects

When your projects begin to grow beyond a simple sketch, you may find you want to decrease the build times...

 

Depending on the scale of your project code, and volume of libraries involved, you can begin to suffer from longer build times than are needed. With these additional options in Visual Micro you can speed up the build times for your projects easily. Here we harness some of the project build hooks to contrast the benefits of these options.

Shared Cores allow all builds using the same core to benefit from other projects and solutions building it, so if you often work with a sub-set of boards and cores, you will definitely benefit from this option. Use "Build - Rebuild" if you want to clean the project without removing the Shared Core, or "Build - Clean" if you want to clean the Shared core too.

Parallel Builds allow tasks to run in parallel where it is safe to do so, decreasing your build time by multithreading the process.

Deep Search and Accurate Prototype Insertion saves you time on build, but you will have to ensure all includes for libraries are present, and all prototypes are defined in your code.

 

See More:-

Arduino Build Hooks

Marlin Firmware Website

 

Build Time Cache Faster Arduino Build

[#] $5 WIFI Black Magic GDB for SAM/SAMD/STM32/MBED

You can now create a Black Magic GDB Debug Probe to debug your Arduino sketch, using an ESP8266, allowing GDB over WiFi for a variety of Boards!

 

Once you are used to GDB Debugging with your projects, you often want to leave it in-place and debug, or be able to debug your WiFi / Bluetooth project without having to bring it back to the PC and plug in cables. Thanks to the work of Valmantas Palikša (walmis) you can now create a Black Magic Probe from an ESP8266 board!

The guide on our website walks you through this process, and provides a pre-compiled binary file for your ESP8266, meaning you can be up and running in 5 minutes, with GDB over WiFi in Visual Micro!

 

See More:-

Guide for ESP8266 WiFi BMP GDB Probe

ESP8266 BMP GitHub Project

Hackaday Feature Overview of Other Firmware Features

 

GDB Debugger Tutorial GDB Debugging in C Black Magic Probe Clone GDB WiFi Cheap GDB Probe GDBStub Debugger Tutorial BMP Debug Port Black Magic GDB WiFi Visual Studio

[#] Multi Threading with Arduino and PJRC Teensy Boards

If you are finding it difficult to get all of your processing done on a single thread, this is the article for you.

 

Using the Powerful PJRC Teensy Boards with Arduino and Visual Micro you can quickly setup multi threading without getting tangled up. In this video we simply control 3 x LEDs on different time intervals to demonstrate this.

Coupled with the sheer processing power of the newer Teensy 3.x and 4.x boards, you can handle multiple inputs and outputs as separate processing threads, making the difficult task of managing multiple inputs, outputs, and processing conditions simple!

 

See More:-

Installing Teensyduino for Visual Micro

PJRC Teensy Boards

Hackaday Feature Overview of Other Firmware Features

 

PJRC Teensy 4.0 Teensy 3.6 Multithreading C++ Multithreading Explained Teensy Teensyduino Multi Thread Concurrency Visual Studio

[#] Arduino DHT Sensor Custom Web UI via Serial

Its never been easier to build quick interfaces for your projects, than using the Web Debug Library in Visual Micro...

 

Using the Web Debugger built into Visual Micro you can quickly turn your normal DHT serial output into a web interface on your PC with Bar / Line / Pie / Gauge charts, as well as number tiles, sliders and even RGB colours, as well as CSV download of timestamped data to review or inspect later.

This is just a preview of what can be achieved, and the library and this feature will continue to be improved over time, so keep your eye on this channel for updates....

 

See More:-

VM Web Debugger Library Download

DHT Sensor Library

Hackaday Feature Overview of Other Firmware Features

 

DHT Sensor with Arduino DHT11 Arduino DHT21 Arduino DHT22 Arduino DHT Arduino Web Server Arduino Web Interface Tutorial Web Interface DHT Visual Studio

[#] De-Bounce Push Buttons Easily in Arduino Projects

Learn a few different ways of de-bouncing your Arduino push buttons, and see the difference it makes visually with Visual Micro.

 

It is confusing at first to find a simple on off press can "bounce" (change state rapidly) when pressing and releasing, and it can be just as difficult to read these buttons reliably.

Here we show the bounce on a standard button, and the ways of solving this using simple delays, 3rd Party Arduino Libraries, as well as hardware, so you can be sure your button presses are one clean press and not 10....

 

See More:-

De-bounce RC Circuit Diagram

R/C Circuit Calculator

Visualize Millisecond Events from Your Arduino

 

Debounce Switch Arduino Switch Debounce Arduino Switch Input Arduino Switch Tutorial RC Circuit Switch Push Button Button Visual Studio

[#] GDB Debugging Teensy 3/4 Arduino Projects with GDBStub

Get all the benefits of GDB Debugging on your Teensy Arduino Project without any additional hardware or wiring!

 

Using the library published by Fernando Trias [ftrias], you can quickly and easily start debugging with GDBStub in Visual Micro. With no additional hardware or wiring needed, and the pre-configured options in Visual Micro, you debug those Teensy Arduino Projects in no time...

With the Teensy Boards supporting more than one Serial device, you can run the GDBStub through one port, and keep all of your Serial messages coming back to the PC from another.

The pre-configured menu options are available in the very latest release of Visual Micro (20.06.18.2)

 

See More:-

GDBStub Library for Teensy 3/4

Arduino GDB Tutorial

PJRC Teensy Store

 

PJRC Teensy 4.0 Teensy 3.6 Teensy Teensyduino GDB Debugger Tutorial GDB Debugging in C MiExec GDBStub Debugger Tutorial Debug Port GDB Visual Studio

[#] Fix Common GDB Slowdown Problem On Arduino

Does GDB seem to be executing slower than you expect? Have you set more breakpoints than are supported on your Debugger?

 

When you are using a hardware debugger you can often find that debugging is far slower than you expect.

One of the reasons for this can be that there are more breakpoints set than are supported on your debugging device (Hardware breakpoints). Here we show you how to find out if this is the case in Visual Micro, and demonstrate the difference this can make to execution.

There are other reasons GDB can be slower than other debugging tools, due to how it has to manage the execution stack, but as we see here there are far simpler issues which can be solved.

Of course an alternative is to use the Visual Micro Serial Debugger, which supports more breakpoints than the hardware debuggers, and charting and digital pin interaction controls.

 

See More:-

Debugger Support Listing

Visual Micro Serial Debugger

 

GDB Slow GDB Speed GDB Debugger Tutorial GDB Debugging in C MiExec Black Magic Probe Clone GDBStub Debugger Tutorial BMP Debug Port Black Magic GDB Visual Studio

[#] Execute GDB Commands While Debugging Arduino Projects

If you want to be able to run your own GDB Commands whilst Debugging your Arduino Project in Visual Micro, this is for you....

 

Whilst your debugging session is running in Visual Micro with either GDBStub or any Hardware Debugger, there is a background session active with GDB.

You can interface with this session via the VS Command Window, by using the "Debug.MIDebugExec" Command, to run your own commands whilst still in the UI, and without stopping your existing debugging session.

This can be useful if you are used to the GDB Command prompt, and if there are additional commands as shown here which are not implemented directly via the UI.

Give it a go with our free fully featured 45 day Trial.

 

See More:-

Running Custom GDB Commands in Visual Micro

Teensy 3.6 / 4.x GDB Stub

GDB Command Listing

 

GDB Debugger Tutorial GDB Debugging in C MiExec Black Magic Probe Clone GDBStub Debugger Tutorial BMP Debug Port Black Magic GDB Visual Studio

[#] Debug Port Selection for GDBStubs & Black Magic Probes

New and improved Debug Port selection has been added to Visual Micro for all GDBStubs and Black Magic Probes.

 

In the latest version of Visual Micro, you can now easily select the Serial Port which your GDBStub / Black Magic Probe is debugging over, ensuring your Serial Port Monitor is left for your serial data.

Simply select the COM port you wish to use for the GDBStub, as shown in this video with the Teensy GDB Stub..... it couldn't be easier!

 

See More:-

Running Custom GDB Commands in Visual Micro

Teensy 3.6 / 4.x GDB Stub

 

GDB Debugger Tutorial GDB Debugging in C Black Magic Probe Clone GDBStub Debugger Tutorial BMP Debug Port Black Magic GDB

[#] Upload Arduino Code Using Programmer (ESP-PROG)

If you want to use a programmer to upload your Arduino Code, this guide for the Espressif ESP-PROG and ESP32 will show you how....

 

In this video we take you through wiring up, and setting up your ESP32 with the ESP-PROG programmer and debugging board. This allows you to program your ESP32 without the on-board USB interface, and also allows you to use the Hardware Debugging features (see links at bottom).

The process is similar for other boards and programmers, with further documentation available on our website.

 

See More:-

ESP32 Overview (Includes Wiring Diagrams shown)

ESP32 Hardware Debugging (& JTAG Wiring)

ESP32 CAM Hardware Debugging (& JTAG Wiring)

 

ESP Programmer Board ESP Programmer ESP Programmer Pinout ESP PROG ESP ESP32 Espressif Programmer ESP-PROG Embedded Programmer Embedded Serial Arduino vMicro Visual Micro

[#] Use Serial via Programmer for Embedded Arduino Projects

If you want to use the Serial port on your ESP-PROG, for your embedded ESP32 Projects, this is for you....

 

On some programmers there is an additional Serial port available, which allows you to link your boards' Serial to your PC without an additional USB to Serial adaptor.

Here we are using the ESP-PROG, and the same feature is available on the Black Magic probe (and its STM32/ESP8266 clones), and the F2232 MiniModule, as well as others....

This allows you to do away with all supporting circuitry to link the embedded device to your PC, which is useful if you are planning to embed the module itself into your own project, instead of a whole development board...

 

See More:-

Upload Arduino Code Using Programmer (ESP-PROG)

ESP32 Overview (Includes Wiring Diagrams shown)

ESP32 Hardware Debugging (& JTAG Wiring)

 

ESP Programmer Board ESP Programmer ESP Programmer Pinout ESP PROG ESP ESP32 Espressif Programmer ESP-PROG Embedded Programmer Embedded Serial Arduino vMicro Visual Micro

[#] Marlin 3D Printer Firmware Build / Bootload with Arduino Board

If you have a 3D printer or want to build one, Marlin is likely the best place to start, and with Visual Micro you can build your own custom firmware easily.

 

Marlin is used in a wide variety of 3D printers as it supports a multitude of extruders, motor setups, bed sizes, motion types, and so much more, all backed by the open source community!

Using the Marlin Firmware in Visual Micro you can work with a large scale project easily, with its intellisense, and quick code navigation features, as well as additional Serial and Hardware debugging tools if you do run into trouble....

All details shown in this video are on the Marlin Overview page below, along with the wiring diagrams presented.

 

See More:-

Marlin Overview (Includes Wiring Diagrams shown)

Marlin Official Website

 

Marlin 3D Printer Software Marlin 3D Printer Firmware Marlin 3D Printer Firmware Flash Bootloader RepRap GeeeTech GT2560

[#] Developing Professional Arduino Libraries Easily in Visual Studio

Developing an Arduino library, with version control, and debugging whilst testing can be difficult to manage.... unless you use Visual Studio....

 

With the Visual Micro Extension for Visual Studio you can quickly and easily debug and write Arduino libraries from sources such as GitHub or Azure Dev Ops, without having to have multiple IDE windows open, or multiple copies of the library on your machine.

There are other options to allow cloning of a specific library into your project if it needs to remain a static version, and with further custom versioning available at build time you can go as far as your project needs, in a single window.

 

See More:-

Arduino: Adding Libraries with vMicro

Creating Arduino Libraries (The Easy Way)

Debugging Arduino Libraries (Without Code Modification)

Creating a Cross Platform Shared Code Arduino Projec

 

Version Control Systems Embedded Version Control Arduino Library Debug Arduino Library Error Arduino Library Development GDB Debugging in C Version Control Firmware Version Arduino Library Library Development Debug GDB Git TFS Azure Dev Ops Azure TortoiseGit Visual Studio

[#] Using Multiple Arduino Serial Monitors

Often you need to monitor more than one Serial Port in your Arduino project, which can be done in 3 clicks in Visual Studio....

 

Using the Visual Micro Extension for Visual Studio you can have 2 or more Serial monitors open side by side (or however you like them arranged), making board to board communications simple to work through and investigate.

This is also useful when debugging, as it allows you to have one Serial port dedicated to debugging, and another for your normal communications, without having to have multiple programs running.

 

See More:-

Using Multiple Serial Monitors

Working with the Serial Monitor

 

arduino serial communication arduino serial monitor serial arduino to arduino arduino serial serial communication serial monitor arduino to arduino serial communication

[#] Disassembly View for Visual Studio and Arduino

If you want to see the assembly code in action on your Arduino board, or need to get down to ASM to debug, this is the quick video for you...

 

Using the Disassembly View in Visual Studio, you can easily keep your debugging in step between the Arduino code, and the ASM code, allowing either a more informed learning process, or solving a problem between different architecture MCUs....

 

See More:-

How to Use the Disassembly View

 

Assembler Arduino Assembler Programming Disassembly ASM Visual Studio

[#] Convert Arduino INO to CPP Walkthrough

If you are used to C++, and would like to convert an existing Arduino INO project, this is the video for you...

 

Moving most code out to CPP/H files allows for better organisation of your code, and keeping the INO allows all serial debugging functions to work as normal as well.

Once you are used to working with standard C++ you can also move into using Shared Projects allowing for Cross Platform coding and Automated testing easily...!

Arduino INO files can be converted easily to standard CPP/H files for your embedded project, in only a few simple steps:

 

  1. Add a ProjectName.cpp file to the project (and optionally a ProjectName.h)
  2. Ensure the Arduino.h is included in your H file
  3. Merge all INO files into your CPP file(s)
  4. Ensure all function prototypes are declared in your H file or before their first usage in your CPP file.
  5. Use the code from your CPPs in your INO as normal

 

 

See More:-

More About INO and CPP Files

Arduino Specification for INO File Combination

Adding C++ / C / INO Code to Arduino Project

 

convert ino to cpp arduino cpp tutorial arduino cpp and h files Embedded C++ cpp tutorial arduino cpp cpp and h files C++ Embedded

[#] ESP8266 OTA Debugging in Visual Studio

In the latest release you can use the Visual Micro Serial Debugger Over The Air, as well as upload your code, for full wireless Updates and Debugging of your Arduino Project.

 

All features of the Serial Debugger are available, allowing you to step through your code easily as well as use @plot charts to graph data, watch variables, and add your own messages back to the Wireless Serial port monitor, by using the Microdebug.sendUserMessage(char*) function in your code.

Once you are used to working with standard C++ you can also move into using Shared Projects allowing for Cross Platform coding and Automated testing easily...!

 

 

See More:-

OTA WiFi Debugging for Espressif ESP Boards

Visual Micro - Remote Transport Setting Reference

ESP8266 OTA Sketch Used is the "BasicOTA.ino" included with the ESP8266 Arduino Core

Plot Charting with the Serial Debugger

ESP8266 Documentation

Performance Monitoring with the Serial Debugger

Visual Micro Serial Debugger Walk through Guide

 

ESP8266 Debugging OTA Upload Arduino Debug OTA Debug Wifi Debug Wireless Debug Espressif

[#] Recycle Old Arduino As USB to Serial Adaptor

Need to connect to your embedded Serial via USB but haven't got an adaptor? Use an old Arduino Uno with a wire instead!

 

If you have an old Uno, you can hack it by removing the main IC (or you may have embedded it in another project), or simply short GND to RST, to disable the IC, meaning you can use the USB to Serial bridge on-board, and link it to another board which doesn't have one....

Simple and effective, and can keep you working while you wait for the correct part to arrive.

 

Like and Subscribe for more videos about everything Arduino, and take a look through our playlists and other videos to find out what else you are missing out on in your embedded development journey.

 

 

diy usb serial adapter usb serial port Arduino Uno


[#] Debugging INO and CPP Projects Using Serial

If you have a project with mixed INO and CPP project sources, and need to get to the bottom of an issue, this quick round up is for you!

 

Using the Serial Debugger included with Visual Micro, you can easily debug INO and CPP files, with no additional hardware, on most Arduino compatible boards.

Don't forget to like and subscribe to stay up to date with our channel and product feature updates.

 

 

See More:-

Serial Debugging Playlist

Convert Arduino INO to CPP Walkthrough

 

Debug Arduino Visual Studio Debug Arduino Sketch Debug Arduino Program Arduino Serial Plotter Arduino Serial Debug Debug Arduino Debug Sketch Serial Debug Visual Studio

[#] Learning Timer Interrupts for AVR and Arduino

If you need to execute something on a timer, and it needs to happen all the time, every time... this is the guide for you.

 

Timer Interrupts are an effective way to ensure timed events happen to the millisecond, allowing for fine tuned clock or PWM operations, or just suppling a reliable pulse to an LED.

As they are Interrupts they require different code on different platforms, and the Snippets shown, and Examples page below both contain examples for AVR, ESP8266 and ESP32.

Don't forget to Like and Subscribe to stay up to date with new videos and feature updates...

 

 

See More:-

Timer Interrupts Explained

Using Snippets in Visual Micro

Installing Visual Micro

 

Arduino Interrupts Tutorial Arduino Interrupts Arduino Timer Interrupt Example Arduino Timer Interrupt Code Arduino Timer Input Arduino Interrupt Interrupt Tutorial Interrupt Example Interrupt Code Timer Input Interrupt Visual Studio

[#] Quick Embedded Web App Tutorial for ESP32/8266/8285

Want to build your own IoT Device with an Embedded Web Interface, and get started in only 5 minutes?

Instructables: Arduino Power Plug Web Control

 

This is a quick demo of the Embedded Web Interface example for the Espressif ESP32 / ESP8266 / ESP8285 SoC devices, which is detailed in the link at the top. Complete with wiring diagrams, and all settings needed to upload your SPIFFS image and INO code, you can work through it at your own pace, or jump right in with the example sketch.

With Visual Studio you can edit all of your Web Interface Code with the same navigation tools, syntax highlighting, and intellisense as your Arduino code, making it a seamless experience to develop in multiple languages, from C++ to JS/CSS/HTML...

All source code is supplied in the links below, and in the Instructable.

 

 

See More:-

Full Instructable Article with Wiring Diagrams

Source Code Download

 

Embedded Web Server IoT Web Application ESP Web Server ESP Web Interface SPIFFS ESP32 SPIFFS ESP8266 ESP Project ESP ESP32 ESP8266 ESP8285 SPIFFS Espressif Embedded Programming Embedded Web UI Arduino

[#] Learning Timer Interrupts for ESP32 and Arduino

If you need a reliable timer in your embedded ESP32 project, Timer Interrupts are the best way to achieve this reliably.

https://www.visualmicro.com/page/Timer-Interrupts-Explained.aspx

 

Timer Interrupts are an effective way to ensure timed events happen to the millisecond, allowing for fine tuned clock or PWM operations, or just supplying a reliable pulse to an LED.

As they are Interrupts they require different code on different platforms, and the Snippets shown, and Examples page below both contain examples for AVR, ESP8266 and ESP32.

Don't forget to Like and Subscribe to stay up to date with new videos and feature updates...

 

 

See More:-

Timer Interrupts Explained

Using Snippets in Visual Micro

Installing Visual Micro

 

ESP32 Interrupt ESP32 Timer Interrupt Arduino Interrupts Tutorial Arduino Interrupts Arduino Timer Interrupt Example Arduino Timer Interrupt Code Arduino Timer Input Arduino Interrupt Interrupt Tutorial Interrupt Example Interrupt Code Timer Input Interrupt ESP32 Espressif Visual Studio

[#] Disassembly (ASM) Build Time View for Arduino in Visual Studio

If you want to see the assembly code for your project build, the Visual Micro Disassembly view has you covered....

https://www.visualmicro.com/page/Timer-Interrupts-Explained.aspx

 

Using the Build Time Disassembly View in Visual Studio, you can easily review the ASM code for your project, as well as jump to code locations in a simple click, allowing either a more informed learning process, or solving a problem at the lower levels of the platform....

With customizable switches and full output saved to disk, you can get at all the detail you need easily.

Don't forget to Like and Subscribe to stay up to date with new videos and feature updates...

 

 

See More:-

GDB Disassembly View

 

Assembler Arduino Assembler Programming Embedded Assembler Assembly ObjDump Disassembly ASM Visual Studio

[#] Learning Timer Interrupts for STM32 and Arduino

If you need a reliable timer in your embedded ESP32 project, Timer Interrupts are the best way to achieve this reliably.

https://www.visualmicro.com/page/Timer-Interrupts-Explained.aspx

 

Timer Interrupts are an effective way to ensure timed events happen to the millisecond, allowing for fine tuned clock or PWM operations, or just supplying a reliable pulse to an LED.

As they are Interrupts they require different code on different platforms, and the Snippets shown, and Examples page below both contain examples for AVR,ESP8266,ESP32 and STM32.

Don't forget to Like and Subscribe to stay up to date with new videos and feature updates...

 

 

See More:-

Timer Interrupts Explained

Installing Visual Micro

 

STM32 Interrupt STM32 Timer Interrupt Arduino Interrupts Tutorial Arduino Interrupts Arduino Timer Interrupt Example Arduino Timer Interrupt Code Arduino Timer Input Arduino Interrupt Interrupt Tutorial Interrupt Example Interrupt Code Timer Input Interrupt STM32 ST Micro Visual Studio

[#] Debug IO View for Arduino Projects in Atmel Studio

If you want to see your IO pins, and be able to change their state when debugging, Atmel Studio has you covered with Arduino hardware projects.

 

Using a compatible GDB Debugger and Arduino Board, in Atmel Studio you can view and change the states of your IO pins, and all hardware level registers, buffers and memory.

Simply start your debugging session and open the IO window from the Debug -- Windows Menu, and find the respective PORT / PIO section for your pin. Change the value of the pin when stopped on a break point, by double clicking its value and typing in the new one, press enter to set.

Don't forget to Like and Subscribe to stay up to date with new videos and feature updates...

 

 

See More:-

Installing Arduino IDE for Atmel Studio 7

GDB Debugging in Atmel Studio 7

 

Debug IO Pin View Arduino Pin Details Arduino View Pins Debugging GDB IO Pin Pin Details Pin View Debug Visual Studio

[#] First Arduino Project in Visual Studio Tutorial

Just getting started with Arduino in Visual Studio? Here we show you how to create, change and upload a sketch in a matter of minutes to get you up and running....

 

Once you have Visual Studio, Arduino and the Visual Micro Extension installed, you will want to get a sketch built and on to your board to get started. Here we take you through using the Blink Project Template, and we add in our "Hello World" Serial output. Once the board and COM port are selected its as simple as Building & Uploading the code to see it all in action...

Don't forget to Like and Subscribe to stay up to date with new videos and feature updates...

 

 

See More:-

Creating a New Project in Visual Micro

Setting Up Your Board Model and Connection

Installing Visual Micro

 

First Arduino Project First Arduino Program First Arduino Code Arduino Hello World Arduino Blink Arduino First Project Arduino First Program First Project First Program Hello World Blink Visual Studio

[#] Marlin 3D Printer Firmware Configuration Management

If you have multiple configurations of software to manage, and version, this is the quick guide for you. Here we use Git to Locally manage our different 3D printer configurations and software changes in Visual Studio.

 

Using Git integrated with Visual Studio you can easily manage the different configurations for your 3D printer firmware without having to manage multiple files your self. This makes it easier to branch and merge software, and to keep track of all changes, whether working alone or in a team.

In this video we go through setting up a Local Git Repository from an existing project, and creating the branches to hold our configurations, as well as checking in the initial changes to these branches. This makes it easy to manage and deploy your software, simply check out, and build and upload as normal!

Don't forget to Like and Subscribe to stay up to date with new videos and feature updates...

 

 

See More:-

Marlin 3D Printers and Visual Micro

Git Version Control

 

Marlin 3D Printer Firmware Marlin 3D Printing Software Marlin 3D Printer Arduino Arduino 3D Printer Configuration Management Version Control Printer Firmware Printing Software Configuration Git Marlin Visual Studio

[#] Simple Arduino IDE Replacement

If you need more from your Arduino IDE but want to keep it simple to use, this shows you how simple it can be in Visual Studio...

 

Using Visual Micro with Visual Studio (Community and Professional), you can quickly create and grow your Arduino projects, using the toolbar menus and buttons to select your board, port and upload your sketch.

In this video we create a new sketch project, add a second INO file, add some new code, and upload it to our board to see the end result, all using the simple toolbars.

Don't forget to Like and Subscribe to stay up to date with new videos and feature updates...

 

 

See More:-

Creating a New Project in Visual Micro

Setting Up Your Board Model and Connection

Compiling, Uploading, and Running your Sketch

 

Arduino IDE Alternative First Arduino Program First Arduino Code Arduino First Project Arduino First Program First Project First Program Visual Studio

[#] Advanced GDB Configuration Using JLink Drivers and Software

If you want to use the standard JLink Drivers and GDB Software with Visual Micro, we show you how to configure the Advanced GDB Setup for this scenario.

 

Sometimes you may not want to use the standard OpenOCD software with Visual Micro, and your Segger JLink Debugger, which isn't configured as standard in our software. In this video we show you how to setup your JLink and configure Visual Micro to launch the Debugger using the standard JLink Drivers and GDB Tools, meaning you can keep all drivers in place.

Don't forget to Like and Subscribe to stay up to date with new videos and feature updates...

 

 

See More:-

GDB Advanced Configuration Examples

Debugging Arduino DUE

 

GDB Tutorial Segger J-Link Tutorial Arduino DUE GDB Configuration Launch JSON Segger J-Link JLink GDB DUE JSON Visual Studio

[#] Use ESP32 DEVKIT Debugging and Programming with External ESP32 Board

If you have an ESP32 DEVKIT board, and other ESP32 boards you want to debug, you can simply hijack the DEVKIT debugger and programmer!

 

The ESP32 DEVKIT comes with a built in Debugger and Programmer allowing you to debug and program the on-board ESP chip. Here we show how you can use the same Debugging hardware with an external ESP32 target, allowing you to debug the rest of your ESP32 projects as easily as you do on the DEVKIT.

Don't forget to Like and Subscribe to stay up to date with new videos and feature updates...

 

 

See More:-

ESP32 DEVKIT External Debugging Wiring

GDB and ESP32

GDB and ESP32 CAM

ESP DEVKIT Hardware Diagrams

 

ESP32 DEVKIT ESP32 Debug ESP32 GDB ESP Programmer Board ESP Programmer ESP Programmer Pinout GDB ESP DEVKIT ESP ESP32 Espressif Programmer ESP-PROG Embedded Programmer Pinout

[#] Build Configurations and Sketch Size Implications in Visual Studio

If you want to understand the impact changing Build Configurations has on your Arduino Sketch size, this is a quick rundown of how it impacts the final upload.

 

The Release Build Configuration makes the end result identical to how the Arduino IDE builds the same sketch, which adds no overhead to the build produced.

In Debug Build Configuration there is additional information added so this slightly increases the size of the final build produced.

When using the USB Serial Debugger there is further code added to enable this feature, as well as additional code for each break / trace point in your sketch.

Its always worth remembering these points when either comparing to the Arduino IDE, or if you are running close to the maximum size of binary your board supports.

Don't forget to Like and Subscribe to stay up to date with new videos and feature updates...

 

 

See More:-

Build Configurations Documentation

 

Build Configurations Release Build Debug Build Sketch Size Visual Studio

[#] Starting BBC Micro:Bit with Visual Studio and Arduino

If you want to move to the next level with your BBC Micro:Bit then using Visual Studio and Arduino is a great way to learn, whilst using industry standard tools.

 

The Release Build Configuration makes the end result identical to how the Arduino IDE builds the same sketch, which adds no overhead to the build produced.

If you are just starting with a Micro:Bit but don't want to use block style programming, or just want to code more, then Visual Studio and Arduino can open the next door on your journey.

In this video we show you how to get your Micro:Bit setup for flashing via the USB lead, and the board packages needed, so you can get an LED blinking from your code in no time....

We will be adding more videos on this topic in the near future to expand into further IO on board, as well as the debugging options available, so you have all the tools you need to complete your project, or learn more about this amazing educational board.

Don't forget to Like and Subscribe to stay up to date with new videos and feature updates...

 

 

See More:-

BBC Micro:Bit Soft Device Firmware

BBC Micro:Bit Boards Manager JSON URL

BBC Micro:Bit Website

Sketch Code Example

 

micro:bit tutorial micro bit tutorial micro:bit blink micro:bit installation BBC micro:bit micro:bit BBC micro bit micro bit installation blink Visual Studio

[#] Debugging BBC Micro:Bit in Visual Studio with Arduino

If your BBC Micro:Bit Arduino project isn't behaving as you expect, or you just want to get used to the debugging tools before you hit a problem, this is the video for you.....

 

The BBC Micro:Bit board has debugging tools on-board, meaning you can use this advanced debugger, without any additional wiring or parts.

This is available in the latest release of Visual Micro (20.09.10.5), and by simply selecting a few menu options you can stop your code where you want, inspect variables at runtime, and step line by line through the code, making squashing that bug easier than ever.

Coupled with the Industry Standard software development tools in use, this debugging experience is invaluable in the learning process, as its virtually identical to debugging a variety of application types, saving you time in the long run in both learning and problem solving!

Don't forget to Like and Subscribe to stay up to date with new videos and feature updates...

 

 

See More:-

BBC Micro:Bit Introduction Video

BBC Micro:Bit GDB Debugging Page

 

micro:bit debugging micro bit debugging micro bit GDB micro:bit tutorial micro bit tutorial micro:bit blink micro:bit installation BBC micro:bit micro:bit BBC micro bit micro bit GDB OpenOCD CMSIS DAP Visual Studio

[#] Game Console Emulation on Arduino (Teensy / ESP32)

If you have ever wanted to build your own portable retro games console or PC, the Multi CompUter Machine Emulator (M.CU.M.E) gets you up and running in no time.....

 

In this video we show you how to get started using the M.CU.M.E System on a Teensy 3.6, to run a NES Emulator playing Tetris....

There are some great videos on TeensyProjects' Channel which show far more of the features of this in action, and really shows how far you can take your embedded Game Console projects!

Don't forget to Like and Subscribe to stay up to date with new videos and feature updates...

 

 

See More:-

M.CU.M.E GitHub Repo

Teensy 32-Bit Boards at PJRC

TeensyProjects You Tube Channel

 

Teensy Game Console Arduino Game Console ESP32 Game Console M.CU.M.E Multi CompUter Machine Emulator NES Amiga ZX81 Emulator Teensy 3.6 Teensyduino Visual Studio

[#] Starting Machine Learning with Arduino and TensorFlow

If you want to get started with Machine Learning, but want to embed it into your IoT Device, TensorFlow could be the solution for you...

 

In this video we show you where to get TensorFlow, and get started with the hello world example on your Arduino 33 BLE Board. We also show some useful sites, with links below, so you can learn more about the new and exciting world of Machine Learning on Embedded Devices.

The Hello World example shown predicts the Sine value of a number, using the Neural Net which has been trained with Sine data, as well as additional noise data to make it realistic. Luckily this has all been done for you in the example, so you can see the result, and then learn more to build your own model.

Don't forget to Like and Subscribe to stay up to date with new videos and feature updates...

 

 

See More:-

TensorFlow GitHub Repo

TensorFlow Building Hello World

TensorFlow Getting Started

Arduino AI Home Page

 

Machine Learning Basics TensorFlow Lite TensorFlow Example Neural Network C++ Embedded AI Arduino Nano 33 BLE Arduino Library Machine Learning TensorFlow Neural Network Visual Studio

[#] Using ESP32 FTP Arduino Client for File Uploads

If you have an ESP32 project collecting data, but want to scale up the nodes or storage volume, sending the data to your local FTP Server makes things easier to process....

 

Using the ESP32_FTPClient Library, in conjunction with an FTP Server such as FileZilla, you can quickly and easily transfer data and files from your devices back to a server.

This is very useful if you are processing data from multiple nodes in different physical locations on a PC, and removes the need to either bring the device back to the PC, or an SD Card, meaning you can gather and process in parallel... and if the FTP server is available online, you can gather data globally!

Don't forget to Like and Subscribe to stay up to date with new videos and feature updates...

 

 

See More:-

ESP32_FTPClient Library on GitHub

FileZilla FTP Server Download for Windows

 

ESP32 FTP Client Wireless FTP Client Arduino FTP Client ESP32 File Upload ESP32 FTP Upload FTP Client FTP Upload ESP32 FTP Filezilla Espressif Visual Studio

All Instructables are Below....

Arduino: Hardware Debugging ESP32 with vMicro

Learn how to setup Arduino Hardware Debugging with vMicro, from end to end including external drivers. Once complete you can connect, setup and debug your board, with an external hardware debugger with only a few steps... to quickly squash those bugs...

Arduino Power Plug Web Control

Using Visual Micro we can create and deploy the whole application within the same IDE, from our Arduino code to the HTML,CSS and Javascript required to run the web interface.

Arduino Sensor and Driver Calibration

In this Instructable we will calibrate an Arduino output (a Stepper Motor movement in this example) without the need to:
  • Upload the code each time we change a value (slow, and wears the chip more than needed)
  • Use additional input hardware (not always possible, its own tolerances can interfere)

Arduino Uno GDB Debugging

Sometimes you want to use the advantages of GDB Hardware debugging, but your hardware simply doesn't support it, which is the case with the Arduino Uno, and others like the ESP8266. There are GDBStub libraries which can give you most of the capability of the hardware debugger, via the Serial interface.

Arduino Cloud Build

In a team or commercial setting it can be useful to have the code automatically build on a regular basis within your cloud management solution, often as part of continuous integration.
Here we can leverage the Visual Micro Command Line Interface (CLI) on our Build server to build the code, for a variety of boards or debug levels for example.

Arduino Shared Project: PC Debugging and Automated Testing

Testing this code on-chip takes a long time due to flashing, and can be difficult to debug and test fully, even with hardware debuggers.
This is where using Shared Projects in Visual Micro allows you to employ standard Unit Tests and debugger, which run on your PC, saving you a lot of time and frustration.

Arduino Shared Projects

When developing your Arduino projects there is often code which is best shared so multiple projects can use it.
Visual Micro also allows use of Visual Studio C++ Shared Projects, allowing us to develop this code separately, and include it into multiple projects.

Voice Controlled Arduino

We will extend the example given in the Arduino Power Plug Web Control Instructable, to give us access to our web interface from the public internet, as well as be able to link into a Voice Assistant (or many other abilities once we are configured)

GDBStub Debugging With Serial

Using GDB Stub to debug is very useful, but losing the Serial output can make things difficult from the coding and understanding perspective.
Luckily we can implement the Software Serial Library to replace the Hardware Serial port we lose when using GDBStub, and with a few code changes, we can swap between them easily.

All Arduino ProjectHub Articles are Below....

Low Power Door Monitor

Add an Arduino door monitor to your project, without worrying the power will run out with the 0ma consumption when idle!

Portable Web Debugger for All Platforms

Serial Web Debugging can be used with shared sessions, breaks, watches and charting, you can share your project anywhere with one solution..

Arduino Nano 33 IoT Remote Debugging + Coding

Working through a problem, but only you have the hardware? Want to work with someone remotely as if they were there? This is for you...

Arduino Nano 33 BLE/IoT Custom Debugging

Learn how get going with debugging on your Arduino Nano BLE, as well as build your own low cost debugger module in the process!

The Talking IoT Toaster

If you've ever felt people don't ask for the all toast they want, this is the project for you!

Christmas Card PCB

Etch a PCB card you'll enjoy making with only electronic glitter involved! And it's a great way to use up those spares....

Arduino Uno Debugging

Try GDB debugging on your Arduino Uno without an external debugger, so you can solve those bugs and get your project released!

Arduino Nano 33 IoT Debugging

Get your Nano 33 IoT board connected to full GDB debugging so you can solve those bugs and get your project released!

$5 WIFI Black Magic GDB for SAM/SAMD/STM32/MBED

Want to use GDB over WiFi on a a variety of SAM/SAMD/STM32/MBED boards, as you would a standard Black Magic? This is exactly what you need!