Jump to content

bluehash

Administrators
  • Content Count

    7,290
  • Joined

  • Last visited

  • Days Won

    193

Reputation Activity

  1. Like
    bluehash reacted to juani_c in Launchpad+Accelerometer+Processing=Snake game!!!   
    I made this little project and wanted to share it. The code is mostly from "Half Duplex Software UART on the LaunchPad" by NJC, I just added the ADC parts I needed. The Processing application send first a "X" and the LP answer with the value from one of the axes, then send a "Y" and you get the value from the other axis. After that the soft update the snake position and repeat the process. In order to start the game you have to click on the START button (pretty obvious), you lose if the snake touchs any of the sides, also the length and speed increase as you eat the little boxes.
    The codes are far from perfect and can be improved. I'm making a little video (that actually took me almost the same amount of time I spent programming) and I'll upload it in a while.
     
     
    EDIT:here is the video
    Launchpad-Snake.rar
  2. Like
    bluehash got a reaction from mnpumar 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!
  3. Like
    bluehash got a reaction from NJC 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
    bluehash reacted to cde 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...