Jump to content


  • Content Count

  • Joined

  • Last visited

Everything posted by Frida

  1. Frida

    Problem installing energia on Linux

    Try moving to a different folder than Downloads. I've had problems with a program, I can't remember which one, but only when I moved it away from Downloads did it work.
  2. Frida


    This server failed to prove that it is forum.43oh.com, since its security certificate expired 12 days ago. It is from my Odroid browser.
  3. Frida

    tiny msp430 preemptive multitasking system

    You're right, I was too fast, sorry
  4. Frida

    tiny msp430 preemptive multitasking system

    There are 3 tasks in array, and index starts with 0, so counting from 0 to 2, and all three tasks running. int i = 0; while (i <tasks -1) {
  5. Frida

    Checksum error in DHT11 interface with MSP430G2553

    The library that you refers to is for Arduino From dht11_test.ino: // // FILE: dht11_test.ino // AUTHOR: Rob Tillaart // VERSION: 0.1.00 // PURPOSE: DHT library test sketch for DHT11 && Arduino // URL: // // Released to the public domain // From dth.cpp: int dht :: _ readSensor (uint8_t pin, uint8_t wakeupDelay) { // INIT BUFFERVAR TO RECEIVE DATA uint8_t mask = 128; uint8_t idx = 0; // replace digitalRead () with Direct Port Reads. // reduces footprint ~ 100 bytes => portability issue? // direct port read is about 3x faster uint8_t bit = digitalPinToBitMask (pin); uint8_t port = digitalPinToPort (pin); volatile uint8_t * PIR = portInputRegister (port); I think it requires conversion from avr controller to msp controller. How about trying the library that @energia suggested.
  6. Frida

    MSP430G2553 Workshop

    Have you made pullup, or pulldown on all unused inputs, or put all unused pins for output. An input collects noise from the surroundings as you see.
  7. Frida

    MSP430F5529 and RFM12b used together

    Yes, when you join the 10's system, it does not work. But when using weighted values, it works. 16 + 8 + 4 = 28 16 | 8 | 4 = 28 [edit] The rules of calculation must be used on logic circles, not on normal account. There were rules I learned in the 1970s. 2 + 1 + 1 = 3, not 4 If you take 1 + 1 = 1 because 1 becomes or with 1. 2 + 1 = 3 because 2 becomes or with 1. Binary is 2 = 10 and 1 = 01, these or together give 3 = 11.
  8. Frida

    MSP430F5529 and RFM12b used together

    In logical circles, we normally use + and * for OR and AND, which in programming is also | and &. So +, OR or | are the same. So *, AND or & is the same. Port P6 has 8 bits that we usually count bit 1 to bit 8, but The processor counts from 0 to 7. | --- P6.5 ~ SDO | BIT 7 6 5 4 3 2 1 0 0 0 0 0 0 0 0 0 WEIGHT 128 64 32 16 8 4 2 1
  9. Frida

    MSP430F5529 and RFM12b used together

    Firstly, you have not stopped watchdog. void main () { // WDTCTL = WDTPW + WDTHOLD; // stop watchdog timer to prevent time out reset // init ports Secondly, what bit do you read now and how many shift do you have? temp = p6in; temp >> = 4; These are the most illuminated points now. Keep on, at last it will success.
  10. These days I use http://platformio.org
  11. In your CC you have: |(address & 0x3F) // 0x00 to 0x2E. and in your CS you have: |(address & 0x3D) // 0x30 through 0x3D). Your CS(0, 0x30); // Reset CS(0, 0x3D); // NOP, TX FIFO free gives the correct adr, but your CS(1, 0x3A); // flush RX FIFO CS(1, 0x3B); // flush TX FIFO gives 0x3A & 0x3D -> 0x38 and 0x3B & 0x3D -> 0x39 should it not have be with 0x3F instead of 0x3D
  12. Had you ever seen: http://www.espruino.com/
  13. Frida

    Cant install Energia on ubuntu help

    You always need to have a space after cd. for example cd ~ or cd /home/myname/directory
  14. Try Energia 12, something happened in the newer versions.
  15. Frida

    Goofed BT Temp, Light, Humidity sensor...

    What with pull up resistor to DHT11, and open collector output from mc? See page 5 http://www.robotshop.com/media/files/pdf/dht11.pdf
  16. Frida

    Goofed BT Temp, Light, Humidity sensor...

    What with pull up resistor to DHT11, and open collector output from mc? See http://www.robotshop.com/media/files/pdf/dht11.pdf
  17. Also works fine on Firefox on Ubuntu 14.04 64 bit
  18. if (BTN=0); //check button status should be if (BTN==0); //check button status
  19. Frida

    msp430G2231 injured

    I tried downloading a program via mspdebug, and when it did not work, so I used the erase command. Since then I can not come in contact with it again. Some hope? usbutil: Unable to find a device matching 0451: F432 mspdebug version 0.22 launchpad version 1.4 Before that it worked well enough. With a new ic it works again. Thank you
  20. Frida

    Shorted out msp430

    It looks like a TI TPIC6B595 POWER LOGIC 8-BIT SHIFT REGISTER http://www.ti.com/product/TPIC6B595/samplebuy
  21. Frida

    Powering board with 3.3V and 5V

    Is the forward voltage of the two leds bigger than the input voltage? If not, there will be a bigger amperage, evetuelt burned LEDs.
  22. Why is there no fault, when I compile with pinnumber 222. My Launchpad only has 20 pins.
  23. I followed an instruction from: http://www.colotronics.blogspot.com.ar/2014/08/msp430-toolchain-in-ubuntu-1404-with.html Down the page: # OPTIONAL TILIB v3 installation of msp fet430uif debugger, ignore if you do not have it I also need to install sudo apt-get install libusb-1.0 Then I have to do mspdebug tilib --allow-fw-update several times. Maby as su. Now it sees my msp430fr5969 Launchpad with EnergiTrace. Now I think the fun starts!
  24. Frida

    Use mspdebug to upgrade msp430fr5969

    The allow-fw-update thing is needed one time only, after the installation of TILIB on the PC. I had to do it several times, maybe because I had tried so many other things without success. So now I having fun with Launchpad msp430fr5969 and the UECIDE.