Arduino Data types, pointers, and a pickle? (14) When programming in Arduino, you might have occasion to go beyond the standard datatypes of int and String. Data Types You might have noticed that if you did the following: int count = 5; int groups = 2; Serial.println(count/groups); Serial would have printed 3. This can be a head-scratcher,
servo Moving mountains, exactly with Servos, but first, a Library (13) This works on the WeMos Mini. It should work on the Digispark, however, the servo is sporadic, indicating that there might be issues with the ability of the timer to keep up. Servos are extremely useful for positioning. They also don't draw that much power and don'
ULCEK Tutorials Just pile it on (More LEDs) (12) It starts to get messy if you want to add more than 3 LEDs to your project because each LED requires a pin. While there are one wire protocols that make this a much simpiler task, what if you really really wanted LEDs in your project? Well one solution would
time Time, counters, and other shenanigans (11) Microcontrollers are not really good at keeping time, no really. Over long periods of days or weeks of continuous running, they start to lose seconds and minutes. That's why we have Real Time Counters (RTC) to help us keep time. They are microcontrollers as well, but their sole
ULCEK Tutorials Create a WebServer (10) With the ESP8266 it was hinted earlier that it can host a web page, and this guide serves as a quick breakdown of how to create a server that serves up webpage. This can also be found as a sketch under Examples. This tutorial assumes that you have some knowledge
oled OLED, I2C (9) Inter-integrated Circuit (I2C) is a communication protocol that is used to connect many embedded devices. In our case, we are going to use it to connect an Organic LED (OLED), a tiny screen for more display goodness. Assuming that you ordered your chip from someplace else (Aliexpress/Ebay), you might
rgb Fun with Addressable LEDs (8) This tutorial can only be done with the Lighting Add-On pack. The another great thing about the 5050 LED chip is that when you chain them up (yes you can chain them up!), you can address each of them using the same data line. This means that if we connected
esp8266 Uploading without wires (7) This tutorial is only for the ESP8266 chip. If you have a ESP8266 chip, we have merely used 5% of this chip's total capabilities. The ESP8266 chip can both connect to Access Points (AP) and also set up a soft AP, which cleans that it can serve as
ULCEK Tutorials Trimpot and Switches (6) A trimpot is basically a resistor that you can vary the resistance of. This is useful for controlling output in an analog manner. The push switches only turn on for the length of time they are pressed. The switches are connected across adjacent legs, which is laid out in the
ULCEK Tutorials One Wire Protocols (5) In your package you might have a tiny white chip with three wires sticking out of it. This is a 5050 LED IC. What this chip does is that it combines three small but bright LEDs into a neat little package and by using some clever signalling, these LEDs can
ULCEK Tutorials Action, Sensor Reaction (4) Often when we build devices we want them to react to the external environment. This means we have to implement some sort of sensor to detect the changes. In this case we'll build a light detector that brightens according to how much shade is thrown upon it. We&
ULCEK Tutorials Breathing an LED (3) Blinking an LED is all fine and dandy, but it doesn't make for any pretty effects. A breathing LED, now that is something pretty to gaze upon. But how can we do that? A microcontroller only knows two states, HIGH and LOW, how can we get a state
ULCEK Tutorials Breadboarding (2) We will blink an LED again, except this time we will move it to to the breadboard. The difference is that we are connecting an external circuit to our microcontroller by giving one of the pins an output signal (much like how everything is run). This is important for two
ulck Blink, blink. Hello World! (1) So you have an ULCK set in your hands. Now what? Have you downloaded the Arduino IDE [https://www.arduino.cc/en/Main/Software] (required for programming) and followed the guide for board definition installation for the ESP8266 [https://github.com/esp8266/Arduino], the driver installation for the Arduino Nano