Group Abstract Group Abstract

Message Boards Message Boards

Wolfram Data Drop and the Raspberry Pi for Education

POSTED BY: Bernat Espigulé
7 Replies
Posted 11 years ago

Hi, I am trying to upload temperature and humidity data from DHT 22 sensor connected to Raspberry pi into the Wolfram Datadrop. I read the GPIO documentation. I understand GPIO DeviceRead command gives the value one or zero.I used the following

DeviceRead["GPIO",4]

I am getting 4-> -1 i want to read the temperature and humidity value from DHT22 sensor.I am not sure how to achieve it. Please guide me.

POSTED BY: Priya Sivaraj

Here is how I've made the following time lapse:

Wolfram Pi Flowers

POSTED BY: Bernat Espigulé

CloudConnect was what I was missing. Now it works thanks

Ken

POSTED BY: Ken Levasseur

The code I evaluated was

DatabinAdd[Databin[BinID], DeviceRead["RaspiCam"]]

where BinID is the 8 character ID I got when I created the bin. I would expect that there is some longer secret code needed but that isn't clear to me.

POSTED BY: Ken Levasseur

Ken, I know what's going on here. You are no longer connected to the Wolfram Cloud, right? Try this:

CloudConnect[ "email-wolframID" , "password" ]
DatabinAdd[Databin["BinID"], DeviceRead["RaspiCam"]]

I wasn't able to reproduce your error, but then I logged out from the Wolfram Cloud with

CloudDisconnect[]

and when I tried DatabinAdd, I got the error reported by you:

Databin::apierr : An API must be specified
POSTED BY: Bernat Espigulé

I created a Databin in Wolfram Cloud and then tried evaluating the example with my Raspberry Pi that was provided in the introduction, using my DataBin ID. I got this error:

Databin::apierr : An API must be specified

It isn't clear to me how the API is specified in the example.

POSTED BY: Ken Levasseur

Ken, could you please be more specific about the example you tried? Can you post the code?

POSTED BY: Vitaliy Kaurov
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard