Skip to main content

Posts

Showing posts from December, 2015

How to design microcontroller interface circuit for Relay and Solenoid Valves

Background Story: Recently, while helping my friend in building his Automatic Cleaning filter, I designed driver circuit for Solenoid Valves and DC Motor. You can easily find enormous amount of How-To, tutorials, circuits on google. But they are specific with those applications. Simply they referred other designs and decided to use them in theirs. Most of them do not discuss about calculation involved for designing driver circuit according to power rating of the solenoids/relay/DC Motor. Depending upon the power rating of your Relay,Solenoid and DC Motor; selection of driver circuit is done. This post to address those issues,    How to choose right driving element like Power Transistor, Power MOSFET etc. ? How to calculate sink or source current needed? How to safeguard your microcontroller from notorious back EMF of Relays and Solenoids? [Note: Principle involved in driving Solenoids and Relays are same, so covering Relays also]    So...

Codebender | Playing with Cloud Based Arduino IDE

Codebender a Web/Cloud based IDE, best alternative to Arduino IDE. You can do almost everything ( Coding, Compiling, Debugging, Programming) with codebender as you do using Arduino IDE. Well, All experienced hackers who use Arduino day-in-day-out know that, it's little complex to work with Arduino IDE. So, everyone starts looking for an alternative. And thanks to the ever-growing Open Source Community. You can easily find many tools. Same way, I find Codebender, and literally get overwhelmed by it's features. Hold On, Not only you can do basic Arduino IDE functions with codebender, but some cool features like, Code from Any corner of the World (PS - Where Internet is present). Supports 80+ Arduino Boards .  Loaded with 500+ of Arduino libraries & 1000+ Library examples,which you can Try & Test right-away. Collaborate on coding project.  Share it with the world. I used this couple of time, It gets you rid of installing Arduino tool-chain on every PC...