Tuesday 26 September 2017

Learn more about PIC

I already study about PIC to use on my FYP project and this is one information i get from my study. this project maybe only just using program code digital voltmeter to detect value of voltage on my battery after i already charged the battery by using piezoelectric sensor.

sbit LCD_RS at RB4_bit;
sbit LCD_EN at RB5_bit;
sbit LCD_D4 at RB0_bit;
sbit LCD_D5 at RB1_bit;
sbit LCD_D6 at RB2_bit;
sbit LCD_D7 at RB3_bit;
sbit LCD_RS_Direction at TRISB4_bit;
sbit LCD_EN_Direction at TRISB5_bit;
sbit LCD_D4_Direction at TRISB0_bit;
sbit LCD_D5_Direction at TRISB1_bit;
sbit LCD_D6_Direction at TRISB2_bit;
sbit LCD_D7_Direction at TRISB3_bit;
int Adread;
float voltage;
char volt[4];
void main() {
PORTA = 0;
TRISA = 0X01;
PORTB = 0;
TRISB = 0;
LCD_Init();
ADC_Init();
LCD_Cmd(_LCD_CURSOR_OFF);
LCD_Cmd(_LCD_CLEAR);
LCD_Out(1, 1, “Digital voltmeter”);
delay_ms(1000);
while (1)
{
voltage = ADC_Read(0);
voltage = (voltage * 5 * 10)/ (1024);
inttostr(voltage,volt); // it converts integer value into string
Lcd_Out(2,1,”Voltage = “);
Lcd_Out(2,11,Ltrim(volt));
Lcd_Out(2,13,”Volt”);
}
}
source:click here

Monday 25 September 2017

Buck Boost Converter

Title:
Step up voltage (DC-DC) module

Objective:
  1. Find suitable module to boost up the voltage.
  2. To fulfill the next objective for output. 

Method:
  1. Research from the internet (e-bay.com, lelong.com.my)
Result:

DC 3-34V to DC 4-35V DC-DC Adjustable Boost Step-up Power Supply Module
Description:
  • LM2577S non-isolated boost module
  • Input Voltage: DC 3-34V
  • Output Voltage: DC 4-35V (continuously adjustable)
  • Input Current: 3A (max.)
  • Output Current: 2.5A (max.)
  • Operating Temperature: -40 deg C to +85 deg C

Conclusion:
The output voltage can be vary from 4-35V DC and can be use for output.

Monday 18 September 2017

Design circuit for bridge rectifier



From this circuit, i want to show the waveform the rectifier can convert from AC to DC and capacitor is to make the DC output more stable.

Thursday 14 September 2017

Testing piezo-electric transducer

Title:
Testing piezo-electric transducer

Objective:
  1. To test the output of piezoelectric.
  2. To make the observation

Method:
  1. Connect 4 pieces of piezoelectric in series and parallel connection and record the output.
Result:

In parallel connection, the piezoelectric will produce about 2-16V AC depends on the mechanical stress that had been apply towards. But the output voltage is stable because of the mechanical stress is not the in the same amount of pressure.
If in series connection, it will step up the the voltage up to 24V AC.

Conclusion:
.The piezoelectric will produce the AC output voltage when the mechanical stress is apply.

FYP presentation day

WEEK 15:  Final year project poster: INDUSTRIAL DAY: Alhamdulillah, thanks to allah s.w.t to give me chance to fee...