Visual Micro
Game Console Emulation on Arduino (Teensy / ESP32)
updated
Chapters:
00:28 Visual Studio 2022 Version Check
01:15 Download and Extract Solution ZIP
01:52 Automatic Install of VS2022 Components
03:37 Apply Visual Micro License/Trial
03:58 Setup IDE Locations
04:11 Course 1: Blink
05:13 Course 2: Button Debounce
06:37 Course 3: Servo Sweep
Getting students or other developers is as simple as installing Visual Studio 2022, and downloading our prebuilt Solution.
When loaded all additional VS2022 components are automatically installed, and you are ready to build and upload straight away, as all libraries and board packages are contained within the Solution itself.
This makes setup on multiple machines easier, as well as keeping this solution isolated from any other Arduino installations which may be on the machine already.
Don't forget to Like and Subscribe, and leave us a comment with any feedback you have or videos you would like to see.
Our Website:
visualmicro.com
Download VS2022:
visualstudio.microsoft.com/downloads
Tutorial for this Video:
visualmicro.com/page/Quick-Start-Solution-for-Educators-Using-the-Arduino-Uno-R3.aspx
Download ZIP for this Tutorial:
https://1drv.ms/u/s!AsT00oFsGAmRoa49CZ6jGvr95q8s5w?e=JaiEbV
#arduino #uno #visualstudio #setup
Here we cover the RP2350 in general, and hook up a Raspberry Pi Pico2 board to a DIY Rpi Debug probe and debug our Arduino code in Visual Studio with Visual Micro. (The Pi RP boards are small Arduino compatible boards, unlike the standard Pi boards that run Linux)
This allows us to step through our code line by line, as well as inspect variables and set break and tracepoints.
With these tools you can easily work through problems with your code, as you would with any desktop or web application.
Don't forget to like and subscribe if you enjoy this video, and leave us a comment with any thoughts or suggestions.
Installing Visual Micro
youtu.be/DPe66lw3c1s
Installing Board Packages
youtu.be/yHBP5TOXr2I
Raspberry Pi Pico Debugging Page
visualmicro.com/page/RasPiPico-Debugging.aspx
Creating a PicoProbe from an RP2040
visualmicro.com/page/Creating-a-PicoProbe-Debug-Probe.aspx
Creating an RPi Debug Probe from an RP2040
visualmicro.com/page/Creating-a-Raspberry-Pi-Debug-Probe-(CMSIS-DAP).aspx
Raspberry Pi Pico:
raspberrypi.com/products/raspberry-pi-pico-2
#Arduino #RP2350 #Debugging
Our previous video worked when we published it, however as the board packages have moved forwards it began to break.
This time we have packaged the updated libraries with the project, and any 3.x version of the ESP32 Board package can be used.
This project is using an ESP32 Dev Module, and the brilliant A2DP Library from Phil Schatzmann, you can quickly create a Bluetooth Audio receiver which can be plugged into some speakers as we have here, or into your old stereo system to add Bluetooth functionality to your old equipment.
Documentation Guide and links to Code:
visualmicro.com/page/Easy-DIY-Bluetooth-Speaker-Project.aspx
Special Folders and Portability:
visualmicro.com/page/Special-Folders-and-Portability.aspx
#Arduino #bluetoothspeaker #visualstudio
Only Visual Studio 2022 is required before following this guide, and we walk you through installing the Visual Micro Extension and your first board package.
Don't forget to like and subscribe if you enjoyed this video to stay up to date with future developments and new features.
Chapters
00:00 Visual Studio Download
00:19 Visual Micro Extension Download (VS2017/VS2019/Microchip Studio)
00:38 Extension Installation (VS2022)
01:17 Workload Installation
01:53 Trial Activation
02:23 IDE Selection in Visual Micro
03:06 Board Installation
Learn More Below
Get Started with Visual Micro
visualmicro.com/page/User-Guide.aspx?doc=Getting-started.html&source=FUEDK87co4Y
Visual Studio 2022 Download:
visualstudio.microsoft.com/downloads
Visual Micro for VS2017/VS2019/Microchip Studio:
visualmicro.com/page/Arduino-Visual-Studio-Downloads.aspx
First Visual Micro Project:
youtube.com/watch?v=asYqoqbRE_I
Already Use Visual Studio & Arduino?
visualmicro.com/page/Quickstart-VS-Users.aspx?source=FUEDK87co4Y
Already use Visual Studio, but never used Arduino?
visualmicro.com/page/Arduino-Programming-Differences-to-Desktop-Programming.aspx?source=FUEDK87co4Y
#Arduino #VisualStudio
The Uno R4 WiFi is a great board for prototyping projects using its on board WiFi, LED Matrix, and RTC module, as well as an integrated debugger.
The debugging is as simple as connecting the USB lead and making a few selections in Visual Micro to start squashing those software bugs immediately, with no fiddly wiring or setup configuration.
Don't forget to like and comment if you enjoy this video, and subscribe to stay up to date with new features and tutorials.
Our Website:
visualmicro.com
Uno R4 Debugging Instructions:
visualmicro.com/page/UnoR4-Debugging.aspx
#arduino #debugging #gdb
Previously you may have seen false errors which compiled correctly, making it more difficult to understand the issues in your code.
The upgraded system uses the correct board package tools, meaning you get accurate Intellisense for all boards in all versions of the board package.
Don't forget to like and subscribe to stay up to date with new features and videos.
Our Website:
visualmicro.com
Documentation:
visualmicro.com/page/Upgraded-Intellisense-System-in-Visual-Micro.aspx
This is a simple project using an Arduino compatible Teensy board, with an Audio Shield, SD Card, and speakers.
All code, sounds and instructions can be found on our website:
visualmicro.com/page/Make-Food-Scared-with-Teensy-41.aspx
#arduino #shorts #visualstudio #teensy
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.
Don't forget to Like and Subscribe to stay up to date with new videos and feature updates...
Night Vision Camera Modification Guide:
visualmicro.com/page/ESP32-NightVision.aspx?source=BALonY_Ksz8
Our Website:
visualmicro.com
ESP32-CAM GDB Debugging:
visualmicro.com/page/ESP32-CAM-Debugging.aspx?source=BALonY_Ksz8
#Arduino #VisualStudio #esp32 #infrared #shorts
We have used both the Dhrystone and CoreMark benchmarking tools to rate a variety of common Arduino compatible boards so you don't have to waste time with a slow processor.
All granular information, charts and code examples are available on the web page below, and don't forget to like and subscribe if you enjoyed this video.
Arduino Compatible Board Benchmarks
visualmicro.com/page/Arduino-Compatible-Board-Benchmarks.aspx
#Arduino #benchmark #performance
youtube.com/watch?v=MyjO3cjwiEI
If you want to create your own custom Bluetooth Speaker or Audio Receiver this simple project is a good way to get started....
Using an ESP32 Dev Module, and the brilliant A2DP Library from Phil Schatzmann, you can quickly create a Bluetooth Audio receiver which can be plugged into some speakers as we have here, or into your old stereo system to add Bluetooth functionality to your old equipment.
Documentation Guide:
visualmicro.com/page/Easy-DIY-Bluetooth-Speaker-Project.aspx
#Arduino #bluetoothspeaker #visualstudio
The latest Raspberry Pi Pico W board comes with all the power of the RP2040 processor, coupled with Wifi capabilities!!
Coupled with the Debugging capabilities in Visual Micro through a variety of probes, including the PicoProbe you get a lot of power for a very reasonable price of $6 - $10 depending on your supplier.
Don't forget to like and subscribe, and let us know in the comments if there are any other videos you would like to see.
Previous Video:
youtu.be/5bX0G1oyV00?t=293
Our Website:
visualmicro.com
Raspberry Pi Pico:
raspberrypi.com/products/raspberry-pi-pico
Pi Pico GitHub Repo:
github.com/earlephilhower/arduino-pico/tree/master
Pi Pico Overview:
visualmicro.com/page/RP2040-Overview.aspx
Pi Pico Debugging Guide:
visualmicro.com/page/RasPiPico-Debugging.aspx
Creating a PicoProbe:
visualmicro.com/page/Creating-a-PicoProbe-Debug-Probe.aspx
Zadig Driver Guide:
visualmicro.com/page/Zadig-Driver-Installation-Guide.aspx
#Arduino #RaspberryPiPico #visualstudio #debug
If you have the latest Raspberry Pi Pico W board, you can get up and running with the Wifi capabilities and debugging in Visual Micro, using the development branch of the board package. More info and links below....
The latest Raspberry Pi Pico W board comes with all the power of the RP2040 processor, coupled with Wifi capabilities!!
This has not been fully released for the Arduino platform yet, however you can pull the latest development branch of the board package created by Earle F. Philhower, III to get early access to the Wifi power of this board.
Coupled with the Debugging capabilities in Visual Micro through a variety of probes, including the PicoProbe you get a lot of power for a very reasonable price of $6 - $10 depending on your supplier.
Don't forget to like and subscribe, and let us know in the comments if there are any other videos you would like to see.
Our Website:
visualmicro.com
Raspberry Pi Pico:
raspberrypi.com/products/raspberry-pi-pico
Pi Pico GitHub Repo:
github.com/earlephilhower/arduino-pico/tree/nina
Pi Pico Overview:
visualmicro.com/page/RP2040-Overview.aspx
Pi Pico Debugging Guide:
visualmicro.com/page/RasPiPico-Debugging.aspx
Creating a PicoProbe:
visualmicro.com/page/Creating-a-PicoProbe-Debug-Probe.aspx
Zadig Driver Guide:
visualmicro.com/page/Zadig-Driver-Installation-Guide.aspx
#Arduino #RaspberryPiPico #visualstudio #debug
The ESP32-C3 development board by default allows access to the USB debugging pins, which simply require a USB lead to be connected to the correct pins.
This means you can use the full Hardware Debugging experience in Visual Micro with this board, without needing an external probe (e.g. ESP-PROG) to link it to your PC, saving you time and effort.
With the simple to select options, and the documentation below you can start crushing those bugs easily in your ESP32 project.
NOTE: Ensure you are using the v2.0.3 or later ESP32 Board Package for this to function correctly.
Our Website:
visualmicro.com
ESP32-C3 USB Debugging Documentation:
visualmicro.com/page/ESP32C3-USB-Debugging.aspx
Zadig Driver:
visualmicro.com/page/Zadig-Driver-Installation-Guide.aspx
#Arduino #Espressif #esp32 #debug #usb #VisualStudio
The Teensy 4.1 can run from 24Mhz to 1.08Ghz (with cooling) giving you more processing power than your Arduino project probably needs. Here we show the power consumption at each clock speed.
The clock speed can also be edited at runtime in your sketch, so you can have as much or as little power as you need at the time, making your battery powered projects last even longer.
Our Website:
visualmicro.com
Teensy 4.1 Board:
pjrc.com/store/teensy41.html
PJRC Teensy 4.1 Board:
pjrc.com/store/teensy41.html
Using Teensy in Visual Micro:
visualmicro.com/page/Teensy-for-Microsoft-Visual-Studio.aspx?source=ydzs7I-wiog
Core Mark Arduino Library:
github.com/PaulStoffregen/CoreMark
#Arduino #VisualStudio #Overclock #Power
External Interrupts are available on all Arduino compatible boards, and allow an external event to interrupt your running code at any time, to capture an event.
This means you no longer need to try and evaluate all sensors all of the time, and can simply pick up the event data stored when your code reaches it.
Don't forget to like and subscribe if you enjoy this video, and leave a comment to let us know your thoughts, ideas, and improvements.
Our Website:
visualmicro.com
External Interrupt Example:
visualmicro.com/page/External-Interrupts-Explained.aspx?source=Zg-Ao8gf9X0
#Arduino #VisualStudio #Interrupts
In the latest release, available from our website (all IDEs) or the Microsoft Gallery (VS2022), the rebuild time of a project has been slashed, so it should now only take a fraction of a full build to build again, even if there are library and project changes.
Don't forget to like and subscribe if you enjoy this video, and check out the other videos on our channel.
Feel free to comment below if you have any feedback or ideas for us to explore in the future.
Our Website:
visualmicro.com
VS2022 Latest Release Download:
marketplace.visualstudio.com/items?itemName=VisualMicro.ArduinoIDEforVisualStudio
VS2017/VS2019 Latest Release Download:
visualmicro.com/page/Arduino-Visual-Studio-Downloads.aspx?source=1rbHoX8XPNs
#Arduino #VisualStudio
In this video we show how to customise the Pico Voice wake word, instead of using the built in "PicoVoice" wake word. This allows you to create a phrase to start your project listening, using the Porcupine Training system provided in the Picovoice Web UI.
We have again used the cost effective Nano 33 BLE Sense board, with its built in microphone, and other boards such as the Arduino Portenta can also be used.
We will do another future video about training your own inference engine to allow custom commands to be issued to your voice activated system, completing your fully voice activated project.
Our Website:
visualmicro.com
PicoVoice Documentation:
picovoice.ai/docs/quick-start/picovoice-arduino/#usage
Example Code (With RF Switch):
visualmicro.com/downloads/PicovoiceExample.zip
RC-Switch Library:
github.com/sui77/rc-switch
#Arduino #VisualStudio #ai #programming
In this video we show how to get started with the Pico Voice Library, which comes with a preconfigured AI trained model to allow control of multiple colours, states and rooms, just by talking to it!
We have used the cost effective Nano 33 BLE Sense board, with its built in microphone, to control our Christmas tree lights via an RF Mains Switch, with the simple command "Picovoice, turn the lights on".
We will do another video about building and training your own models for embedding on devices, so you can have custom wake and command phrases along with the inferences needed.
Our Website:
visualmicro.com
PicoVoice Documentation:
picovoice.ai/docs/quick-start/picovoice-arduino/#usage
Example Code (With RF Switch):
visualmicro.com/downloads/PicovoiceExample.zip
RC-Switch Library:
github.com/sui77/rc-switch
#Arduino #VisualStudio #ai #programming
This allows you to stop and inspect both cores as they run at the same time using a single JLink probe.
Using the Breakout Board for the Portenta H7, you gain access to the SWD Port allowing GDB Debugging to be performed through the Segger JLink in this example.
Additional connectors are needed (links below) to connect the Breakout Board to the JLink, and with a few simple steps you can debug your M7 Core Sketch using Visual Micro in Visual Studio.
Don't forget to Like and Subscribe if you enjoy this video, and let us know any improvements in the comments section.
Our Website:
visualmicro.com
Documentation + Wiring Diagram:
visualmicro.com/page/PortentaM7-Debugging.aspx?source=FWKl2AQLB2g
Portenta Breakout Board:
store.arduino.cc/products/arduino-portenta-breakout?pr_prod_strat=copurchase&pr_rec_pid=6596849598615&pr_ref_pid=5517868925079&pr_seq=uniform
Segger JLink:
segger.com/products/debug-probes/j-link
Segger Connector Board:
segger.com/products/debug-probes/j-link/accessories/adapters/19-pin-cortex-m-adapter
#Arduino #VisualStudio #jlink #programming #gdb #debug
VS2022 includes a variety of performance and stability updates over previous versions, and Visual Micro is now available with all of the tools you expect.
From our unique Serial Debugger, Hardware Debugging, Intellisense, to the full code and library compatibility with all Arduino systems, you can build the projects of your dreams, and still share with others without any modifications.
If you did install Visual Micro in VS2022 before version 2021.11.08.0, you will need to un-install and re-install from the gallery to continue receiving updates. This does not affect your license in any way, and no deactivation is required.
Don't forget to like and subscribe, and check out the other videos on our channel.
Our Website:
visualmicro.com
Visual Micro for VS2022:
visualmicro.com/page/Arduino-Visual-Studio-Downloads.aspx?source=q_CUukaO-FA
VS2022 Download:
visualstudio.microsoft.com/downloads
#Arduino #VisualStudio
Using the in built Universal Serial Debugger in Visual Micro, we can easily view our sensor data in charts, see pin states, and add accurate timestamps to our project, without writing any more code!
With the change to Release mode we can disable all of these features so our project is ready to be deployed.
There are many more features of the Serial Debugger we will explore in future videos....
Don't forget to like and subscribe if you enjoy this video, and check out the other videos on our channel.
Our Website:
visualmicro.com
Serial Debugger Walkthrough:
visualmicro.com/page/User-Guide.aspx?doc=Debugging-Walkthrough-Start.html&source=XUt7AqaiEbY
@Plot Chart Guide:
visualmicro.com/page/User-Guide.aspx?doc=Multiplot.html&source=XUt7AqaiEbY
#Arduino #VisualStudio
Using the Breakout Board for the Portenta H7, you gain access to the SWD Port allowing GDB Debugging to be performed through the Segger JLink in this example.
Additional connectors are needed (links below) to connect the Breakout Board to the JLink, and with a few simple steps you can debug your M7 Core Sketch using Visual Micro in Visual Studio.
We are currently working on the M4 Core integration, alongside the STLink integration, and upload features. We will release another video on this topic when these are available.
Don't forget to Like and Subscribe if you enjoy this video, and let us know any improvements in the comments section.
Our Website:
visualmicro.com
Documentation + Wiring Diagram:
visualmicro.com/page/PortentaM7-Debugging.aspx?source=ZRyg2qzIk2Q
Portenta Breakout Board:
store.arduino.cc/products/arduino-portenta-breakout?pr_prod_strat=copurchase&pr_rec_pid=6596849598615&pr_ref_pid=5517868925079&pr_seq=uniform
Segger JLink:
segger.com/products/debug-probes/j-link
Segger Connector Board:
segger.com/products/debug-probes/j-link/accessories/adapters/19-pin-cortex-m-adapter
#Arduino #VisualStudio #Portenta #jlink #programming #gdb #debug
The Segger JLink Probe is available for $100, and allows full SWD and JTAG Debugging and Programming.... Here we show how to use JTAG with the Arduino DUE SAM board.
You can also use the Native JLink Driver software instead of Zadig with a Custom Configuration in Visual Micro (see links below).
Our Website:
visualmicro.com
SAM Debugging:
visualmicro.com/page/SAM-Debugging.aspx?source=O3BKd3HeIbc
Segger JLink EDU Probe:
segger.com/products/debug-probes/j-link/models/j-link-edu
GDB Debugging Guide:
youtube.com/watch?v=tkG5MvyEurI
Using Segger JLink Drivers in Visual Micro:
youtube.com/watch?v=hy9CCJThHGQ
#Arduino #VisualStudio #jlink #programming #gdb #debug
More information and links below...
The Portenta H7 core has a built in Monitor for Remote Inspection (MRI) tool which allows the advantages of hardware debugging on the M7 core, but without any external wiring or probes necessary.
Its as simple as all other Hardware Debuggers to setup in Visual Micro, and only requires a few small changes to your sketch.
Once we have the M4 Core also debugging in this way we will release an updated video, and we will be covering the external JTAG debugging soon in our series about different Hardware Debuggers.
Don't forget to like and subscribe to stay up to date with more videos, and let us know in the comments if there is a video or more information we need to add....
Our Website:
visualmicro.com
Portenta H7 MRI Debugging:
visualmicro.com/page/PortentaM7-Debugging.aspx?source=-0sB-yWGN4Q
Portenta H7 Arduino Tutorials:
docs.arduino.cc/hardware/portenta-h7#tutorials
STM32F7 DataSheet:
content.arduino.cc/assets/Arduino-Portenta-H7_Datasheet_stm32h747xi.pdf
#Arduino #VisualStudio #portenta #programming #gdb #debug
The Black Magic Probe is available for $60 prebuilt, and allows full SWD and JTAG Debugging and Programming, as well as a Serial Passthrough.. Here we show how to use JTAG with the Arduino DUE SAM board.
You can also create your own Wireless Black Magic Probe from an ESP8266, which is shown in the links below...
Next time we will look more at the Portenta H7 MIR Debugging which requires no external probe...
Our Website:
visualmicro.com
SAM Debugging:
visualmicro.com/page/SAM-Debugging.aspx?source=W2NB7Sak0bw
OneBitSquared Black Magic Probe:
1bitsquared.com/products/black-magic-probe
Black Magic GitHub Repo:
github.com/blacksphere/blackmagic
DIY Black Magic Probe from ESP8266:
create.arduino.cc/projecthub/arduinocc/5-wifi-black-magic-gdb-for-sam-samd-stm32-mbed-a4d4ee
GDB Debugging Guide:
youtube.com/watch?v=tkG5MvyEurI
#Arduino #VisualStudio #programming #gdb #debug
The F2232H Mini Module Probe is available for as little as $30, and allows full SWD and JTAG Debugging and Programming, as well as a Serial Passthrough, and 3.3v supply to your board. Here we show how to use SWD instead of JTAG as in our previous videos, which includes adding an SWD Resistor to the circuit.
Next time we will look more at the Black Magic probe from OneBitSquared, which can also be created from other boards as well!
Our Website:
visualmicro.com
Wiring Diagram:
visualmicro.com/pics/RPiPico__DebugConnections_MiniModule.png
FT2232 Module Specification:
ftdichip.com/wp-content/uploads/2020/07/DS_FT2232H_Mini_Module.pdf
Zadig USB Driver Tool:
https://zadig.akeo.ie/
GDB Debugging Guide:
youtube.com/watch?v=tkG5MvyEurI
#Arduino #VisualStudio #programming #gdb #debug
The ESP-PROG Probe is available for as little as $10-20, and allows full SWD and JTAG Debugging and Programming, as well as a Serial Passthrough, and 3.3v supply to your board.
Next time we will look more at the MiniModule probe, which is also based on the same FT2232H Chipset from FTDI......
Our Website:
visualmicro.com
Wiring Diagrams:
visualmicro.com/pics/Debug-Help-ESP32-PROG-JTAG-Connections.png
visualmicro.com/pics/Debug-Help-ESP32-PROG-ALL-Connections.png
Zadig USB Driver Tool:
https://zadig.akeo.ie/
Hardware Debugging Walkthrough:
youtube.com/watch?v=tkG5MvyEurI
Custom Hardware Debugging:
visualmicro.com/page/Debugging-Using-Custom-Hardware.aspx?source=d6toH-qJbOI
Espressif ESP-PROG Documentation:
espressif-docs.readthedocs-hosted.com/projects/espressif-esp-iot-solution/en/latest/hw-reference/ESP-Prog_guide.html
Purchase ESP-PROG on DigiKey (Non-Affiliate):
digikey.co.uk/en/products/detail/espressif-systems/ESP-PROG/10259352
#Arduino #VisualStudio #programming #gdb #debug #esp32
Using the Hardware Debugging in Visual Micro you can harness a wide variety of debugging probes, for thousands of boards, all with pre-configured options.
Here we take you though getting started with the debugger, as well as some common problems and tips to help you get up and running in your problem solving as quickly as possible.
Don't forget to Like and Subscribe if you enjoy this video, and check out the other videos on our channel.
Our Website:
visualmicro.com
C++ Watch Format Specifiers in VS:
docs.microsoft.com/en-us/visualstudio/debugger/format-specifiers-in-cpp?view=vs-2019#BKMK_Format_specifiers_for_interop_debugging_and_C___edit_and_continue
#Arduino #VisualStudio #programming #gdb #debug
The CJMCU 2232H Probe is available for as little as $5-10, and allows full SWD and JTAG Debugging and Programming, as well as a Serial Passthrough, and 3.3v supply to your board.
Next time we will look more at the ESP-PROG probe, which is also based on the same FT2232H Chipset from FTDI......
Our Website:
visualmicro.com
Wiring Diagram:
visualmicro.com/pics/Debug-Help-ESP32-FT2232H-Connections_wSerial.png
Zadig USB Driver Tool:
https://zadig.akeo.ie/
FT2232 Module Specification:
ftdichip.com/wp-content/uploads/2020/07/DS_FT2232H_Mini_Module.pdf
GDB Debugging Tips:
youtu.be/SGxPpU8umqc?t=106
#Arduino #VisualStudio #programming #gdb #debug
The FT2232 based probes, including the ESP-PROG, MiniModule and Dual RS modules all include a second port which can be used to pass the serial through to your PC, without an additional TTL USB adapter.
Worth considering when you are designing a project where you want to minimise the circuitry on the final board, without losing access to the Serial or Debug/Programming features.
Our Website:
visualmicro.com
Wiring Diagram:
visualmicro.com/pics/Debug-Help-ESP32-FT2232H-Connections_wSerial.png
FT2232 Module Specification:
ftdichip.com/wp-content/uploads/2020/07/DS_FT2232H_Mini_Module.pdf
Arduino: Hardware Debugging ESP32 with vMicro
youtube.com/watch?v=SGxPpU8umqc
Use ESP32 DEVKIT Debugging and Programming with External ESP32 Board
youtube.com/watch?v=2zSEqtlQWvU
ESP32 DEVKIT External Debugging Wiring:
visualmicro.com/pics/ESP32DEVKIT_To_Board_Wiring_Diagram.png
#Arduino #VisualStudio #programming #gdb #debug #esp32
The K-Type thermocouple allows high temperature sensing with a 0.25C resolution over the whole range, but the signal needs boosting to use it with an Arduino. The MAX6675 does this so we can wire it easily into virtually any Arduino Project.
All Wiring Diagrams, Libraries and Sketches shown here are available for download below:
Our Website:
visualmicro.com
Wiring Diagram:
visualmicro.com/pics/WiringDiagram.png
Example Sketch:
visualmicro.com/downloads/MAX6675_ThermoCouple.zip
Adafruit MAX6675 Library:
github.com/adafruit/MAX6675-library
Adafruit OLED Libraries:
github.com/adafruit/Adafruit_SSD1306
github.com/adafruit/Adafruit-GFX-Library
#Arduino #VisualStudio #esp32
We have already seen the vast difference even a small heatsink can make, which was improved with a larger heatsink with forced cooling. So we decided trying it submerged in water was the logical next step....
Of course the excess heat generated by the board could be used to add a slight bit of warmth to e.g. a home brew project, where the heat is re-used to keep the beer slightly warmer.
Don't forget to like and subscribe, and check out our other videos on the channel...
Let us know in the comments if there are any other videos you would like to see....
Our Website:
visualmicro.com
Teensy Overclocking:
youtube.com/watch?v=ydzs7I-wiog
Protecting Your Arduino Projects:
youtube.com/watch?v=IFgAN6b8ll8
#Arduino #VisualStudio #pcb
PCB Conformal coatings come in a variety of clear and coloured options, spray and liquid. Once you have coated your board it should be able to survive without corroding over time, as well as in humid and wet environments.
A cheap alternative is clear nail polish, which can be brushed on to apply to your project, and gives virtually the same protection as a professional coating. If you need some specific environmental resistance (acid, alcohol etc...) then check the specific characteristics of the coating, as often they cannot resist everything in a single option.
We will be updating on the effect this had on the 1Ghz Teensy 4.1 cooling compared to other methods soon, link below to what we have seen with heatsinks and forced cooling....
Don't forget to like and subscribe if you enjoy this video, and let us know any ideas or thoughts in the comments.
Our Website:
visualmicro.com
DIY PCB Tinning Using Electroplating:
youtube.com/watch?v=w88xg2NDTpw
DIY PCB Making Methods:
youtube.com/watch?v=AB2viAXPWUI
1Ghz Arduino Overclocking:
youtube.com/watch?v=ydzs7I-wiog
#Arduino #VisualStudio #pcb
This is the first attempt we have used for tinning our boards before etching them, and decided to try electro plating as the kit is easy to construct.
The results are workable by the second attempt in this video, so we'll be using some boards made with this method in the future.
We will show the advantages of a slightly different method involving Silver polish containing Thiourea next time which allows the process to work without any electricity!
Don't forget to Like and Subscribe and take a look at our other videos....
Our Website:
visualmicro.com
DIY PCB Making Methods:
youtube.com/watch?v=AB2viAXPWUI
#Arduino #VisualStudio #pcb
In this video we compare the risks and rewards of using these 3 different ways to produce your own PCBs at home.
Purchasing from professional providers is great when you need 10 boards, and know its all right, but often when you're developing you want to try one out first..... we know we did!
Of all methods the CNC approach was by far the fastest, and the most reliable, as every board we have produced using this method is viable. We only got at best a 25% usability rate with the Lazer and Scribe methods due to the issues described.
The CNC method is also a lot faster, as no painting is needed, and the dust risk is far easier to mitigate than acid or blinding lazer light.
If you want more videos like this let us know in the comments, and don't forget to like and subscribe to stay up to date with future videos.
Our Website:
visualmicro.com
Talking Toaster:
create.arduino.cc/projecthub/arduinocc/the-talking-iot-toaster-f196d9
PCB Christmas Card:
create.arduino.cc/projecthub/arduinocc/christmas-card-pcb-7a13cc
#Arduino #VisualStudio #pcb
Here we show how the Teensy 4.1 can be configured to run at over 1GHz, giving a new lease of life to a slow running Arduino project.
Additional cooling is needed over 800Mhz to prevent thermal shutdown, and prolong the chips life.... being hot for too long reduces their functional lifespan. There are also configurable thermal alarms, and code configurable clock speeds, so you can run as fast or slow as you need, depending on load, temperature, and power considerations!
With so much power available, and additional PSRAM chips, audio and graphics add ons available this board has all the power you need.
You can even run games console emulators on it!!
youtube.com/watch?v=V16YhPYNyt4
Our Website:
visualmicro.com
GitHub: LAtimes2 Teensy Temp Library:
github.com/LAtimes2/InternalTemperature
PJRC Teensy 4.1 Board:
pjrc.com/store/teensy41.html
Using Teensy in Visual Micro:
visualmicro.com/page/Teensy-for-Microsoft-Visual-Studio.aspx?source=ydzs7I-wiog
Core Mark Arduino Library:
github.com/PaulStoffregen/CoreMark
#Arduino #VisualStudio #Overclock
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....
This is compatible with the following WiFiNINA Boards:
Arduino UNO WiFi Rev.2
Arduino NANO 33 IoT
Arduino MKR 1010
Arduino MKR VIDOR 4000 WiFi
If you have another WiFiNINA Board not shown here, let us know on our forum and we'll add it in!
visualmicro.com/forums
Visual Micro - Remote Transport Setting Reference
visualmicro.com/page/User-Guide.aspx?doc=Debugging-With-Different-Ports.html&source=mHsZYS24yKE
Sketch Used In this Example:
visualmicro.com/downloads/WifiNINA_UDPVMDebugger.zip
Plot Charting with the Serial Debugger
youtube.com/watch?v=7LVu__0_jZA
Performance Monitoring with the Serial Debugger
youtube.com/watch?v=HoVa8MfYf6A
Visual Micro Serial Debugger Walk through Guide
visualmicro.com/page/User-Guide.aspx?doc=Debugging-Walkthrough-Start.html&source=mHsZYS24yKE
Visual Micro Forum Releases
visualmicro.com/forums/YaBB.pl?board=VS_ARDUINO_EXT_RELEASES
#Arduino #VisualStudio
The ESP32 has a Hall Effect Sensor built in, which can be accessed easily to detect a magnets presence. Here we use it to create a proof of concept simple bike speedometer, transmitting over Bluetooth Low Energy, to a LilyGo TTGO Smart Watch.
The Serial Debugger can be used to wirelessly debug your sketch and sensor readings, which makes projects like this so much easier!
The code can be downloaded below, and is based on the BLE Client/Server Examples for the ESP32, along with the LVGL Gauge Example for LilyGo....
Our Website:
http://www.visualmicro.com
Sketch Download:
http://www.visualmicro.com/downloads/ESP32_BikeSensor_v1.zip
LVGL Gauge Details:
docs.lvgl.io/latest/en/html/widgets/gauge.html
LilyGo TTGO Setup Video:
youtube.com/watch?v=keHIhxRA8tk
Using the Serial Debugger Wirelessly:
youtube.com/watch?v=1cEPI0N8VPI
Using @Plot Charts with the Serial Debugger:
youtube.com/watch?v=7LVu__0_jZA
#Arduino #VisualStudio #esp32
Continuing on from our previous video about FTP Uploads, a number of people asked how to transfer larger files, or files which are not text files, so here is the walkthrough to show how this can be done.
There are minimal changes to include the SD Library, and with our added function to send the File chunk by chunk to the FTP server, you can send a file of virtually any size....
Try changing the buffer size, and different file sizes on the SD card to see how it affects performance....
Our Website:
visualmicro.com
Getting Started with FTP and ESP32:
youtube.com/watch?v=GE8XSxRWfOI
Sketch Example in this Video:
visualmicro.com/downloads/ESP32FTP_SDFiles.zip
ESP32_FTPClient Library on GitHub:
github.com/ldab/ESP32_FTPClient
FileZilla FTP Server Download for Windows:
filezilla-project.org/download.php?type=server
#Arduino #VisualStudio #esp32
Using the Shared Arduino Library Projects in Visual Micro, lets you control where you store your libraries, and which projects they are included in. This means you can work outside of the normal Arduino Library folders, and keep control over Library versions for multiple projects, with only one set of library source code to update when needed.
This can save hours of frustration when libraries clash or its unclear how they are detected in the build process, and means you can be sure exactly what library your project is using, and where it comes from.
Our Website:
visualmicro.com
Cross Platform Library Development Documentation:
visualmicro.com/post/2017/01/16/Arduino-Cross-Platform-Library-Development.aspx?source=7ObDIvHuMvc
Adding Libraries to Visual Micro:
youtube.com/watch?v=37uClFFBQeA
Arduino 3rd Party Library Specification:
arduino.github.io/arduino-cli/library-specification/#libraryproperties-file-format
#Arduino #VisualStudio
In the latest version of Visual Micro available from the gallery, you can de-activate, and re-activate your license in the UI, allowing you to transfer to a new machine easily.
Our Website:
visualmicro.com
Documentation:
visualmicro.com/page/Transfer-a-Visual-Micro-License-to-Another-Machine.aspx?source=FiiPV2LAwYY
#Arduino #VisualStudio
The flux used in soldering, is corrosive, and over time will slowly eat away at your circuit board. This can also be seen even when ordering PCB's if a "No-Clean" policy is used by the producer. Other reasons for doing this include boards which have been exposed to water, or if the batteries have exploded inside the device (as in my remote!)
Using a small amount of acetone, an old toothbrush, and a little elbow grease, you can clean off a large amount of corrosion and contamination from the board, and solder joints, allowing you to assess the board more easily, and solder further components to it and existing joints as needed.
Our Website:
visualmicro.com
Christmas Card PCB Project:
create.arduino.cc/projecthub/arduinocc/christmas-card-pcb-7a13cc
#Arduino #VisualStudio #pcb
Here we quickly run through using Automated Testing with some simple timing code.
This runs on your PC as the timing code is pure C++, but it is also integrated into the Arduino project, allowing us to test and then upload once all tests have passed.
Useful for the hobbyist who doesn't want to break things, as well as the professional development team who need to work on an embedded project without the hardware.
Our Website:
visualmicro.com
Example Project:
visualmicro.com/downloads/UnitTestingExampleProject.zip
Full Walkthrough of Automated Testing Project Setup:
youtube.com/watch?v=Pbpis0tdg3A
instructables.com/Arduino-Shared-Project-PC-Debugging-and-Automated-
VS2019 CPP Test Methods:
docs.microsoft.com/en-us/visualstudio/test/microsoft-visualstudio-testtools-cppunittestframework-api-reference?view=vs-2019#test_methods
#Arduino #VisualStudio
Example Sketch: visualmicro.com/downloads/Example_ESP32_MLGestureSensor.zip
Colab Sketch:colab.research.google.com/drive/18DG8Ld6JwumUAIAlw96CMvnRSATY-wiU?usp=sharing
NOTE: We reccomend you watch the ESP32 OTA Debug Video below if you haven't used the OTA debugger before.
youtube.com/watch?v=1cEPI0N8VPI
In this video we take you from having an ESP32 device with a gyroscope (in our case the LilyGo T-WATCH-2020), all the way to it showing you what movement you made!
We take you through:-
- Getting your TTGO watch programmed with the sketch initially
- Collecting data over the air back to Visual Studio
- Modelling that data in Google Colab with Keras
- Running that model on our TTGO watch to work out our motions based on what the model has learned
(See our Recursive Machine Learning Video to see how this can be added to a Cloud Build, and become a feedback loop)
Our Website:
visualmicro.com
TWatch2020 Getting Started Video:
youtube.com/watch?v=keHIhxRA8tk
ESP32 OTA Debugging:
youtube.com/watch?v=1cEPI0N8VPI
Machine Learning Overview:
visualmicro.com/page/Machine-Learning-with-Arduino-and-TensorFlow.aspx?source=3Iq6Amfs2vg
Example Sketch: visualmicro.com/downloads/Example_ESP32_MLGestureSensor.zip
Colab Sketch:
colab.research.google.com/drive/18DG8Ld6JwumUAIAlw96CMvnRSATY-wiU
#Arduino #VisualStudio #esp32
Using the ESP_WiFiManager Library you can easily get your ESP to setup its own WiFi Network when it can't connect to the ones it knows. Then it will serve a Web Page allowing configuration of the SSID and password, as well as showing a list of found networks with signal strength.
Here we use this library and examples for the T-WATCH device, in Visual Studio to get our watch setup with its WiFi Settings, as well as displaying a clock and date, which has been synchronised with a network time server, so you never have to manually set your watch again.
Our Website:
visualmicro.com
Getting Started with LILYGO T-WATCH:
youtube.com/watch?v=keHIhxRA8tk
LILYGO TWatch Library:
github.com/Xinyuan-LilyGO/TTGO_TWatch_Library
ESP_WiFiManager Library:
github.com/khoih-prog/ESP_WiFiManager
RGB565 Colour Converter:
ee-programming-notepad.blogspot.com/2016/10/16-bit-color-generator-picker.html
Demo Code Example Used Here:
visualmicro.com/downloads/LilyGo_BasicNTPWatch.zip
#Arduino #VisualStudio #esp32
In this video we give a quick overview of the LilyGo T-WATCH-2020 so you know what to expect, as well as showing what Library and Platforms you need in Visual Micro to get started. This can be purchased from a variety of sellers for a very reasonable price of around $30.
Building an Arduino project on your desk is one thing, but when you want to take it somewhere it often becomes cumbersome. This smart watch allows you to carry an ESP32, Wifi, Accelerometer, Light Sensor, Microphone and Speaker around with you, with no assembly at all!
Having access to so many sensors, and your standard Arduino programming tools is great, and with the examples included in the library you can start to build your own smart watch, or step counter in no time! (and a lot more of course).
We will add more videos harnessing this board in the near future, and our WiFi Debugging will definitely come in handy alongside OTA so we can update while its on-wrist.
Our Website:
visualmicro.com
LilyGo TWATCH Arduino Library:
github.com/Xinyuan-LilyGO/TTGO_TWatch_Library
ESP32 Wi Fi Debugging:
youtube.com/watch?v=1cEPI0N8VPI
#Arduino #VisualStudio #esp32
In this video we walkthrough setting up an ESP32 on our home network, serving a simple web page, which we then forward through to the internet using the NGROK software, making our ESP32 project accessible from anywhere in the world.
Port forwarding on your router can be difficult to configure if unfamiliar with it, and in many settings security means you aren't allowed to do this. With the NGROK tool you can safely and temporarily forward traffic to your PC, or another device on your local network.
If your project is not Wifi / Ethernet enabled, don't worry, the vMicro Web Debugger connects your Serial Port to a web application hosted on your PC, meaning you can forward this to the web to access your Arduino sensor readings or run the debugging session.
Don't forget to Like and Subscribe to stay up to date with new videos and feature updates...
Our Website:
visualmicro.com
NGROK Software:
ngrok.com
Visual Micro Web Debug:
visualmicro.com/page/vMicro-Videos.aspx#SerialToWebDebugUI?source=8qnkHdYI0sY
#Arduino #VisualStudio
If you want to switch a load on a different voltage, or if it is a noisy switch (e.g. Relay Coil) then you may want to isolate your Arduino board to protect it from the load circuit. Opto-Couplers / Photo-Transistors allow you to do this without introducing a relay, keeping your footprint and power requirements low.
Don't forget to Like and Subscribe to stay up to date with new videos and feature updates...
Our Website:
visualmicro.com
How to Use an Optocoupler or Photo Transistor with Arduino:
visualmicro.com/page/How-to-Use-an-Optocoupler-or-Photo-Transistor-with-Arduino.aspx?source=CzSGBn0lzwo
Wiring Diagram:
visualmicro.com/pics/IC_OptoCoupler_Wiring.png
#Arduino #VisualStudio
CLI Download Page: visualmicro.com/page/Visual-Micro-Command-Line-Interface.aspx
The Visual Micro CLI allows you to build and upload your project, and set most options, all in the command line. This makes it easy to build your Visual Micro Arduino projects in the cloud, or to automate deploying your project to a number of different boards easier.
Don't forget to Like and Subscribe to stay up to date with new videos and feature updates...
Our Website:
visualmicro.com
CLI Download Page:
visualmicro.com/page/Visual-Micro-Command-Line-Interface.aspx?source=wGc11XZp13w
Cloud Build Instructable:
instructables.com/Visual-Micro-Cloud-Build
TensorFlow Recursive Cloud Learning:
visualmicro.com/page/Machine-Learning-with-Arduino-and-TensorFlow.aspx?source=wGc11XZp13w
#Arduino #VisualStudio
In this video we give a quick overview of wiring a Line Driver IC to an Arduino, and controlling its outputs from our Arduino Code. The ULN2803A chip in use sinks current, so is connected to the GND side of your high power outputs.
Line Driver ICs have all the benefits of transistors, and are in a much neater package than 8 x separate transistors. This helps reduce the size of your project physically, simplifies the wiring, and still allows for functionality such as PWM to work, unlike relays. Further information is linked on our website below.....
Don't forget to Like and Subscribe to stay up to date with new videos and feature updates...
Our Website:
visualmicro.com
How to Use a Line Driver IC:
visualmicro.com/page/How-to-Use-a-Line-Driver-IC.aspx?source=VPKKnJsF6TE
Wiring Diagram:
visualmicro.com/pics/IC_LineDriver-ve.png
Code Example Direct Download:
visualmicro.com/downloads/IC_LineDriver-ve.zip
ULN2803A Datasheet:
ti.com/lit/ds/symlink/uln2803a.pdf?ts=1603803407756&ref_url=https%253A%252F%252Fwww.ti.com%252Fproduct%252FULN2803A
#Arduino #VisualStudio


