How much can I pack into this Raspberry Pi project? - raspberry-pi

I've seen a lot of projects, tutorials and how-to's on the web regarding the Raspberry Pi.
I've just received my first Pi in the mail, and I can't wait to get tinkering with it.
Of course, doing any of these things is going to be a difficult process, however, as my experience with the Pi is next to none, I wondered about the capabilities of what I want to do with my first major project.
I'd like to be able to build an on-board computer for my car. I've seen several projects regarding this, and I've seen some good guides online.
However, none that I have seen will do EVERYTHING that I can think of....
I'm assuming that my 8GB SD card will be limited to only a selection of these specifications, however, here's a list of what I'd like the solution to be capable of, and if anyone knows any reason why this isn't possible, please give me a heads up :)
So...
I'd like a front-end GUI (on a 7" touchscreen monitor) with a menu to navigate the options, which will include
From this menu, I'd like to be able to select (and of course, run) the following:
Media center (I've seen things like XBMC etc.) - I'd like this to be capable of taking over the radio unit and playign mp3's etc (possibly from my iphone!?)
GPS/SatNav - I don't know how possible this is and I assume i'd need a 3G card or something...
Reverse parking camera (stick a webcam in the rear view window) etc (I've seen good tutorials for this)
Connect my phone with a bluetooth thingy(?) so that I can add a USB mic and play the receiver audio through my speakers (acting as a hands free kit)
I'll add more ideas too...
I'm not questioning if each of these individual specifications are possible, I am asking if they are all possible through one solution as a whole, with a GUI to navigate through them?
Thanks for any help.
Cal.

It is all possible, all in one bundle. 8gb is more than enough for everything, it'll only limit your music collection. The only question is: how much work are you able/capable of doing. That will be the limiting factor, not your Pi.

Short answer is yes, all exist and the pi can handle it. But you'll be writing a lot of custom software to make them interoperate.

Related

DIY Bluetooth joystick adapter (8bitdo) adapter

I want to know is there a way we can program a Bluetooth dongle (NRF dongle, esp32 or even raspberry pi) to work as a Bluetooth adapter for PS, Xbox or Nintendo controllers. I found one product called 8bitdo. Very interesting product, it can connect between different controllers and platforms. Its like an universal adapter. I want to know is there any open source code available for this project. I'm new to embedded engineering. So, excuse me if I sound silly. But I'm curious about this project. If someone can tell me where to start, or give me some idea on how to do it, it will be helpful. Thank you.
Take a look here for Dualshock 4 (PS4) Controllers. Here's an already existing project using an ESP32 for a Dualshock3 (PS3) Controller.
But please use google next time, this took me only 1 minute to find.

Where to get started programming iBeacon BLE sensor modules?

I'd really love to learn to program cheap sensors and modules such as this one:
barometer sensor nRF51822 bluetooth module ibeacon LPS22HB, CR2032 battery holder, specifically to use within iOS and Swift.
I reached out to the company who makes them and tried researching how to get started multiple times, but I really can't figure out where to start. There are also pre-programmed modules, but my interest is programming these cheap ones to fit my needs.
I have the linked module, and a few others, and they appear and can be connected to using beacon detector apps, but display no understandable info.
I'd like to read the barometer pressure reading to start. Help is highly appreciated, I'd love to start working with these.
EDIT/UPDATE: I was able to read the modules manufacture name on one of many iBeacon scanner apps I tried and their name is Yunjia. With this information I am able to find alot more details online about what I have. One website says for these chips I can use LightBlue (the app I used to find the manufacturer name) to modify, read, and write to the module. Any additional advice is welcomed, I'll be researching and testing things out.
I also found the Schematics along with some additional info hidden in the seller website.
Edit 2: I found the manufactures little YouTube channel with some info, looks like I just have to do lots of research and testing and learn everything. https://www.youtube.com/channel/UCvqhWNqDE-v0je0X8XAEF2Q It contains some video instructions.
Edit 3: My short term goal of reading the barometer data was a success! After tons of digging I found I just had to write a value of 0x01 to turn on all sensors, then I was flooded with data and the barometer pressure in bytes which could be translated to the actual amount. Write 0x00 to trun off all sensors.
Apple's iBeacon framework is dirt-simple and very easy to use. It allows you to listen for beacons based a unique UUID, major id, and minor ID. It lets you know when a beacon enters or leaves range, and provides crude (immediate, near, medium, and far) distance values. You can create "beacon regions" that will notify your app when you enter or leave them. That's about it.
If you want to do something like read barometric pressure or temperature readings, you will need to either write your own low-level BLE code or use an existing library. My guess is that these modules are using very standard hardware and that you should be able to find libraries to read their specialized data.
Failing that, you will need specifications on their BLE interface and need to learn how to write Apple Core Bluetooth code. (The link you posted has zero specifications for the units. The only thing it provides is the numbers "nRF51822 bluetooth module ibeacon LPS22HB" (It's not in well-formed English so I don't know how to parse those descriptive terms. I'd google those numbers) Note that Core Bluetooth is a fairly low-level framework and not very easy to learn.
EDIT:
Googling "nRF51822", that is apparently an ARM based chip that includes radio hardware that supports BLE. It sounds like that is a general-purpose chip that vendor would use to build a BLE module. Given that, you'd probably have to reverse-engineer it to figure out how it works.
The "LPS22HB" appears to be a solid state pressure sensor that can be used to build a barometric pressure measurement device. It's no doubt interfaced with the "nRF51822". Without specs you're going to have a very hard time figuring out how it's interfaced however.

Can we read heart beat data from wear os using raspberry pi

I have purchased a Ticwatch which is running Android wear OS. I want to read the heart beart data from the device over bluetooth using raspberry pi. I found no resources to do so. But I found a tutorial to do so using Polar H7. Link below:
https://github.com/danielfppps/hbpimon
But the same thing is not doing anything with Ticwatch wear OS.
Can anyone even tell me if this is even possible ?
I haven't done this myself - it's quite likely that nobody has, it's a real corner case - but I have no doubt that it's doable.
Getting the heart rate data on Wear is pretty easy; there's an API to do just that. Here's a SO Q&A with some basic code to do so: How to read Heart rate from Android Wear
Transferring that data to your RasPi is going to be more work, but it's still eminently possible. Both devices support a full Bluetooth stack, but there's no simple API for this, so you'll have to build this piece more-or-less from scratch. On the Android side, a good starting point is Google's Bluetooth Chat sample: https://github.com/googlesamples/android-BluetoothChat
In summary: Anything's possible. Many things are difficult.
I ended up creating my own app on Wear OS. Thanks for all help.

Connecting a Raspberry Pi-3 via T-Mobile GSM SIM with SIM800 Board and SAKIS3G

I want to preface this by saying I am learning Raspberry Pi. This is my first real hands on experience. A project I am working on requires our PI-3 to be connected to the internet via a SIM.
We are using the SIM800 Board (https://www.modmypi.com/raspberry-pi/communication-1068/raspberry-pi-sim800-gsm-breakout-board) and a T-Mobile SIM. Please note that the SIM is already activated.
I followed along with this tutorial and used SAKIS3G: https://www.modmypi.com/blog/how-to-connect-your-raspberry-pi-to-a-3g-network. Everything works until the final selection "custom TTY..."
I receive the following error box: "Device did not report GSM capabilities. You can skip this by adding --noprobe command line switch." I have searched high and low for solutions, but there is very limited information. Does anyone here have experience with errors such as this and can point me in the right direction?
I also added the --noprobe suggestion, but it still printed the same error.
I found a work around, hopefully this is useful for someone. Sakis3G seems to be more focused around other SIM card models rather than T-Mobile. I found a really good guide that allows for easy connection (https://www.rhydolabz.com/wiki/?p=16325).
Follow the link's steps and you should be good. The only flaw with this currently is that it requires manual connection every time the pi boots, but this could probably be fixed by someone who knows R-Pi better than me!

best way to send GPS coordinates to server?

Right first time use, be gentle.
Part of a year long college project, looking for help in the right direction.
Sending/receiving GPS coordinates in realtime(as near as possible) with iPhone 4's
Whats the best approach, was looking at GameKit Q&A here for communicating between phones but am i right in saying it works only on bt and wifi? No good to me iPhones will be out and about.
From what i know, Java RMI would fit this problem lovely but thats Java :-( Send the coordinates and then have a Server Callback to multiple phones.
A server would be nice in the middle
What is the best approach when dealing with iOS?
Cheers
extra edit:
each of the 20 devices have to know the location of all others. thats the start of my project, the sharing of all their gps locations but in real time, as near as. this problem is like having no wheels on my car its stopping me befor i get started.
but how to communicate between all devices is my problem for now
Not entirely certain what your trying to do, but the simplest way of storing something on a server would be a basic web request. (If you need more complexity, you can also use web services)
(You could possible dumb it down further with a html request, ie a get request: http://mydomain.com/page/default.aspx?gpsdata=blah&OtherData=blah)
Then to communicate from the server to the other iPhones, look into the Apple Push Notification services.
But depending on your project, maybe communicating with the server via web services may be an option also (that is, if communications occur with other phones only when the app is running).
Note, if you are not using a web server, then these suggestions will not be very useful or applicable, in that case, please explain a bit futher what technologies you want to use.