Jump to content
43oh

xtjacob

Members
  • Content Count

    21
  • Joined

  • Last visited

  1. Oh, well I guess I'll have to use ultrasonic sensors instead... Thanks for the help.
  2. I already have the IR led, I just need to figure out how to get them working.
  3. That first sensor has a range too short, I was looking for something with a range of 10-20cm. Can I not just use the tsop in analog to detect the intensity of ir? I didn't want to shell out $45 for 3 proximity sensors...
  4. The sensor I am using is a TSOP 34138, here is the data sheet. The distance I want to sense is the presence of a wall, inside of a maze.
  5. I'm trying to build a distance sensor using an IR Led, and a TSOP receiver that is run by my stellaris launchpad. However, I am not sure how to produce the 38KHz that is needed to drive the transmitter, and I'm unsure about how to run the transmitter, and read the receiver at the same time. Any help is appreciated!
  6. Nope, I only have USB2 ports. The drivers should be up to date, I just installed them a couple weeks ago...
  7. I've tried all the listed ports, and I am using the correct USB port. The board works fine in my linux install, it just won't work on windows...
  8. Yes, it says it's on COM7, but even if I set energia to COM7 I still get the error.
  9. No, my laptop only has USB2 ports. I've tried every single one of them.
  10. I'm using the latest release of Energia on Windows Server 2012 (basically windows 8) 64-bit, and my msp430 launchpads work. However when I try to use it with my stellaris I get "No ICDI device with USB VID:PID 1cbe:00fd found!". The board works perfectly fine when I use it with CCS, so I'm really not sure what's wrong...
  11. That fixed it. Thanks!
  12. So I tried to change the out pin in the LED blinking program to 1.6, but when I run it the LED doesn't flash. It only works if I set it to 1.0. /* * main.c */ #include void main(void) { int i; WDTCTL = WDTPW + WDTHOLD; P1DIR = BIT6; P1OUT = 0x00; for (; { P1OUT ^= 0x01; for (i=0; i<0xFFFF; i++) { } // delay } // infinite loop }
  13. That makes a huge amount of sense now. Thank you!!
  14. So basically if I want to use the pins that begin with 1 I would use P1DIR, and if I want to use the pins with 2 I use P2DIR. For the decimals I use 0x01, 0x02, 0x03, and so on? So if i wanted to use pin 2.4 I would use this? P2DIR = 0x04;
  15. Since I've gotten my launchpad I have really wanted to start developing stuff with it. However I have hit a problem: no matter what tutorials I have looked at I cannot figure out how to set the pins. For the blinking LED it lists it as: P1DIR |= 0x01; What exactly is 0x01 and how do I figure out what to input for different pins? Thanks alot!
×
×
  • Create New...