Back to Basics with Transistors
With any upcoming projects you may be doing, will you be using transistors? A few months ago, Brandon wrote a post detailing the basics of transistors — what they are, how they work, how they can be used, etc.
With any upcoming projects you may be doing, will you be using transistors? A few months ago, Brandon wrote a post detailing the basics of transistors — what they are, how they work, how they can be used, etc.
The binary search tree (BST) is a data structure that is much different from the other structures that we’ve gone over so far. Unlike stacks, queues, and lists, a BST’s struct is not a “straight-line”. Each node in a BST has a left and right child node.
MPIDE comes with a nice serial monitor where you are able to print out values that your system board has measured onto your computer screen. But if you are able to print things onto your computer screen, wouldn’t it make sense if the chipKIT board also accepted and processed values that we typed into the serial monitor? It would make a lot of sense, which is probably why we can do just that. Let’s find out how.
At this point in reading the blog and going through the learn material, you might realize that there is a lot of FPGA code. It doesn’t look like C, it doesn’t look like Java…what is it?
Now that we know about recursion, we can talk about an important topic in programming — recursive sorting algorithms!
For those of you that have been coding for awhile, you likely have heard about both interrupts and polling. These are both techniques that can be used to alert your system board, such as a chipKIT microcontroller, when an input has occurred. But what is the difference between these two methods? Is one better than the other? Let’s find out.
Welcome back to the Digilent Blog! Today we’re going to go over recursion! Recursion is when a function calls itself directly, or through another function. Sometimes we can’t solve a problem using loops (iteration), so we have to use recursion. Recursion is slower than iteration, difficult to debug, and it uses up more of the stack. But recursion can also have simpler code, so in some cases, the benefits outweigh the problems.
Have you ever seen those membrane keypads that are often on kids’ toys? Have you ever wanted to make your own?
Over at our forums, we have a lot of great projects that both Digilent employees and users have contributed! One of the members of our user community and a regular contributor to the forum, hamster, used the Basys 3 to generate high-frequency radio signals from its VGA (video graphics array) port.
Take a look at a circuit board and chances are you’re going to find a resistor or two. Most boards today use surface-mount device (SMD) technology, so the components are almost too small to see sometimes, but they are on there, I promise. How do engineers decide which resistors to use in the design? Sometimes it depends on how you want that portion of the circuit to perform, as in the case of an op-amp. Other times it’s to prevent too much current from passing through a given point in a circuit, which is why they are often called current-limiting resistors. Maybe you want a simple way to divide the voltage or current. The reality is that there are numerous ways to use resistors, and oftentimes, the defining the resistor value is up to you.
If you’ve been around electronics for a while, you’ve probably noticed that components like resistors, capacitors, zener diodes and inductors come in some odd values. Looking at the chart above, there seems to be no clear rationale behind the values, but there is a pattern. 47kΩ resistors and 22μF capacitors are everywhere, but not 40kΩ or 50kΩ resistors, or 20μF or 30μF capacitors. So what’s the deal? It all has to do with preferred numbers.
In previous blog posts, we’ve programmed mainly in C. But with a blog post about classes coming up, I figured a short post about how C++ works would be helpful for everybody.
Data rates on serial and parallel transmission lines are increasing rapidly. So are the data integrity issues developers face. Eye diagrams make their life easier. Higher data rates in telecommunications …
Ever wonder why oscilloscopes require bulky BNC cables with those fancy switches, while multimeters seem content with plain wires? The key lies in how these instruments handle electronic measurements. One …
Digilent has partnered with CircuitBread to create high-quality electrical engineering lessons on the topic of DC Circuits. Utilizing Digilent’s resources and engineers in conjunction with CircuitBread’s experience in educational content, …
A software-defined radio (SDR) is not a radio in the traditional sense. Instead of fixed analog components with limited range and ability, an SDR is programmable and highly flexible. Referred …