Friday, August 22, 2014

RTC1307 Module

  1. Firstly, Set time for RTC - get time from the computer and set to RTC
  2. Then run RTC_ClockDisplay.h to display the time from RTC
  3. Read from Serial monitor OR
  4. Add lcd1602 for display

Real Time Clock (RTC) I2C
The price is RM19 including postage
If you want to buy it, whatsapp me: 013-5817878

How to shrink your project using Attiny85

  1. MUST USE ARDUINO IDE 1.0.5 !!!!
  2. Download library for aTtiny45/ATtiny85
  3. Change the folder name to hardware and save in Arduino directory
  4. Run example --> ArduinoISP code
  5. Please select the right board and com port
  6. Assemble the circuit as Figure below
  7. Select ATtiny85 (1 MHz) internal oscillator as a board type
  8. Upload the code
  9. Ignore all the errors.
  10. Done!! Enjoy it


Monday, August 18, 2014

Laser Pointer Module

Ground

Empty

Digital Pin







For coding you can used blink code in the example
Go to your IDE software, then click
File > Examples > 01.Basics > Blink

How to change HC-06 Bluetooth Module Setting

  1. Connect bluetooth HC-06 via FTDI Basic
The connection between Bluetooth and FTDI are as follows:
RX --> TX

TX --> RX
VCC --> VCC(5V)
Gnd --> Gnd
  1. Choose correct COM Port
  2. Open Serial
  3. Choose "New line ending"
  4. Type AT then send --> OK
  5. Type AT+NAMEdevicename --> Oksetname (20 character)
  6. AT+PIN4321 --> change password (4digit)
  7. AT+VERSION --> check the bluetooth version
  8. AT+BAUD4 --> change baudrate (see table below)