Jump to content
43oh

simpleavr

Members
  • Content Count

    725
  • Joined

  • Last visited

  • Days Won

    32

Reputation Activity

  1. Like
    simpleavr got a reaction from Rei Vilo in M-Clock build, M for Minimalist, Multi-mode or Matrix   
    This is my entry to the POTM Nov-Dec 2013.
     
    Minimalist's Clock?
    Multi-mode Clock?
    Matrix Clock?
     
    M-Clock
     

     
    Description to follow...
  2. Like
    simpleavr got a reaction from agaelema in Educational BoosterPack LC + ESR Meter Template   
    Another quick experiment w/ the CircuitCo Educational BoosterPack.
     

     
    Measures capacitance (< 1nF) and inductance using LC tank frequency measuring method. Measures capacitance (> 1nF) with time-to-charge method. Measures (or rather attempts to measure) capacitor ESR values by pulse injecting currents through capacitors. Bare minimal component count, experimental hookup. I called this a "Meter Template" instead of a "Meter" as I consider this hookup as a base to develop a "Full" meter. There are quite a few things "missing" when compare w/ other common designs you can find on the internet, that affects accuracy and usability.
     
    Breadboard is no good for capacitance measuring, and LC tanks. Instead of using transistors to source and sink currents through test subjects, I drive them direct (close to 30mA on one pin). No relays to switch inputs, have to use your hand. No relays / switches to map multiple ranges components. One range for all (well, we have high and low capacitance). And it's fully functional with not-too-bad accuracy.
     
    Schematic and additional write-ups will follow.
  3. Like
    simpleavr got a reaction from gsutton in Educational BoosterPack 8 bit FFT Spectrum Analyzer Attempt   
    Happy holidays! It turns out great.
     

     
    Button press cycles through sleep, 1 dot, 2 dots and 3 dots.
     
    Press and hold for cycles through the following 3 menu options
    Hamming windows choice; none, low, mid, high (via short presses)
    Dimmer choice; 0...3
    Sampling rate; 0...7 (0 is fastest)
     
    This is the smallest spectrum analyser I built.
    I managed to use 1 gpio for ADC, and left 15 pins for the 8x8 matrix (63 pixels used).
  4. Like
    simpleavr got a reaction from gsutton in Educational BoosterPack 8 bit FFT Spectrum Analyzer Attempt   
    I had summarized this thread and created a write-up on my site that contains everything and is a bit more descriptive for whoever is interested.
     
     
     

     
    http://www.simpleavr.com/msp430-projects/8-bit-fft-spectrum-analyzer
  5. Like
    simpleavr got a reaction from gsutton in Educational BoosterPack 8 bit FFT Spectrum Analyzer Attempt   
    @@LariSan
     
    Thanks for your comment. It would look great on one of your proto plates. You may want to put one together, it only requires a few common components.
     
    @@RobG
     
    I just added buzzer support (don't understand why I had missed that). Now the P1.3 button will cycle thru (1) no output, (2) P1.6 green LED output, (3) P2.6 buzzer output. The buzzer output you will see the bars not showing up at what it should be. I would suspect it being the frequency response / limit of both the buzzer and the condenser microphone.
     
    You may want to do another pull if you are building. Also we need the -lm flag to link the math library.
     
    Code is not optimized. They are places that could use some in-line assembler to speed things up if anyone is interested.
  6. Like
    simpleavr got a reaction from gsutton in Educational BoosterPack 8 bit FFT Spectrum Analyzer Attempt   
    Features:
     
    8 bit integer FFT 32 samples at 500Hz separation shows 16 amplitudes of 250Hz, 500Hz, 750Hz,....... 5.75Khz, 6.75Khz, 7.75Khz non-linear partial logarithm map to show amplitudes, limited as resolution has been reduced for 8 bit FFT LM358 two stage mic pre-amp at 100x 100x gain (can be improve vastly w/ better op-amps) utilize Educational BoosterPack; mic for input, potentiometer for pre-amp biasing draws power from launchpad square signal generator from TA0.1 toggling, good for initial testing  
     

     
     
    A longer video showing off the action. Although it may not show well on youtube, but I am surprise w/ the result (consider being a "toy"). The system is very responsive via the microphone and there are no annoying noise levels (I think it's w/ the pre-amp biasing and the reduced resolution.
     
    I had built similar one w/ AVR before and I found that it's a lot easier to work w/ on msp430. The timer architecture and being 16 bit is an advantage here.
     

     
     
    code to follow..
  7. Like
    simpleavr got a reaction from bluehash in Educational BoosterPack 8 bit FFT Spectrum Analyzer Attempt   
    Happy holidays! It turns out great.
     

     
    Button press cycles through sleep, 1 dot, 2 dots and 3 dots.
     
    Press and hold for cycles through the following 3 menu options
    Hamming windows choice; none, low, mid, high (via short presses)
    Dimmer choice; 0...3
    Sampling rate; 0...7 (0 is fastest)
     
    This is the smallest spectrum analyser I built.
    I managed to use 1 gpio for ADC, and left 15 pins for the 8x8 matrix (63 pixels used).
  8. Like
    simpleavr got a reaction from sq7bti in Educational BoosterPack 8 bit FFT Spectrum Analyzer Attempt   
    Happy holidays! It turns out great.
     

     
    Button press cycles through sleep, 1 dot, 2 dots and 3 dots.
     
    Press and hold for cycles through the following 3 menu options
    Hamming windows choice; none, low, mid, high (via short presses)
    Dimmer choice; 0...3
    Sampling rate; 0...7 (0 is fastest)
     
    This is the smallest spectrum analyser I built.
    I managed to use 1 gpio for ADC, and left 15 pins for the 8x8 matrix (63 pixels used).
  9. Like
    simpleavr got a reaction from chicken in Educational BoosterPack 8 bit FFT Spectrum Analyzer Attempt   
    Happy holidays! It turns out great.
     

     
    Button press cycles through sleep, 1 dot, 2 dots and 3 dots.
     
    Press and hold for cycles through the following 3 menu options
    Hamming windows choice; none, low, mid, high (via short presses)
    Dimmer choice; 0...3
    Sampling rate; 0...7 (0 is fastest)
     
    This is the smallest spectrum analyser I built.
    I managed to use 1 gpio for ADC, and left 15 pins for the 8x8 matrix (63 pixels used).
  10. Like
    simpleavr got a reaction from Rei Vilo in Educational BoosterPack 8 bit FFT Spectrum Analyzer Attempt   
    Happy holidays! It turns out great.
     

     
    Button press cycles through sleep, 1 dot, 2 dots and 3 dots.
     
    Press and hold for cycles through the following 3 menu options
    Hamming windows choice; none, low, mid, high (via short presses)
    Dimmer choice; 0...3
    Sampling rate; 0...7 (0 is fastest)
     
    This is the smallest spectrum analyser I built.
    I managed to use 1 gpio for ADC, and left 15 pins for the 8x8 matrix (63 pixels used).
  11. Like
    simpleavr got a reaction from Fmilburn in Educational BoosterPack 8 bit FFT Spectrum Analyzer Attempt   
    Happy holidays! It turns out great.
     

     
    Button press cycles through sleep, 1 dot, 2 dots and 3 dots.
     
    Press and hold for cycles through the following 3 menu options
    Hamming windows choice; none, low, mid, high (via short presses)
    Dimmer choice; 0...3
    Sampling rate; 0...7 (0 is fastest)
     
    This is the smallest spectrum analyser I built.
    I managed to use 1 gpio for ADC, and left 15 pins for the 8x8 matrix (63 pixels used).
  12. Like
    simpleavr reacted to sq7bti in Educational BoosterPack 8 bit FFT Spectrum Analyzer Attempt   
    Hi @@simpleavr,
     
    You might try to hand pick values from wider window, but here are Hamming windows size 16 (mind the symmetry):
    // round(255 * window('kr',16,6)) //const unsigned char hamming[8] = ( 4, 18, 46, 86, 136, 187, 228, 252); //, 252, 228, 187, 136, 86, 46, 18, 4 ); // round(255 * window('kr',16,4)) const unsigned char hamming[8] = ( 23, 51, 88, 130, 172, 210, 238, 253); //, 253, 238, 210, 172, 130, 88, 51, 23 ); // round(255 * window('kr',16,2)) //const unsigned char hamming[8] = ( 112, 141, 170, 196, 218, 236, 248, 254); //, 254, 248, 236, 218, 196, 170, 141, 112 ); More information regarding window function you will find in Scilab help.
     
    S.
  13. Like
    simpleavr got a reaction from bluehash in Educational BoosterPack 8 bit FFT Spectrum Analyzer Attempt   
    I had summarized this thread and created a write-up on my site that contains everything and is a bit more descriptive for whoever is interested.
     
     
     

     
    http://www.simpleavr.com/msp430-projects/8-bit-fft-spectrum-analyzer
  14. Like
    simpleavr got a reaction from lunakid in Bit-Bang USB on MSP430G2452   
    a not-yet-finalized usb bootloader
  15. Like
    simpleavr got a reaction from thanhnhanbk in Educational BoosterPack 8 bit FFT Spectrum Analyzer Attempt   
    So what have you been doing with your Educational BoosterPack lately 
     

     
    This is based on the fix_fft code that's been floating around for many years. I tried both 16 bit and 8 bit, currently fixed to 8 bit as I see no difference for my needs (i.e. limited precision, range), I would invest in a good pre-amp for better results.  
    Things to do
    More precision timing to achieve the frequency band I want. Better front-end, currently using 1/2 LM258. Adopt non-linear horizontal scale, currently linear scale at about 800Hz...1.6Khz, 2.4KHz, 3.2Khz.... Adopt logarithm amplitude to make the bars make sense to your eyes. Add / enhance effects like attack / retreat rate. Add dynamic sampling / scaling to input signals.
  16. Like
    simpleavr got a reaction from PhilM in [Group Buy-19][O] TMS0803/5 Emulating Calculator With Bubble Display   
    Now that we have the blueprint..... I would put one in my inkjet for 3D printing. 
  17. Like
    simpleavr reacted to RobG in New Launchpad just dropped   
    I just got my FR4 LP and there are two things I like right of the bat.
    Stacking headers are nice and sturdy, not like the old ones (TI, where can I get them?)
    There are four 1/2" stand-offs, so the LP sits nicely on my desk.
     

  18. Like
    simpleavr reacted to RobG in MSP430 Nixie Clock   
    MSP430 based Nixie tube clock.
     

     
    I was looking for some nice Nixie tube digit images so I could add them to my EduKit library, but I couldn't find any usable ones. I decided to just buy few of them and photograph myself. Then I thought that it would be a horrible waste if they just sit in a drawer. So here it is, my first Nixie project since... 1987.
     
    This clock will be available as kit, but since this is v1, I will most likely make some adjustments.
    Any suggestions are welcome.
     

  19. Like
    simpleavr got a reaction from Hankus in [Group Buy-19][O] TMS0803/5 Emulating Calculator With Bubble Display   
    @@Hankus , I understand @@bluehash will be making a few kits available for sell in the store. Not sure about the timing though
     
    Arduinoversusevil's (?? @@swampdonkeykami ??) video is awesome, the PIN 1 is the lone square pad on dip components, I will update the build thread and emphasis that.
     
    p.s. Is it true that the engineers' rings are made from a broken bridge in Quebec?
  20. Like
    simpleavr got a reaction from zeke in TMS0803/5 Emulating Calculator Build   
    I thought, hey it's really a challenge to get that under $9.00. And then I realize it's just the PCB  .
     
    Anyway, not too keen to work w/ microscope and ovens.
     
    Digging into source, found the speech piece interesting. According to the github readme, it's an implementation of the antique TI Speak and Spell algorithm. And I think it deserves to run on TI silicon.
  21. Like
    simpleavr reacted to reaper7 in Maker Faire NY 2014 Complimentary Tickets   
    @@spirilis on hackaday
     
    good oration, congratulations!
  22. Like
    simpleavr got a reaction from bluehash in [Group Buy-19][O] TMS0803/5 Emulating Calculator With Bubble Display   
    @@sq7bti has the old style 9 digit led modules and built on the "version 0" board.
     
    That was the original design I started out w/ but I did not get the led part. Works out quite nice. But now I prefer the version 2 boards, I guess the tilted Sparkfun LEDs works better for the small size layout.
     
    The version 0 board has it's own beauty, it got the exact 9th digit, is longer and looks slim. I would try to use some transparent file separator cut-off the filter the bubble lens though.
     

     

  23. Like
    simpleavr reacted to Fred in Mailbag   
    @@simpleavr As it's black, could you get a reasonable silkscreen using the same toner transfer method that's used for home etching PCBs?
  24. Like
    simpleavr got a reaction from timsoer in Educational BoosterPack 8 bit FFT Spectrum Analyzer Attempt   
    So what have you been doing with your Educational BoosterPack lately 
     

     
    This is based on the fix_fft code that's been floating around for many years. I tried both 16 bit and 8 bit, currently fixed to 8 bit as I see no difference for my needs (i.e. limited precision, range), I would invest in a good pre-amp for better results.  
    Things to do
    More precision timing to achieve the frequency band I want. Better front-end, currently using 1/2 LM258. Adopt non-linear horizontal scale, currently linear scale at about 800Hz...1.6Khz, 2.4KHz, 3.2Khz.... Adopt logarithm amplitude to make the bars make sense to your eyes. Add / enhance effects like attack / retreat rate. Add dynamic sampling / scaling to input signals.
  25. Like
    simpleavr reacted to pabigot in Source archive for msp430-elf on github   
    Several people liked this post which I took as interest in the mentioned archive of source and headers for TI's public releases of their msp430 gcc toolchain.  I've now made this available on github at: https://github.com/pabigot/msp430-elf
     
    There's nothing you get there that isn't from TI, but it can be useful to determine what changed in each release, so you know what to look for in the upstream gcc repository.
     
    Updates to this repository will be best-effort on my part: no promises.
×
×
  • Create New...