On day 24 of the Arduino Basics series, I'll show you how to make two Arduinos communicate with each other via the I2C interface. One Arduino is the master, the other the slave. In this example, we're using two Arduino Nanos. However, it works exactly the same way with Uno, Mega, and other Arduino models.
ATTENTION!!!
For those not using the LEDs from the advent calendar, you'll need to connect resistors to the LEDs (as shown in the circuit diagram in the video description).
The LEDs in the video have integrated resistors!
----------------
Arduino Basics is a video series in which I explain the fundamentals of programming to Arduino beginners. However, there might also be something interesting for more experienced makers among you. Feel free to take a look.
Since most tutorials focus on the technical aspects of Arduino projects, as a software developer, I've focused this series primarily on the software and programming.
... ----------------
You can find the sketch and circuit diagram for the video at the following link:
https://smarthomeyourself.eu/ArduinoB...
----------------
The following components are needed to recreate the circuit in the video:
Arduino Nano: https://amzn.to/2qIIqHO *
Breadboard: https://amzn.to/2PlYGc1 *
Jumper wires: https://amzn.to/2pkhCNE *
LED set incl. resistors: https://amzn.to/2Jp0RYI *
Micro push button: https://amzn.to/2OF8Tyt *
Potentiometer: https://amzn.to/2qtcJSL *
--
Would you like to support my work?
Browse through my Amazon recommendations:
https://www.amazon.de/shop/smarthomey... *
Or check out my fan shop:
https://shop.spreadshirt.de/smarthome...
If you order anything from eBay or Amazon, please use my affiliate links:
eBay affiliate link: https://ebay.us/7RBSKn *
Amazon affiliate link: https://amzn.to/2O7Z1x3 *
Or donate any amount you choose at:
https://streamlabs.com/smarthomeyours...
or
https://paypal.me/ScheidlerITSolutions
--
Feel free to join our Discord server:
/ discord
--
My video equipment:
Camera: Panasonic Lumix DMC-G81MEG-K (https://amzn.to/2UoafPp)*
Andoer SGC-598 Condenser Microphone (https://amzn.to/2RPZ19B)*
Zoom H2n Audio Recorder (https://amzn.to/3kZGZMa)*
Hauser 200W ESL + Backlight Screen White (https://amzn.to/2HyYtjx)*
2x Neewer LED Panels (https://amzn.to/3cH8NBO)*
SD Cards: SanDisk Extreme PRO 128GB SDXC Class 10 U3 (https://amzn.to/2CMaxrV)*
Adobe Premiere/Photoshop Elements 2020 (https://amzn.to/2MMimU6)*
--
All Amazon links are affiliate links. This means I receive a small commission for every purchase made through these links. You, of course, still pay the same price as usual.
Thank you for your support!