7

Firstly, I'm a newbie in the IoT field. Hardware parts are quite new to me.

I want to make a small project. That is creating a box attached into a car that can keep track its location and temperature. And, inside the box, there should be a micro-controller (I'm thinking about Arduino due to ease of use), a temperature sensor, and a GPS receiver. Now, when the car is running, this box's function should be to push sensor data to a server for processing, and then I hope to write a web page to show them.

Currently, I'm in the researching stage. I have a concern that how to push data from the box onto server. Can you advise me some technologies as well as required hardware parts for doing that stuff? (And it is better if that technology can scale for a bunch of cars, because I want to make for a bus system, not only one car.)

4
  • 2
    Do you want to measure the temperature of the box or it's surroundings or of some specific car part?
    – Helmar
    Commented Dec 21, 2017 at 8:36
  • 1
    How often do you want to upload the data? You need it real time? Also in what environment will these vechiles be used? Urban or rural? Commented Dec 21, 2017 at 9:32
  • 1
    @Helmar: I want to measure temperature inside the car. Commented Dec 21, 2017 at 13:31
  • 1
    @BenceKaulics I need it realtime. And these vehicles are used in urban. Commented Dec 21, 2017 at 13:32

3 Answers 3

4

To summarize, you want an Arduino, which is driving around in a car or a bus, to send some data to a sensor.

Firstly, you need to be clear whether you need this data in real time, or whether you can collect it during the drive and send it to the server at the end.

If you need real-time, then we can probably rule out WiFi, unless you are 1000% certain that there is always WiFi coverage (maybe Singapore?).

Which leaves us with the public telephone network. You can decide on cost/battery life (unless you will power the decide from the vehicle), whether to add a SIM / GSM module to an Arduino, or add a temperature sensor to a cheap Android 'phone.

You can ask for recommendations here, but it might be better at Hardware Recommendations Stack Exchange. In either case, please be clear about what it is that you want, and which features have priorities over others.

Your question here is about pushing data from the vehicle to the server. There are plenty of solutions which use SMS, generally because it is cheaper, but you should probably just use HTTPS and a standard CRUD RESTful API of your own design (unless the server has already specified an API).

If you can wait until the end of the trip, then you can just use WiFi when the vehicles get back to base.

Since you speak of buses, you might want to get adventurous. As buses drive around, they might store data until they reach a WiFi point and transmit it then.

OR, until they pass another bus.

Here's a slight rewording of my answer to this question - try to think of zebra as buses :-)

Basically, whereas TCP/IP will drop undeliverable packets, a Delay/Disruption Tolerant Network (Wikipedia version) will store and forward.

Thus, if your bus has no WiFi connectioon, it will wait until it has has, or until it passes another bus, then perhaps send the data packet to the other bus, which might, in turn, have to store until it can has Wifi, then ultimately forward the packet.

Broadly speaking, as the buses pass each other, they say "hey, if you get some WiFi access, can you pass on this data to the server?".

There are already many existing projects using DTN, beginning with the famous zebranet (Google for zebranet wildlife tracking).

I have developed a few such projects myself, but an not allowed to discuss them.

I am sure that a little imagination and a handful of Raspberry Pi Zero Ws would allow you develop an interesting project for your own

enter image description here

1
  • 1
    wow, your concept is very interesting. For my project, I need it real time. So, as your guidance, I will use public telephone network. Can you suggest me some materials or related projects about these technologies ? Again, thank you for clarify my problem. Commented Dec 21, 2017 at 13:36
4

You want to get data off a moving vehicle into the cloud. A trailing cable seems a trifle impractical, so you're down to wireless. Wireless options are roughly:

  1. Satellite
  2. Cellular
  3. Point-to-point
  4. LPWAN

Satellite is relatively expensive and a little bit tricky to get going. Point-to-point requires that you set up the other end of the link and it doesn't sound like you're up to that at this stage. LPWANs similarly require a bit more preparation that you need right now.

So it's down to cellular options. They are, again very roughly:

  1. GSM/CDMA/2G
  2. 3G
  3. 4G/LTE
  4. CAT-1
  5. CAT-M1
  6. NB-IoT

Your choice should have a lot to do with where in the world the cars are going and when they're going to get there. If you want it working today and in regions where mobile phones are common, then you probably want to aim towards 3G/4G/LTE/CAT-1.

With that all narrowed down, you simply need an Arduino 3G/4G/LTE/CAT-1 shield. There's stacks of them, so pick one you can easily source that is applicable to your region (has a carrier that supports it).

2

For a fast deploy, and proof of the concept, I would try to create a data connection of your system, with the driver's cellphone, and do the communication through it (i.e. using BLE)

The other answer to this question, are absolute correct for a product version, but will need a bit more of work.

2
  • 1
    Can you clarify 'go to link'? Commented Jan 30, 2018 at 14:27
  • Sorry, I meant, I would try to create a conecction between your sensing board, and the drivers cell-phone, like for example by means of a bluetooth interface or something alike. Commented Jan 31, 2018 at 11:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.