FriendlyWire.com


beginner-friendly electronics tutorials and projects


Discover the joy of understanding electronics!

How to read out a pushbutton with a PIC microcontroller

May 24, 2019 tutorial

In this week's post we will discuss the simple question of how to read-out the state of a pushbutton using a microcontroller. How can we check if a button is pushed down or not? What are common pitfalls? I am convinced that breaking down a more complicated project in little digestible pieces is a great idea to develop a deep understanding of a topic. So here we go! Keep reading.

  • pushbutton
  • tristate register
  • pullup resistor
  • pulldown resistor
  • debouncing
  • tutorial
  • beginner-friendly
  • microcontroller

Buttons and switches 101

May 18, 2019 tutorial

Whenever a circuit relies on an external mechanical input we use switches or buttons. I thought it would be interesting to collect the most common variants of switches and buttons that are typically found in electronics. Please let me know if I missed your favorite one! Keep reading.

  • pushbutton
  • switch
  • tactile switch
  • toggle switch
  • DIP switch
  • slide switch
  • limit switch
  • rotary switch
  • rotary BCD DIP switch
  • rotary hex DIP switch
  • reed switch
  • relay

Breadboards 101 – What do you need to know?

May 3, 2019 tutorial

Breadboards are incredibly useful for beginners in electronics. They are affordable, versatile, and re-usable. Nevertheless, there are a few key points to keep in mind when using them. In this tutorial we will go through the basic properties of breadboards. Keep reading.

  • tutorial
  • breadboard
  • beginner-friendly
  • power supply
  • jumper wires
  • Dupont wires

Make an LED blink: your first simple PIC microcontroller project!

April 26, 2019 tutorial

In the last two weeks I described how to write your first PIC microcontroller program and how to flash it on to the controller. In this week's post, we will describe the accompanying electronics. Don't worry, it is not very complicated, we will get there! Keep reading.

  • tutorial
  • LED
  • beginner-friendly
  • breadboard
  • schematics
  • troubleshooting
  • microcontroller

Your first microcontroller program!

April 19, 2019 tutorial

So last week I showed you how you can transfer a hex file onto a PIC microcontroller using the PICkit3 and the MPLAB IPE X software. For this week's post I think it will be nice to go through a very simple program that makes an LED blink. Keep reading.

  • tutorial
  • beginner-friendly
  • microcontroller
  • MPLAB X IDE
  • XC8 compiler
  • .hex-file

How to “flash” a PIC microcontroller?

April 12, 2019 tutorial

Many interesting online electronics projects make use of microcontrollers, and for the beginner this tends to be a pretty intimidating word. At least it was for me when I started with hobby electronics many years ago. But there is really no reason you should be afraid of this topic. It is a bit involved, sure, but you will be amazed how fast you can make progress when you shake off that initial fear. Keep reading.

  • tutorial
  • beginner-friendly
  • microcontroller
  • PICkit3
  • MPLAB X IPE
  • .hex-file

Useful software in hobby electronics

April 5, 2019 article

The computer has long entered the stage of hobby electronics. Sometimes I think this is a good thing, and sometimes I kind of dislike the idea. I mean, back in the day before computers were around it was already possible to build amazing pieces of equipment. But in this post I want to look at computers not as a distraction but rather as a useful companion for anyone who wants to get stuff done in hobby electronics. Keep reading.

  • article
  • freeware
  • Sprint Layout
  • Eagle Layout editor
  • Fritzing
  • LTspice
  • MPLAB X IDE

LEDs 101 – what do you need to know?

March 29, 2019 tutorial

LEDs, or Light Emitting Diodes, are everywhere. Your smartphone? Check. Your microwave? Check. Your electric toothbrush? Check. In this article I want to present the basic ideas of how LEDs work and how you can use them in simple projects without having to rely on expensive after market solutions (such as wired LEDs with battery drivers that are expensive and often of questionable quality). Here we go! Keep reading.

  • LED basics
  • beginner-friendly
  • led resistor
  • current limiting
  • LM317 constant current source

Soldering vs. breadboard layouts

March 22, 2019 article

Wires are the veins of any circuit. Nowadays most circuits are built using printed circuit boards (PCBs), and what used to be wires has become lanes of copper on a carrier board. This technique is quite involved and rather complicated: the circuit has to be designed, then converted into a PCB layout, and then it is etched out of a copper sheet. In modern PCBs there can be multiple layers (2,4, or even more) and the size of PCBs ranges from a few mm2 to desk-size. It sure can be intimidating as an electronics enthusiast to see these works of art! Keep reading.

  • article
  • soldering
  • printed circuit boards
  • perf board
  • breadboard

5 things I wish I knew when I started learning electronics

March 15, 2019 article

You want to get started in electronics, and there are so many things to keep track of. When I got into the field many years ago, I had to try and figure out what works. In the following list I am trying to compile the five most important facts that I wish I had known back then, so you don't have to go through the same trouble that I did. I hope you find it helpful! Keep reading.

  • article
  • batteries
  • power supply
  • maker communities
  • datasheets

Hello world!

March 8, 2019 article

Yet another blog sees the light of day! But why? In today's overly saturated online world, full of electronic gimmicks and gadgets, is it really necessary to have yet another blog? I think yes! I feel that it becomes harder and harder to understand the pieces of electronics that surround us, and this is only partly due to the increasing level of technological achievement. Mostly, it seems by design: it is a lot easier if you cannot fix your own radio when it breaks. Then you have to buy a new one when it breaks, don't you? Keep reading.

  • electronics
  • joy of understanding
  • friendlywire.com

About FriendlyWire

Beginner-friendly electronics tutorials and projects. Discover the joy of electronics! Keep reading.

Let's build a community

How did you get interested in electronics? What do you want to learn? Connect and share your story!

Tag Cloud

  • electronics
  • beginner-friendly
  • tutorial
  • PIC
  • microcontroller
  • how-to
  • PICkit3
  • MPLAB X IDE
  • XC8 compiler
  • .hex-file