Advice on Fritzing , Components and Power Consumption

Also SCL. Which, you would have spotted on a real schematic. Or, more to the point, the OP would have spotted and self corrected.

Hi, @grcshekar71
You may need to use limit switches to indicate when your door is fully open or closed.

When you first apply power how does your code know what position the door is in.
If not fully open or fully closed when you apply power, you will have to do a "homing" operation at turn on to locate the door to default position, which I assume is closed.

Nice project by the way...

Tom... :smiley: :+1: :coffee: :australia:

Thank for great support from all of you

Ignoring the banter regarding Futzing, the problem I see is the total lack of any documentation of the "TF-Luna Distance Sensor". That Website seems totally silent on the matter. :roll_eyes:

It appears it might communicate via I²C - or it might not. So whether "SDA" and "SCL" are meaningful on the "diagram" is anything but clear. :astonished:

It's on this page: http://en.benewake.com/support_data?catename=03c54a91-8f9a-409f-985d-37acc68f7bf4&supportid=64e3ba1e-f9c5-45a4-a329-b9f16ac85ab9 (i hope this works as a permalink - given the quality of the website I wouldn't bet on it.)

Buuuuuut it requires signing up with your e-mail address so personally I wouldn't touch this component or this company with a ten-foot pole.

Now you mention it, that is the reason I said " total lack of any documentation". :grin:

Apart from inability to read Chinese.

I guess I will add my 2¢.

Personally I would not create a device that if failed could harm an animal. I would not even consider a motor with a slip clutch. However this is my personal feeling. Every project has design choices that need to be weighted and made.

If a pet door was my project I would have a swinging door with a lock that would unlock when the pet was nearby. Perhaps RFID.

Wowsers. This thread is derailed. Folks claiming other folks are posting insults. Someone essentially pretending to be the original poster. @grcshekar71, I'll try to clean this up.

That should do it. I'll deal with the remaining mess later.

2 posts were split to a new topic: How to connect a TF-LUNA to an Arduino Nano?

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.