bomonike

arduino.png This is at https://bomonike.github.io/arduino

There are two series of low-cost, low-power SOC (System on a Chip) microcontrollers.

Arduino, Inc. is an embedded hardware and software company founded in Italy.

Arduino is known for its microcontroller boards named Uno, Mega, and Nano. open-sourced at ???

ESP32 is by Espressif Systems based in Shanghi, China, selling chips created by TSMC using their 40 nm process.

Available from AdaFruit, Sparkfun,

https://www.youtube.com/watch?v=A5CB4t9sukM The ESP32-WROOM-32 has dual-core 512kB SRAM on 160/240 MHz clock and Secure boot. It includes 802.11 b/g/n wi-fi and Bluetooth 4.2+BLE. Its proprietary ESP32-NOW protocol enables communication between ESP32 units. It has a 12-bit SAR ADC up to 18 channels. It has 2x8-bit DACs. 16-channel PWM output. 10x capacitive touch GPIOs. 4x SPI, 2x I2C, 2x I2S. 3x UART buses. https://github.com/espressif/arduino-esp32 https://www.youtube.com/watch?v=UuxBfKA3U5M Get from AliExpress

Hardware

Shields

Hats

Context

https://www.youtube.com/watch?v=p40OetppIDg What’s the difference? Arduino vs Raspberry Pi

Projects

by Jeff Geerling https://www.youtube.com/watch?v=LDTwgjvzu0I 12 NEW Arduino Projects!!! (2024 Edition)

https://www.youtube.com/watch?v=rS9CbsohFGk Top 10 Raspberry Pi Projects for 2022

by Mark Rober https://www.youtube.com/watch?v=yi29dbPnu28 22:12 Arduino 101- Crash Course

Tutorials

https://support.arduino.cc/hc/

https://learn.parallax.com/book_collection/arduino-shield-bot-tutorial-series/ Arduino Shield-Bot Tutorial Series

Course at Montana.edu Bozeman

Brock LaMeres, associate professor of electrical and computer engineering who has taught engineering at MSU for the past 10 years and conducts research on how to use technology to teach the concepts of STEM. LaMeres also created the MSU robotics competition team that won the national championship at the NASA Mining Competition in 2010. He has extensive experience in online teaching.

Videos on youtube from 2009 Arduino Based Robotics (19ARDUINO) Self-paced online course introduces an Arduino-based robotic platform as a method for teaching STEM (Science, Technology, Engineering and Mathematics). The course is designed for pre- and in-service teachers, and is also appropriate for youth leaders, coaches or parents who are interested in integrating robotics and programming into their courses.

https://eu.courses.montana.edu/XPage.awp?&Page=policy.htm

The course offers five hours of video-based instruction from MSU Professor Brock LaMeres along with a series of hands-on activities building and programming the robotic platform.

  1. 14:01 - 1.1 – Course Overview - Materials from Parallax:
  2. 13:37 - 2.1 – Getting Started
    • https://learn.parallax.com/courses/robotics-with-the-board-of-education-shield-for-arduino/ Learn how to build a robot with the BOE-Bot Robot platform based on the Arduino Uno computer.
  3. 16:20 - 2.2 – Writing Your First Arduino Program
  4. 13:40 - 2.3 – Data Types
  5. 14:22 - 2.4 – Math Operations
  6. 9:29 - 2.5 – Making Decisions
  7. 13:32 - 2.6 – Loops
  8. 1:25 - 2.7 – Comments
  9. 6:09 - 3.1 – Connect the BOE Shield to Your Arduino
  10. 8:35 - 3.2 – Build and Test the LED Indicators
  11. 1:32 - 3.4 – Connecting the Servos and Batteries
  12. 3:36 - 3.5 – Calibrate the Servos
  13. 7:40 - 3.6 – Connect the BOE Shield
  14. 4:51 - 4.1 Assemble the BOE-Bot
  15. 13:26 - 4.2 Making the BOE-Bot Move
  16. 30:03 - 4.3 Robot Golf
  17. 1:11 - 5.1 Build the Piezospeaker Circuit
  18. 21:39 - 5.2 – Writing a Program to Play Tones
  19. 4:02 - 6.1 – Add the Whisker Sensors to Your BOE-Bot
  20. 12:31 - 6.2 – Test the Whiskers
  21. 19:27 - 6.3 – Avoid Obstacles While Navigating Using the Whiskers
  22. 1:56 - 7.1 – Add the QTI Sensor to Your BOE-Bot
  23. 14:17 - 7.2 – Test the QTI Sensor
  24. 14:49 - 7.3 – Following a Line Using the QTI Sensor
  25. 7:14 - 7.4 – Following a Line and Detecting an Object
  26. 3:49 - 8.1 – Add the IR Heading Circuit to Your BOE-Bot
  27. 11:38 - 8.2 – Test the IR Headlamps
  28. 11:02 - 8.3 – Following a Line and Detecting an Object with the IR Headlamps

