Application Template

From Curuxa Community

Jump to: navigation, search
Application:
Title of Project
Type Electronics, Robotics, Domotics...
Author YOUR_NAME, aka YOUR_NICK
Status Development/Testing/Finished...
Date March 18, 2010


Write here a short introduction (10-50 words) explaining briefly what your project is.

You can ignore, modify or add any section, text and content as you wish, but more information about your project is appreciated.

Contents

Description

Longer description of your project. Text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text.

What it does. Text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text.

How it works. Text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text.

Hardware

Used Main Boards and Modules

MBP18 Main Board: MBP18
  • Based on a PIC16F88
  • Up to 4096 instructions
  • RAM: 360 bytes
  • EEPROM: 256 bytes
  • 31kHz-8MHz internal oscillator
  • 10-bit, 7-channel Analog-to-Digital Converter
  • Up to 16 data input/outputs


SISW-SPST 2x SISW-SPST

Simple push button or on-off switch. Two positions. Microcontroller can receive either 0 or 1.

One of these modules activates makes the circuit work. The other one makes the device stop working.

Connect one to RA2 (pin 1), and the other one to RA3 (pin 2).


AO-SPK 1x AO-SPK

Simple, low-power speaker.

Generates differents sounds depending on the state of the inputs.

Connect it to RB7 (pin 11).


Pictures

My project finished My project finished My project finished My project finished My project finished My project finished

Videos

Source Code

/*==================================================================
* Project name
*
* Explain here what your program does. Text text text text text
* text text text text text text text text text text text text text
* text text text text text text.
*
* Connections:
* Custom module: RA0/AN0 (pin 17)
* SISW-SPST: RB3 (pin 9)
* AO-SPK: RA1 (pin 18)
*
* YOUR_NAME_HERE
*
* http://community.curuxa.org
*
*=================================================================*/
 
#include <MBPxx.h>
 
#define OSC_8MHz
#include <Delays.h>
 
ConfigBits1(_CP_OFF & _DEBUG_OFF & _WRT_PROTECT_OFF);
 
//What this function does
void SomeFunction(){
	//...
}
 
void main() {
        //my code
        //more code
        //...
}

See also

Personal tools