-
Content Count
19 -
Joined
-
Last visited
-
Days Won
1
AGlass0fMilk last won the day on November 5 2014
AGlass0fMilk had the most liked content!
About AGlass0fMilk
-
Rank
Member
- Birthday 11/12/1995
Profile Information
-
Gender
Male
-
Hi there! I recently won a littleBits Workshop Set from an instructables contest for my 430-based DJ controller. I feel a bit guilty for selling a prize but I don't need these littleBits and would like to get some new tools. So I'm offering the set here for $850 + shipping (figure 10lbs, tracked/insured/signature confirmation). It retails for about $1,200 new so you can save a couple hundred. Here's a description: New littleBits Workshop Set w/ Workshop Guide Save on this great kit today! Perfect for educators, hackerspaces, kids, teens, and even adults interested in learning about electron
-
- LittleBits
- little
- (and 4 more)
-
I haven't checked out the new Launchpads but after developing on the Rev 1.4 MSP430G-series for so long I think I'm ready to move up. I checked out the F5529 Launchpad and it seems pretty cool! Might have to pick one up soon, I want to make more USB-based instruments/music-related electronics. They're super cheap at $12 too! I'm still amazed at how much a little IC can do. Integrated ADCs, Timers, USB, UART/SPI/I2C, it's really impressive. Thanks for the suggestion, I'm going to look at other dev boards from TI now. After getting my friend's feet wet with this instructable, he doesn't
-
I said I'd post it when I was done, so here it is! It's a Laser-cut USB DJ Controller made with two MSP430G2553s and an MCP3008 ADC. Check out the Instructable I made for more information about the build. If you like it, please vote for it in the contests I entered! Thanks guys! Instructables Link Representing the 43Oh!
-
Analog Input Smooth - Comparisons Don't Work
AGlass0fMilk replied to AGlass0fMilk's topic in Energia - MSP
Wow guys... I've been working with this code for so long and never even realized it was the OR operator in the if statement... I feel so embarrassed. I've been programming for a few years now, even on MSP430. Hahaha, I guess it really takes a few fresh eyes to pick out the little mistakes like that. I will recompile it with the && operator when I have the change and see how much it improves. I may try the running average idea. I could also try upping the sample count and balance the latency with the stableness of the readings. Also, the purpose of the check for absolute min- 4 replies
-
- analog input
- smoothing
-
(and 5 more)
Tagged with:
-
Hey there guys. First post in a long time. I find myself developing once again on an MSP430G2553 chip on a Rev 1.4 Launchpad and I am trying to take samples from the on-chip ADCs using Energia. It's not secret that the on-chip ADCs are quite unstable (very accurate perhaps?), I don't get anywhere near the kind of jitter I see when using the MCP3008 (10-bit, 8-channel ADC converter IC). Regardless, I am very frustrated with the section of my code that deals with smoothing the signal from analog controls. I am sampling 4 ADC values and averaging it, no problem. What really frustr
- 4 replies
-
- analog input
- smoothing
-
(and 5 more)
Tagged with:
-
Thanks, I'll see what I can do to suppress jitter in my signal with a low pass filter. I'll get back with the results. Thank you all!
-
As it stands, I do not think I am going to have the computer send any information so scenario 1 will be what I'm doing. I just have a general circuitry question. The launchpad in question will be in quite a noisy (electrically and audio-wise) environment (it will be a MIDI controller). How can I limit the amount of jitter in my ADC lines? A small value ceramic cap to ground? Edit: The mcu software already checks new values to see if they are within a certain number of "clicks" of the old value. I'm just wondering if there's a way through hardware to limit it in cases where there m
-
I think the alternative method would be the best option there. Data transfer from the PC to the Launchpad will be sparse (if I do it at all) so I could just include a sender identifier bit in the commands sent to the Launchpad from the G2553. I'll try it out and check back, thanks for your help.
-
Just to give you an idea of what I'm trying to do, I plan on programming the independent (off-Launchpad) G2553 to backpack onto a keypad (I plan on it being modular so I can use it in other projects if I want to) in order to increase the number of available pins on the main microcontroller. I will probably make it possible to get keypress data from the independent G2553 through both UART and I2C so it will be a more universal keypad solution, but for this situation I would like to use the UART so I can use the I2C pins as ADCs instead. I'll just give you a little diagram (as you did) for t
-
Hello there. For a project I am making, the Launchpad board must be able to communicate with my computer. Mostly the dataflow will be from the microcontroller to my computer, but I may introduce communication from the computer to the Launchpad sometime in the future. I am wondering a couple things at the moment (and may use this thread to ask further questions if I have any): 1. If I do not plan to have the computer send data to the microcontroller, can I have another G2553 send commands to the Launchpad using this line? (TXD to computer, RXD to another G2553) 2. If I plan to do th
-
I have been experimenting with MSP430G2553 for a while now, I have the hardware UART sending the measured frequencies to my computer through the USB and I have successfully measured PWM'd signals accurately. I have been reading the user guides for both the family and the specific chip I have, and I came across the fact that you can set P1 and P2 interrupts to go off on rising edges, much like the Capture/Compare function of Timer_A. But since I need more than 5 capture ports (which is how many my device supports externally) I was thinking: What is the difference between having the Capture/
-
Thank you very much! I guess I missed that setting But the capture/ISR works, I'll post back if I have anymore questions.
-
I have been reading the datasheet and family user guide and have found out more about the MSP430G2553's two Timer_As. For my project, I want interrupts enabled so I have written some extra code. I have also looked at demos that are designed do to things similar to what I am trying to do, but my code isn't working. There's a lot to initialize that I don't fully understand yet so bear with me. I am testing my code with a 555 timer that is set to emit around 500Hz, but nothing happens when I apply the output to P2.0 (the pin I am testing with) Here's the code: #include void main(void) {
-
It appears that the MSP430G2553 actually has two 16-bit Timers (Timer0_A and Timer1_A)! Which I believe means I have 6 Capture/Compare channels, which is a good number for my project. The only problem is that the TACCRO1 and TACCRO2 are grouped into the TAIV interrupt vector but it probably won't be that big of a problem. EDIT: It also appears that there is no external input pin for TA0CCTL2 so I may only be able to have 5 inputs
-
I am trying to make a frequency counter in order to experiment with the MSP430G2553. But as a beginner to microcontrollers (although not programming), it is proving harder than I thought (an operating system certainly hides a lot!) This project is supposed to be able to measure quite low frequencies (at most ~1.5kH) and I need to sample multiple frequencies at a time. From my understanding of the research I've currently done, one possible (quick) formula to measure a frequency is to start a counter at the rising edge of a frequency, and then stop it at the next rising edge of a frequen