Page 1 of 2

Arduino Programming for Beginners – Part 9: Text Input

Arduino Programming for Beginners – Part 9: Text Input
2

We have learnt quite a bit in the past 8 chapters. In this ninth chapter we will start we will combine some of the things we’ve talked about and with that show you how we can read something from the Serial Monitor of the Arduino IDE, so a user can enter text or numbers.

This is the ninth part of a series of articles I’ve written to get beginners started with Arduino Programming in the programming language C, which I’ve written with the intend to teach my 13 year old nephew (Bram) to get started with the Arduino. After all, he wants to build a robot, but without some basic knowledge about programming, he won’t get far ….

Besides an introduction into the language C, the default language used for Arduino Programming, “Arduino Programming for Beginners” will also touch topics like how to setup an Arduino, get a developers environment running, and look at a few basic electronic parts which we connect to our Arduino.

Arduino Programming for Beginners – Part 8: Arrays

Arduino Programming for Beginners – Part 8: Arrays
0

In this eight “chapter” of our articles on how to do Arduino Programming for beginners, we will take a look at arrays – what they are and how we can work with them.

This is the eight part of a series of articles I’ve written to get beginners started with Arduino Programming in the programming language C, which I’ve written with the intend to teach my 13 year old nephew (Bram) to get started with the Arduino. After all, he wants to build a robot, but without some basic knowledge about programming, he won’t get far ….

Besides an introduction into the language C, the default language used for Arduino Programming, “Arduino Programming for Beginners” will also touch topics like how to setup an Arduino, get a developers environment running, and look at a few basic electronic parts which we connect to our Arduino.

Arduino Programming for Beginners – Part 7: Strings

Arduino Programming for Beginners – Part 7: Strings
17

In this seventh installment of our articles on how to do Arduino Programming for beginners, we will take a look at working with text, or “strings”. So far we have worked with numbers and booleans, and touched on strings even though you might not have noticed it. In this article we will dig into strings, how they work and what we can do with them.

This is the seventh part of a series of articles I’ve written to get beginners started with Arduino Programming in the programming language C, which I’ve written with the intend to teach my 13 year old nephew (Bram) to get started with the Arduino. After all, he wants to build a robot, but without some basic knowledge about programming, he won’t get far ….

Besides an introduction into the language C, the default language used for Arduino Programming, “Arduino Programming for Beginners” will also touch topics like how to setup an Arduino, get a developers environment running, and look at a few basic electronic parts which we connect to our Arduino.

Arduino Programming for Beginners – Part 6: Functions

Arduino Programming for Beginners – Part 6: Functions
18

In this article we will talk about Functions. In previous parts we have worked with two functions already (setup and loop), but in this part we will go deeper into using functions and creating our own.

This is the sixth part of a series of articles I’ve written to get beginners started with Arduino Programming in the programming language C, which I’ve written with the intend to teach my 13 year old nephew (Bram) to get started with the Arduino. After all, he wants to build a robot, but without some basic knowledge about programming, he won’t get far ….

Besides an introduction into the language C, the default language used for Arduino Programming, “Arduino Programming for Beginners” will also touch topics like how to setup an Arduino, get a developers environment running, and look at a few basic electronic parts which we connect to our Arduino.

Arduino Programming for Beginners – Part 0: Overview

Arduino Programming for Beginners – Part 0: Overview
0

This article just presents the entire content overview of the mini course “Arduino Programming for Beginners” which I wrote for my nephews Bram and Max.

Originally I had placed the full overview with each chapter, but since that list became rather long, I decided to only show an overview of a given chapter with that give chapter.

So on this page an overview of all chapters and paragraphs of the “course”.

Arduino Programming for Beginners – Part 5: Going in Loops

Arduino Programming for Beginners – Part 5: Going in Loops
2

In this article we will talk about loops. Loops are used for going through programming instructions for a defined or undefined number of times, so that we do not have to write the same statement over and over again. We will look at “for”-loops, “while”-loops and “do … while …”-loops.

This is the fifth part of a series of articles I’ve written to get beginners started with Arduino Programming in the programming language C, which I’ve written with the intend to teach my 13 year old nephew (Bram) to get started with the Arduino. After all, he wants to build a robot, but without some basic knowledge about programming, he won’t get far ….

Besides an introduction into the language C, the default language used for Arduino Programming, “Arduino Programming for Beginners” will also touch topics like how to setup an Arduino, get a developers environment running, and look at a few basic electronic parts which we connect to our Arduino.

Arduino Programming for Beginners – Part 4: Decisions

Arduino Programming for Beginners – Part 4: Decisions
9

In this article we will talk about making decisions (if … then … or switch … case …). Decisions are very important in our program to react to changing data or events, or to go through a list (loop) of data or events. We call that Control Flow – meaning code is being executed in a different order based on conditions.

This is the fourth part of a series of articles I’ve written to get beginners started with Arduino Programming in the programming language C, which I’ve written with the intend to teach my 13 year old nephew (Bram) to get started with the Arduino. After all, he wants to build a robot, but without some basic knowledge about programming, he won’t get far ….

Besides an introduction into the language C, the default language used for Arduino Programming, “Arduino Programming for Beginners” will also touch topics like how to setup an Arduino, get a developers environment running, and look at a few basic electronic parts which we connect to our Arduino.

Arduino Programming for Beginners – Part 3: Working with Data

Arduino Programming for Beginners – Part 3: Working with Data
12

In this article we will talk about “data”, after all, a computer can do pretty much only one thing: handle data in a way we dictate. For this we need what is called “data types”, “variables” and “constants”.

