Jump to content
43oh

tingo

Members
  • Content Count

    157
  • Joined

  • Last visited

Reputation Activity

  1. Like
    tingo reacted to M-atthias in Programmed & POWERED an MSP430 via RESET/TEST   
    I also discovered this trick, I connected a capacitor between GND and VCC pin and used two port pins for power and an experimental communication channel. This way it is okay to exchange the lines - they are full-bridge rectified. Do you know this RFID tag ? http://scanlime.org/2008/09/using-an-avr-as-an-rfid-tag/ It is using similiar ideas.
     
  2. Like
    tingo got a reaction from multivac in The Cramp! 430 powered desktop crane lamp   
    Impressive amount of work - nice result! Thanks for sharing.
  3. Like
    tingo reacted to multivac in The Cramp! 430 powered desktop crane lamp   
    Hey guys, so I`ve been working on this project for a while now, and wanted to show it here because you are a cool bunch.
    if i mess up, the pics are too big, or  whatever, im sorry. let me know and ill fix it asap.
    the title is pretty explanatory so here are some pics of the thing, and the associated mess (if i actually manage to attach pictures correctly)



    i know there is nothing particularly interesting in this from the microcontroller point of view, but maybe someone will like it.
    its sort of based on a liebherr lr1750 crawler crane in case anyone is interested. it is controlled with an ir remote kindly donated to the project, mostly made from scrap from my junk bin and some chips i got from the VERY generous TI`s sample program. The base, for example, is made from an old hdd, and the hole thing is screwed to, and pivots around, the main bearing.




     
    Some stuff i had to buy though, like the leds.
    I was thinking what could I do with a lot of solid conductor wire i pulled from the walls in my house when i changed the [way too old] electrical installation. i thought a lattice structure would be fun, and i have to say, its amazing how rigid the thing got. i also wanted to do some switching led driver experimenting. I used a TI TPS61199 led driver with 32 "5050" leds, that have 3 chips per package, so its 96 leds in all, at 17 mA each. the leds are mounted on a structure that is supposed to resemble a section of Eero Saarinen`s twa flight center. a sort of rebar core type thingy for the roof.



    i wanted to do a solid thing for the lamp, but it proved somewhat hard, i still might though. I





  4. Like
    tingo reacted to HanzZ in QSimKit - MSP430 simulator   
    Hi,
     
    as my diploma thesis I'm writting MSP430 simulator called QSimKit. It's not finished yet, but it's in state when it's starting to be useful and I would like to get more people to test it, share their opinions, find bugs and basically to create community of people interested in MSP430 simulation.
     
    Releases:
    Version 0.0.3 (2014-02-04), Changelog At first some facts about QSimKit:
    It's written under GPLv2+ in C++/Qt, has been tested on Linux or Windows together with msp430gcc. It supports peripherals (as plugins) written in C++ or Python. Currently there's LED, oscillator, button and HD44708 LCD (not fully implemented yet). MCUs are plugins too and theoretically it's possible to add support for more MCUs (not just MSP430). It can support all MSP430 variants, but only few are supported right now, because I haven't created package data for all MSP430 variants yet. In graphical user interface (Check screenshot), you can do following:
    Add peripherals, connect them to MCU. See the source code of program you are simulating together with Dwarf debugging data (you can see the value of local variables for example) and current instruction. Step the simulation, add breakpoints based on PC register or value of memory. Track pins in oscilloscope-like view. See the registers and other important values from MCU (frequency, BasicClock registers, ...) MSP430 MCU plugin can do following:
    Load ELF/A43 code. Supports all instructions. Supports BasicClock module (TImerA/TimerB). Support for USCI-SPI [NEW in 0.0.3] Support for USART-SPI [NEW in 0.0.3] Initial USI support (just SPI mode). Peripherals:
    Button LCD - HD44708 (only initial support) LED Crystal Oscillator SD Card (only initial support) [NEW in 0.0.2]  
    As I stated earlier, it's not finished yet, but some testers to help me testing are welcome. I can also help anyone who would like to help with development. There is no development documentation yet, but if you tell me what you would like to do, I can write relevant docs to help you.
     
    If you think you have found a bug or you have some feature request, please create ticket on GitHub, I don't want this forum thread to be an issue tracker. You can also find me on IRC in #qsimkit at freenode or as HanzZ in #43oh channel.
  5. Like
    tingo reacted to ike in any way to restore DCO calibration values w/o a crystal hooked up?   
    https://github.com/RickKimball/msp430_code/blob/master/fabooh/examples/serial/dco_calibrate/goldilocks.cpp
  6. Like
    tingo reacted to lawrence_jeff in Using Hardware PWM on Tiva Launchpad   
    PWM is much easier on the new Launchpad using the PWM peripherals, here is a working example using the 3 onboard LEDs.
    #include <stdint.h> #include <stdbool.h> #include "inc/hw_gpio.h" #include "inc/hw_types.h" #include "inc/hw_memmap.h" #include "driverlib/sysctl.h" #include "driverlib/pin_map.h" #include "driverlib/gpio.h" #include "driverlib/pwm.h" int main(void) { unsigned long ulPeriod; //Set the clock SysCtlClockSet(SYSCTL_SYSDIV_1 | SYSCTL_USE_OSC | SYSCTL_OSC_MAIN | SYSCTL_XTAL_16MHZ); //Configure PWM Clock to match system SysCtlPWMClockSet(SYSCTL_PWMDIV_1); // Enable the peripherals used by this program. SysCtlPeripheralEnable(SYSCTL_PERIPH_GPIOF); SysCtlPeripheralEnable(SYSCTL_PERIPH_PWM1); //The Tiva Launchpad has two modules (0 and 1). Module 1 covers the LED pins ulPeriod = SysCtlClockGet() / 200; //PWM frequency 200HZ //Configure PF1,PF2,PF3 Pins as PWM GPIOPinConfigure(GPIO_PF1_M1PWM5); GPIOPinConfigure(GPIO_PF2_M1PWM6); GPIOPinConfigure(GPIO_PF3_M1PWM7); GPIOPinTypePWM(GPIO_PORTF_BASE, GPIO_PIN_1 | GPIO_PIN_2 | GPIO_PIN_3); //Configure PWM Options //PWM_GEN_2 Covers M1PWM4 and M1PWM5 //PWM_GEN_3 Covers M1PWM6 and M1PWM7 See page 207 4/11/13 DriverLib doc PWMGenConfigure(PWM1_BASE, PWM_GEN_2, PWM_GEN_MODE_UP_DOWN | PWM_GEN_MODE_NO_SYNC); PWMGenConfigure(PWM1_BASE, PWM_GEN_3, PWM_GEN_MODE_UP_DOWN | PWM_GEN_MODE_NO_SYNC); //Set the Period (expressed in clock ticks) PWMGenPeriodSet(PWM1_BASE, PWM_GEN_2, ulPeriod); PWMGenPeriodSet(PWM1_BASE, PWM_GEN_3, ulPeriod); //Set PWM duty-50% (Period /2) PWMPulseWidthSet(PWM1_BASE, PWM_OUT_5,ulPeriod/2); PWMPulseWidthSet(PWM1_BASE, PWM_OUT_6,ulPeriod/2); PWMPulseWidthSet(PWM1_BASE, PWM_OUT_7,ulPeriod/2); // Enable the PWM generator PWMGenEnable(PWM1_BASE, PWM_GEN_2); PWMGenEnable(PWM1_BASE, PWM_GEN_3); // Turn on the Output pins PWMOutputState(PWM1_BASE, PWM_OUT_5_BIT |PWM_OUT_6_BIT|PWM_OUT_7_BIT, true); //Do nothing while(1) { } }
  7. Like
    tingo reacted to igor in eLua for Stellaris Launchpad   
    I am working on porting eLua to the Stellaris and Tiva Launchpad.

    eLua is a version of Lua (a scripting language) for microcontrollers.
    Main eLua web site http://www.eluaproject.net/
    eLua works as an interpreter running on the virtual serial port.
    eLua already runs on several of the Stellaris LM3 development kits.

    Source code for my port is available on Github https://github.com/ecdr/elua
    in the LM4 branch
    Current status:

    It compiles (using codesourcery) and runs (i.e. hello world and blinking led work).

    Undergoing testing.

    It is integer only (may not be enough memory for floating point).
    Several peripherals are turned off (no CAN, no I2C).
    [Edit: CAN now turned on]
  8. Like
    tingo reacted to szymekrak1426459900 in The Stellaris-MP3-thing   
    Hi.
     
    Finally I decided to say a word or two about a project I am currently working on. While this is nothing innovative or really impressive, this is my first invention that actually can be used for something.
     
    This is a MP3 player, with colour LCD screen and touchpanel. I also hope to add some features that an iPod or something like don't have, for example serial console, or AVR programmer.
     
    I have made something like a Booster Pack to connect elements together. While this is a perfboard with a lot of cables, and it looks ugly, it works and I can even say it is portable. I would like to make a real Booster Pack with everything needed, but I have no experience in etching PCBs yet.
     
    My board connects the Launchpad with LCD screen and VS1003b board(which is responsible for sound and MP3/WMA decoding in my project). It also has SD card socket.
     
    I dream of final device with rechargeable battery, VS1053/1063 for FLAC and OGG playback, and a RTC, all enclosed in a nice case.
     
    Now, about the software. I am writing it in Energia IDE, but avoid using things like digitalWrite in parts of code where speed is important. For SD card, I use the FatFs library, the files that I posted before. The code may be a big mess, but it somehow works. Here is the list of what it currently has:
    A simple menu to select "apps" Screen calibration. Data is stored in EEPROM so don't run my code without modifications if you own the revision of LM4F120 which stops working after EEPROM write attempt. The calibration algorithm is not very smart. The file selector used in below functions. This currently does not check extensions! Picture viewer. Currently it supports only RAW RGB565 bitmaps and it assumes they are 240x320. Support for BMP is coming, and maybe even some JPEG decoding if I finally understand how picoJPEG works. "Slide" is also RAW picture viewer, but it takes longer images(width 240, height longer than 320) and lets user scroll through the image with touch. It uses LCD's ability to do hardware scrolling and this feature looks nice. Code, however is not perfect and there is a bug which I am trying to fix. Minipaint lets user paint on the screen. This is meant for touch panel testing. But if I add saving feature, this may become more useful. Audio player. It plays MP3, WAV and WMA files. If VS1053 was used instead of VS1003b, also FLAC and OGG would be supported. It shows artist and title from ID3 tag, and also bitrate of MP3 and WMA files. Module player. This is ported from PIC32, the same code was used in Stellaris Mod Player presented there some time ago. But I am using the VS1003b for audio output and not PWM. The player needs optimization. It needs a lot of memory for buffers. With current settings I can play some of my mods, but 4 channel mods with large samples don't play properly. With larger buffer and maximum of 4 channels I can play all my 4 channel mods perfectly, but no mods with larger number of channels are supported. I am going to try putting also S3M playback. I think about making the buffers dynamically allocated, so they won't use RAM when MOD player is not in use. Plasma effect. It displays animated plasma, like in old classic intros. I attached some pictures of the thing. I put that piece of plastic on the Launchpad to diffuse LED lights. They are nasty, aren't they? Also, all my code is available if anybody wants to look at all the mess:
    https://github.com/szymekrak/mp3thing
     
    I look forward for any opinions and even criticism. I know everything is far from perfection. I would be pleased for any help and advice
     
    I am also sorry if there were any mistakes in my English as this is not my native language.





  9. Like
    tingo reacted to vinodstanur in stellaris video player (25 fps with audio, 320x140 resolution)   
    Hi, here is my new mad project, a small video player which plays uncompressed video file stored in as sd card. It can play 25fps video at 320x140 resolution with audio... Color depth is 16bit/pixel.


     

     
    http://blog.vinu.co.in/2013/04/stellaris-launchpad-based-video-player.html
     
     
    It plays a special format, my own uncompressed video format, the only disadvantage is it will take more memory in sd card compared to compressed formats...

     

     

     
    Source code is open....
  10. Like
    tingo reacted to EuphonistiHack in Stellaris Launchpad Powered Marble Maze   
    Hey everybody, I made a new thing!
     

     
    This project uses two Stellaris Launchpads equipped with Sensorhub Booster Packs, which in turn have CC2533EM Zigbee 2.4 GHz daughter cards attached.
     
    The notion is that one launchpad is hand held, and continually computes its roll, pitch, and yaw via the sensors on the booster pack.  It then transmits these values down to the receiver via the Zigbee daughter card.  The receiver takes these values and uses them to rotate servos that are attached to the x and y axes of a marble maze.
     
    An explanation video can be found at http://www.youtube.com/watch?feature=player_embedded&v=NUIewWkACPk  Sorry for the noise, but I was debuting the demo at NI Week, and the exhibition hall was pretty noisy.
    A full writeup can be found on my blog, at http://euphonistihack.blogspot.com/2013/08/amazing-sensors.html
    The source code and bill of materials can be found on my github, at https://github.com/EuphonistiHack/marble-maze
    ...well, the bill of materials will eventually be there.  Still working on it.  Source code's up, though
     
    Hope you all enjoy it, and if you have any questions, feel free to ask!
     
    -EH
  11. Like
    tingo reacted to bluehash in ARM architecture fundamentals   
    Via Dangerous Prototypes
     


  12. Like
    tingo reacted to jpnorair in [Reasonably] New MSP430 Parts   
    I was poking around on ti.com today, and I was pleasantly surprised as I noted two product families that are now public.  The datasheet and user-guide dates are not super-new, but there has been little fanfare and somehow I missed it.  Maybe the reason is because I've spent the last 6 months working mainly on Cortex-M.  But anyway...
     
    1. RF430F5978
    I have been working with this for a long time, in private (i.e. there are libraries and board support in OpenTag).  It's really cool, because it combines a CC430F5137 with a 134kHz passive RF IC.  One cool app you can do with it is wireless charging, but really there are all kinds of cool apps that combine passive RF for localization with long-range active RF for data backhaul.
     
    2. RF430FR15xH
    This is an NFC chip with a small FRAM MSP430 built right in. I have not used it, but I love NFC so it can't be bad.  
  13. Like
    tingo got a reaction from OppaErich in Stellaris Launchpad Deal - $7.99   
    But it was cheap, and shipping was USD 0,- so I couldn't resist.
  14. Like
    tingo reacted to spirilis in Mini-STM32 thread?   
    Check stellarisiti.com ? It's a sister site to this one.
     
    Sent from my SCH-I605 using Tapatalk 4
     
     
  15. Like
    tingo got a reaction from bluehash in Color LCD Booster Pack   
    No, that's ok, if that is the rule. I was just trying to contribute (I thought I should upload the picture of the schenatic that Kabron made, just to "get the ball rolling" so to speak). No worries.
  16. Like
    tingo reacted to orso2020 in Best information for those new to the MSP430?   
    Also, I forget on here where I found this compiled list of short cheats for energia:
     
    http://f4dtr.files.wordpress.com/2013/06/energia_cheatsheetv01c.pdf
     
    But it is always good to have handy for noobs like me.
  17. Like
    tingo reacted to bobasaurus in RTC_C setup problem on the MSP430F6726 using CrossStudio   
    A coworker helped me solve this problem.  It turns out that the AUXVCC3 pin needs to be powered for the RTC to work, otherwise it's not clocked at all.  There's a battery connector attached to the pin on my board, but I neglected to attach the battery during testing.  Plugging in the battery makes the code above work perfectly.  Hopefully this will help if anyone else runs into the issue.  
  18. Like
    tingo reacted to cubeberg in Build thread - 3 Axis pen plotter   
    Was  googling about using pencils with plotters today - ran across this - http://interlockroc.org/2012/02/24/pencil-plotting/.  Apparently they make self-advancing mechanical pencils.  Might be a good way to get some really fine detail.  I'll have to check Target to see if they sell these.
  19. Like
    tingo reacted to rockets4kids in Borrowing Tools   
    I see a number of difficult issues here:
     
    - How do you provide proper training on the tools for the safety of the tool and the user?
     
    - How do you deal with the liability issues of a user breaking a tool, or a possibly damaged tool injuring its user?
  20. Like
    tingo reacted to GeekDoc in Borrowing Tools   
    To be honest, as a beginning hobbyist, I want the tool there when I need it.  I don't plan ahead much; if I don't have a tool at hand, I'll work around it, or find something else to work on.  Borrowing/renting a tool wouldn't work for me the vast majority of the time.
  21. Like
    tingo got a reaction from GeekDoc in Getting a RigidBot 3D printer, help me learn?   
    Slicers: you'll have to try a few. Just now, many people at the local 3D printing community thinks that slic3r gives better print results, compared to others. Some people likes KISSlicer, Almost everybody thinks that Skeinforge is the hardest one to use.
    More info here: http://edutechwiki.unige.ch/en/Slicers_and_user_interfaces_for_3D_printers
  22. Like
    tingo reacted to bluehash in Found a goldmine of MSP430 beginner code   
    Just browsing, when suddenly:
    http://dbindner.freeshell.org/msp430/
     
     
    1. Prepping for the MSP430 2. Out of the box 3. Blinking lights number 2 4. Pushbutton fun 5. More pretty lights 6. Community Coding Style 7. Button triggered interrupts 8. Hello World revisited 8.1. Internal watchdog timer 8.2. External timer crystals 9. Blinking lights revisited 9.1. Using internal timer 9.2. Using external crystal 10. Pulse Width Modulation 10.1. Sleeping LED 10.2. Which pins do PWM? 11. Talking to MSP430 via Launchpad USB interface 12. Yet another Hello World 13. Serial communication 1 14. Serial communication 2 15. Adding button debounce 16. A Uart receiver 17. Send and Receive 18. Send and Receive 2 19. Increasing the clock speed 20. Reading off calibration values 21. A more robust calibration program 22. Dissecting the TI temperature demo 23. Bit-bang I2C interface for Newhaven LCD panel 24. Bit-bang SPI interface for ktm-s1201 LCD panel 25. Morse Code on the MSP430 http://dbindner.freeshell.org/msp430/#_recovering_a_fram_experimenter_8217_s_board'>26. Recovering a FRAM Experimenter
  23. Like
    tingo reacted to username in Security System 3 & Reflow Oven 3   
    The display is RobG's awesome 2.2" touch display.
    Check out his booster pack at: http://store.43oh.com/index.php?route=product/product&product_id=107 if your interested in playing around with it.
  24. Like
    tingo reacted to Rickta59 in My time with the LPC1114 dip28   
    If you have a CNC machine, some epoxy, and way too much time on your hands:
     

     
    -rick
  25. Like
    tingo got a reaction from bluehash in Post your Thrift Store finds   
    I bought a T-amp on eBay for my hobby room earlier this year, and found a nice pair of speakers (JVC SP-UXP55) to go with it at a local thrift store for NOK 100.- (about USD 17.- at the current exchange rate).
×
×
  • Create New...