Jump to content
43oh

larsie

Members
  • Content Count

    297
  • Joined

  • Last visited

  • Days Won

    7

Reputation Activity

  1. Like
    larsie got a reaction from garyrubert in MSP430 Launchpad with LCD Button Boosterpack   
    There are 20 touch-boards and 44 button-boards on the way, so should be ok for a while longer. I have another 150 displays in my basement, so there will be a supply for a while at least (I had to buy 250). Good to hear it's working and have fun with the projects.
  2. Like
    larsie got a reaction from garyrubert in MSP430 Launchpad with LCD Button Boosterpack   
    OK. I think the reason may be that you probably haven't removed the jumper for the P1.0 LED. Of course that's very silly of me not to document somewhere and I apologize. I'll fix that now. Can you try removing the P1.0 LED jumper (on the Launchpad, next to one of the buttons on the actual Launchpad) and see if that's better? I've attached some code here which is a variant of the code on github (this code inverts and blanks the display, depending on which button you press).
    LarsLCDButtons.zip
  3. Like
    larsie got a reaction from garyrubert in MSP430 Launchpad with LCD Button Boosterpack   
    I guess it is possible to solder the buttons the wrong way... Are they all oriented the same way? I'll make an example and post it here... hang on a few minutes.
  4. Like
    larsie reacted to CorB in MSP430 meets LaCrosse Temperature/Humidity sensor TX3TH   
    Since my last mail I have updated the code, the code below is more sensitivy and also stable in receiving the OOK signals. Next to this I also have developed a more general OOK-sniffer that can display incoming OOK signals at 434 MHZ (or another frequecny) by reporting the signal ON/OFF times in microseconds. If anybody is interested I will publish that code.
     
    void SetupOOKreader()
    {
    TI_CC_SPIStrobe(TI_CCxxx0_SIDLE); // set IDLE
     
    //set at 433,92 Mhz
    TI_CC_SPIWriteReg(TI_CCxxx0_FREQ2, 0x10); // Freq control word, high byte
    TI_CC_SPIWriteReg(TI_CCxxx0_FREQ1, 0x13); //Freq control word, mid byte.
    TI_CC_SPIWriteReg(TI_CCxxx0_FREQ0, 0xE9); //Freq control word, low byte.
     
    TI_CC_SPIWriteReg(TI_CCxxx0_MDMCFG4, 0x4D); // RX bandwidth and datarate MSB
     
    TI_CC_SPIWriteReg(TI_CCxxx0_AGCCTRL2,0x80); // receiver gain
    TI_CC_SPIWriteReg(TI_CCxxx0_CHANNR, 0x00); //use no channel
     
    TI_CC_SPIWriteReg(TI_CCxxx0_PKTCTRL0, 0x32); //asynchronous mode
     
    TI_CC_SPIWriteReg(TI_CCxxx0_IOCFG0, 0x0E); //GDO0Output Pin Configuration asynchronous output
    __delay_cycles(100000);
     
    TI_CC_SPIStrobe(TI_CCxxx0_SRX); // directly start the receivermode
     
    }
  5. Like
    larsie reacted to CorB in MSP430 meets LaCrosse Temperature/Humidity sensor TX3TH   
    Hi,
     
    After another week of further experimentation I finally got the system running the way I want it. Its a bit of a multi-device design but it works fine.
     
    Current setup:
    - 3 TX3TH sensors (1 outside 2 inside) that transmit their data every minute at 433.92Mhz in On/Off Keying (OOK).
    - 1 AIR Boosterpack programmed as a relay to collect OOK data at 433 Mhz and transmit datapacks using SimpliciTI at 868 Mhz
    - 1 AIR Boosterpack programmed as 868Mhz SimpliciTI receiver connected via UART-serial to an Arduino
    - 1 Arduino with ethernetboard connected to THINGSPEAK and PUSHINGBOX, data is pushed out every minute
     
    Here's a plot of the temperature (left) and humidity(right) data I gathered the last 24hrs or so. My Lacrosse mainstation now has become more or less redundant and the tedious job of weekly downloading data from the mainstation via RS232 is also over.
     

     
     
    regards
    Cor
  6. Like
    larsie got a reaction from PCR150 in LCD and Touch booster pack   
    Will check iar version tomorrow. The github code has examples both for touch and button. It has multiple main files and you have to exclude those you don't want in the build options. This might be the cause. Which linker error do you get?
  7. Like
    larsie got a reaction from PCR150 in LCD and Touch booster pack   
    It should be back up. The CCS files are attached in this post, just in case. The CCS example here is not very advanced though, and doesn't quite show the full capabilities of the display.
    LarsLCD-CCS.zip
  8. Like
    larsie got a reaction from PCR150 in LCD and Touch booster pack   
    Both are fine, but if you're starting from scratch I'd maybe go for CCS since it has a higher code size restriction. This is especially useful for fonts, graphics etc for the lcd. Many projects fit inside the 4K IAR restrictions, but 16K is better. Energia is also an option.
  9. Like
    larsie got a reaction from dacoffey in Thermistor code for MSP430   
    I

  10. Like
    larsie reacted to Rei Vilo in SOLVED   
    Please find a sketch to read the temperature from the FranchPad built-in NTC and display in
  11. Like
    larsie got a reaction from dacoffey in Simple robot, programmable using buttons   
    Here is a laser cut robot I
  12. Like
    larsie reacted to gordon in Is the reset line pulled low during debugging?   
    [tipdf]SLAU320[/tipdf] comes closest. SBW is serialized JTAG, SBW RST is JTAG SRST#.
  13. Like
    larsie got a reaction from Rei Vilo in Thermistor code for MSP430   
    I

  14. Like
    larsie got a reaction from Rei Vilo in SOLVED   
    Not sure which thermistor it is, but would this help?
     
    viewtopic.php?f=10&t=2524&p=18608&hilit=Thermistor#p18608
     
    Look to reprap thermistor code for the perl script that makes the table.
  15. Like
    larsie reacted to RobG in (Universal) Color LCD graphics library   
    Just FYI.
    In a couple of weeks, I will be updating this library with the following:
     
    support for HX8340 (2.2" LCD)
    support for ILI9225 (2.2" LCD with touch panel)
    landscape/portrait switch
    most likely G2xxx/F5510 switch, possibly Stellaris LP
    additional font sizes
    various fixes and new functions
     
    drawRoundRect (rounded rectangle)
    fillRoundRect
     
    drawLogicLine (see picture below)
    drawLogicLineComp (compressed version of above)
    multichannel versions of the above two
     
    drawGrid, drawGridV, drawGridH, drawTickMarks
     
    drawLabel (rect with the text, see buttons in the pic below)
    drawRoundLabel
    fillLabel (see rect with "Logic Analyzer")
    fillRoundLabel
     
     
    Any suggestions?
     
     

  16. Like
    larsie got a reaction from RobG in Garage door opener   
    Here are two photos of version 2, using a home-made PCB. I might as well have used prototype board though. That was functional enough.




  17. Like
    larsie reacted to t0mpr1c3 in Quacking oven timer   
    I mashed together a MSP430G2231, a 4 digit LED display, and a quacking blinking toy duck to make an oven timer. Not quite one of a kind - the duck was from a pair of kids slippers, so I made 2 of them to give away as presents. The code is based on SimpleAVR's 3p4w clock. Enjoy.
     
    Please can a mod edit this post to correct the youtube link?
    l
    If possible I would like to link to my blog post http://smokedprojects.blogspot.com/2012 ... timer.html
     
    and the github repository of the code https://github.com/t0mpr1c3/CountdownTimer
     
    Thanks!


  18. Like
    larsie reacted to Rei Vilo in How does TI feel about Energia?   
  19. Like
    larsie reacted to touch in Garage door opener   
    Hows the range on the modules? I only get like 25 feet max with these CC2500 modules. I've been trying to find a suitable PA/LNA to boost the signal a few dB. None of the manufacturers of them will send me samples though .
     
    I noticed you wanted to make a mailbox monitor.. I've made something similar using one of these: http://www.ebay.com/itm/Wireless-Door-Window-Magnet-Sensor-Detector-For-Alarm-System-433-MHz-/271033425757?pt=LH_DefaultDomain_0&hash=item3f1ad9df5d
     
    They use a PT2262 OOK encoder, I just used a receiver like this one http://www.ebay.com/itm/433Mhz-RF-transmitter-and-receiver-link-kit-for-Arduino-ARM-MCU-voltage-3v-12v-/300733295714?pt=LH_DefaultDomain_0&hash=item460519ec62 and did the decoding in software.
     
    One time lightning blew out the remote receiver for my garage door, damn thing cost $50, you made a nice one for a couple bucks, good work!
     
    I wish I documented my projects better myself, I don't really document anything so half the time I end up redoing stuff I've already done :oops:
  20. Like
    larsie got a reaction from SirPatrick in Garage door opener   
    I'm trying to make a garage door opener using some cheap CC2500 boards bought through a group-buy at 43oh.com (2 USD each) and a really nice board designed by RobG. I've made a prototype first, and it seems to work, but is not very pretty. I need to maybe make it more compact and make a case for it. Here's a picture:



    The code is definitely not finished, but you can download it here if you want to look at it. It's based on the TI CC2500 library (not SimpliciTI, which would probably have been a natural choice). I'm using the bitbanging version, as I didn't have any surface mount MSP430G2553.

    I guess maybe I should put the battery beneath.
  21. Like
    larsie reacted to rbasoalto in Garage door opener   
    Very nice!
    Maybe you can have a look at http://en.wikipedia.org/wiki/HOTP for security. It's the kind of cryptographically-secure unpredictable sequence generators that banks use for two-factor authentication. Google's two-factor authentication uses it too.
     
    The idea is that you apply an HMAC function (some kind of hash involving a private key) to a counter. Both transmitter and receiver need to store this counter. Since both will usually be in sync, the HMAC received can be compared to the expected value, based on the shared private key, and the counter. If it fails, it can also try a few counts ahead too, in case the button was pressed accidentally out of the receiver's range.
     
    Although banks and Google use a time-based algorithm, it's essentially the same, but using the count of 30-second ticks instead of an event counter. I think I've seen a version for the Chronos that is compatible with Google Authenticator. Should be trivial to adapt.
     
    Since you will need to store a counter, FRAM would be ideal for zero-power-standby. But you can also use flash, or just have the MSP sleeping in LPM4 the whole time and wake it, with an interrupt from the button, for transmission (at a few uA it shouldn't be noticeable).
    In this last case, you could use a three-way handshake, much like TCP/IP sockets, for keeping the counters in sync. Something like

    [*:3rhtxy43]Remote: HEY, the current code is 123456.
    [*:3rhtxy43]Receiver: OK, please come in.
    [*:3rhtxy43]Remote: Thanks! Increment the counter! (I will increment it too)
     
    I could continue giving ideas for centuries, it's a very interesting topic.
     
    Cheers! I hope you're not locked out!
  22. Like
    larsie got a reaction from thanhtran in Garage door opener   
    I'm trying to make a garage door opener using some cheap CC2500 boards bought through a group-buy at 43oh.com (2 USD each) and a really nice board designed by RobG. I've made a prototype first, and it seems to work, but is not very pretty. I need to maybe make it more compact and make a case for it. Here's a picture:



    The code is definitely not finished, but you can download it here if you want to look at it. It's based on the TI CC2500 library (not SimpliciTI, which would probably have been a natural choice). I'm using the bitbanging version, as I didn't have any surface mount MSP430G2553.

    I guess maybe I should put the battery beneath.
  23. Like
    larsie got a reaction from jsolarski in Garage door opener   
    I'm trying to make a garage door opener using some cheap CC2500 boards bought through a group-buy at 43oh.com (2 USD each) and a really nice board designed by RobG. I've made a prototype first, and it seems to work, but is not very pretty. I need to maybe make it more compact and make a case for it. Here's a picture:



    The code is definitely not finished, but you can download it here if you want to look at it. It's based on the TI CC2500 library (not SimpliciTI, which would probably have been a natural choice). I'm using the bitbanging version, as I didn't have any surface mount MSP430G2553.

    I guess maybe I should put the battery beneath.
  24. Like
    larsie reacted to gordon in 2.2" Color LCD Booster Pack with Touch   
    /?o??u?op?p?sdn?x??//:d???
  25. Like
    larsie reacted to TI_Trey in Arduino-like IDE for C2000?   
    I'm traveling right now....actually doing a LaunchPad Training at McMaster University close to Toronto Canada on Wednesday. When I get back to work later this week, I'll create the branch and upload the work that I've done so far on supporting the C2000 LaunchPad in Energia.
×
×
  • Create New...