如何让 Arduino 通过 firebase 接收数据?
How do you make an Arduino receive data through firebase?
我之前曾与 firebase 和 arduino 合作过,但从未合作过。 我需要知道如何让 arduino uno 通过 firebase 接收数据,但是我不需要它来发送数据。 我不知道该怎么做,或者它是否可能。我看过各种关于 arduino 向 firebase 发送数据但从未接收数据的文章。
很可能是你的 Arduino saves data to the Firebase Database through the REST API. If that is the case, it can also listen for data through the REST API。
有几个libraries that wrap this REST API to make is easier to use with Arduino。我不推荐其中之一(在 Stack Overflow 上是题外话),我建议您尝试一下,看看哪种最适合您。
如果您想将 Arduino
与 Firebase
连接起来,您将需要一个后端。您可以使用 Firebase Admin SDK
创建后端。
This is a sample code for a backend.
有关更多信息,请参阅 Documentation
我之前曾与 firebase 和 arduino 合作过,但从未合作过。 我需要知道如何让 arduino uno 通过 firebase 接收数据,但是我不需要它来发送数据。 我不知道该怎么做,或者它是否可能。我看过各种关于 arduino 向 firebase 发送数据但从未接收数据的文章。
很可能是你的 Arduino saves data to the Firebase Database through the REST API. If that is the case, it can also listen for data through the REST API。
有几个libraries that wrap this REST API to make is easier to use with Arduino。我不推荐其中之一(在 Stack Overflow 上是题外话),我建议您尝试一下,看看哪种最适合您。
如果您想将 Arduino
与 Firebase
连接起来,您将需要一个后端。您可以使用 Firebase Admin SDK
创建后端。
This is a sample code for a backend.
有关更多信息,请参阅 Documentation