I've completed the "Cabin Fever" Smart Temperature Sensor and it's in use!
It's working great! Here is my previous post (part 5) on this project.
I'm even going to be presenting about it at the IBM InterConnect Conference on Feb. 22nd! I'll post more on that later, but for now my sessions at IBM Interconnect 2016 are:
Monday Feb. 22: IND-2119: A Primer to Programming an Internet of Things Device on IBM Bluemix
and
Wednesday Feb. 24: Dev@ Ask Me Anything Session: IDA-6963: Connecting Node-RED Flows to the IBM Watson IoT Platform for an IoT Device
Monday Feb. 22: IND-2119: A Primer to Programming an
and
Wednesday Feb. 24: Dev@ Ask Me Anything Session: IDA-6963: Connecting Node-RED
What I've learned:
Lessons Learned:
1. Programming on the arduino and how to use libraries for onewire temperature sensor and mqtt pubsub
2. Mqtt publish and subscribe
3. JSON
4. Bluemix and IoT
5. Node-RED
6. Node.js JavaScript
7. circuits on the Arduino and one-wire
7. circuits on the Arduino and one-wire
Lessons Learned:
- IBM IoTF quickstart does not allow publish
- in C++ for Arduino, be careful of an if statement doing assignment, for example: If( a=0) instead of what you meant: if (a==0)
- converting C to F, use floating constants
- don't use pins that are already used on the arduino ethernet card
- trying to save memory by using a char instead of int doesn't work well
- strings can be difficult
- nodered - trying to use gmail: there are 3 points to follow to establish credentials
- bluemix = app runs 24X7
- My first reading was 185 degrees when I started up the unit. Why? I don't know, but I added a read at startup and after that all readings were good.
- soldering : use a fan to blow away the smoke
- I needed to get the updated pub/sub library
- questions on DW answers and stackoverflow are a great place to get help
I'll be posting soon another post about my work with an ESP8266 NodeMCU that I'm bringing to the InterConnect conference!
No comments:
Post a Comment