Digital

https://www.youtube.com/@digitallogicprogramming2199 YouTube channel: Digital Logic & Programming

https://www.youtube.com/watch?v=BLrHTHUjPuw A: Arduino MASTERCLASS | Full Programming Workshop in 90 Minutes! https://bit.ly/get_Arduino_skills

https://www.youtube.com/watch?v=sTu3LwpF6XI B: Making logic gates from transistors on a breadboard

https://www.youtube.com/watch?v=5vRAACeebjI C: Fun with Transistors

Competition among Edge SoC Devices

https://paperswithcode.com/paper/deepedgebench-benchmarking-deep-neural EdgeAI (Edge computing based Artificial Intelligence) has been most actively researched for the last few years to handle variety of massively distributed AI applications to meet up the strict latency requirements. Meanwhile, many companies have released edge devices with smaller form factors (low power consumption and limited resources) for acting as compute nodes at the edge computing environments.

Although the edge devices are limited in terms of computing power and hardware resources, they are powered by accelerators to enhance their performance behavior. Therefore, it is interesting to see how AI-based Deep Neural Networks perform on such devices with limited resources. In this work, we present and compare the performance in terms of inference time and power consumption of the four Systems on a Chip (SoCs) on different deep learning models and frameworks:

We also provide a method for measuring power consumption, inference time and accuracy for the devices, which can be easily extended to other devices. Our results showcase that, for Tensorflow based quantized model, the Google Coral Dev Board delivers the best performance, both for inference time and power consumption.

For a low fraction of inference computation time, i.e. less than 29.3% of the time for MobileNetV2, the Jetson Nano performs faster than the other devices.

Breadboard

Q: What voltage do Ardino boards run on ? - 2.5 to 5 Volts

Q: What is the range of brightness ? A:47m36s - 0 - 255

Pins

Cloud

Setup account to “CODE ONLINE” Arduino - A:31m47s

  1. https://www.arduino.cc (the official website)
  2. Select “ARDUINO IN THE CLOUD” icons.
  3. Create an account

    Try 30 days of Maker monthly plan for FREE with code HELLOSUMMER. Offer for first-time free users only. Cancel anytime.

  4. Click TUTORIAL: Arduino Cloud Editor

  5. Create Agent ???
  6. Click GETTING STARTED

    Arduino Cloud provides apps, web services, and resources for developing Arduino projects with a wide range of devices. Through this get started guide, you will discover what Cloud can offer, using an Arduino board or a mobile phone.

OPTION B) SKILL: Install IDE2 29m21s

Q:Where do you go to view the path of where the IDE looks for scratch files? 30m8s - File -> Preferences

Q: What is the path of where the IDE looks for your scratch files? 30m8s - Different on Windows, Mac,

Load a Sketch

Q: What is the action that means the same as “Set the switch ON” ? A:15m43s - Set it High

https://www.youtube.com/watch?v=fXwSFhUVFmE
Why can't computers use base 3 instead of binary? Voltage states explained

Q: How to make loading faster or slower ? A:52m18s

Sketch C & C++ Programming

? Arduino Reference Page

