espcam color tracking
Color Detection & Tracking with ESP32 CAM & OpenCV (how2electronics.com)
Face Tracking Pan and Tilt with an ESP32-CAM – Robot Zero OneRobot Zero One
Needed to remove Mot_VOT_Sel (green jumper next power connector) before programming from Arduino IDE as supposed the external power prevent the reseting of the NANO
NOTE that most of the online pictures of the A4988 modules are inserted in the WRONG orientation. Following picture is my working one.
Environment
Acer Aspire 4741G
Ubuntu 20.04.2 LTS
Arduino IDE 1.8.13
WifiNINA firmware ver. 1.3 (after installation of library)
Lesson
LEARN - Building Internet of Things Projects with Arduino IOT Cloud by Lee Assam
Setup
sudo snap install arduino
Board manager - install Arduino SAMD boards (32-bits ARM Cortex-M0+) by Arduino version 1.8.11
Library manager - install WifiNINA
in ubuntu
sudo usermod -a -G dialout $USER & reboot
// use the following sample to connect to the mobile Serial bluetooth terminal app by Kai Morich to test // modules are working or not
#include <SoftwareSerial.h>
SoftwareSerial mySerial(2, 4); // RX, TX configured on Arduino to TX, RX of bluetooth module
void setup() {
// Open serial communications and wait for port to open:
Serial.begin(9600); // so far, it seems 9600 is the working baudrate
while (!Serial) {
; // wait for serial port to connect. Needed for native USB port only
}
Serial.println("Goodnight moon!");
// set the data rate for the SoftwareSerial port
mySerial.begin(9600);
mySerial.println("Hello, world?");
}
void loop() { // run over and over
if (mySerial.available()) {
Serial.write(mySerial.read());
}
if (Serial.available()) {
mySerial.write(Serial.read());
}
}