My name is Praveen, i’am very new to Xojo, I’am helping my daughter with her 8th grade science project, we are planning to use the Raspberry Pi for her project to build a application.
Here is our thinking:
Use the Raspberry Pi as the platform
-Connect to a motion sensor camera to the Raspberry Pi
When you detect motion, capture Video or still pictures
-Send the Video or still pictures to my daughter’s cell phone
Do you think this is possible using the Xojo platform ?
What version of the Raspberry Pi is needed ? Amazon has version 3 available
What type of motion sensor camera would be recommended ?
Again this is for 8th grade science project - so don’t want overly complicate it.
You can use Xojo to make apps that run on the Raspberry Pi 2 or the Raspberry Pi 3.
It is certainly possible to connect a motion sensor and camera to the Pi. You’ll likely want to use the open-source GPIO library to access a motion sensor. The “raspicam” command-line tool can control a connected camera.
To send a picture you’ll likely want the Xojo app to upload it to a web service that a phone app can access to get the picture. You can also make the phone app using Xojo for iOS or Xojo for Web.
I personally have not used these two things, but I can offer advice.
Einhugur also has some Xojo GPIO tutorials and they have one for an infrared sensor. That might be a good place to start: Xojo GPIO | Einhugur Tech Blog
Yes, definitely go for the official Pi camera, as Paul says. It was updated in the last few months so you might as well try to get the most recent model for improved photos as it has a much better sensor.
Note that there are two versions - the regular version and the Pi-NoIR version which is the same camera but without the infra-red filter, which makes it more useful in dark situations.
I made a similar project with my six year old in a backyard, to watch for wildlife at night. Pretty exciting for the child (and me!) to review the footage the next day.