Jump to content

abecedarian

Members
  • Content Count

    1,711
  • Joined

  • Last visited

  • Days Won

    23

Reputation Activity

  1. Like
    abecedarian reacted to yyrkoon in Concept: CANBus to ethernet "bridge"   
    True enough. Just know that If I did not think your comment had merit, I would not have liked it The information provided form those links looks pretty interesting at the least. But I've been too busy hunting down another "ghost" to notice much anything else really. e.g. using Userspace I/O ( Linux ) in a way that now seems to make no sense. . . .
  2. Like
    abecedarian got a reaction from yyrkoon in Concept: CANBus to ethernet "bridge"   
    @@yyrkoon - Irrespective the costs, I only posted them for information's sake thinking maybe you could glean a bit of information about possible solutions. Overall, TI Designs does not publish non-working reference designs so you at least have a working "proof of concept" that maybe you can adapt to or work with towards your goal.

  3. Like
    abecedarian got a reaction from yyrkoon in Concept: CANBus to ethernet "bridge"   
    @@yyrkoon - Have you seen this CAN to Ethernet converter design?
     
     
    There's also this CAN to WiFi gateway.
  4. Like
    abecedarian reacted to greeeg in ledClock - dual colour led matrix   
    Hey Guys,
     
    Exam times again, so I feel like I have a tonne of time for my projects.
    This is a project I started in February 2014. I found a very nice 8x8 dual colour LED display. I designed a PCB for them when I ordered them, instead of when I actually had them.

    I had built a PCB up with a G2542 8kb / 512b (Mem/RAM) but didn't manage to get it working.
     
    Over the last few weeks I got back into this project, and low and behold it did actually work!!

     
    I built up a new PCB because it was designed as a common cathode driver, but the displays were common anode.... (on the first board, I had bridged the common mosfets.)

    of course using 0402 parts. (this display need 64 of these O_O)

    back of PCB contains clock, half a DCDC stepup and a BMA222 accelerometer.

     
    Front & back


     
    Now I needed a case, this is my first project I decided to actually make use of a cheap chinesse laser cutter I now own.

     
    The piece with all the slits in it create a "living hinge" which creates a cool organic looking case. as opposed to a rectangle.

     
    I'm still working on improving code. Basic clock functionality is in.
     
    lastly I'll leave you with my dud designs. which while not very practical. are actually 100% useful. A failed design can teach you alot!

     
    I will be making this open source, I would like to make more in the future, which may involve buying more displays from china (if there is interest maybe even a group buy?? )
     
  5. Like
    abecedarian got a reaction from dubnet in Concept: CANBus to ethernet "bridge"   
    @@yyrkoon - Have you seen this CAN to Ethernet converter design?
     
     
    There's also this CAN to WiFi gateway.
  6. Like
    abecedarian reacted to Rickta59 in USCI patch for parity   
    I was trying to port a sketch that used the Serial port with non standard UART parity and character length to Energia.  I noticed that the UART port isn't setup to handle anything except 8-N-1.  While the code below can't do all the combinations that are available to the atmega, it can do 7/8 bit, even/odd parity and 1/2 stop bits.  I created a patch that will at least fix it for the chip I am using (msp430g2553).  It will need some work for other chips. Apply the attached patch to the source of the latest Energia source tree. (as of 11/11/2015)
     
    -rick
     
    (See new optional second parameter https://www.arduino.cc/en/Serial/Begin )
    parity.patch
  7. Like
    abecedarian reacted to roadrunner84 in Connecting 12V to MSP430 I/O Pin   
    An optocoupler is a combination of an LED and a phototransistor in one housing. So you'll need to drive the optocoupler as if you were driving an LED (use a resistor to limit the input current as stated). The other end will act as a transistor, so depending on the type you'll have to hook it up between your 3v3 and your input or between your input and your ground, then use the opposite pull-up/down resistor to create a defined level on the pin when the optocoupler is not conducting.
    The big advantage of an optocoupler over a FET solution is ESD and surge protection; instead of blowing the entire circuit, you'll just blow the optocoupler.
  8. Like
    abecedarian reacted to Marc in msp430fr5969 pins   
    Thanks for the confirmation!
  9. Like
    abecedarian reacted to Rei Vilo in msp430fr5969 pins   
    Good catch and thank you for noticing me!
     
    I've checked against the pins_energia.h file.
    static const uint8_t DEBUG_UARTRXD = 22; /* Receive Data (RXD) at P2.1 */ static const uint8_t DEBUG_UARTTXD = 21; /* Transmit Data (TXD) at P2.0 */ Release 2.3 will include the fix. 
  10. Like
    abecedarian reacted to davidgiven in Fuzix for the MSP430FR5969   
    (Also, the source is now in https://github.com/EtchedPixels/FUZIXas the port's been accepted into the main Fuzix distribution.)
  11. Like
    abecedarian reacted to excalibur2811 in Hi   
    Hi All,
     
    I am John from Malta.
     
    I was gradually getting into Arduino, but have just started an EdX course which uses the TI MSP 430G2 so have joined up here to learn more about it and maybe get some advice and support when needed. 
     
    The intention is to continue to delve into robotics. My experience so far has been with constructing a battle bot, but although that taught me a lot about battery technologies, motor drivers, and physical construction, the robot was radio controlled. So now I want to get into intelligent robots, or at least useful ones (such as ones with arms etc).
     
    Its a bit of a challenge, but hopefully lots of hours of fun lie ahead! :-)
     
    John
     
  12. Like
    abecedarian reacted to bluehash in Oct 2015 - 43oh Halloween Contest   
    Hi @@Fmilburn! Looks like you get to choose your prize. Let me know what you want.
    Thank you for your entry!
  13. Like
    abecedarian reacted to Fmilburn in Oct 2015 - 43oh Halloween Contest   
    My submission is a Blue Angels F-18 costume for a four year old with the main visual effect coming from a custom MSP430G2553 driving an Adafruit WS2812 "neopixel" ring.  More documentation here.

  14. Like
    abecedarian got a reaction from Fmilburn in Contents of the MSP-EXP430G2 development toolkit   
    One MCU, the G2553, has a lot of bells and whistles. The other, the G2452 is a little restricted.
     
    I suggest you look at the datasheets for the chips so you can learn about the differences between them, and then learn how to chose which of those, or maybe any of the many other MSP430 chips, to use to best fill what you want to do.
     
    Something worthy of note, is that the Launchpads can act as programmers for most every other MSP430 chip. So the G2 Launchpad can program nearly every other MSP430 out there- no need for a bootloader to be installed on a target chip, like some others require. There might be some restrictions but there are ways to deal with those.
     
    The crystal is for getting more accurate timing. Unlike some others, many of the MSP430's don't require crystals to get going but they support external crystals for more accurate timing. The supplied crystal is basically a watch crystal, so somewhat accurate time-keeping is a possibility. The MSP430 supports several different clock sources, and that external crystal is just another... albeit more stable than the in-built ones.
     
    Don't overlook that the chips in the G2 LP also support capacitive touch sensing.
  15. Like
    abecedarian reacted to Fmilburn in Contents of the MSP-EXP430G2 development toolkit   
    @@excalibur2811
     
    Hi John, and welcome. The hardware is different from Arduino. One of the features is that you can use a LaunchPad G2 to develop any of the MSP430G2x microcontrollers. A bonus is that you get two of them with the kit. They don't burn out easily (but don't apply 5V to them like you would an Arduino - they are 3.3 V devices). You could use the second one in another project - they can even be used easily on a breadboard.
     
     
    The crystal is optional. See this link for more information: http://www.ti.com/tool/msp-exp430g2?keyMatch=launchpad%20g2&tisearch=Search-EN-Everything
  16. Like
    abecedarian reacted to Fmilburn in [POTM] Blue Angels F-18 Costume   
    Completed project at the local fall festival parade for children...
     

     
    EDIT: People loved the rotating / blinking / changing lights in the exhaust as well as the fact that it was hand made. If I do something like this again I will probably make the front light flash and add better sound. Strangers were taking pictures of him and asking how it was made.
  17. Like
    abecedarian got a reaction from tripwire in TI has two new Hercules LaunchPads   
    http://www.ti.com/tool/LAUNCHXL2-TMS57012
    - automotive qualified
     
    http://www.ti.com/tool/LAUNCHXL2-RM46
    - industrial / medical oriented
  18. Like
    abecedarian reacted to chicken in [POTM] dAISy - A Simple AIS Receiver   
    The Army of dAISy

     
    For those that contacted me about the BoosterPack: It looks like the stencil got lost in the mail. Might take another week or two until I can build them.
  19. Like
    abecedarian reacted to davidgiven in Fuzix for the MSP430FR5969   
    Good news, everyone! I've just ported Alan Cox's Fuzix to the MSP430. It'll run on a MSP430FR5969 and supports up to four 23kB user processes via swapping to an SD card. There's a full Unix filesystem and a tonne of software. It's riddled with bugs, but is surprisingly snappy and usable.
    This is running on a standard MSP430FR5969 Launchpad with the 43oh.com SD card boosterpack plugged into it. The console's via the USB UART. It's riddled with bugs, but there's enough running to be of interest.
    You can find the source code here: https://github.com/davidgiven/FUZIX/tree/msp430
    Here is a somewhat edited transcript from my serial terminal to prove it.
    FUZIX version 0.1 Copyright (c) 1988-2002 by H.F.Bower, D.Braun, S.Nitschke, H.Peraza Copyright (c) 1997-2001 by Arcady Schekochikhin, Adriano C. R. da Cunha Copyright (c) 2013-2015 Will Sowerbutts <will@sowerbutts.com> Copyright (c) 2014-2015 Alan Cox <alan@etchedpixels.co.uk> Devboot 64kB total RAM, 23kB available to processes (4 processes max) Enabling interrupts ... ok. SD drive 0: hda: hda1 hda2 Mounting root fs (root_dev=1): OK Starting /init init version 0.9.0ac#1 # mount # df Filesystem Blocks Used Free %Used Mounted on df: cannot open /etc/mtab: No such file or directory # prtroot /dev/hda1 / fuzix rw # prtroot > /etc/mtab # df Filesystem Blocks Used Free %Used Mounted on /dev/hda1 20480 1218 18622 5% / # ls bin dev etc init tmp usr # cd tmp # cp /bin/sh data # ls -l -rwxr-xr-x 1 root 0 18111 Jan 01 00:03 data # cp data data2 # cat data data2 > big # ls -l -rw-rw-rw- 1 root 0 36222 Jan 01 00:04 big -rwxr-xr-x 1 root 0 18111 Jan 01 00:03 data -rwxr-xr-x 1 root 0 18111 Jan 01 00:04 data2 # rm data2 # rm data # wc big 1696 3086 36222 big # ls /bin > files # wc -l files 101 files # cd /bin # ls b* banner basename bd # banner Hello H H H H eeeeee l l oooo H H e l l o o HHHHHHH eeeee l l o o H H e l l o o H H e l l o o H H eeeeee llllll llllll oooo # ps USER PID STAT WCHAN ALARM COMMAND root 1 Ready 0000 0 init root 2 Ready 0000 0 /bin/sh root 12 Running 0000 0 ps # forth ok BYE # cd /usr/games # ls fish wump # ./fish instructions? yes `Go Fish' is a childrens' card game. (I would like to claim the record for the smallest physical hardware capable of beating me at Go Fish. Alas, Hunt the Wumpus doesn't run, for some reason.)
  20. Like
    abecedarian reacted to Fmilburn in [POTM] Blue Angels F-18 Costume   
    This project is a submission for the 2015 Project of the Month Halloween contest.  It came about as a request from my four year old grandson after he had seen the Blue Angels fly over during Seafair in Seattle.

    The basic air frame was constructed from two cardboard boxes as shown in the photograph below.
    .
    The boxes are attached to each other with brads and hot glue.  Edges are reinforced where I felt necessary by folding extra cardboard over or gluing in reinforcement cardboard.  Also shown in the photograph above are the following:
    wings, tail, and fins constructed from a corrugated plastic storage box and hot glued in place reflector on the nose constructed from a coffee can bottom which will eventually become the "search light".  There is a similar reflector on the tail which will become the jet exhaust. control panel with various switches and a potentiometer I had in my junk box installed on a wooden paint stirring stick The visible surfaces were then covered with wrapping paper using Outdoor Mod Podge - a waterbased sealer, glue and finish available in craft stores in the United States.  A second coat was then put on to make it a bit more waterproof.

    This is the schematic for the avionics.
     
    A little custom MSP430G2553 board with two AA batteries beside it in the tail controls an Adafruit neopixel ring "jet exhaust" with a toggle switch on the panel to turn it on and off.  Everything else runs off of three AA batteries with the wiring in the front of the aircraft between a cardboard firewall and the nose.  Two latching buttons turn colored LEDs on the panel on and off while a third turns a 3W LED (searchlight) on and off.  There is a potentiometer to control the brightness of the searchlight.  Finally I repurposed the sound board and speaker from an old greeting card that was originally powered by a coin cell.

    The WS2812 Adafruit Neopixel ring is controlled by the MSP430G2553. I used the library posted by ILAMtitan at 43oh - so full credit to those who had a hand in developing it.  The library example worked well as is for my purposes and about the only thing I changed was the output pin and the number of pixels being controlled in the code.
     
    Here is a picture of my grandson trying it out. We glued plastic cups over the headlight and jet exhaust and stuck Energia stickers on it.  I may touch it up a bit more if I have time and post a final picture.

     
    Improvement Ideas:  I also made a "candy counter" out of an old scale for his entertainment (and mine).  His immediate reaction was that we should somehow attach the candy counter to the airplane.  Clever, but not practical due to the need for the scale to be level and not banged around by a four year old.  Using a counter where candy is funneled past a beam, like Chicken did with his counter might work though.  My idea is that we add GPS along with thumbs up/down buttons.  Then he could rate offerings and either store the data as a reminder for next year or send it out over the IOT with location so that his buddies know where the good candy is.
  21. Like
    abecedarian reacted to bluehash in Oct 2015 - 43oh Halloween Contest is now open   
    More detail in the POTM sub-forum thread - Oct 2015 - 43oh Halloween Contest
  22. Like
    abecedarian got a reaction from bluehash in Halloween projects, anyone?   
    Haven't priced them recently but I know they weren't 'low cost' back when I did. I'm cheap so I'd have probably put one large RGB LED, or a few smaller RGB LEDs, in the middle and made a little cone out of paper to diffuse the light. But at least you didn't go F-22, otherwise I'd be harping you about the shock diamonds when they're on the throttle. 

     
    Just kidding.
  23. Like
    abecedarian got a reaction from OLA430h in internal compiler error: Segmentation fault   
    Just uploaded this:

    /* Blink The basic Energia example. Turns on an LED on for one second, then off for one second, repeatedly. Change the LED define to blink other LEDs. Hardware Required: * LaunchPad with an LED This example code is in the public domain. */ // most launchpads have a red LED #define LED RED_LED //see pins_energia.h for more LED definitions //#define LED GREEN_LED // the setup routine runs once when you press reset: void setup() { // initialize the digital pin as an output. pinMode(LED, OUTPUT); } // the loop routine runs over and over again forever: void loop() { digitalWrite(LED, HIGH); // turn the LED on (HIGH is the voltage level) delay(1000); // wait for a second digitalWrite(LED, LOW); // turn the LED off by making the voltage LOW delay(1000); // wait for a second }To one of my F5529 boards and other than having to reset the board for the sketch to start running there were no errors.This is Win10, Energia 16.
     
     
    May I suggest extracting Energia to the 'root' of your hard drive, i.e. "C:\Energia" or similar directory without spaces in the name?
  24. Like
    abecedarian got a reaction from tripwire in Halloween projects, anyone?   
    Haven't priced them recently but I know they weren't 'low cost' back when I did. I'm cheap so I'd have probably put one large RGB LED, or a few smaller RGB LEDs, in the middle and made a little cone out of paper to diffuse the light. But at least you didn't go F-22, otherwise I'd be harping you about the shock diamonds when they're on the throttle. 

     
    Just kidding.
  25. Like
    abecedarian got a reaction from tripwire in Intel opens up the embedded MCU on the EDISON board   
    Didn't notice it before but it seems that Intel has opened up the embedded MCU on the Edison boards.
     
    https://software.intel.com/en-us/creating-applications-with-mcu-sdk-for-intel-edison-board
     

×
×
  • Create New...