Jump to content
43oh

DanAndDusty

Members
  • Content Count

    134
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by DanAndDusty

  1. Hi Zeke.. Yes the LEDs arrived safe and sound and Im happy with them.. I ordered the diffused common anode ones (for driving with TLC5940).. The colours mix in nicely. I haven't done any serious project with them just test guff. Ive tested 4 with a 5940 and the colours on each of those 4 were in sync (i.e. with the same PWM ratios the colours on each LED were the same).. Ive left the board running for 3 days or so just cycling the colours and at the end the LEDs were still matched with a fresh one taken out of the bag. I haven't tried over driving them or doing anything out of spec so I
  2. Yeah.. its a shame.. but my order is progressing a little strangely.. I sampled some DACs at the same time.. They arrived the other day and if I look at the site now my ADCLite EV kit is showing as on back order with a Original On Dock Date of 23rd Dec and Scheduled On Dock Date of 28th Dec. I strangely didn't receive the order status confirmation e-mail saying the DACs were shipping.. So Im expecting my order to be cancelled but I also have my fingers crossed I don't know if it makes a difference but the company I work for orders samples fairly regularly from Maxim and it is for/through
  3. Nice one Blue.. Works a dream.. and I see a nice cute lil button for it on the posting screen.. should make all our lives easier.. Thanks
  4. Maybe Im missing something.. but isn't the link in the format focus.ti.com/general/docs/lit/getliterature.tsp?baseLiteratureNumber=[DOCUMENT]&fileType=pdf? If so then looking at the document Here It should be possible with BB Code [TIDoc]{DocNum}[/TIDoc] And HTML Replacement of Its been a while since I Admined a PHPBB board though so the syntax may need a tweak or four, but I remember doing something like this to link to youtube aeons ago...
  5. I have one of these LCDs though on a different board. I wrote a "library" for it. Put the 2 files in your project directory, Alter the #defines in PCD8544.c to reflect your pins (LCD_SCE etc), in your projects main source file #include "PCD8544.h" in your main() call LCD_init() to setup the lcd, then you can use LCD_gotoXY, LCD_writeString, LCD_writeChar etc. This was my first "non blinky light" code written for the MSP and I haven't gone back to tidy/refactor but it works. It uses bit banging not the hardware SPI so there are many things that could be tidied up/optimised. Im also
  6. As far as Im aware you can't actually sample 3 channels at the same time.. However you can tell the 430 to sample a sequence of channels one after the other and its pretty quick. If you look at page 403 of this document there is a chart showing how it works. Basically you set ADC10INCHx and it will sample channels x, x-1... CH0 in sequence. I think the sequence has to be consecutive channels and has to end at 0. Other 430s have a DMA controller that can automatically transfer readings into a section of ram and then interrupt when the conversions are all complete. From a brief scan of t
  7. Hi all, Here is a little snippet of code I wrote to test the speed of the ADC10 at a variety of settings, and also to discover just how easy using the hardware UART turned out to be. I used the 2553 as it has a hardware UART. It sets the MCLK to a variety of speeds (I used CCS to read the calibration constants in the flash and coded them into the program). Then counts the number of samples that can be taken in 1 second using all the possible values for the SHT bits. The details are then written out to the UART at 9600 so I can see how speed affects the number of samples per secon
  8. Hi all, As many of you know I am a fan of the UK store Poundland.. Everything in there is
  9. From looking at the source code for the UserExperience GUI there is a section in the comments at the start of slac490\Software\CapTouch_BoosterPack_UserExperience_GUI\source\CapTouch_BoosterPack_UserExperience_GUI.java that seems to describe the codes sent. Looks like it opens a serial connection at 9600 (Im guessing 8 data bits, 1 stop bit, no parity and no handshaking as thats what most other code uses).. Doesn't seem to tally with your but its somewhere to start Hope this helps.. Dan
  10. The cells came from a rechargeable garden solar light.. Inside was a Solar Cell, a Bright White LED,an Inductor, an IC with 4 legs (mutated Transistor in appearance) that takes the 2V or so from the Solar Cell and charges the battery while there is sun and runs the LED by boosting and pulsing the power, and also a half length AA rechargeable battery marked with something like 80mAh (don't have the battery to hand so this is from memory).. Poundland is a highstreet store that is a treasure trove of cheap Chinese tat to disassemble. Their Car Cig lighter socket power adapters/battery ch
  11. As many people here have done I have also converted a PC PSU for use as a bench PSU. I only bothered with the +ve lines so far but the -ve wires inside are left long enough and taped off so I can add them at a later date if I feel the need. For versatility though I also use MCP1702 LDO regulators so I can throw just about any voltage at it (upto 13.2V). They only need 2 external capacitors and they are good to go. These are handy as I can throw on some AA batteries (NiMHs can be used in groups of 3 directly though), 9V PP3s or wall-worts. I know the efficiency of the LDOs isn't great
  12. Prices here are also good. Common Cathode or Anode.. Diffused or clear. Not played with their RGB leds.. but their single colour ones are bright and last well. Don't know about anywhere else.. but shipping to the UK is fast.. My last order was 4 Days. I actually have 200 from their sister site on the way that should arrive tuesday ish... Looking forward to playing with em myself. Dan
  13. The launchpad supports all of the TI chips that use Spy-Bi-Wire (2 wire JTAG).. You will need to connect the GND, RST and TEST wires. If you want the device to be powered via the launchpad then connect Vcc also (there are pins/headers for all these pins in 1 place apart from GND). Remember though not to connect Vcc if the device you are programming is externally powered. More details can be found HERE A list of devices and whether they use SBW can be found on Table 2-1 on page page 17 of of this document. Hope this helps.. Dan
  14. Thanks for that oPossum. It was fun reading the assembler code. I haven't done any assembler in a long time. I used to write in Z80, TMS9900 (on the TI-99/4A) and 8086 (moved to higher languages before the 80286 came out so haven't ever done anything with protected mode etc). Nice to see I can still read and understand it all (although Im not sure I could write from scratch) I assume that the lines starting with dots are compiler directives (.if 1). One question though.. You have a bit commented out that Im curious about. You load the DCO calibration into R4 and have comme
  15. Yeah.. Thats something thats been running round my mind. However although the later 430s could handle higher baudrate, the Launchpad UART is limited to 9600 I believe. I have an FT323R breakout board on order that should arrive here in a week or so. I have only had a brief play-about with the ADC (sampling a Potentiometer and displaying on a Nokia LCD) so have to see if I can hone my sampling routines and get a good lick of speed out of them. If all goes well my daughter should be born before then (today is her due date) so who knows when I will get the time to do it.
  16. Ive just had a look and the PCF8574 is available from TI's generous sample program. Link to the part is Here. It looks as though you can sample upto 5 of them. So as long as you haven't spammed their service and been blacklisted you should be able to get some without any worries. No idea on price of the other pieces though. Hope this helps, good luck Dan
  17. I got my updates through selecting the menu option [Help]->Software Updates->Find and Install Went smooth as silk. Good luck
  18. Hi Karmik, Welcome to the world of non lurking You don't say if you still need the timer or even the MSP after the interrupt has been triggered. If you no longer need the ISR then you can do The following will leave the timer counting but the interrupt will never get triggered. CCTL0 &= ~CCIE; This next line disables the Timer TACTL = MC_0 And if you are totally finished with the MSP you can put it in Low Power Mode 4 (just about all timers are off as is the CPU). The only way out of this is a power down/up, a reset or another interrupt not from a clock (IO i
  19. I like the sound of your project oPossum.. I recently did something along similar lines but MUCH simpler. I had a broken Digi Photo frame I cannibalised and discovered an IR receiver on it. No part number but it worked along the lines of the usual ones (normally Hi, low when carrier freq detected etc).. I did the detective work manually that your project does automatically. I measured the duration of the various pulses (encoded pulses) and sent the info via the USB UART to the PC. My problem was that I could only measure a max of about 20 pulses with the memory of the G2231. The next
  20. Ive seen those and been drooling over them.. Did you get the Kit ($35) or the ready made? ($49). The price of the kit form is more wife friendly but the number of SMD items looks daunting.
  21. The polling method given above would work, and although as you are running connected to USB power management isn't much of an issue. Personally though I would go into low power mode and activate the CPU/Timers etc on the interrupt. You say you want it to start on the button press so there isn't any need for timers or anything so LPM4 is ideal. Basically in your main() after initialising the interrupts etc run __bis_SR_register(LPM4_bits + GIE); This will turn off the CPU and all timers. As the CPU is turned off your program execution will stop there. Then in your interrupt routine r
  22. Page 86/94 of the 2011 MSP430 Day presentation is where you need to be looking. Note the Part Number.. The chronos discount is only for the 915MHz version.. Which is US only. However I have read on the TI site that the frequency can be reprogrammed. Order placed.. Lets see what happens...
  23. There are many pages in all those docs. Got through 86 pages out of 94.. Not sure I can go much further.
  24. One other possibility that hadn't occured to me until I read Using power solutions to extend battery life in MSP430 applications is the difference in current used by the MSPs at different voltages. Im not sure that it applies to the value line range as the slope isn't as steep but I haven't looked at it in depth. I haven't looked into whether these factors are as important with the valuelines.. but looking at Page 17 of the Spec Sheet for the MSP430G2231 the graph of active mode current vs Vcc.. At 1MHz it looks like the current goes from approx 0.2mA at 1.8V upto approx 0.6ma at 3.6
  25. The features are * Integrated MSP430F5529: o 16KB FRAM / 1KB SRAM 1K Ram.. I like the sound of that o 16-Bit RISC Architecture up to 8-MHz 8MHz.. boooo o 2x Timer_A Blocks, 3x Timer_B Block Enough timers for most of the things I can think of o 1x USCI (UART/SPI/IrDA/I2C ) Blocks, 32 I/Os.. yes please 16Ch 10-Bit ADC12_B, 16Ch Comp_D, 32 I/Os * 3 axis accelerometer This has me drooling.. Quadcopter anyone * NTC Thermister * 8 Display LED's * Footprint fo
×
×
  • Create New...