Welcome to the Frontpage
AT Commands to send an SMS PDF Print E-mail
Written by Layad Circuits   
Tuesday, 29 December 2009 11:25

AT Commands to send an SMS

Required Hardware: MCU connected to a GSM modem via the UART.

MCU Code:

printf("AT+CMGF=1\r");// this ensures the GSM modem is in Text Mode

//delay around 1 second

printf("AT+CMGS="XXXXXXXXX" \r");// XXXXXXXXXX this number is the receipient of the SMS

//after the above command, the GSM will send the response ">" to the MCU.

//The MCU should await for this character before sending the message as below:

printf("This is a sample message");//Send your message here, maximum of 160 characters.

putchar(0x1A);// last command to send the message

 

 

 

 
Connecting PICkit2 to PIC microcontrollers PDF Print E-mail
Written by Layad Circuits   
Sunday, 07 June 2009 11:40

INTRODUCTION

The PICKIT2 is an inexpensive yet reliable programmer/debugger for a number of popular PIC devices including PIC16 and PIC18 series of controllers. Refer to the manufacturer’s website for technical details about the programmer/debugger.


OBJECTIVE

Demonstrate the proper connection of PICKit2 programmer/debugger to a PIC micro. Read more ... http://www.layadcircuits.com/layad_articles/PICkit2%20pinouts.htm

Last Updated on Thursday, 11 June 2009 17:16
 
Setting Up Hyperterminal PDF Print E-mail
Written by Layad Circuits   
Friday, 01 May 2009 09:12

Probably, the easiest way to have your MCU "talking" to your PC is via the Serial port. You dont need to write your own software, simply use one of the many freeware serial emulation software, among them, is the Hyper terminal. Read on...


Communication with the PC’s serial port (or virtual serial port over USB-Serial converter) may be better viewed on serial emulation software that will transparently display received ASCII data and likewise be able to send data using the keyboard. One of such software is the Hyperterminal. The HyperTerminal is a bundled software that comes with MS Windows OS.

This mini-tutorial will show how to quickly set-up the Hyperterminal for your MCU projects:

http://www.layadcircuits.com/layad_articles/Hyperterminal_Setup.htm

Last Updated on Friday, 01 May 2009 09:22
 
UART Basics PDF Print E-mail
Written by Layad Circuits   
Sunday, 26 April 2009 13:34

The objective of this article is to demonstrate the use of the UART that is built-in a microcontroller unit(MCU) in basic applications intended for the novice electronics designer. It shall cover the physical layer design and fundamental software control. In-depth discussion of the data protocol will not be covered. This short article is intended as a practical guide on UART interfacing. Please click on the link below for the main article:

http://www.layadcircuits.com/layad_articles/UART_Basics.htm

 
CodevisionAVR Quick Start Guide PDF Print E-mail
Written by Layad Circuits   
Thursday, 11 June 2009 17:11

CodevisonAVR is a powerful and user friendly compiler/IDE for Atmel’s AVR series of microcontrollers. Assuming you have already installed it, this article will guide you on starting your first project.

read more... http://www.layadcircuits.com/layad_articles/cvavr_starter.htm

 

 
<< Start < Prev 1 2 Next > End >>

Page 1 of 2

Who's Online

We have 3 guests online
Valid XHTML and CSS.