Jump to content

MarkV

Members
  • Content Count

    9
  • Joined

  • Last visited

  1. using energia 17 and cc3200 the USB port occasionally goes completely dead requiring a hard reboot to bring back to life. I think it may be happing when the board is unplugged with the serial monitor running at 115200. I have seen this on 3 different mac book pros including a new one.
  2. With energia16 and launchpad msp430g2 p1 jumpers removed m430g2553 chip the proximity sensor returns too many false positives to be useful on all demo examples. I tried setting the threshhold to 250 and 300 but still have the same problem. Any suggestions? proximity.setThreshold(150); Serial.begin(9600); } void loop() { scanButtons(); scanProximitySensor(); ledSequence(); } void scanProximitySensor() { digitalWrite(MIDDLE_LED, HIGH); while(!proximity.isTouched()); Serial.print("proximity touched: "); Serial.println(proximity.getBaseline()); digitalWrite(MIDDLE_LED, LOW); } proximity touched: 50874 proximity touched: 50874 proximity touched: 50874 proximity touched: 50874 proximity touched: 50932 proximity touched: 50932 proximity touched: 50932 raw State: 0 Base: 55684 Measured: 55661 Delta: 24 State: 0 Base: 55683 Measured: 55657 Delta: 27 State: 1 Base: 55683 Measured: 54950 Delta: 733 State: 0 Base: 55682 Measured: 55663 Delta: 20 State: 0 Base: 55681 Measured: 55674 Delta: 8 State: 1 Base: 55681 Measured: 55004 Delta: 677 State: 1 Base: 55681 Measured: 54946 Delta: 735 State: 0 Base: 55680 Measured: 55642 Delta: 39 State: 1 Base: 55680 Measured: 54958 Delta: 722 State: 1 Base: 55680 Measured: 54930 Delta: 750 State: 0 Base: 55679 Measured: 55659 Delta: 21 State: 1 Base: 55679 Measured: 54959 Delta: 720 State: 1 Base: 55679 Measured: 54929 Delta: 750 State: 0 Base: 55683 Measured: 55690 Delta: -11 State: 1 Base: 55683 Measured: 54955 Delta: 728 State: 1 Base: 55683 Measured: 54948 Delta: 735 State: 0 Base: 55682 Measured: 55651 Delta: 32 State: 0 Base: 55687 Measured: 55694 Delta: -12 State: 1 Base: 55687 Measured: 54961 Delta: 726 State: 0 Base: 55686 Measured: 55656 Delta: 31 State: 0 Base: 55685 Measured: 55668 Delta: 18 State: 1 Base: 55685 Measured: 54950 Delta: 735 State: 0 Base: 55684 Measured: 55639 Delta: 46 State: 0 Base: 55683 Measured: 55659 Delta: 25 State: 1 Base: 55683 Measured: 54956 Delta: 727 State: 1 Base: 55683 Measured: 54956 Delta: 727 State: 0 Base: 55682 Measured: 55647 Delta: 36 State: 1 Base: 55682 Measured: 54955 Delta: 727 State: 1 Base: 55682 Measured: 54958 Delta: 724 State: 0 Base: 55691 Measured: 55702 Delta: -20 State: 1 Base: 55691 Measured: 54963 Delta: 728 State: 1 Base: 55691 Measured: 54967 Delta: 724
  3. tried the fr430CL330h booster pack on the cc3200 launchpad and it hung on nfc.begin using energia 16. the example code uses the following pins. #define RF430CL330H_BOOSTERPACK_RESET_PIN 8 #define RF430CL330H_BOOSTERPACK_IRQ_PIN 12 Do you have any further instructions on what was done with the jumpers and example code in the above example to make it work.
  4. moved to energia 16 and it compiled, although i was disappointed in the range and reliability (lost connection after a few minutes and only had a range of about 50 feet - with no walls, in my single test) of the anaren rf boards.
  5. I tried the StellarisDS18B20 lib and example on a CC3200 launchPad and sometimes it does not find the type 28 device and hangs and the results have frequent 0's and some occational out of range high number. Is there a more accurate/robust lib i should use on the cc3200 launchpad? G'day StellarisOW ROM=11 00 00 00 70 00 00 00 (OW1) Type=11 ROM=28 1C 97 F1 05 00 00 15 (OW2) Type=28 No more addresses. From array 11 00 00 00 70 00 00 00 28 1C 97 F1 05 00 00 15 OW2=F OW2=F OW2=75F OW2=185F OW2=F OW2=75F OW2=F OW2=75F OW2=75F OW2=F
  6. all the examples for the cc3200 in the air430bostUSAFCC folder do not compile : [/Applications/Energia.app/Contents/Resources/Java/hardware/tools/lm4f/bin/arm-none-eabi-g++, -c, -Os, -w, -fno-rtti, -fno-exceptions, -ffunction-sections, -fdata-sections, -mthumb, -mcpu=cortex-m4, -DF_CPU=80000000L, -MMD, -DARDUINO=101, -DENERGIA=15, -I/Applications/Energia.app/Contents/Resources/Java/hardware/cc3200/cores/cc3200, -I/Applications/Energia.app/Contents/Resources/Java/hardware/cc3200/variants/launchpad, -I/Applications/Energia.app/Contents/Resources/Java/hardware/cc3200/libraries/SPI, -I/Applications/Energia.app/Contents/Resources/Java/hardware/cc3200/libraries/AIR430BoostUSAFCC, /var/folders/hw/sgdjxchd4fl1kpp64qwtbzz80000gn/T/build8020456570253660475.tmp/WirelessControl.cpp, -o, /var/folders/hw/sgdjxchd4fl1kpp64qwtbzz80000gn/T/build8020456570253660475.tmp/WirelessControl.cpp.o] In file included from /Applications/Energia.app/Contents/Resources/Java/hardware/cc3200/libraries/AIR430BoostUSAFCC/AIR430BoostFCC.h:29:0, from WirelessControl.ino:68: /Applications/Energia.app/Contents/Resources/Java/hardware/cc3200/libraries/AIR430BoostUSAFCC/utility/A110x2500Radio.h:201:26: error: macro "wakeup" passed 1 arguments, but takes just 0 static void wakeup(void); ^ /Applications/Energia.app/Contents/Resources/Java/hardware/cc3200/libraries/AIR430BoostUSAFCC/utility/A110x2500Radio.h:201:15: error: variable or field 'wakeup' declared void static void wakeup(void); ^
  7. I used 2 different methods 1. using UDP to get the time periodically from a time server. There are a few arduino examples that work. But it requires you to know the time zone of your device (great if you have a gps on board). 2. I also created a simple node red flow in a container on the cloud (in my case bluemix) that responds to a mqtt (internet of things foundation) message and sends the current time back to the device. But I am looking for a easy way to get the time for my ip or the RF atomic clock and way to recover the time if the device can not get an internet connection after reboot
  8. Has there been any progress on being able to connect/reconnect using the profiles stored vi smart config. (from energia) This was why I was evaluating moving to the TI boards. As suggested above wifi.begin that simply uses the profiles without sharing them with me would be fine. Or alternatively I could loop through them. If so do you have some examples of doing this correctly?
  9. When using the on board (cc3200) temperature sensor with the tmp006 energia example, Is there a way to avoid conflicts with other functions using the on board LEDs, specifically the yellow and green LED remain on when using the tmp006 example and I was using them for other functions. Can I disable or move the use of the Green and yellow LED? here is the basic code I am using Adafruit_TMP006 tmp006(0x41); // start with a diferent i2c address! // Grab temperature measurements and print them. float objt = tmp006.readObjTempC(); float fobjt = objt * 1.8 + 32.0; Serial.print("Object Temperature: "); Serial.print(objt); Serial.print("*C "); Serial.print(fobjt); Serial.println("*f"); float diet = tmp006.readDieTempC(); float fdiet = diet * 1.8 + 32.0; Serial.print("Die Temperature: "); Serial.print(diet); Serial.print("*C ");Serial.print(fdiet); Serial.println("*f"); delay(4000); // 4 seconds per reading for 16 samples per reading
×
×
  • Create New...