MP3 Trigger icon MP3 Trigger Serial MP3 Trigger for EZ-B: plays MP3s from mini‑SD; configurable port/baud. Deprecated-replaced by EZB v4 streaming audio. 3rd‑party. Try it →

ARC Pro

Upgrade to ARC Pro

Stay at the forefront of robot programming innovation with ARC Pro, ensuring your robot is always equipped with the latest advancements.

Author Avatar
PRO
Belgium
Thingiverse
#49  

hi holy1

glad you like it also.next point will be video or sound in the mail.

thanks

Author Avatar
PRO
Synthiam
LinkedIn Thingiverse Twitter YouTube GitHub
#50  

Patrick, if you put a loop in the "camera tracking start", it will loop forever until a "camera tracking stop" script is executed. You can stop it by putting this in the "camera tracking stop" script:


Halt()

Putting something (anything) in the camera tracking stop script will stop any other camera scripts. Each control can run one script at a time, so this example shows how that

Author Avatar
PRO
Belgium
Thingiverse
#51  

hi dj

thats a new one for me.thanks for the tip.but wil i be able to stil use video record ?

Author Avatar
PRO
Synthiam
LinkedIn Thingiverse Twitter YouTube GitHub
#52  

Then just do this... Voila, done!

Put this in the Camera Tracking Start script...


# Start recording because we detected something
ControlCommand("Camera", CameraRecordStart)

Put this in the Camera Tracking Stop script...


# Stop recording because the object went away
ControlCommand("Camera", CameraRecordStop)
Author Avatar
PRO
Belgium
Thingiverse
#54  

is this correct for video?

:start

ControlCommand("Camera", CameraRecordStart) #center camera on object if($Cameraistracking = 1) sleep(500) ControlCommand("Camera", CameraSnapshot)

ControlCommand("SMTP Client", SendImage, "Camera", "[email protected]", "patrick dierckx", "Motion detected", "Hey patrick, this is jd. I have detected motion in your house. Here's a picture of what I saw.")# you can change this to say what ever you want Sleep(2000) ControlCommand("Camera", CameraRecordStop) endif sleep(10000) goto (start)