Skip to main content

Posts

Showing posts with the label mcu

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...

LEDShoot - Electronic LED Shooting Game

LEDShoot is a simple electronic shooting game which we developed in a year end vacation period. This is a single player electronic game with following game play logic: There are two fighting groups are exists in this game world. RED group is an enemy group and GREEN s are friendly parties. Player’s job is to shoot the RED group(s) when they appear on the stage. Player gets limited time to shoot and misfires are treated as negative points. When player get 100 points game get end with winning message. This electronic game system is mainly based on ATmega32 MCU and firmware is developed using GCC C (with Atmel Studio 6.0). This system is design to work with 5V - 1.5A power supply unit. We developed this system as a hobby project and we construct it on a couple of breadboards, at the moment we don’t have any PCB design for this project. When assembling the circuit make sure to use some heavy-duty push button for ( SL2 ) control key. For ( SL1 ) use 8 Ω - 1W (60mm) sp...

LiteASM - Light Weight & Customizable Assembly Compiler & Virtual Machine

LiteASM is a Light weight and reconfigurable Assembly language compiler and Virtual Machine. It is design to fulfill the following core requirements: As a scripting interface for embedded systems. As a cross platform scripting interface. As a experimental tool for compiler construction. LiteASM compiler is design with minimum static instruction set. Its dynamic instruction set can be easily extend using compilers configuration files. LiteASM compiler generate fixed length binary output file and it can execute on LiteASM Virtual Machine Simulator ( litevm ) or on top of platform specific virtual machine. Virtually LiteASM Virtual Machines can execute on any 8bit to 64bit CPU/MCU/DSP platform. 8bit version of Fibonacci series demo on LiteASM Virtual Machine Simulator LiteASM compiler and Virtual Machine simulator are distribute as a free and open source software (under the terms of GNU GPL version 3.0 ) and available for both Windows and Linux operating systems. This Lite...

AT89S52 base RPM counter

In this design we use AT89S52 microcontroller to build inexpensive revs-per-minute meter. This meter can measure speed in the range of 1 to 9999 rev/min. This design was originally developed to measure the speed of brushless motors, but it can use for any application where the speed is in above mentioned range. In the given design input pulses are generated using Allegro A1203 Hall-effect bipolar switch and it can be replaced with any other Hall-effect sensor or IR detector. Current version of RPM counter is based on Atmel’s AT89S52 8bit MCU and control software is developed using MikroC 8051 compiler. At the time of implementation and testing we use Allegro A1203, A3517 and A3056 (for gear-tooth sensor operations) Hall-effect bipolar switches with this system and all these sensors produce excellent results with it. AT89S52 source code and complete circuit diagram of this project are available to download at google drive

User Programmable Automatic Night Light

In this project we developed user programmable automatic night light using Microchip's 8bit MCU – PIC12F675. In this design user may be able to program and store the time duration of the master light. Compared with other designs this circuit use transformerless power supply, and TRIAC to control the master light. Complete MCU software source code, operating guides and circuit diagram of this project is available to download at here . To get more information about transformerless power supply please refer the Microchip application note AN954 , and ST application note AN438 for MCU and TRIAC interfacing.

Prithvi Development Studio for PIC Microcontrollers

Prithvi Development Studio is my new project to build an IDE for GCBASIC – PIC Programming language. Prithvi is developed using Borland Delphi 7 programming language and currently it supports over 300 PIC Microcontroller devices. This IDE is based on GCBasic, and GPUtils, so users can directly produce hex files from Basic source code without using any 3rd party tools. (e.g: without using Microchip’s MPLAB - ASM). Current version of Prithvi Development Studio supports wide range of PIC 10F, 12x, 16x and 18x devices and Prithvi Development Studio also ship with wide range of GCBasic support libraries such as X10, LCD, ADC, RS232, USART, EEPROM, etc. Current version of Prithvi Development Studio has following features, Source code editor with syntax highlighting Intermediate code (Assembler), Hex code viewer Automatic completion, suggestions and parameter information Installable library system Project manager and source explorer to speed up the development process Inbuilt help viewer To-D...

Simple ATMEL AVR – Programmer

In this project we decide to implement simple ATMEL AVR microcontroller programmer for our hobby electronic purposes. We get ideas for this project from http://www.electronics-diy.com and http://www.societyofrobots.com . All the credits of this project go to them and creator of the ISP Programmer - Adam Dybkowski. You can get complete circuit diagram from here Entire project is based on the 7408 - Quad AND gate chip and it is possible to use any (CMOS/TTL) AND gate chip with this project. During the testing phase we use CD4071 and 7409 quad AND gate chips without any circuit modifications. During the assembly process make sure to install proper heat-sink to the 7805 voltage regulator. After constructing the circuit download and install ISP Programmer and follow these steps, Open ISP Programmer software package and press "Setup" button to setup the programmer. Select "AEC ISP" as a "ISP Cable Pinout" and press OK Connect MCU to the programmer and power on...