July 12, 2016 at 9:29 am #3761
Hello – I sent this message to “support” a week ago and haven’t heard anything back. Perhaps somebody here can help” The message to “support” – “Hello – I just received my Raspberry Pi plate and 2 sensors from you folks. I need a little help to get up and running. I’m at the “Modify one or more of the examples provided with your gateway and sensor IDs.” step and having trouble knowing exactly what the example code is supposed to look like. I’ve done minimal coding using Python. I’ve got the motion sensor and was hoping for some example code for it that I could cut and paste to get me started. I can modify it to specify my plate and sensor IDs but the example code you supply on the website pertaining to the temp sensor has me confused as it included some references to the beagle bone black plate etc. Thanks for any hand-holding you can provide!”
July 12, 2016 at 3:39 pm #3763
Thank you for choosing Tarts Sensors.
We didn’t do any coding in Python. We did all of our coding in C++. You can use the examples in our libraries to get a feel for how the code should be structured.
July 15, 2016 at 9:13 am #3774
Hi – Thanks so much for the response. Certainly explains why the example code looked strange to me! I think I can open a text editor and put C+++ code in, save it and run it. The example code you folks supply – is it all one program or is each section a separate program (global variables, tarts events, keyboard thread and adruino like setup/loop code)? It seems like it’s probably one big program since at the beginning tarts.h and tartstrings.h appear to both be called into play along with the respective ID numbers of the plate and sensor. Can I copy/paste the entire page into a text editor and then just modify it to my ID numbers and change the temperature sensor component to a motion sensor one?
July 19, 2016 at 1:57 pm #3776
The files in the library are one file. Everything you need to get started is included in the libraries. The TartsPlatform handles the interaction between your Raspberry Pi and our hardware. TartsSenors is the code that defines sensor behavior.
Yes you can use our examples and adjust the appropriate values to get the correct profile applied to a sensor. This is something you would need to do, otherwise you’d be receiving bad information from your sensors.
March 1, 2017 at 8:33 am #4024
I just found out about tartssensors and I’m considiring bying 90 temp sensors and 10 Raspberry Pi plates. This is just the beginning.
BUT, is it really so that there is not python 2.x support for these sensors?
I will not start to code complex system of mine with C++.
April 7, 2017 at 8:09 pm #4144
Could anyone share some python coding to get me started?
Or share the protocol of interfacing with the gateway.
Looked at the C code but my eyes glazed over.
You must be logged in to reply to this topic.