Discussion in "Project Help" started by    kks    Mar 1, 2018.
Sat Mar 10 2018, 10:00 AM
#21


>I said it before, i have changed the project to secure car access system
Actually you said you were "thinking" of changing to a secure car access system.

>Goodness so now i need a limit switch too
No, you will need two limit switches.

>now i am stick with led.
You could have two LEDs, one for motor forward, one for back.

You unlock the car with an RFID key.
How do you lock it ?


ExperimenterUK


Yeah well our professor told us to do the car one because its less common. I fo have two led's, green and red. Just a question, is it necessary to apply resistor to the microcontroller for led. Cause it requires 330ohm and i have a 10k one. If i will apply that then the light will probably be very dim.


[ Edited Sun Mar 11 2018, 03:35 PM ]
Sun Mar 11 2018, 01:49 AM
#22
>Cause it requires 33ohm and i have a 10k one.
>If i will apply that then the light will probably be very dim.
Yes it will be very dim.
The suggested value is probably 330 ohms.
Anything from 220 to 1K should do. ( 1/4 watt)
Resistors can often be salvaged from old equipment.

You did not say how the door is locked.
You could swipe to lock, and swipe again to unlock, but it needs more code.
Sun Mar 11 2018, 07:47 AM
#23


Resistors can often be salvaged from old equipment.

You did not say how the door is locked.
You could swipe to lock, and swipe again to unlock, but it needs more code.

ExperimenterUK


Yeah i do have an old circuit of some speaker lying around, but i think the resistor are of higher ohms than 1k. I don't even have a voltmeter to check them.
As for the door locking again, you just have to swipe one to unlock and it will be locked again after some delay. Isn't that usually how all smart doors works. You do get a appropriate amount of time to pass. Ofcourse i could have added an sensor to keep the door opened as long as you are near to door, so that the door doesn't close on you. But it's too late now.
UPDATE: I did the connections and joined the negative of the leds to the resistor that i pried out of some old circuit whose resistance i am not aware of. I suppose it's more than 1k so i joined both the negatives to the same resistor. The positive is connected to the microcontroller for input. I did the same in proteus and it works fine there. But only my green led is lightning up in real. The red led doesn't light up for some reason. The soldering part is proper so i can't think of a reason why its not working. Does red led require higher voltage?


[ Edited Sun Mar 11 2018, 03:39 PM ]
Sun Mar 11 2018, 07:53 PM
#24
>As for the door locking again, you just have to swipe one to unlock
> and it will be locked again after some delay.
>Isn't that usually how all smart doors works.

Is this "secure car access system" to lock/unlock a single car
or a car park ?

> I did the connections and joined the negative of the leds
>to the resistor that i pried out of some old
>circuit whose resistance i am not aware of.

You can't just guess, assume and hope with electronics, things get damaged.
I'm not surprised is does not work.
Proteus is much more forgiving than the real thing.

Resistors have codes on them. Usually coloured bands
that tell you the resistance.

Your professor may want you to do the car project,
but you can't complete this project without the right parts.


[ Edited Sun Mar 11 2018, 07:56 PM ]
Sun Mar 11 2018, 08:10 PM
#25
It's Society car access system, where only the cars belonging to the members of the society will have access to its parking area. That way no outsider can come in and park their car.
I didn't knew that the color bands indicate resistance. I broke quite a few resistors today trying to get it from the circuit.
The reason i went ahead with the connection is because i thought a high resistance unlike low can't do much damage to anything.
Actually in Proteus, the led does get dim when apply high resistance. My green led is glowing alright but the red one is really very dim, almost unnoticeable.
I just need a low resistor now. Have to complete this project by Tuesday.
Sun Mar 11 2018, 10:47 PM
#26
http://www.resistorguide.com/resistor-color-code/

>The soldering part is proper so i can't think of a reason why its not working.
>Does red led require higher voltage?

There is a slight difference, but not significant.
More likely the red LED is the wrong way round.
Try the red LED in place of the green and try it both ways round.
It should light up.
If not, it is faulty.
Let me know the result, meanwhile I will look at the code.
....
I have sent a PM.



[ Edited Sun Mar 11 2018, 11:38 PM ]
Mon Mar 12 2018, 01:11 AM
#27
It isn't faulty, but very dim. I tried it both way round, it does light up but you have to be in a dark room to actually see it. The green ones working fine either way, its not the brightest but it can be seen. BTW thanks for the code.
Mon Mar 12 2018, 05:07 AM
#28


