Isn’t it great when two Makers get together to provide a better solution for everyone? Well, here at codebender, we’re always looking for new partners, to offer new devices and libraries for our users, and of course make our partners’ lives a little bit easier by making them codebender compatible.
TV, laptops, phones, printers, alarms, cars, toys… they all have one common thing. They all need to be turned on and off, and so they all have at least one switch on them. Switches are the most simple and direct form of user input for any kind of device. They let the user give a clear instruction to a device, so the device in turn can respond appropriately. There are several types of switches, in different forms and sizes, and in this tutorial we will examine the most common among them.
Time for some more components. This time we look at resistors. Fixed value resistors and variable resistors. Resistors that depend on position, rotation, light, pressure, temperature, and others. We’ll take a look at some of them, and see how they operate. Let’s dive right in…
Here we are. The time has come to build our first projects. We’ll meet the components in our disposal, figure out how to connect them, and then all we have to do is code. Code. Code… Code something useful that can make our everyday lives easier, or perhaps something fun that can entertain us. There is no stopping you from building anything… from the silliest children’s toy to the next spaceship that will travel to Mars!
A microcontroller (
uC) is a computing device. Its main job is to perform computations… it takes some data from its memory, manipulates them, and then stores them back to memory. But having data in a uC’s RAM doesn’t do much good. In order to make use of that information, we have to be able to take it out of the uC and realize it in some way. To do that, a uC has
outputs that can transfer out bits of information to devices that can display it, make sound or light, cause something to move, etc.