76 Threads found on edaboard.com: Simple C Program On 8051
When you disable ALL INTERUPTS, you also disable the BAUDRATE GENERATOR TIMER, so... it's that simple. u r disabling you main serial task.
Hope this is useful.
Microcontrollers :: 12.06.2004 21:57 :: Bus Master :: Replies: 5 :: Views: 1727
It's a demo on a Altera Cyclone Nios Board
8051 IP Demo Designs
We have set up two demo designs that show how to use the 8051 IP core. These designs may easily extended to meet your project's specific needs.
Both examples are made up of a ZIP-file containing all required data (VHDL code as
PLD, SPLD, GAL, CPLD, FPGA Design :: 10.01.2005 06:28 :: cluck :: Replies: 16 :: Views: 4897
what? Humidity sensing is simple, all you need is a humidity sensor/meter, then an ADC and a microcontroller.
Just create a program on reading an ADC be it serial, parallel, I2C or SPI. Calibrate the results to fit on your desired output, convert it to BCD, ASCII or whatever chracter fit for your display, then display into an LCD or an LED.
Microcontrollers :: 11.03.2005 13:07 :: glenjoy :: Replies: 7 :: Views: 1896
Hi, The 8051 or better 8751 is a good chip to start with, but the 8751 chips are slowly phasedout and five years from now they will be gone !. Better go for a more modern chip, AVR, Microchip etc... Every chip vendor has its own programmer some use J-Tag which is more universal but unfortunately microchip is not using this (would make In Circuit De
Microcontrollers :: 07.03.2007 13:28 :: PaulHolland :: Replies: 16 :: Views: 1139
?Architecture and programming of 8051 Microcontrollers?
The book contains details of its architecture and many practical examples, both simple and complex, useful program routines, instructions on handling the programmer for Atmel 51 series, and the guide on using the development systems for Atmel (...)
Microcontrollers :: 15.12.2008 16:07 :: svicent :: Replies: 5 :: Views: 859
...I have Dynamic Display (three numbers) and 3 buttons...If you will take MC with 4 ports (AT89C51 for example) it will be enoght IO lines for static indication and simple working program.
Microcontrollers :: 13.05.2009 02:59 :: Roma_te :: Replies: 3 :: Views: 2291
Write simple sample program for serial interface and test with hyperterminal.
Now design program for uploading it into 8051 by fixing header and footer.
Microcontrollers :: 28.05.2009 09:36 :: harii74 :: Replies: 5 :: Views: 1165
yes you can look into the examples programs in the installed folder....
first make up your mind to learn a particular controller and programming language you will use... then take up mazidi book on 8051 and try the simple programs in keil....
PC Programming and Interfacing :: 17.07.2011 12:04 :: ckshivaram :: Replies: 1 :: Views: 327
My friend do you need complete project of electronic washing machine progrmator ?
Its very simple, but not with 8051!
Microcontrollers :: 25.03.2012 10:31 :: tpetar :: Replies: 5 :: Views: 856
I am trying to make a program for AT89c2051 LED blinking.
I download a sample program I attaching here.I used MIDE
Studio.I pasted the C program on new window and save
.asm mode.but there are more than 48 errors showing.
please help me for making a true program
Sample c (...)
Microcontrollers :: 27.07.2012 03:59 :: maxim10373 :: Replies: 3 :: Views: 649
there is accurate and easier method by using assembly and this simple program. Use this method and make mix between c and assembly
Microcontrollers :: 16.08.2013 23:33 :: #MAAM# :: Replies: 9 :: Views: 306
About getting started. I think, the best suitable for leaning is simple MCU which provides easy-to-prgram features. I am using PSoC as my third MCU (first was classic Intel 8051, later Atmel AVR 7 years), now use PSoC. My students are 20 years old and started to use MCU as well without any problems.
Embedded Systems and Real-Time OS :: 01.05.2004 09:18 :: dacadc :: Replies: 11 :: Views: 3089
A simple ASCII protocol can be implemented to work with Hyperterminal. You can program the micro to send at initialization a ASCII string (or just a prompt as you said) and the wait for a ASCII character from PC. You can implement different tasks function of the character received.
Microcontrollers :: 29.04.2004 11:44 :: marie65 :: Replies: 7 :: Views: 2440
I need to interface my '8051 with an IR remote control, exaclty with a TV remote control!
I explain better: I have a TV remote control (I suppose RC5-protocol compatible) and I want to control my 8051 : when I press "1" on the remote control , I need to close a rele', pressing "2" I need to turn off it, and so on...
Somebody knows if
Microcontrollers :: 18.10.2004 13:31 :: cbsirio :: Replies: 6 :: Views: 15419
Ok, yesterday i pulled out my old 8051 ?c development board
Now its kinda old and the kernel i bured to it works together with a debugging program called "monica 52"
It used to work perfect under dos and windows 95
But when trying it together with windows XP it doesnt work.
Let me explain
The debugger (monica52) starts up fine and finds the ?C
Software Problems, Hints and Reviews :: 27.01.2005 22:17 :: tkcmd :: Replies: 2 :: Views: 1373
it's a good simple program make led connected to pin p1.0 flashing,
connect +ve to VCC and -ve to P1.0
; RESET ;reset routine
0H ;locate routine at 00H
AJMP START ;jump to START
Microcontrollers :: 11.05.2005 09:49 :: shafee001 :: Replies: 13 :: Views: 7140
its very easy .... include the com object in ur form .... u have helluva stuff in net
try searching net or books abt it...
but u can use a simple hyperterminal which comes with the windows and set the correct baud and other setting as u require and play around
Robotics and Automatics Forum :: 20.06.2005 17:17 :: helios :: Replies: 3 :: Views: 1112
10x but a wanna some simple sound impulse without MIC , just connect a circuit to sound output a wait for activity
Microcontrollers :: 09.01.2006 06:04 :: syrax :: Replies: 2 :: Views: 599
I havent seen a simple pgrmr for 8051 old types.
Which is the make you are using?
If 89S51/52 available in your area you can locate a simple prgrmr for that.
As far as I know all programmers for 89C51 requires substantial hardware for address and other decoding.
Microcontrollers :: 31.01.2006 01:00 :: UroBoros :: Replies: 3 :: Views: 1090
I have a problem with 8051 interfacing to LCD.
I have written a simple program that gets code from keyboard using interrupt and writes the key value to LCD.
I have used 'Mazidi's Book' writing the program. But, when I have simulated the program by PROTEUS, it does not work correctly.
I think it (...)
Microcontrollers :: 15.03.2006 05:20 :: Luckybuilding :: Replies: 0 :: Views: 751
Frist you have to start with a simple controller
write a flasher program
then try a switch with led
try to send a char to serial port
then you will find yourself involved in micrcontrollers
also you can find a lot of books to start with be search edaboard
i start with pic then switch to 8051 now i'm involved (...)
Microcontrollers :: 06.04.2006 03:41 :: fireplus :: Replies: 13 :: Views: 2235
Dear all ,
i have a good experience on 8051 and AVR , both assembly language , now i want to start learning FPGA technology and ... ,
i have searched some for it , i found many devices for it , i want to know what's deifferences between CPLD , FPGA and ... in usage or other features,
and what's difference between Verilog and VHDL , which dev
PLD, SPLD, GAL, CPLD, FPGA Design :: 21.07.2006 18:23 :: hm_fa_da :: Replies: 7 :: Views: 1733
but it's not a simple job
i had done it earlier
it willtakea lot of time to convert the source code of 8031
to the current version
you may pm me with your where abouts for more help
Microcontrollers :: 22.08.2006 11:44 :: sunish :: Replies: 6 :: Views: 1397
hey has anyone seen those beautiful touch screens on those gas stations . they attract me a lot . has anyone programmed them with the help of a 8051 plz help me in this case i have used a simple alphanumeric lcd but never a graphic lcd it would be very kind of you to share information with me thanks:D :oops:
Microcontrollers :: 12.05.2007 10:31 :: miss_monica :: Replies: 2 :: Views: 2184
i just waht to send and receive two or three bytes
can we connect the 8051 mcu directly to the cc2500?
the sample codes available at ti site is too complex
is there any simple codes are available for configuring the chip and to send and receive data?
what are the possible difficulties you had faced on interfacing?
Microcontrollers :: 23.01.2008 23:52 :: microlab :: Replies: 21 :: Views: 6032
um... Usually if you look at the datasheet for your 8051 it will tell you how to use the UART in the serial port section. They also have the formula to calculate the baud rate. I havent used an 8051 in a while but if I remember corectly they use one of the timers to generate the baud rate.
For the DS89C430 from dallas the formula is:
Microcontrollers :: 03.07.2008 02:58 :: RossiRPI :: Replies: 1 :: Views: 2476
Try Using DOCKLIGHT software.
here is the link,evaluation.Its easy n simple.
downlaod Docklight V1.8 after entering into the site.
Microcontrollers :: 22.04.2009 04:06 :: yviswanathbe :: Replies: 5 :: Views: 1290
hello, I'm a new user and newbie about microcontrollers, I got some lessons in my university about microcontrollers. We only worked with 8051 and we did some programs with assembly but not a big things and the problem begins with that. I wanna make my own simple 4 button keyboard with usb connected but I can't find any knowledge about that. (...)
Microcontrollers :: 22.06.2009 17:57 :: nr4bt :: Replies: 4 :: Views: 1982
could anyone please tell me how exactly to send at commands from 8051 to a sim300 gsm module?? Particularly using printf statements:!: i have tried sending it through strings and been successful to receive it at the serial window. But i saw a sample program on net which uses simple printf statements to send these AT commands. i (...)
PLD, SPLD, GAL, CPLD, FPGA Design :: 14.03.2010 15:46 :: amshu :: Replies: 0 :: Views: 1294
Try to change the project path to a much simple one. (i.e. copy your project directory to c:\ or D:\ . So the path names of the files will reduce. and this will enable the compiler to get all the files for compilation. sometimes compilers dont include all the files for compilation if the path to that file is long)
Microcontrollers :: 19.05.2010 07:56 :: caesarsrilanka :: Replies: 11 :: Views: 771
The program is very simple, did you write this code?
This code detects external hardware interrupt 0 the code in the function "void external0(void) interrupt 0" is an interrupt routine,
the code in the function main "void main()" is for setting up the interrupt
Microcontrollers :: 13.09.2010 15:07 :: asimov :: Replies: 4 :: Views: 546
Call stack - Wikipedia, the free encyclopedia
Quick and simple explanation :)
Microcontrollers :: 19.09.2010 18:25 :: jumper2high :: Replies: 5 :: Views: 330
test it in proteus and then debug. or put your code and circuit here.......
i dont have proteus.so,here's the really simple code:
#define out P2
void delay(int x)
Microcontrollers :: 13.04.2011 08:52 :: jayanthyk192 :: Replies: 3 :: Views: 1323
To make this computer it isn't necessary to know a lot about electronics. It is only required to know how to program. It's a simple device with standard functions displayed.
It has two software versions. One for bas
Show DIY :: 11.08.2011 09:39 :: Vermes :: Replies: 0 :: Views: 368
i m new to keil and hyperterminal,so i burned my keil c program into my 8051 microcontroller and in my program i used printf() function as in turbo c,,but its not plz give me the simple program (uses keil) to print the message(characters and numerics) on the hyperterminal
PC Programming and Interfacing :: 29.09.2011 02:25 :: bpramod :: Replies: 1 :: Views: 643
TI DSP MSP Series
or DSP PIC dsPIC
with proper library you can do it in simple 8051 also
Embedded Systems and Real-Time OS :: 07.10.2011 15:07 :: nikhilele :: Replies: 4 :: Views: 335
its simple,, hyperterminal is a software provided my is just a interface so that you can interact with the devices on the serial port...
there are many other also like Putty, flash magic terminal etc..
Microcontrollers :: 26.10.2011 05:19 :: beyondH :: Replies: 3 :: Views: 460
It will be very helpful if you say in which program you made c program. Often, editor and compiler goes together, but software for programming microcontroller could be separetly.
For instance, AVR ICC software is editor, compiler and has option for programming the microcontroller.
MikroC is only editor and (...)
Microcontrollers :: 30.11.2011 15:48 :: Dusko :: Replies: 6 :: Views: 1464
hi, im trying to make a simple AT89S52 based POV, and it seems to work in the simulation under reads51 software. however after i made the board and programmed the chip it doesn't do anything all LEDs remain off.
i know the board is working fine because i programmed the chip to flash the LEDs and it seems to be working, but when i (...)
Microcontrollers :: 14.01.2012 12:58 :: chi chung :: Replies: 0 :: Views: 140
so many projects those you can create.
1) temperature controller.
2) traffic light controller.
3) led chaser.
these are simple projects.
PC Programming and Interfacing :: 20.03.2012 07:32 :: firstname.lastname@example.org :: Replies: 7 :: Views: 812
you can simply display numbers on lcd screen by sending address location and the a number to display on the lcd screen...
you can see all the commands to initialize an lcd and display data commands in the following link.
also there is a simple project to display numbers on lcd screen.. try it
Microcontrollers :: 24.03.2012 09:37 :: Qaisar Azeemi :: Replies: 3 :: Views: 1071
I have a problem interfacing RF module(433Mhz ask) to 8051(atmel 89C51).
I am using two micro controllers
First: I have written a simple program to transmit 'A' serially if P1^0 is high in transmitter micro controller(uc1). and at receiver micro controller(uc2) to take serial data and put in on P1 of (uc2
Microcontrollers :: 29.03.2012 22:23 :: IanP :: Replies: 4 :: Views: 1392
But you can make code for controlling motor on that way (speed by PWM, direction,....).
See this materials:
PC Programming and Interfacing :: 19.11.2012 03:44 :: tpetar :: Replies: 14 :: Views: 472
I think that on simple operation such as assignations, it should not depend on the compiler.
P0 = 0x55 for example, will likely result in the same assembly code for all compilers.
Now I don't understand what you mean by calculate average compiler.
Again, this should be in the 8051 manual. Any assembler instruction should be detailed (how
Microcontrollers :: 05.12.2012 09:50 :: doraemon :: Replies: 5 :: Views: 141
The 2716 is a very old device!
You need to think in terms of how to connect to the EPROM, it has 8 data lines and 10 address lines so you need 18 connections plus CE and OE making 20 digital connections in total. You also need VPP which will come from a 25V regulated voltage source and another signal to turn it on and off. First question: do you
Hobby Circuits and Small Projects Problems :: 11.04.2013 05:03 :: betwixt :: Replies: 9 :: Views: 457
Im doing my Project about how to program 8x8 LED matrix using MikroC compiler that includes on how to create a simple network using RF signal..
Im using PIC16F877A and Proteus for simulating the schematic.. can you give me a sample schematic with a hex file that can possibly solve my problem.. thanks in advance..
Microcontrollers :: 24.07.2013 15:06 :: exorules :: Replies: 2 :: Views: 375
It's not simple.
- you have to make bridge with 6 diodes, so you get DC voltage about 500V
- second you have to add capacitor to filtrate that voltage (in 3 phase case you dont have to add cap.)
- have to build inverter, 6 IGBT(or MOSFET or bipolar transistor)
- in code memory make look up table of sinus signal (more e
Microcontrollers :: 07.01.2004 14:24 :: mrcube_ns :: Replies: 5 :: Views: 1127
I try to explain.
1. You need a compiler for your ?-controller, depends on the language you choose (assembler, C, C++, Basic, and so on), and also depend on the money you want to spend.
2. You need a programmer for your micro. This can be a simple download cable, or a more complex circuit to programm the chip. This (...)
Microcontrollers :: 02.04.2004 04:35 :: Mr_Programmer :: Replies: 2 :: Views: 705
THIS programMER IS simple, LOW COLST, POWERFUL SOFTWARE, SINGLE SIDE, programE AT89C52 AND AT89C51 AND MORE
SEE THIS LINK
S 8O KRAT
Microcontrollers :: 21.11.2004 04:13 :: sokrat :: Replies: 4 :: Views: 1674
Better select newer 8051-based uC, for example AT89S8252 or AT89C51RD2. They are very cheap and can be easily programmed with simple wire connection from LPT or RS232 PC port.
Embedded Systems and Real-Time OS :: 07.12.2004 10:07 :: Ace-X :: Replies: 5 :: Views: 2896