A collection of both major and minor projects using Arduino platforms. While most of the projects right now are pretty simple and only use a few components, they act as modular pieces of documentation and code snippets than can be put together for larger, more complex projects. The code snippets are particularly useful for testing individual modules and components.
While the Arduino IDEs 1 and 2 are great in their simplicity, they didn't feel very modern. So I simply used VScode with the Arduino extension for development. If you're doing the same, ensure to do the following first:
-
Set programmer to AVRISP mkII.
-
Select the sketch you wish to run.
-
Select the right board.
-
Select the right port. The port on your machine may be different.
-
Import the necessary libraries.
-
All options can found by doing: F1 -> type 'Arduino' to see available options.
-
Tinkercad was initially used for the following:
- Visualizing project setup with wiring diagram.
- Creating circuit schematic.
- Running simulations.
- Generating electrical design files (.bsd).
-
Tinkercad does not have an Arduino Mega2560 R3 component, it only has Arduino Uno R3. Therefore, the wiring diagrams and schematics for older projects using the Mega will show the Uno. This is completely fine as the pins used are still the same, and therefore the same code will run fine on both boards.
-
Fritzing was used from the Distance Sensor project onwards, as Tinkercad is missing multiple components and modules, including Arduino Mega2560.