This is the third part of a series of articles I’ve written to get beginners started with Arduino Programming in the programming language C, which I’ve written with the intend to teach my 13 year old nephew (Bram) to get started with the Arduino. After all, he wants to build a robot, but without some basic knowledge about programming, he won’t get far ….

Besides an introduction into the language C, the default language used for Arduino Programming, “Arduino Programming for Beginners” will also touch topics like how to setup an Arduino, get a developers environment running, and look at a few basic electronic parts which we connect to our Arduino.

Arduino Programming for Beginners – Part 2: Output

Arduino Programming for Beginners – Part 2: Output
2

In this article we will go a little deeper into Arduino Programming, by exploring the developer tools, also knows as the Arduino IDE and how we can output information of the Arduino to our computer.

This is the second part of a series of articles I’ve written to get beginners started with Arduino Programming in the programming language C, which I’ve written with the intend to teach my 13 year old nephew (Bram) to get started with the Arduino. After all, he wants to build a robot, but without some basic knowledge about programming, he won’t get far ….

Besides an introduction into the language C, the default language used for Arduino Programming, “Arduino Programming for Beginners” will also touch topics like how to setup an Arduino, get a developers environment running, and look at a few basic electronic parts which we connect to our Arduino.

Arduino Programming for Beginners – Part 1: Setup

Arduino Programming for Beginners – Part 1: Setup
0

This is the first part of a series of articles I’ve written to get beginners started with Arduino Programming in the programming language C, which I’ve written with the intend to teach my 13 year old nephew Bram Knuit (and his 10 year old brother Max Knuit) to get started with the Arduino. After all, he wants to build a robot, but without some basic knowledge about programming, he won’t get very far ….

In this article we will show you how to get started with our little Arduino Programming course, by selecting an Arduino and setup the developer tools so we can actually try some of the examples that will be discussing in the next chapters.

Besides an introduction into the language C, the default language used for Arduino Programming, “Arduino Programming for Beginners” will also touch topics like how to setup an Arduino, get a developers environment running, and look at a few basic electronic parts which we connect to our Arduino. The lack of basic knowledge should hopefully not be a problem … so I’ll be trying to keep everyone in mind.

The last Boblight Config Maker …

The last Boblight Config Maker …
12

After many iterations of Boblight Config Maker, I’ve decided to finally release v2 … keep in mind that I have the feeling it’s not quite finished yet, so it’s released as a beta, by request of many v1 users.

V2 has been rebuild complete from scratch, and (in my opinion) is not been quite perfect yet, but some will see benefit in this version as it adds a lot of new features.

Since building and maintaining this application is simply taking way too much time, this will, unfortunately, most likely be the last version as well. As with many free or open source projects, this project is taking just too much time, and unfortunately, I do have to make a living as well.

Note that for now the source will not be made public.

UPDATE: For Windows and MacOS X I have fixed several bugs, a new version (beta 3) is available.

Arduino – LEDStrip effects for NeoPixel and FastLED

Arduino – LEDStrip effects for NeoPixel and FastLED
241

For those who have read the article “Arduino – Controlling a WS2812 LED strand with NeoPixel or FastLED” might have gotten infected by urge to get more effects, after all … some of these effects look pretty slick!

With the holiday coming up real soon, I figured this would be a great opportunity to create and post some cool effects for your LED strips. Maybe you can be your own Griswold (National Lampoon’s Christmas Vacation) with these! 

You’ve got to check out the Fire effect with toilet paper – looks pretty cool!

Please read the article Arduino – Controlling a WS2812 LED first, as it will show you some of the basics.
Also note that you’re invited to post your own effects or ideas in the comment section or in the Arduino/WS2811/WS2812 – Share you lighting effects and patterns here … forum topic.

Arduino – Playing with a light sensitive resistor (LDR)

Arduino – Playing with a light sensitive resistor (LDR)
14

After building my own Ambient Light for my TV (Boblight project), several users asked how to control the light intensity of the LEDs based on the ambient light.

So the LEDs should be brighter during the day, and more dimm at night.

This brought me to explore the use of different light sensors on an Arduino, where the cheapest and most common one is a so called LDR (Light Dependent Resistor). An LDR decreases in it’s resistance as light increases.

Looking at what I could find online, I did find that there is enough information available when using an Analog pin of the Arduino. In this article however, we will also look at using a Digital pin to read an ON/OFF state. So in this article I’ll show you some of the basics on how to use an LDR with your Arduino.

In this article I’ll discuss both options.

Testing and Playing with PIR sensors (motion sensor)

Testing and Playing with PIR sensors (motion sensor)
79

In one of my current projects, I’d like to use a few motion or proximity sensors, also known as PIR sensors.

PIR sensors, or Passive Infra Red sensors, can be great for Arduino and Raspberry Pi projects, and can be bought really cheap – I only paid about a dollar per sensors in bundle of 10 PIR sensors from eBay, but you can get them really cheap at places like Amazon or AliExpress as well.

In this short article we will see how we these sensors work, how the can be used, how we can test them, and possible fine tine them a little bit.

No Arduino, Raspberry Pi or anything like that is needed. Just a PIR, a LED, a battery and a resistor.

Arduino Ethernet – Pushing data to a (PHP) server

Arduino Ethernet – Pushing data to a (PHP) server
422

In a previous article, I demonstrated how to use “Data Pull” to read sensor data over a computer network using an Arduino ENC28J60 Ethernet shield/module and some sensors (DS18B20 for example). In this article we will do the opposite: Data Push.

This means that we will make the Arduino send data to our server, which stored the results in a database. For this we will use an Apache, MySQL and PHP setup, which can be a full-size web-server or an easy to install “WAMPServer” setup on your desktop or laptop computer.

Some basic experience with PHP and web-servers will be helpful when working your way through this article.

1 2