Jump to content

Search the Community

Showing results for tags 'usb'.

More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • News
    • Announcements
    • Suggestions
    • New users say Hi!
  • Spotlight!
    • Sponsor Spotlight
    • Sponsor Giveaways
  • Energia
    • Energia - MSP
    • Energia - TivaC/CC3XXX
    • Energia - C2000
    • Energia Libraries
  • MSP Technical Forums
    • General
    • Compilers and IDEs
    • Development Kits
    • Programmers and Debuggers
    • Code vault
    • Projects
    • Booster Packs
    • Energia
  • Tiva-C, Hercules, CCXXXX ARM Technical Forums
    • General
    • SensorTag
    • Tiva-C, Hercules, CC3XXX Launchpad Booster Packs
    • Code Vault
    • Projects
    • Compilers and IDEs
    • Development Kits and Custom Boards
  • Beagle ARM Cortex A8 Technical Forums
    • General
    • Code Snippets and Scripts
    • Cases, Capes and Plugin Boards
    • Projects
  • General Electronics Forum
    • General Electronics
    • Other Microcontrollers
  • Connect
    • Embedded Systems/Test Equipment Deals
    • Buy, Trade and Sell
    • The 43oh Store
    • Community Projects
    • Fireside Chat
  • C2000 Technical Forums
    • General
    • Development Kits
    • Code Vault
    • Projects
    • BoosterPacks


There are no results to display.

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start



Website URL





