Jump to content
43oh

cde

Members
  • Content Count

    940
  • Joined

  • Last visited

  • Days Won

    21

Reputation Activity

  1. Like
    cde got a reaction from GeekDoc in Parallax PIR sensor and LaunchPad - help?   
    Just a heads up. If you want a similar PIR sensor for cheaper, and it comes with a bonus case with 2AA holder and plenty of space ;P
     
    Radioshack sku 630-0282
    Clearance item/Close Out price. The bigger Radioshacks have them, but have them search the sku in the district tool if not (the online one, not the POS one). Talking Pumpkin Insert. 97 cents.
     


     
    Same BISS0001 PIR controller, comparable PIR sensor (I opened one and checked).
     
    All smd caps/resistors, so it lies flat if you want to take it out of the case.
     
    Picked up three. At 1.03 each, I couldn't resist. Two will be left alone, and one will add a msp430 + rtc as a data logger. Every time it is trigger, +1 to a byte section of the inforam. (Unless I can get a eeprom). After halloween, I'll download the data, and have a log of every time it triggered due to the rtc.
  2. Like
    cde got a reaction from bluehash in Parallax PIR sensor and LaunchPad - help?   
    Just a heads up. If you want a similar PIR sensor for cheaper, and it comes with a bonus case with 2AA holder and plenty of space ;P
     
    Radioshack sku 630-0282
    Clearance item/Close Out price. The bigger Radioshacks have them, but have them search the sku in the district tool if not (the online one, not the POS one). Talking Pumpkin Insert. 97 cents.
     


     
    Same BISS0001 PIR controller, comparable PIR sensor (I opened one and checked).
     
    All smd caps/resistors, so it lies flat if you want to take it out of the case.
     
    Picked up three. At 1.03 each, I couldn't resist. Two will be left alone, and one will add a msp430 + rtc as a data logger. Every time it is trigger, +1 to a byte section of the inforam. (Unless I can get a eeprom). After halloween, I'll download the data, and have a log of every time it triggered due to the rtc.
  3. Like
    cde reacted to bluehash in You can Thank users now!   
    Hi All,
    43oh has a new feature, where you can "Thank" users if their posts have been helpful to you. You will see a tiny "Thumbs Up" sign on the top right of every post, except yours..as you can't thank yourself :mrgreen: .
     
    This also adds two fields to your profile. Hope you guys like it and make use of it.. Thank away!
  4. Like
    cde got a reaction from gatesphere in HD44780-based LCD - cursor problem   
    Two options for debugging, and they can be done simultaneously.
     
    First, throw some leds between the shift register and the lcd. Don't know how much current can be sourced from the register, but all you need is enough to light them for debugging purposes. This allows you to ensure every control nibble you push is what it should be.
     
    Second, you could tie the register's latch to its clock, and drive the lcd's enable pin directly. More control, same number of lines.
     
    Since the 2 line setup comes relatively quick into using the lcd, and the first five you should be able to verify quickly.
     
    Additionally, can you place the cursor on ANY line 2 ram address? Try a loop moving it to every position(And write a character) from 0 to 255.
    According to http://www.spikenzielabs.com/SpikenzieL ... ow_To.html (and to a page with alot more detailed DDRAM address configurations that I can no longer find since I saw it like 2 weeks ago, errr http://ouwehand.net/~peter/lcd/lcd0.sht ... e_displays), the address for the second row of a 2x16 is at 0xC0. Not 0x40. Try that.
  5. Like
    cde got a reaction from GeekDoc in HD44780-based LCD - cursor problem   
    Two options for debugging, and they can be done simultaneously.
     
    First, throw some leds between the shift register and the lcd. Don't know how much current can be sourced from the register, but all you need is enough to light them for debugging purposes. This allows you to ensure every control nibble you push is what it should be.
     
    Second, you could tie the register's latch to its clock, and drive the lcd's enable pin directly. More control, same number of lines.
     
    Since the 2 line setup comes relatively quick into using the lcd, and the first five you should be able to verify quickly.
     
    Additionally, can you place the cursor on ANY line 2 ram address? Try a loop moving it to every position(And write a character) from 0 to 255.
    According to http://www.spikenzielabs.com/SpikenzieL ... ow_To.html (and to a page with alot more detailed DDRAM address configurations that I can no longer find since I saw it like 2 weeks ago, errr http://ouwehand.net/~peter/lcd/lcd0.sht ... e_displays), the address for the second row of a 2x16 is at 0xC0. Not 0x40. Try that.
  6. Like
    cde got a reaction from oPossum in Launchpad Easy Breadboarding Trick   
    Since there is a lack of 20 pin DIP msp430 chips, and considering that with only 1 8-bit port (Plus 2 bits if you don't solder the crystal on), the easiest way to interface the msp430g launchpad devices to a breadboard would be a 10-pin cable, on 1 side!
     
    After you soldered on either the female (best option imo) or the male headers to the launchpad, use a jumper to tie p1.6 to p2.5, p1.7 to p2.4, and another jumper cable from a gnd point (3 pin header at bottom, or at the top of j2) to p2.3.
     
    Additionally, add three jumpers to the bottom of the dip socket on the launchpad, bridging the last three sets of pins (see Picture). This allows any connections on the j2 side to be passed to the j1 side.
     

     
    Now, with a 10 pin cable connected to j1, you get all the important pins (V+, Port 1, Gnd) on a single side of a breadboard. Having them all on a single side makes life so easy commandant!

     
    Alternatively, due to the spacing, you can't use a 6-pin dip alongside the 14-pin dip on the socket, but you can use a 4 pin dip of some sort (optocoupler, dip button, dipswitch, transistor, leds, etc).
     
    It does lead to a question though. Can the xin and xout pins, after having installed the crystal, still be used as gpio, or is it forever useless aside from being a clock at that point?
×
×
  • Create New...