• Announcements

    • bluehash

      Forum Upgrade   03/11/2017

      Hello Everyone, Thanks for being patient while the forums were being fixed and upgraded. Please see details and report issues in this thread. Thanks!

eelcor

Members
  • Content count

    68
  • Joined

  • Last visited

  • Days Won

    2
  1. Wow, The thread has been hijacked, but with a very good reason! I have been looking into the ESP8266 as a standalone controller and with the arduino fork it works like a charm. All the options to have cheap wifi start to dazzle me! I am currently also working on a back end with python, MongoDB and Flask. My original plans with an internet controlled greenhouse keep on changing
  2. Hi everybody, The modules are quite easy to connect and configure. Although the wifi dongle has its own microcontroller, I want to use it with the launchpad. I am not looking to tweak the modules themselves but create simple connected devices. The combination of a value line controller and the ESP8266 yields cheap smart switches and smart objects. Still pondering how the library should be structured... Kind regards, Eelco
  3. Hi everybody, People might have read the hackaday post describing the ESP8266. The ESP8266 is a really low price Wifi chip, which uses serial communication (just like the Wifly etc.) to connect to wifi. Although the CC3100 and CC3200 are the better chips, the ESP8266 main differentiating point is its ridiculous low price. I've ordered 8 for $3.50 each (aliexpress). It doesn't seem to support IPv6 out of the box, but there is an SDK, which might open future possibilities. I was thinking to make a library for energia to support the ESP8266. Anyone interested? Are there specific starting points to make this library usable? I am looking at two scenario's: - MQTT client - Relaying sensor data or control. - Web service - Returning a JSON object with sensor data. It would be nice to use the hooks of an ethernet library and only need to process strings/arrays of bytes. Edit: As this wifi dongle uses an UART, how do I create two UARTS on a G2553? Kind regards, Eelco Rouw
  4. just hack into my iCloud account...
  5. Wow! I have been waiting in anticipation for this version of Energia. I am very impressed with the work done! Let the tinkering begin! Kind regards, Eelco
  6. Spirilis, Thanks for the link! I have made a little dance around the table and I giggle the whole day Happy! Kind regards, Eelco
  7. Hi everybody, I am eagerly awaiting some news regarding the addition of the CC3200 in Energia. I have two of these critters lying around and I cannot wait to start developing with my favorite IDE. I am very thankful for all the work that has been done in Energia. Any news regarding the port? I can imagine that the unusual way of having a separate flash chip is complicating things as well as a good TCP/IP stack. If there is anything I can help with, please let me know! (I would love to beta test) Kind regards, Eelco Rouw
  8. I have an OLS and was on the verge of using it as I suspected no dialog between the launchpad and the lm75 was going on. I was afraid of Chinese fake chips, but thankfully it was fixed. Thank you for your support! Kind regards, Eelco
  9. Maaaaaaan, I feel stupid! I really really didn't want to blame my soldering skills. I've received an Aoyue reworking station yesterday and thought that the SOIC to DIP conversion was impeccable ;-) However, when I used the Raspberry Pi to scan the I2C bus, no response from the temp sensors at all...but one... Fired up my reworking station and applied some additional soldering paste and voila! It now works! Feel downright stupid now, but I am happy that it works ;-) KInd regards, Eelco
  10. Okay, Swapped the resistors and chose a sketch. // Using the LM75A for watching temp in serial monitor// This code uses the Wire library which comes along with Arduino language// by GHoSt// started at 2008/01/12// finished at 2008/01/13#include <Wire.h>void setup(){Wire.begin(); // join i2c bus as master (no address)Serial.begin(9600); // start serial for output in serial monitor (or somewhere else...)}void loop(){int c[2]; // array for two temp bytesint x=1; // counter for array (msb is send first)int check; // var for looking if temp is + or - (Bit 11)long temp; // var contains tempdata for easy reading by human beings Wire.requestFrom(72, 2); // request 2 bytes from slave device #72while (Wire.available()) { // get the two bytesc[x] = Wire.read();x--;}c[0]=c[0]&224; // "forget" all bits except the 3 left bitsc[0]=c[0]>>5; // shift these 5 bits for the right valuecheck=c[1]&256; // logical and for checking bit 8 if its 1 or 0if (check==0) {temp=(c[1]*8 + c[0]) * 0.125; // c[1] * 8, 'cause first bit isn't 1, but 8, second 16 and so on, a value of 1 is 0.125
  11. Yes I did, but somehow I couldn't get the sensor to work. I've tried three different pieces of code. I thought there would be much more on this sensor and Arduino, but information seems to be pretty scarce. I am going to look into the resistor issue, it might help to swap the resistors of 2k2 to 10K. See if that helps! Thanks! Kind regards, Eelco
  12. Thank you! I tried it with 2K2 and will try it with 10K, see if it's working. Do you have any code by any chance that is verified to work? Is the Wire library bug free at this moment (I know that there were some issues with the older Energia release). Kind regards, Eelco
  13. Hi everybody, I have ordered some lm75a sensors from eBay and after careful SMD soldering on a SOIC to DIP converter, I am trying to get these sensors to work with the Launchpad and Energia. Somehow this is more difficult than expected (especially after connecting a RTC chip and a light sensor with ease). Has anyone tried to get these sensors to work with the Launchpad? What kind of pullups are needed? Does anyone have example code? And finally I tried this on the new release of Energia, has anything changed with the I2C code? Kind regards, Eelco Rouw
  14. One of the advantages of the chip I found is that they can be found on ebay for really low prices. But the built in crystal is very tempting!
  15. That sounds like a great option! I cannot determine if it is a DIP package or a SO package. Great to chose between SPI and I2C. Any ideas regarding the command set? Kind regards, Eelco