Pages

Saturday, April 21, 2012

Using Compiler


#include <16f877.h>
#fuses XT,NOWDT,PUT,NOPROTECT,BROWNOUT,NOLVP
#use delay(clock=4000000)
#include "flex_lcd.c"


void forword_dir(void)
{
lcd_send_byte(0, 0X18);
}


void backword_dir(void)
{
lcd_send_byte(0, 0X1E);
}
void main() {
int a,i;


lcd_init(); //lcd initialize
lcd_putc("\f"); //lcd clear
// lcd memory can hold up to 40 characters 
lcd_putc(" http:// shibuvarkala . blogspot . com");


for(;;){
for (i=0;i<14;i++)
//for(i = 0; i <> )
{
backword_dir();
delay_ms(50); // scroll delay
}


for (i=0;i<14;i++)
{
forword_dir();
delay_ms(50);
}
}
}




// Above coding is for scrolling the text on LCD. With this example, we can adjust the code for our project. There are lot of example on internet for coded a PIC. Several link can be use for our study like http://www.edaboard.com/ to implement on project.

Using Proteus For Simulation

If the actual circuit is not working fine, protues is the best way to check or troubleshoot the circuit. With this procedure, i can adjust the coding and ensure the code working fine before burn on real PIC. Below picture of testing procedure...



 Tx side on Proteus

Simulate and check the error.

Circuit Process

 Construct RX and TX circuit on etch board
 Transmitter side.

Testing LCD before actual coding.

Etching for Tx and Rx Circuit

 Transmitter Side
Receiver Side

- Circuit has been constructed on Proteus software 1st before the etch circuit. In this case, im using Express    PCB to build a circuit. Etching process can has been done with this reference link http://www.memsnet.org/mems/processes/etch.html.

Thursday, February 16, 2012

Apr97600 Example.


Below is my Apr9600 and 5v circuit. When the button pressed, recorded sound will produce. In this case, only 1 message has been record. Which is on M1 pins. The output for audio is slow because there are no Amp circuit provide. Later on I will put it after all circuit constructed nicely.

-Sorry for bad quality Vc-


Constructing Apr9600 circuit


Cirucit for audio has been constructed. This circuit base on Apr datasheet which is the IC can be operating in many ways. There are 3 type to operate the Apr IC.
  1. Random Access Mode - This mode can be 2/4 or 8 message at on time.
  2. Tape Mode, Auto Rewind - Auto rewind the message
  3. Tape Mode, Normal Operation - Normal operation . 1 message at 1 time and can record over 60 sec.

For this project, the circuit for random assess mode is suitable. This caused when we need to record 4 message in different length and type.

Friday, February 10, 2012

Constructing 12v to 5c dc ConverterCircuit



Above circuit is 12v to 5v dc converter. Circuit has been construct on the breadboard because this only for testing purpose 1st. Another week I'll post the new one circuit which is constructed on the veroboard. The circuit will be use at PIC16f877a. PIC16f877a operated on 5v dc only.

Block Diagram


Block diagram shown above is supplied by 12 or 9 volt from bus module. When the bus driver ON the power from the module, driver need to key in the bus number. E.g. (512). After the bus number has been key in into the module, the data will converted into analog data. This process called digital analog converter (DAC). This happen because we need to transmit the analog data into the VIPs module.

The analog data will transfer to the VIPs module by the antenna and will decode into digital data. This process called analog digital converter (ADC). VIPs will get the data from the decoder and buzzer or sound will announce the bus number. LED function is to indicate either the VIPs need to board the bus or not. The process be repeated until the VIPs confirms their bus.


Sunday, February 5, 2012

Buying Component

2/2/2012


Go to Jalan Pasar buying component for 12V to 5V circuit and audio circuit which is using apr9600 .



Problem encountered during buy a component :

  • Traffic Jam at Cheras. (--___--").
  • IC for audio isd2500 is not available on the market right now.
  • Not enough gold/money.

Counter the problem :

  • I'm suppose use motorcycle that day.
  • Change audio IC to APR9600. Also audio IC.
  • Borrow from my friend maa... =)

BUS IDENTIFICATION FOR VISION IMPAIRED

Introduction

Bus identification for vision impaired person is system which allow those with disabilities to substantially improve their quality of life. The main function of this project is that may a help group VIPs to identify which bus that their can use for their travelling. VIPs will easier to recognize their bus and will help them to save their time for asking people about no of bus.

Objective

To improve the quality of VIPs life. to propose solution involve the development of the device which allow VIPs to detect the arrival of particular buses.