I am currently working on my A-Level computer science project and I need help. I am currently developing an app in Kivy, and I need to use this app to wirelessly control LEDs via a raspberry Pi and send SMS messages to phones (again, via the Pi). I also need to Pi to detect motion via a PIR sensor. I am not entirely sure how to go about this and I would very much appreciate it if someone could help me. I need to know what kind of hardware I will need and if anybody could point me in the right direction for the code, I would be very grateful.
Related
I have multiwii board connected to raspberry pi 3A and I want to calibrate the mpu6050 sensor from raspberry pi using python programming, can anyone help me out on how I can program this, please?
Try to be more specific in you questions for te next times.
But, to calibrate a Gyro you should take a look at this tutorial.. Or if you are a really begginer and wants to learn how to use the sensor, take a look to this.
This and this tutorial are also useful.
I am making a python script that interacts with Kodi on my raspberry pi to control it with my standard tv remote and I was wondering, could I also control my Xbox with it? I am assuming it can be done as you can already use the Xbox controller on your computer so you should be able to do it in reverse with Bluetooth.
If someone could briefly go over a possible way to do this that would be great. (And preferably in python 3.)
Nevermind, I have found a library that should work: https://pypi.org/project/xbox-smartglass-core/
This library allows you to do any function you can do in the Xbox smart-glass app on your phone or on the Xbox companion app for windows. One of those features is sending keypresses.
I have a python script on raspberry pi 3 and I want to secure my script as much as possible. The user can only contact with the touch screen so there is no external hardware like keyboard, mouse etc. What should I take measure against stolen? For example disabling usb ports, encoding script...
Everything a Raspberry Pi 3 "knows" is on that little micro-SD card. The only way to gain some security is to physically secure the device in an enclosure that prevents the user from getting the SD card. And you need to make your software hard to break into -- difficult for an interpreted language like python -- but made a lot easier if there's no keyboard or other ports available. Again, protected inside the enclosure. If the users can literally only get to the touch screen, then I have a hard time imagining how they'd steal your software.
I have been working with some drones and robotics projects using arduino and python. There was a kickstarter project for a neat little hex copter, that hasn't been managed well.
I was lucky, i got my copter and then some time later after some frustrated email exchanges, i finally recieved the camera as well. To this day, their forum has people still complaining. Their maker forum is now down and their wiki hasn't been updated with any specifics on the camera.
http://www.flexbot.cc/wiki/index.php?title=Main_Page#Hardware
Their app to accompany the drone still doesn't support the camera module. Not that it'd matter, as their code isn't very well documented or annotated.
https://github.com/HexAirbot
There are some tips on switching the camera on the comments page of their kickstarter campaign.
https://www.kickstarter.com/projects/1387330585/hex-a-copter-that-anyone-can-fly/posts/1093716
So, sob story over, i'm stuck with this neat little wifi camera that i am unsure on how to connect to. I know how to switch it on and it does have a micro-usb port on it.
What library in Python could i use to stream an image from this camera given that it is a wifi camera. If i wanted the video stream as a numpy matrix.
I need to interface with the camera, so i can connect and disconnect.
Then, be able to read images frame by frame with ffmpeg. I have some python modules that can detect and read from a camera, but how can my code ensure that the camera is connected?
Totally stuck. Any help would be appreciated.
Considering you are building for the android platform, you will more than likely need to use some sort of java/python driver/interface, unless you just use java.
Here is an article on java/python, and using python from within java.
Using Python from within Java
I am new to coding and I am trying to control ESCs through a PS3 controller which will be coded on the Raspberry Pi B+. I think this can be done, but i have read in a lot of places that I need to use an additional board? Is this the case?
I have found some code which i was going to manipulate..
http://www.raspians.com/Knowledgebase/ps3-dualshock-controller-inst...
http://mechnable.com/content/raspberry-pi-controlling-4-servos-via-...
Please advise me on if I need another board?
My project: is to create a system which can VTOL. So I wanted to control the ESCs with an input from the PS3 controller.