Skip to main content

Posts

Oscillator Controller for 8bit PIC Microcontrollers

This is oscillator controller for 8bit PIC microcontrollers which is specifically design to debug MCUs and related circuits by without using ICD unit. This unit consists with low speed oscillator and cycle counter with automatic hold. In current version, oscillator is capable to run in 2 frequency modes and it can count up to 4096 cycles in each run. The number of frequency modes can be extend by adding more capacitors and the upper limit of cycle counter can be increase by adding more 12bit counters (and related circuitries) to the system. Oscillator waveform in low frequency mode In current version oscillator can be run in either 66 Hz ~ 70 Hz or 666 Hz ~ 670 Hz ( aprox. ). This frequency can be adjusted by changing the value of C1 or C2 capacitors (e.g: 0.1MFD can generate 6.39 kHz output signal) OR by replacing R1 with some suitable variable resistor. In project package we include sample PIC16F84A based project to test with this system. The recommended test attachment i...

3.3V Power Supply Unit

Now a days 3.3V PSU is essential for microcontroller, programmable logic devices and for some analog components also (especially with some new ADCs). This is ultra-simple 3.3V power supply unit, which is suitable for above mentioned experiments. This power supply is based on, ON semiconductor’s MC33269T-3.3 LDO regulator and it is capable to deliver 3.3V output with maximum of 800mA current. External view of 3.3V Power Supply The PCB design supplied with this article is also compatible with LD1117V33 (also known as LD33V) LDO regulator and it can use with this PCB without any changes. Dimension of the given PCB is 70mm × 35mm and it is design with all through-hole components. Our PCB design for this PSU is available to download at google drive . Maximum input voltage for this module is 20V (DC) for MC33269T-3.3 and 15V (DC) for LD1117V33 (or LD33V). In our unit we use 230V – 9V (1A) step down transformer as AC input for this unit.

Extended Run dialog box for Windows

When it comes to Windows operating systems I highly addicted to the "Run" dialog box. Technically, to me it functions like a single-line command line interface . From Windows 95 to Windows 8.1, layout and the functionalists of "Run" dialog box is quiet identical. To extend the functionalists of "Run" dialog box we did some project call " QRun ". The main purpose of QRun is to provide more convenient user-interface to existing Windows "Run" dialog box. QRun window with Action menu entries   The key feature of QRun is its menu driven command and resource selector. This menu driven interface help end user to perform actions by without memorizing commands and/or parameters. Another feature of QRun is its macro commands. Using this feature end user can create custom actions for run dialog box. Other than above features QRun also had inbuilt support for win-bash . Because of this feature end user may be able to run GNU bash relat...

DIY 3W constant current LED driver

This is quick post about 3W constant current LED driver which I was design to combine with some homemade furniture piece. The main components of this system is LM311 voltage comparator and IRF9 5 40 P-Channel MOSFET. Schematic of 3W LED driver module This module is design to drive maximum of two 3W high power LEDs and it requires 8V - 10V DC (500mA) power source. In this given configuration this module may not need any heat-sink (for IRF9540) and consume maximum of 500mA of power. Breadboard version of 3W LED driver At prototyping stages we test this module using 9V DC (1A) power supply with two 3W LEDs (EDEX-3LA1-E1). I developed final version of this module using piece of strip-board and PCB design is not done.

ParseGen - parser generator for FPC

ParseGen is rule driven, parser generator for FPC / Lazarus . ParseGen is design using FPC, FCL and Lazarus and it mainly supports for Windows and Linux operating systems. ParserGen scanner is slight DFA (deterministic finite automaton) state machine. This scanner can operate on case sensitive or case-insensitive modes and it can easily configure/extend through given class structure. The parser of the ParseGen is recursive descent parser. ParseGen generate this parser using high-level source language and this language is logically similar to EBNF grammar. For example, in ParseGen, definition for "term" and "expression" can be written like this: define: expression   optional: "-","+"   end          term          loop: "-","+"     term   end   end define: term   factor   loop: "*","/"     factor   end   end This parser generator...

microTone Module - Simple Analog Hardware Interface

microTone Module is analog interface to connect microcontrollers or digital logic systems with PCs. This interface use PC sound card’s audio output terminal to send commands to external hardware systems. microTone Module is an open source project and all its software source codes and hardware designs are available to download at sourceforge.net/p/microtone . All the compiled software and source codes of this project are distributed under the terms of GNU Lesser General Public License . Hardware design and other documents are distributed under the terms of Creative Commons Attribution-ShareAlike 3.0 Unported License . Software library of microTone Module is a Win32 DLL and it can use with any programming language which allows interface with dynamic link libraries (e.g: C++ , C# , Python , Java , Delphi , Visual Basic , etc.) Some wrappers for this DLL are already implemented and available to download at microTone Module sourceforge.net code repository. And also if you implement or...

Centralize power switch for PC arrays with power failure monitor

UPS system is a common peripheral in computer field. Now most of these UPSs are equipped with USB driven system shutdown software. But some of the cheap UPS system may not have software controlled PC shutdown systems and some of them had some limitations too (for example operating system compatibility issues, supporting for multiple nodes, etc.). In this post we design power failure monitor with centralize power switch for array of PCs. Using this system administrators can turn on multiple PCs with single button press and all of these PCs get power down automatically at power failure. To reduce cross platform issues we design this interface to work with main-board power switch and because of this administrators may not need any special software for this system. Most important point of this system is its independence with UPS hardware. Prototype of centralize power switch project Main controller of this system is PIC10F200 - 8bit microcontroller. Thanks to its SOT-23 package w...