It isn't faulty, but very dim. I tried it both way round, it does light up but you have to be in a dark room to actually see it.

kks


If it is much dimmer than the green one, it is probably faulty.
Mon Mar 12 2018, 06:54 PM
#29
As i said, it just needed it's own resistor. It's working perfectly now. Thanks a lot for all your help. It's really hard to find people like you who spend time to answer your doubts everyday. Seriously without you i wouldn't have been able to complete this project!
Wed Mar 14 2018, 10:46 PM
#30


Thanks a lot for all your help. It's really hard to find people like you who spend time to answer your doubts everyday. Seriously without you i wouldn't have been able to complete this project!

kks


Thanks for that.
I hope your project goes well.

Get Social

Information

Powered by e107 Forum System

Conversation

Thu Sep 19 2019, 02:18 AM
Caryn Kover
Thank you for your time,
Wed Sep 18 2019, 09:35 AM
latamdatewlz
swimming
ExperimenterUK
Tue Aug 06 2019, 12:39 AM
@Ismail ..post in forum, give details
Mon Aug 05 2019, 10:03 PM
Ismail balghmi
Hello. Please I won't download
ExperimenterUK
Wed Jul 24 2019, 06:17 AM
@BUSTER123 Please post in the forum
Tue Jul 23 2019, 11:43 PM
BUSTER123
hello! newbie here. i am kind of a guy who hates using ready - made existing libraries, so this helped a lot as i was trying to control and write to a character lcd display. however, i can't figure out how to set the cursor position. for example, i want to set it to the 5th column in the first row, so position 5. so according to the table, i am sending 10000101 on the 8 data lines of the lcd (register select pulled low). the cursor does not move there however. and i cant move the cursor left or right too. is it something wrong that i am doing? thank you.
ExperimenterUK
Fri Jul 12 2019, 01:25 AM
@ramos https://www.theengineeringprojects.com/2017/09/l298-motor-driver-library-proteus.html
ExperimenterUK
Fri Jul 12 2019, 01:14 AM
@praveen123. Can you give a link to the project ?
Thu Jul 11 2019, 10:17 PM
ramos
buenos dias alguien podria ayudarme necesito saber como descargar la libreria del l298n para proteus
Thu Jul 11 2019, 04:41 PM
praveen123
anyone can help me

Downloads

Comments

Taiphan000
Tue Sep 17 2019, 04:21 AM
mawantha
Fri Sep 13 2019, 10:42 AM
jonelily954
Mon Sep 02 2019, 12:34 PM
electrobyte
Sat Aug 31 2019, 03:24 AM
Moutonajj
Sun Aug 25 2019, 09:30 PM
jualanled
Sat Aug 17 2019, 03:41 AM
Wed Aug 07 2019, 10:35 AM
hieu16005
Sat Aug 03 2019, 01:16 PM

Online

Guests: 34, Members: 0 ...

most ever online: 182184
(Members: , Guests: 182184) on 06 Aug 2010: 05:37 AM

Members: 38090
Newest member: Taiphan000
Forum Activity
nick@IT Avatar
Posted By [email protected]
Wed Aug 07 2019, 10:38 AM
I am trying to execute USSD codes through my GSM m...
ExperimenterUK Avatar
Posted By ExperimenterUK
Sun Jul 28 2019, 08:55 PM
An LM339 may not be fast enough for reliable SPI ...
sakibnaz Avatar
Posted By sakibnaz
Sun Jul 28 2019, 06:40 AM
Hi All.I need to connect my MCU with an external S...
ExperimenterUK Avatar
Posted By ExperimenterUK
Wed Jul 24 2019, 10:42 PM
Your unit is communicating, so I assume the GPS si...
ExperimenterUK Avatar
Posted By ExperimenterUK
Wed Jul 24 2019, 10:32 PM
Have you read this ?http://www.8051projects.net/wi...
manu8193 Avatar
Posted By manu8193
Wed Jul 24 2019, 04:57 AM
any one tell me the explaination and 'c' code for ...
3AAPC Avatar
Posted By 3AAPC
Sun Jul 21 2019, 12:51 AM
3AAPC Avatar
Posted By 3AAPC
Sun Jul 21 2019, 12:47 AM
With the GPS antenna in the outdoors, I use the ub...
ameya123 Avatar
Posted By ameya123
Fri Jul 19 2019, 07:42 AM
Hello,Please share 8051 Assembly language code for...
figureyang Avatar
Posted By figureyang
Fri Jul 05 2019, 04:37 AM
here is the source code prepared for you download ...