If you would like to use your arduino or any other micrcocontroller to be able to switch your audio source, here’s a simple circuit to do the trick. This circuit uses JFET for switching audio sources. Take note that this circuit is mono, you need to build 2 for stereo.
Category: MCU
Simple Current Sensor for Arduino and PIC
Last time I have posted a simple Current sensor for Arduino using only a resistor here in this post. But there are some problems on this kind of simple circuit and they are 1) very lossy due to the big voltage drop on the resistor 2) if you decrease the voltage drop on the resistor, it will decrease the resolution 3) There is a significant voltage drop on the load at higher load current which is not good. The allegro current sensor ACS7xx series is a good alternative but it cost too much for my project so I search for another option. Then I found this ZXCT1008 that is just right for my application.
Continue reading “Simple Current Sensor for Arduino and PIC”
ATTINY817 UART with PuTTY
In this article I will show you how to use the ATTINY817 XPLAINED to communicate via UART using PuTTY software. This is very useful when you want to debug your hardware using your PC. This comes in handy if your hardware have no display and other means for human interface.
Adding Rotary encoder and a button to arduino
This is from my latest project arduino-controlled-bass-treble-volume-and-input-selector. I only created a separate thread for the rotary encoder and button part just in case you only needed that part on your project.
Continue reading “Adding Rotary encoder and a button to arduino”
Simple Current Sensor for Arduino
There is actually a board that you can attach to arduino for measuring current but if you don’t need a very accurate measurement, you can use this very simple circuit. Usually a low resistance resistor is connected in series to the load. The voltage of the resistor is measured and divided to its resistance, the result will be current.
Connecting Arduino Nano to 16×2 LCD
Connecting arduino to 16×2 LCD is very much easy compared to microchips PIC microcontrollers. This maybe because the arduino has lots of software library aimed for beginners. The program is easy to understand, I am sure you can be able to understand it even if you are still new to programming.
Digital clock project
One of my project: a led watch with 71 SMD LED. The microcontroller is a Microchips PIC16F728 running in 4MHz crystal oscillator and powered by CR2032 battery.