Found 36 results

  1. This project is an update to the binary clock that I used on my desk. The new version has a lot of new features including RGB leds(WS2812), a bigger microcontroller(The Olimexino-5510 board), capacitive touch and light sensor. My first idea was to have something based on the MSP430G2553, a couple of WS2812 leds and capacitive touch. But after comparing the work i would have to do, and very few rewards to the Olimexino-5510 functionality I quickly reconsidered. The Olimexino-5510 provides quite a few things I wanted: MSP430F5510 Battery Charger USB capabilities Arduino Form Factor So all I had to do was make a nice board that went on top with the stuff I wanted for the clock functionality. WS2812 RGB LEDs The main feature of the Clock is the 6x3 WS2812 RGB led matrix. These leds contain a little controller that accept a serial protocol for the color data and they handle the PWM. They're also chainable meaning that only one pin(D11, LED-DATA) is required to quite all of them. In my using @@oPossum's library Power Supply The Olimexino-5510 has a connector for a battery. But it just connects the battery to the 5V rail, the battery could go as low as 3V. The WS2812 aren't meant to run that low, specifically the Blue led get a lot dimmer. In order to fix this I incorporated a SMPSU that can get 5V from the battery voltage. It could in theory handle as much as 2A. The design was done with TI Webench, all parts are the same as the suggested ones. I had to modify the Olimexino a little to actually give me the raw battery voltage on the shield connector, on battery there's no voltage on the 5V pin, i assumed there was. It all works quite well now except it's kinda whiny. The WS2812 leds are very bright, so in the darkness this might be a problem. One could dim them by sending them a darker color but this reduces resolution. Q2's purpose is to PWM is the 5V that the LEDs in order to dim them externally. This essentially gives another scaling factor for the brightness. It's a similar principle to how dynamic contrast works in TVs. Unfortunatelly this did not work as I wanted, the mosfet was too slow to PWM the leds fast enough without aliasing. My next design will probably contain a mosfet driver. Capacitive Touch Pads I have 4 pads acting as buttons. I originally connected them directly to some pins assuming I had PinOsc hardware like on the value line. Unfortunately I discovered this was not the case too late. I fixed it by adding 2 resistors between each of the pairs. This allows me to do a pretty crappy RC measure. It still works quite good though, i can get about 200 discrete values of the reading. As suggested by TI I had a non solid ground plane of the backside to reduce the intrinsic capacitance. Light Sensor The shield also has a light sensor, meant to measure ambient brightness. One can use this to make the display's brightness match the room. The sensor is connected via I2C, since neither the Arduino nor the Olimexino-5510 have I2C exposed on the pins I will have to do a software solution for this. The TCS34725FN sensor is also capable of measuring RGB color; I'm sure something fun can be accomplished using that. Of course I managed to do the footprint wrong for this, so it required some cutting traces to swap some pins; after that it worked just fine. Eagle Files I also have the schematics in PDF format. Code The current code is mostly made to prove the hardware. It could use a lot more work for the UI. Features Clock Functionality with fading SMPSU Off demo Capacitive Touch Demo Light Sensor Demo USB CDC ported from Energia that i used for debugging so far Everything was compiled with msp430-gcc. I uploaded the firmware using the new f5529 launchpad board due to the fact that mspdebug does not support the olimexino usb bootloader. Parts Most parts I got from digikey, except the Olimexino-5510, the beefy 6600mAh battery and the WS2812 leds. I got a pretty good price for the LEDs from Alibaba at only 13 cents each. I ordered the board through Elecrow, I really needed it to be black. Meta My old clock was this boring thing with an attiny44, using a matrix of green leds. I originally started this version(v2.0) as a school project, but I wanted to share it. Due to the many issues I had I'll probably make a version 2.1(if i fix the shield) or a v3 if I make a standalone board. I'm open to ideas. I still have quite a few board leftover(about 7), i'm open to sending them to people if postage is cheap/free/easy. Imgur album for non-users.
  2. i am working on a project that requires my MSP430F5659 to act as a USB host. i want to transfer some data from a pen drive that i connect to the flash memory of the MSP. can you help me with the realization? how can i use the pins of my MSP to connect to a pendrive so that it can act as a USB host? also, some help with the programming would be highly appreciated. i am using Code Composer Studio for programming purposes.
  3. I am using the Tiva C LaunchPad as a USB host for a USB device that requires a small amount of power. The USB host connector for the Tiva C LaunchPad does not supply any power, so currently I am providing this via a breadboard, however to make my prototype cleaner I am wanting to supply power via the USB. One suggestion I received was to short circuit SW3, and that this will provide the LaunchPad and also the USB host connector with power via the ICDI USB connector. I wanted to get opinions about this solution, and whether anyone sees any potential issues? Oh and if I was to do this....I am assuming I would do it by connecting the outer pins of the switch, while leaving the center pin alone??? Glenn.
  4. Anyone experimenting with this or have any thoughts on how this could be done in Energia? I'd like to do something like this with my MAP pressure sensor thing, where the user could drag and drop (or software on the computer could save) 'tuning' files to the device and that the unit would use for mapping its pressure sensor to the DAC. If possible, I'd also like to extend this to applying firmware updates in a similar fashion.
  5. Hi, this project is aimed to build a low-cost simplest possible accessibility keyboard using MSP430 (MSP430G2452?), I've built something with Attiny85 V-USB in the past and I took a quick look to bbusb, mecrimus-B and boot430 but I don't really know where to start. The initial project would consist in a simple 5 keys keyboard that emulates a mouse, keys are LEFT, UP, RIGHT, DOWN and a central CLICK button. When the user presses a button, the mouse arrow should move accordingly. Similar devices exists in Italy and are currently used in schools but their cost is very high (around 300 $) and the families cannot afford to buy one to keep at home. I've been asked from a friend to help him building a low-cost device for the children and I immediately thought about launching a community effort on this forum. The device should work out-of-the-box without the need of drivers out of the standard mouse drivers already available on Linux and Windows . The prototype should be built on a breadboard with minimal components, tactile micro switch are just fine even if we are already thinking about using captouch or proximity sensors for some kind of people. Is the anybody interested or willing to help? Of course, the project code and schematics must be GPL (or other FOSS) licenced.
  6. So i received my MSP430 USB launchpad yesterday. I got the blink program to work on CCS5. I am interested in making a USB mass storage device so I downloaded the msp430 USB developer package. It is a zip file and when I unzip it, I get a large heirarchy of folders and enclosed files. This might seem like a stupid question, but Where are these supposed to go? Does it matter? And the demo projects for CCS contain *.projectspec files. How do you use these? Another related question, how can you find/build the pre-installed HID/MSC demo that lets you create two files on the mass storage device and then dump the text as a USB keyboard?
  7. Is it possible to attach USB devices to the Device USB on a Tiva/Stellaris LaunchPad eval kit board? I'm planning a game, and rather than scraping up a bunch of switches for a keypad, I've got a USB keypad sitting around which would do the job nicely. Is this do-able? Is it major effort?
  8. Hi, I have recently started to work with ARM. I have read a bit about it but, unfortunately, I have not ever been successful in implementing my code in practice. When I connect my board to the USB port of my PC an error message says: “USB device is not recognized.” Have you ever faced this problem? Do you know how it can be solved? It would be so grateful if you could guide me in this regard. Thank you veryyy much in advance, Hossein Amooie
  9. Dear Devs, I've been working with the STM32F4 Discovery board for a couple of weeks now. I've successfully used its USB Device library to connect the board into the PC by creating a custom class. In fact I modified a VCP example and made it a custom class. I used LibUSB to generate the host side application using MFC applications. I tried bulk transfers, interrupt transfers, basic setup transfers and they all worked perfectly. The issue came to me when I tried to make a bulk loop. That is within the firmware I will read the OUT packet and save the data in the Tx buffer and send it back to the host. What I did was, I implemented the 'DCD_EP_Tx' function which is supplied by the 'usb_core.c' within the DataOutStage function. As I understood DCD_EP_Tx enables the endpoint so that the endpoint tx buffer data will be sent to the TxFIFO by the core. The data out function looks like below, USB_Rx_Cnt = ((USB_OTG_CORE_HANDLE*)pdev)->dev.out_ep[epnum].xfer_count; for(i=0;i<USB_Rx_Cnt;i++) { DataSupply_Buffer[i] = USB_Rx_Buffer[i]; } /* Prepare the packet to be send through the IN endpoint DCD_EP_Tx (pdev, CDC_IN_EP, (uint8_t*)DataSupply_Buffer, USB_Rx_Cnt); /* Prepare Out endpoint to receive next packet */ DCD_EP_PrepareRx(pdev, CDC_OUT_EP, (uint8_t*)(USB_Rx_Buffer), CDC_DATA_OUT_PACKET_SIZE); In this case when I send the data from the host and if I did not read the data from the host, a strange thing happens. Let's say I send around 10, 64byte packets from the host. Then later when I read from the device, I can get the first five 64bytes packets I sent. In fact, they store 320bytes within the FIFO or something. But within the 'usb_conf.h' I specify that the Tx1FIFO size should be 128. My problem is how come the device store 320bytes when I set the TX1FIFO depth to 128? I can provide the whole source code if my explanation of the problem is not clear. I'm still going through the Reference manual line by line to understand the issue. But still I did not have any luck. So if someone can shed some light on this matter. It will be highly appreciated. I don't need an exact answer, but if you have then I'm damn lucky. I might be searching for the issue in wrong direction. Need some new perception. Thank you in advance.
  10. I work on a MSP430F5510. Most of the time I use IAR but now I've reached code limitation. So I decided to switch to MSPGCC instead of CCS because I don't want to get the same problem when the code gets bigger and bigger. My question: Has anyone tried to get the TI's USB Library Project (http://www.ti.com/tool/msp430usbdevpack) to MSPGCC? I just give it a short try and stopped now with 93 errors. So I just want to ask if anyone has experience with this lib or already get it work with mspgcc before I go on in deeper adjustments.
  11. Hello, I found some devices which should allow me to connect naked MSP430G2553 chip to PC over USB. But here is one problem I don't really understand. I found devices with FTDI chip (I know it's a brand name) and devices which I found under "TTL UART" or "USB to TTL". Here is link to the FTDI one: https://www.sparkfun.com/products/9873 Here is link to the TTL one: http://dx.com/p/usb-2-0-to-ttl-uart-5-pin-cp2102-module-serial-converter-blue-152317 So, my question is: is there any difference between those two? Because there is huge difference in price. Thanks for replies
  • Create New...