Forum Replies Created
-
AuthorPosts
-
Ashutosh BhattParticipant
first develop interfacing diagram. then post your diagram to provide you better help
this will give you idea that how many IO pins available in your controller and how many you want for different peripherals.
Ashutosh BhattParticipantyou will get some help from here
http://www.engineersgarage.com/contribution/solar-tracker-using-arduino?page=1
Ashutosh BhattParticipantanything more than 5 V.
can be 16 V, 25 V etc.
Ashutosh BhattParticipant1st thing why do u need 4 LDR?
2nd thing why r u using ADC0804?
if you want to get digital output from 4 LDRs then use ADC0809 that has 8 channels.
another option: use micro controller with built in 8 channel ADC like AVR or PIC. ATmega16 is best.
finaly if you want to stick with ADC0804 then use 4x1analog multiplaxer (not digital) before ADC.
Ashutosh BhattParticipantyou can get idea from my keil interfacing programs given on
http://www.engineersgarage.com/tutorials/keil-programs-8051
Ashutosh BhattParticipanti am not much sure but i will suggest first read the data sheet of your memory card (or any memory card)
how data can be stored
how data can be retrived from specific location
interfacing requirements like voltage level, current etc
everything first you need to know
rest is to implement the required protocol, handshake using program
it may be SPI or any other does not matter
Ashutosh BhattParticipantIC555 can also be used in monostable configuration for this purpose.
its very sensitive.
just tie IC555 trigger input to 5 V supply through 1K resistor.
then make close gap between trigger input pin and grond connection. you can make cross hatch pattern (like found in calculator keypads)
_____
| ______
|_____ |
| _____|
| |
to gnd to trig input
when rain drop falls on such pattern IC555 gets trigger and its output becomes high
Ashutosh BhattParticipantthere are several options
one of them is to buy any ATMEL programmer readily available in market.
another one is you can program it using any EEPROM programmer, mass programmer available in laboratories
one more option is to make your ATMEL programmer your self
you will get all the help and readymade things online. its a kind of DIY.
choose whatever option you want
Ashutosh BhattParticipantusually such sensors works at frequencies 34KHz to 40 KHz
you can get idea from the number also like in your case it will be 38 KHz.
you can not use this sensor without IC555.
if you want be it simpler use IR LED and photo diode pair
February 10, 2014 at 9:12 am in reply to: Program to make a bidirectional visitor counter using IR sensor #10997Ashutosh BhattParticipanti suggest
dont just copy n pest the code compile it and run it on hardware
pls try to understand it correctly first. try to solve any error or warning yourself first.
Ashutosh BhattParticipantyou can get some ideas from following link
http://www.engineersgarage.com/contribution/ambhatt/conveyor-belt-controller
Ashutosh BhattParticipantfrom your code i can say you want to use header file lcd.h.
if you are including this header file no need to write any lcd functions in code. you can just write the neame of the function with parameters. it will be called from header file.
to see the pin details open lcd.h file in notepad. the pins are define as macro. same as you have define in your program on top.
February 9, 2014 at 12:58 pm in reply to: serial data is not receiving by 8051 micro controller #10985Ashutosh BhattParticipantthere must be a problem in your baud rate. it wont be same on both side
set 9600 baud rate in your hyper terminal software (or flash magic or tera term) in PC
to set 9600 baud in your 8051 use 11.059 MHz crystal. and calculate proper value to load in timer registers.
Ashutosh BhattParticipantcomplete project is given here
http://www.engineersgarage.com/contribution/ac-motor-speed-controller-using-rf-remote-circuit
Ashutosh BhattParticipantfor LCD interfacing on any platform there are mainly three to four functions
lcd_init()
lcd_send_command()
lcd_send_data()
lcd_print()
lcd_busy()
u can refer tutorials for LCD interfacing on this site.
-
AuthorPosts