Q: What programming language is used to control Arduino ? A:4m32s -C or C++

https://www.youtube.com/watch?v=cwtpLIWylAw&list=PLhQjrBD2T381WAHyx1pq-sBfykqMBI7V4&index=2&t=1m 2h27m40s PREVIEW: Harvard CS50 on C programming:

Q: How to open a new Sketch ? A:34m55s - Menu: File –> New or press Control+N

Q: How are functions coded ? A:34m37s - () and {} curly braces

Q: What functions do every Arduino program have? A:34m37s - void setup() run once - void loop() containing main loop

Q: What are the types of variables (buckets to hold values) ? A:38m21s

How to use variables

TOPIC: How to use control structures

TOPIC: The MOST important Arduino-specific functions

Load a Sketch on Arduino

Q: What is the action that means the same as “Set it Low”? A:15m43s - Set the switch OFF

Q: What is “TX” and “RX”?

Q: What is the name of a program code file written to control Arduino ? A:4m23s

Q: How to load a Sketch ? A:34m56s

Online Simulators

Wokwi is a popular online Arduino simulator that allows you to prototype and test Arduino projects in your web browser. It supports various Arduino boards, including Uno, Mega, and Nano. Wokwi offers: A user-friendly interface for writing and testing Arduino code Simulation of various components and sensors Support for multiple Arduino boards and other microcontrollers like ESP32 and STM32 A large collection of example projects to learn from Tinkercad Tinkercad, owned by Autodesk, provides an online Arduino simulator along with 3D design capabilities. It’s particularly useful for beginners and offers: Virtual circuit building and coding A simple drag-and-drop interface for component placement Basic Arduino programming capabilities Arduino Cloud Arduino offers its own online platform called Arduino Cloud, which provides: Web-based IDE for writing and compiling Arduino code Remote device management and monitoring IoT project development capabilities Custom templates for cloning and sharing projects Other Online Resources Circuito.io While not a simulator, Circuito.io is an online tool that helps you design Arduino-based circuits. It provides: Automatic generation of wiring diagrams Bill of materials for your projects Sample code to get started with your design Learning Resources Arduino’s official website (arduino.cc) offers numerous tutorials, project ideas, and documentation to help you learn and practice Arduino programming online. Additionally, many online learning platforms provide Arduino courses that you can take to improve your skills without needing physical hardware. By utilizing these online tools and resources, you can practice Arduino programming, design circuits, and simulate projects without the need for physical components, making it an excellent way to learn and experiment with Arduino technology.

https://www.youtube.com/watch?v=GrvvkYTW_0k&t=1m25s MOSFET are all about Voltage

Voltage

Resistance

Not all MOSFETs are “Logic Level” compatible. Check what the BGS threshold is

https://www.youtube.com/watch?v=AwRJsze_9m4 5:13 / 20:13 How MOSFET Works - Ultimate guide, understand like a PRO

Resister

Potentiameter

https://www.youtube.com/watch?v=rkbjHNEKcRw 0:24 / 8:12 How Does a MOSFET Work? N-type Pentavalent (5 Valence Electrons) - Majority: Electrons, Minority: Holes P-type Trivalent (3 Valence Electrons) - Majority: Holes, Minority: Electrons VGS

https://www.youtube.com/watch?v=DLd5dUychY8 8:31 What is a MOSFET? How MOSFETs Work? (MOSFET basic structure and working principle of MOSFETs used in switching, boosting or power balancing tasks in DC-DC converter circuits, motor driver circuits and many more power electronics circuits. MOSFETs are the most widely used field-effect transistors that operate with voltage control.

We can examine FETs in two groups. JFET and MOSFET comes from the initials of the Metal Oxide Semiconductor Field Effect Transistor words.

Papers mentioning Arduino

https://paperswithcode.com/search?q_meta=&q_type=&q=arduino

Marionette

https://github.com/knee-koh/MarIOnette

MicroPython

https://www.youtube.com/watch?v=oq1fLK5vn-g Why MicroPython is a Game Changer for Embedded Engineers by SparkFun Electronics