Jump to content
43oh

Kman

Members
  • Content Count

    12
  • Joined

  • Last visited

Everything posted by Kman

  1. Kman

    MSP430 Nixie Clock

    That is a fantastic clock! I love it. Now I want to go looking for an old timing light box! I'm glad to join this thread, I'd been working a little with Rob offline before about the IN-8 vertical tubes.
  2. Well, I figured it all out and the boys got their projects done! As a professional engineer, I typically have a 30% failure rate of the boards after they come out of the assembly shop. Somewhere there's a solder bridge or bad connection. The boys matched that rate, so most of the boards worked! I was very happy. Since this is the second time most of them had soldered (we practiced once), this was a great achievement for them. Besides the analog control of the paddle, I made it so that when you do well, the game gets quicker. When you do badly, the game ends. When the game ends, i
  3. I've solved the variable problem, I didn't know I could just reference ADC10MEM and be done with it. That's much easier. Now I have a new problem. Due to the fact that I wasn't sure if I would be using sound on my final board, I didn't specifically wire the board for a speaker, and did an old mistake. While I made sure to make every unused pin available in test points, I forgot to include a few ground connections! So I'm using an output for ground, pulling it low to be the ground side of the speaker. This works great, and should make it really easy to do a mute function. The progr
  4. That's certainly possible. Maybe I'll back up a bit. All I'm trying to do is define a variable that contains the result of an ADC10 conversion. The ADC10 conversion in the sample code I got put the result at 0x21C, so I thought I could just define a pointer variable, but maybe that's not the best way to do this? Thanks for any info. I'm running blind here, but learning a lot!
  5. I have a new question. How do I reference a memory location like a variable? Set up a pointer, right? For some reason I can't seem to do that. I've got this: volatile short *R4 = 0x21C; // Potentiometer R4 data at 0x21C and it's giving me an error saying: 145 a value of type "int" cannot be used to initialize an entity of type "volatile short *" Can anyone give me a pointer on pointers ;-) Is there some code I can look at? Thanks!
  6. Thanks! It seems kind of obvious now that you point it out . What about the ISR question? Is there a rule or a good practice there to follow about that? Speaking of good practices, can anyone point me to something that tells good software practices in general, or for the MSP430 specifically? That would be great. Thanks for all your help guys! :thumbup:
  7. I'm adding the ADC10 code to read channel 5. I got the stand alone sample program working on channel 5 (yeah!), but I'm wondering about how to integrate it into the other program. My main question is this: In the stand alone program, the adc has its own interrupt routine. Is it good practice to combine interrupt routines, or should everything have its own? Both programs use timer A0, so I guess unless they're set to the same clock, I'll have to use two timers? Also, the stand alone program has this statement: __bis_SR_register(CPUOFF + GIE); // LPM0, ADC10_ISR will force
  8. Thanks! I wasn't sure if when I uploaded it, it would understand that it was a picture.
  9. I'm doing a kit for my Boy Scouts Electronics Merit badge. Rather than buy a premade boring analog kit, I decided to make a kit using the launchpad. I wanted to do something fun for the boys, and teach them programming too. It's got cool lights, two pots for analog control of a game, and two switches for "fire" buttons too. I decided to use the AS1116 because I wasn't aware of the AS1106 which was code compatible with the MAX7219 (5V), so the code here is very similar to fj604's project, only modified since I wanted the game to be slightly different (like PONG) and I'm using the AS1116,
  10. Thanks! Now that I"m re-reading my post I think I came off sounding a little full of myself. That was not my intention. I'm here to learn about code, and if anyone has any questions on subjects that I know, I'd be happy to help as well. I will post my project in the projects section. Thanks for the link! Kman
  11. I'm a new user. I've been working on a little Launchpad booster to make a kit for a group of Boy Scouts so they can do their Electronics merit badge. I wasn't satisfied with the old analog pre-made kits, and thought that the Lauchpad would be a perfect start for a programmable project, so I designed this one. My project is an 8x8 LED matrix project very similar to the one by fj604 with the AS1106 matrix driver, only for whatever reason (stupidity?) I'm using the AS1116, which is not code compatible, and the G2553, which also required some code re-write. I've done a PCB layout for my pro
  12. This is a great project. I can help you with the enclosure. I have made many. BTW, I'm the one that you responded to on Youtube that is doing an electronics merit badge class for my boy scouts. You can mount the matrix any way you want, but the normal way would be to make a PCB with the matrix on it, and put mounting bolts on the PCB. Then obviously it's mounted such that the matrix centers itself in an opening in whatever enclosure you make. If you want to put this on a perfboard, the same thing applies. Just mount it on the perfboard and drill holes to mount the perfboard. I
×
×
  • Create New...