Update: Escape Room Puzzle (STM32 Blue Pill with Arduino framework)Indrek2018-03-30 | This is an update to the Escape Room Puzzle project: youtu.be/m9OKALWYnB0
Now I have made a 3D Printed box for the device.
Music by Epidemic Sound (http://www.epidemicsound.com)OV7670 Camera module to PC with Arduino (SIMPLIFIED!)Indrek2021-11-02 | This is a remake of my old OV7670 to tutorial PC video. I have simplified and optimized it a lot.
Disclosure: Bear in mind that some of the links in this post are affiliate links and if you go through them to make a purchase I will earn a commission. Keep in mind that I link these companies and their products because of their quality and not because of the commission I receive from your purchases. The decision is yours, and whether or not you decide to buy something is completely up to you.
Music from Youtube audio library: All the Fixings - Zachariah HickmanArduino serial output to Excel/CSV (for Legacy IDE 1.8.x)Indrek2021-06-20 | UPDATE: it only works with the Java-based Legacy IDE (version 1.8.x). The newer Node.js based 2.x is not supported.
I created a tool for Arduino IDE that saves Arduino serial output into a CSV file. You can then open the saved file with Microsoft Excel or Libre Office. It works on all platforms where Arduino IDE runs (Windows, Mac, Linux).
Music from Youtube audio library: Night Run Away - An JoneProgramming ESP-12E / ESP-12F / NodeMCU Over Wi-FiIndrek2021-01-16 | In this video, I will explain how to program an ESP8266 module over Wi-Fi using the Arduino IDE.
Disclosure: Bear in mind that some of the links in this post are affiliate links and if you go through them to make a purchase I will earn a commission. Keep in mind that I link these companies and their products because of their quality and not because of the commission I receive from your purchases. The decision is yours, and whether or not you decide to buy something is completely up to you.
Music from Youtube audio library. Corbyn Kites - ShadowingProgramming ESP-12E / ESP-12F / NodeMCU With Arduino IDE | Step by Step GuideIndrek2020-12-20 | In this video, I will explain how to prepare your Arduino IDE to upload sketches into the ESP8266 microcontroller and connect to an ESP-12E / ESP-12F board over USB.
If your USB-to-serial adapter has a CH340 USB-to-serial chip on it, you may need to download and install the CH340 drivers for your operating system: sparks.gogo.co.nz/ch340.html
Disclosure: Bear in mind that some of the links in this post are affiliate links and if you go through them to make a purchase I will earn a commission. Keep in mind that I link these companies and their products because of their quality and not because of the commission I receive from your purchases. The decision is yours, and whether or not you decide to buy something is completely up to you.
Timecodes: 00:00 Intro 00:52 Perparint Arduino IDE 01:39 Difference between ESP-12E and ESP-12F 01:51 Arduino code 02:10 NodeMCU 02:45 Programming options for ESP-12E/ESP-12F 03:05 Dedicated programmer board 04:02 Adapter board for ESP-12E/ESP-12F 04:24 Using NodeMCU to program a plain ESP-12E/ESP-12F 06:35 Using a dedicated USB-to-serial adapter 10:46 Using a Witty Cloud Development Board 13:45 Intro to Wi-Fi
Music from Youtube audio library. Corbyn Kites - ShadowingThese Dominos Fall UpwardsIndrek2020-10-11 | Dominos are rising instead of falling. It is NOT a reversed clip, those dominos are actually rising.
Music from Youtube library: Slynk & Mr Stabalina - The JamINVERTED Dominos (Tenet Spoof)Indrek2020-10-04 | Dominos are rising instead of falling. It is NOT a reversed clip, those dominos are actually rising.
* I know that there weren't actually any inversion portals in the Kyiv Opera House in the movie. I wanted to film in the location ;)
The legend of the story is that you have been hexed by a witch and you have one hour until the voodoo doll falls onto the spikes. To win the game you need to save the doll before your time runs out.
The device is controlled by the ESP8266 microcontroller. It can drop the doll by turning five servo-motors. I have also added RGB LEDs to change the lighting inside the box and there are two feedback signals to detect if the cupboard door is open and if the doll was removed manually.
Music: Happy Haunts - Aaron Kenny - YouTube Music LibraryHX711 with a Four Wire Load Cell and Arduino | Step by Step Guide.Indrek2020-06-15 | In this video, I explain how to connect a four-wire load cell to the HX711 amplifier module and how to read the weight value with an Arduino.
Disclosure: Bear in mind that some of the links in this post are affiliate links and if you go through them to make a purchase I will earn a commission. Keep in mind that I link these companies and their products because of their quality and not because of the commission I receive from your purchases. The decision is yours, and whether or not you decide to buy something is completely up to you.
Timecodes: 00:00 Intro 00:20 Demo 00:45 Different load cells 01:44 How does the load cell work? 02:39 The HX11 amplifier module 02:50 Assembly 05:03 Verifying the wires 06:16 Connecting the load cell to the amplifier module 06:50 Connecting the HX711 module to Arduino 07:19 Downloading the HX711_ADC Library 07:42 Arduino code 08:14 Calibrating the load cell 09:35 Testing the load cell with various objects 10:15 End
Music from Youtube audio library.Iterative Design in the WildIndrek2020-05-30 | Since I have been designing stuff for Arduino to be 3D printed, I can see iterative design everywhere. I have done it so many times myself. Even if you think you got your device perfect you will still find flaws that come out while it is in real-life use.
In this video, you can see such a case in the wild that I stumbled upon. The outdoor gym training machine has an obvious flaw where the foot petal pipe gets dented after heavy use. And right next to it there is another version of the same machine where this problem is already fixed.
Music: "Winds of Spring" from the Youtube Audio Library.Mounting the 50kg Bathroom Scale Load Cells to a BoardIndrek2020-05-02 | An update to the previous 50kg Bathroom Scale Load Cells tutorial: youtube.com/watch?v=LIuf2egMioA
I forgot to mention some critical details about mounting the 50kg bathroom scale load cells to a wooden board. It is important that the strain gauge has room to move up and down. The easiest way to achieve this is to 3D print a mounting frame for it. Alternatively, you could also drill a hole to your weight plate.
Music from Youtube audio library. youtube.com/channel/UCr1hW0rMwhUGBPne6FYdyIQArduino Scale with HX711 and 50kg Bathroom Scale Load Cells | Step by Step Guide.Indrek2020-04-17 | Wiring diagrams for 4 x 50kg, 2 x 50kg, and 1 x 50kg.
In this video, I explain the three different ways to connect the 50kg bathroom scale load cells to the HX711 amplifier module and how to read the weight value with an Arduino. You can connect four of the load cells as a loop, two as a pair, or a single one with two external resistors.
Disclosure: Bear in mind that some of the links in this post are affiliate links and if you go through them to make a purchase I will earn a commission. Keep in mind that I link these companies and their products because of their quality and not because of the commission I receive from your purchases. The decision is yours, and whether or not you decide to buy something is completely up to you.
Music from Youtube audio library. youtube.com/channel/UCr1hW0rMwhUGBPne6FYdyIQP-Channel MOSFET as a Switch. Turn ON a 12V Motor with Arduino. (Step-By-Step Guide)Indrek2020-02-03 | This is a tutorial about using a P-Channel Enchantment Type MOSFET as a switch to turn ON and OFF a 12V Motor.
UPDATE: You should also add a 100-ohm resistor between the Arduino pin and the Gate terminal of the MOSFET. The MOSFET has a small capacitance that starts to charge/discharge when you switch the Arduino pin. This creates a short current spike that can be bad for the Arduino pin. Especially if you plan to do high-frequency switching.
Disclosure: Bear in mind that some of the links in this post are affiliate links and if you go through them to make a purchase I will earn a commission. Keep in mind that I link these companies and their products because of their quality and not because of the commission I receive from your purchases. The decision is yours, and whether or not you decide to buy something is completely up to you.
Music from Youtube library.N-Channel MOSFET as a Switch. Turn ON a 12V Motor with Arduino. (Step-By-Step Guide)Indrek2020-01-27 | This is a tutorial about using an N-Channel Enchantment Type MOSFET as a switch to turn ON and OFF a 12V Motor.
UPDATE: You should also add a 100-ohm resistor between the Arduino pin and the Gate terminal of the MOSFET. The MOSFET has a small capacitance that starts to charge/discharge when you switch the Arduino pin. This creates a short current spike that can be bad for the Arduino pin. Especially if you plan to do high-frequency switching.
Disclosure: Bear in mind that some of the links in this post are affiliate links and if you go through them to make a purchase I will earn a commission. Keep in mind that I link these companies and their products because of their quality and not because of the commission I receive from your purchases. The decision is yours, and whether or not you decide to buy something is completely up to you.
Music from Youtube library.The Simplest Way to Wire a Button to Arduino (with Internal Pull-Up) | Arduino Button TutorialIndrek2019-11-23 | This is a tutorial for wiring a button to Arduino. If your wires are short then you don't need to add an external pull-up or pull-down resistor since Arduino has internal pull-up resistors that can be activated in code by calling pinMode(pinNumber, INPUT_PULLUP);
Music from Youtube audio library.Show prop - Arduino Hotline PhoneIndrek2019-11-02 | This is a show prop for a deal or no deal type of game. It has a remote controlled relay that turns on the flashing light on top of the phone. When phone is picked up the flashing stops. In this project the phone does not ring and there is no sound from the speakers.
Disclosure: Bear in mind that some of the links in this post are affiliate links and if you go through them to make a purchase I will earn a commission. Keep in mind that I link these companies and their products because of their quality and not because of the commission I receive from your purchases. The decision is yours, and whether or not you decide to buy something is completely up to you.
Music from Youtube audio library.Using MP3 player module to play sound (Arduino project) - Activity Box #2Indrek2019-06-16 | This is the first update to my DIY project to create a baby activity box. Here I am using the DFPlayerMini Mp3 player module. Arduino detects if one of the buttons is pressed and then plays an MP3 file on the SD card.
Music: You So Zany by Audionautix is licensed under a Creative Commons Attribution license (creativecommons.org/licenses/by/4.0) Artist: http://audionautix.comArduino Powered Baby Activity Box #1Indrek2019-05-26 | This is my next DIY project to create a baby activity box. The goal is to create a box with buttons and lights that can play sound and flash LED lights.
Music: You So Zany by Audionautix is licensed under a Creative Commons Attribution license (creativecommons.org/licenses/by/4.0) Artist: http://audionautix.comUse Your Arduino Memory More Efficiently (C++ Tutorial)Indrek2019-05-12 | This is a tutorial that shows how to use memory more efficiently with C++ by using bitfields. Since Arduino memory is very limited then it can be very useful if you have to hold lots of data in memory.
There was a mistake in my previous video about the DFPlayer Mini module. Since its input pins are not 5V tolerant we need to have a voltage divider for the RX signal. Link to the previous video: youtu.be/DImZRkXsMsU
Disclosure: Bear in mind that some of the links in this post are affiliate links and if you go through them to make a purchase I will earn a commission. Keep in mind that I link these companies and their products because of their quality and not because of the commission I receive from your purchases. The decision is yours, and whether or not you decide to buy something is completely up to you.
Music from Youtube audio library. youtube.com/channel/UCHF8dGfnDzTO-8K5mYMohXA Francis PreveDont Let Your Arduino Code Turn Into a Mess (for C++ beginners)Indrek2019-03-31 | It is very common for beginners to write "digitalRead" and "digitalWrite" everywhere all over the code. This makes it harder to read since it is very low level of abstraction and you have to think about wire connections while trying to understand what the code is supposed to do. To improve readability of your code it is good idea to make functions with descriptive names that clearly say what you actually want to do and then do the necessary "digitalRead" or "digitalWrite" inside that function.
Music from Youtube audio library.Update: Save Images To a Folder with OV7670 and ArduinoIndrek2019-03-09 | This is update to the "Color Images to PC with OV7670 and Arduino" video.
I have updated my ArduinoImageCapture. Now you can select a folder and all captured images are automatically saved to that folder.
Disclosure: Bear in mind that some of the links in this post are affiliate links and if you go through them to make a purchase I will earn a commission. Keep in mind that I link these companies and their products because of their quality and not because of the commission I receive from your purchases. The decision is yours, and whether or not you decide to buy something is completely up to you.
Music from Youtube audio library.Virtual tour in my apartment (Unity WebGL)Indrek2019-02-23 | When my apartment was remodeled some years ago I got an exported 3D model from CAD program.
I cleaned the model up in Blender, imported it into Unity, and added some scripts to make doors open and close automatically.
Music from Youtube audio library.LiveOV7670 project now supports Arduino MegaIndrek2019-01-26 | This is another follow-up to "Arduino OV7670 live image to screen" video. I added Arduino Mega 2560 support for the LliveOV7670 project. Some PINs needed to be re-arranged.
Disclosure: Bear in mind that some of the links in this post are affiliate links and if you go through them to make a purchase I will earn a commission. Keep in mind that I link these companies and their products because of their quality and not because of the commission I receive from your purchases. The decision is yours, and whether or not you decide to buy something is completely up to you.
Music from Youtube audio library.Update: Using grayscale image to get faster framerateIndrek2019-01-20 | I added grayscale support to my Arduino LiveOV7670 project. It is faster since now there is less information to transfer over UART.
You have to update both the LiveOV7670 and ArduinoImageCapture projects from Github.
Disclosure: Bear in mind that some of the links in this post are affiliate links and if you go through them to make a purchase I will earn a commission. Keep in mind that I link these companies and their products because of their quality and not because of the commission I receive from your purchases. The decision is yours, and whether or not you decide to buy something is completely up to you.
Music from Youtube audio library.Perfect First Layer with a Delta Printer - Mesh Bed Leveling in MatterControlIndrek2019-01-13 | I have Rostock MAX 3D printer.
I have always had issues when I needed to print something with a large first layer area. It's probably due to the math of how delta printers work that causes sectors near towers appear higher (even though the glass bed is perfectly flat).
I discovered that the issue can totally be resolved with Bed Leveling settings in MatterControl.Using Paint Format in Google Docs and Microsoft Word to Fix SequencesIndrek2019-01-06 | It has always been frustrating to me to get sequences work correctly in word processing. I have always felt that I have to trick it to force it to behave as I want.
But recently I learned that "Paint Format" also applies to lists and sequences in Google Docs and Microsoft Word. It even works perfectly with sub-lists.
Music from Youtube audio library.LiveOV7670 Code Modifications for WAVGAT NanoIndrek2018-12-15 | This is a follow-up to the previous WAVGAT videos. Here I explain what changes I had to make to the LiveOV7670 code to make it work on WAVGAT Nano.
Disclosure: Bear in mind that some of the links in this post are affiliate links and if you go through them to make a purchase I will earn a commission. Keep in mind that I link these companies and their products because of their quality and not because of the commission I receive from your purchases. The decision is yours, and whether or not you decide to buy something is completely up to you.
Music from Youtube audio library.OV7670 With WAVGAT Arduino Nano At 20 Frames Per Second!Indrek2018-12-07 | Live OV7670 now runs on WAVGAT MCUs. Frame rate is twice as fast since it runs at 32Mhz (Atmel based Arduinos run at 16Mhz).
Disclosure: Bear in mind that some of the links in this post are affiliate links and if you go through them to make a purchase I will earn a commission. Keep in mind that I link these companies and their products because of their quality and not because of the commission I receive from your purchases. The decision is yours, and whether or not you decide to buy something is completely up to you.
Music from Youtube audio library.OV7670 Camera Module with Arduino: Color Image To PC (Step-By-Step Guide)Indrek2018-12-02 | UPDATE! PLEASE READ!
I have updated the code from using the outdated "rxtx" library to "jSerialComm". You can skip the "-Djava.library.path" in the VM options.
This is a follow-up to the "Arduino OV7670 live image to screen" video. In this tutorial, I am connecting only a camera to Arduino (no screen) and sending images to a computer over the serial connection.
The image can be transferred with up to 2Mbit/sec baud rate. Although that speed is not very stable and I have set 1Mbit/sec as default.
Interestingly though the 1Mbit/sec only works with Arduino clones. With Genuine Arduino Uno you have to lower the baud rate since 1Mbit/sec is always very glitchy. I think that for some reason Chinese ch340 serial chip handles high speeds better than FTDI chip used in the original Arduino.
Disclosure: Bear in mind that some of the links in this post are affiliate links and if you go through them to make a purchase I will earn a commission. Keep in mind that I link these companies and their products because of their quality and not because of the commission I receive from your purchases. The decision is yours, and whether or not you decide to buy something is completely up to you.
00:00 Intro 00:14 Demo 00:24 Arduino code 01:40 Setting up ArduinoImageCapture 02:54 OUTDATED. Not needed anymore! 03:21 Running the application 04:30 ArduiniImageCapture on Mac 05:04 Wiring the camera to the Arduino 08:05 Demo - 320x240 1Mbit/sec 08:30 Demo - 320x240 2Mbit/sec (glichy image) 08:51 Demo - 160x120 1Mib/sec 09:07 Demo - 160x120 115kbit/sec
Music from Youtube audio library.WAVGAT Nano with Adafruit screen libraryIndrek2018-11-17 | The longer goal is to get OV7670Live project working with WAVGAT nano. This video is about getting the Adafruit screen library working with the WAVGAT chip.
Disclosure: Bear in mind that some of the links in this post are affiliate links and if you go through them to make a purchase I will earn a commission. Keep in mind that I link these companies and their products because of their quality and not because of the commission I receive from your purchases. The decision is yours, and whether or not you decide to buy something is completely up to you.
Music from YouTube library.How to Use Arduino Timer Interrupts to Create Precise Variable Length PulsesIndrek2018-11-01 | This is a tutorial video about using the timer interrupt to generate adjustable pulses with Arduino. It can be used to run a stepper motor with great precision.
Music from YouTube library.Arduino Nano running at 32Mhz (WAVGAT)Indrek2018-10-22 | I ordered two WAVGAT Arduino Nanos from e-bay. Instead of Atmel's ATMEGA328P it has WAVGAT AVGA328P chip on it (a Chinese clone of Atmel's chip). I got it working at 32Mhz but unfortunately, I managed to kill one of the units and the other one had some strange behavior.
Here is a link to the Russian forum page I mentioned in the video: http://arduino.ru/forum/apparatnye-voprosy/obzor-klona-megi328-lgt8f328p
Disclosure: Bear in mind that some of the links in this post are affiliate links and if you go through them to make a purchase I will earn a commission. Keep in mind that I link these companies and their products because of their quality and not because of the commission I receive from your purchases. The decision is yours, and whether or not you decide to buy something is completely up to you.
Music from YouTube library.Faster Arduino Code With Forced Inline Functions (c++). Visual Demonstration.Indrek2018-10-14 | This is a tutorial that shows how to get inline functions/methods working for Arduino. With Arduino IDE's default c++ compiler optimization parameters it ignores the "inline" keyword. So you need to force it with "__attribute__((always_inline))".
Back in 2001/2002 when I was in high school I designed my own very primitive 3D engine. Originally I started doing it in Turbo Pascal, but since it had only 64k ram available then I moved it over to Free Pascal.
I had to do some bugfixes to get it working in 2018.
Credits: Music by Epidemic Sound (http://www.epidemicsound.com)I designed and 3D printed a toy carIndrek2018-08-12 | I designed and 3D printed a toy car. You can use a wrench to change tires and attach different parts to the car. It has two different types of hood and three different types of back attachments (seat, spoiler and roof).
Credits: Music by Epidemic Sound (http://www.epidemicsound.com)Some mistakes were made (PCB test) #7Indrek2018-08-05 | I have assembled and tested the PCB of the plant watering system. I made two mistakes that will be fixed in the next version of the board.
Credits: Vector graphics: vecteezy.com Music by Epidemic Sound (http://www.epidemicsound.com)My Living Room Lamp Works as a Fly TrapIndrek2018-05-26 | 1:00:52 - closing the blinds 1:02:07 - turning on the lights
I have noticed that flies get trapped under my living room lamp. I think that somehow the reflective ring that holds the lamp together confuses the fly.
Does anybody have an idea why the fly is doing that?
Credits: Vector graphics: vecteezy.com Music by Epidemic Sound (http://www.epidemicsound.com)PCB Design for the Controller Box (#6)Indrek2018-05-20 | I used KiCAD to design PCB for the plant watering system control box.
Credits: Vector graphics: vecteezy.com Music by Epidemic Sound (http://www.epidemicsound.com)New Water Tank (#5)Indrek2018-05-12 | Another update for the automatic plant watering system.
Now I am using a standard soda bottle as a water tank. I have 3D printed a new cap with watering faucet for the bottle and housing for the air valve.
Credits: Vector graphics: vecteezy.com Music by Epidemic Sound (http://www.epidemicsound.com)Change of Plans (#4)Indrek2018-04-30 | I decided that the current direction I was going with the plant watering system is not good enough. I will separate the control logic (Arduino and batteries) to its own box that will stay outside of the flower pot.
Credits: Vector graphics: vecteezy.com Music by Epidemic Sound (http://www.epidemicsound.com)Water bottle test for Automatic Plant Watering System (#3)Indrek2018-04-21 | I 3D printed the first prototype of the water bottle for the watering system.
Credits: Vector graphics: vecteezy.com Music by Epidemic Sound (http://www.epidemicsound.com)Soil Sensor for Automatic Plant Watering System (#2)Indrek2018-04-14 | I tested the soil moisture sensor that I am going to use for the watering system.
Credits: Vector graphics: vecteezy.com Music by Epidemic Sound (http://www.epidemicsound.com)Automatic Plant Watering System With Arduino (#1)Indrek2018-04-08 | This is my next Arduino project. The goal is to create a device that measures soil moisture in the flower pot and uses an electromagnetic valve to control the water flow.
Later I will use my 3D printer to create a box with a water tank for the device.
Credits: Vector graphics: vecteezy.com Music by Epidemic Sound (http://www.epidemicsound.com)DIY LED Candle (3D printing project + some electornics)Indrek2018-03-26 | This was our Christmas present project in 2016. It is a battery powered 3D printed LED candle.
Credits: Music by Epidemic Sound (http://www.epidemicsound.com)3D Printed Face Plate Design for the Escape Room PuzzleIndrek2018-03-21 | An update video for the Escape Room Puzzle. I started to make a 3D printed box for the device and just finished the face plate design. It took me eight iterations.
Credits: Music by Epidemic Sound (http://www.epidemicsound.com)Running your Arduino on a Single AA BatteryIndrek2018-03-15 | This is a tutorial that shows how I run my Arduino devices on batteries that are below 5V.
Using a DC-DC boost converter that bumps up the voltage from 1 volt to 5 volts.
Disclosure: Bear in mind that some of the links in this post are affiliate links and if you go through them to make a purchase I will earn a commission. Keep in mind that I link these companies and their products because of their quality and not because of the commission I receive from your purchases. The decision is yours, and whether or not you decide to buy something is completely up to you.
Credits: Music by Epidemic Sound (http://www.epidemicsound.com)Dice Rolling Statistics of My Dice MachineIndrek2018-03-11 | I analyzed rolling statistics of the Dice Machine I showed in the previous video: youtu.be/iiNgu3sKJKY
Credits: Vector graphics: vecteezy.com Music by Epidemic Sound (http://www.epidemicsound.com)Arduino Project: Dice MachineIndrek2018-03-07 | An Arduino project I made a couple of years ago.
Credits: Vector graphics: vecteezy.com Music by Epidemic Sound (http://www.epidemicsound.com)Arduino Traffic Light Project (a Practical Example of Organizing Your C++ Code)Indrek2018-03-04 | You can turn on subtitles if my accent is hard to understand.