Archive

Archive for September, 2012

MSP430 Launchpad GamingPack

September 30th, 2012 No comments

MSP430 Launchpad GamingPack

MSP430 Launchpad GamingPack

MSP430 Launchpad GamingPack

Max, Brittany, and Kathleen designed a gaming console extension for the MSP430 LaunchPad. It’s called the GamingPack, and it’s based on the similar Arduino shield Gameduino. It features a Spartan 3A FPGA which handles both video VGA output, and input from two NES controllers.

PROJECT DESCRIPTION

Based on the Gameduino, the GamingPack transforms your MSP430 LaunchPad into a full fledged gaming console complete with audio / video output and two Nintendo controller sockets. Just hookup your computer monitor, plug in a controller and you’ll be writing games in no time.

PROJECT FEATURES

– 400×300 Pixel VGA output
– 256 16×16 Pixel simultaneous sprite images
– Up to 256 colors per sprite
– 2 Nintendo (NES) controllers
– Nostalgia

More information:

http://bear24rw.blogspot.com/2012/07/msp430-launchpad-gamingpack.html
https://github.com/bear24rw/gamepack

Categories: electronica Tags: ,

Volt-Ampermetru 50.00V – 50.0A cu PIC16F877A

September 9th, 2012 2 comments

Volt-Ampermetru 50.00V – 50.0A cu PIC16F877A

Acest volt-ampermetru poate măsura si afisa simultan 4 marimi electrice, acestea fiind: doua valori de tensiune cuprinse in domeniul 0-50V precum si doua intensitati ale curentului intre 0-50A. Dispozitivul este o completare perfectă pentru orice sursa de alimentare / reglabila, incarcator de acumulatori, instalatie solara / eoloana s.a.m.d, unde tensiunea şi curentul trebuiesc monitorizate. Pentru acest dispozitiv avem nevoie de un microcontroler PIC16F877A (sau 887) ce are incorporat un ADC (analog-digital convertor) şi un ecran LCD 16 x 2 hd44780. Cu o uşoară modificare software & hardware este posibilă măsurarea unor valori de tensiune sau curent mai mici sau mai mari.

Schema de mai jos este doar o parte a montajului, nu reprezinta o sursa “de studiu”.

Schema Volt-Ampermetru 50.00V / 50.0A

Volt-Ampermetru 50.00V – 50.0A cu PIC16F877A

Contra cost pun la dispozitie  fisierul .hex personalizat pentru client, microcontrolerer programat, PCB, calibrare  (in limita timpului disponibil) !

Categories: electronica Tags: , ,

Generator PWM cu PIC16F628 v1.2

September 9th, 2012 5 comments

Generator PWM cu PIC16F628 v1.2

Pulse-width modulation (PWM), or pulse-duration modulation (PDM) is a modulation technique that conforms the width of the pulse, formally the pulse duration, based on a modulator signal information. Albeit this modulation technique can be used to encode information for transmission, its main use, actually, is to allow the control of the power supplied to electrical devices, specially to inertial loads like motors.

The average value of voltage (and current) fed to the load is controlled by turning the switch between supply and load on and off at a fast pace. The longer the switch is on compared to the off periods, the higher the power supplied to the load is.

The PWM switching frequency has to be much faster than what would affect the load, which is to say the device that uses the power. Typically switchings have to be done several times a minute in an electric stove, 120 Hz in a lamp dimmer, from few kilohertz (kHz) to tens of kHz for a motor drive and well into the tens or hundreds of kHz in audio amplifiers and computer power supplies.

The term duty cycle describes the proportion of ‘on’ time to the regular interval or ‘period’ of time; a low duty cycle corresponds to low power, because the power is off for most of the time. Duty cycle is expressed in percent, 100% being fully on.

The main advantage of PWM is that power loss in the switching devices is very low. When a switch is off there is practically no current, and when it is on, there is almost no voltage drop across the switch. Power loss, being the product of voltage and current, is thus in both cases close to zero. PWM also works well with digital controls, which, because of their on/off nature, can easily set the needed duty cycle.

PWM has also been used in certain communication systems where its duty cycle has been used to convey information over a communications channel.

Schema completa:

PWM_Simulare

Fisierul .HEX pentru 16F628A @ 6MHz (XTAL)

PWM_16F628A@6MHz

 

Categories: electronica Tags: ,