Many cell phone USB chargers and laptop chargers today can switch from 120V/230V without a issue. Cause its cheaper to make one set of internals for everything then not nowadays. Check the back of your chargers, you might have one waiting and available already. World wide all companies do is change the plastic plate that faces the wall with the appropriate plug configuration during manufacture in their last operation so it costs no where near as much as running dedicated lines producing different adapters for different markets. Or in the case of laptop AC Adapters is provide you with a different 3ft length of cable with the appropriate plug attached to that instead of the expensive part (the AC/DC adapter itself).
My Nokia cell phone charger is rated for a input of 100V-240V @ 50-60Hz and outputs 5V DC at 1.2A.
As the examples closest to my desk that will give you your 5V DC and if your really cheap to drop the $5 5V power from the adapter do what oPossum does, use a LED to drop it down to ~3V.
There was a discussion if a MSP430G2553 could survive being sliced into a 14 DIP package. And well I like a good challange. So I just had to try and see if it would die or not.
The note envelope is a simple exponential decay. After each cycle of the waveform, the level is multiplied by 65408/65536 (0.99805). Higher frequency notes will decay faster then lower frequency.
The music data is in an array in FRAM, it is not MIDI driven like the previous version
There was a discussion if a MSP430G2553 could survive being sliced into a 14 DIP package. And well I like a good challange. So I just had to try and see if it would die or not.
Showing off a bunch of Arduino footprints to try and validate your little project doesn't work when it is still missing the complete picture of the Arduino compatibles.
A good analogy (assuming WINE didn't already exsist) is like you trying to sell 2 desktop PC's with the tower, keyboard, mouse and monitor, except your telling your customers (that would be us) that your Linux box is compatible with your competitors (Microsoft), except "Oh I'm sure you can come up with the API layer to interface your PC to all of your existing Windows software".
At best its a half truth, at worst, its well snake oil.
Never burned a IC but had some UV erasable PROM's at one point. Still never know how spread out the die was, hence trying to cut it and seeing if it will turn out ok.
Ok i did it over the holidays! Filled the solder iron with all new batteries and the soldering is much better. Also applied some a little tin on the pcb as advised. The first attempt was a disaster though I tried too fast and soldered all ten points in one go, and the end result is only one point works and all others probably short circuit. My bad techniques!
Started with another one, and this time be extra careful and tested after each solder.
There was a discussion if a MSP430G2553 could survive being sliced into a 14 DIP package. And well I like a good challange. So I just had to try and see if it would die or not.
Also these points are needed to truely make it work:
This is important, because the shields come as finished PCB's, and if the lines do not match, you cannot run the shield without modifications, then why use a shield in the first place?
If it doesn't level shift by default, there will be a lot of dead boards floating around. Even the Arduino Pro's in 3.3V have been killed over time due to this over sight.
As Rick said, it needs a Arduino API (Wiring library) to make it work on the Arduino SketchPad otherwise all of the functions built for Arduino will not be compatible with your board. So the fact there will be shields available doesn't change much, since there are many break out boards of the same items already available that can already be used with the MSP430, and your at the same starting point due to lack of software libraries to "borrow" shield capability or not.
It really depends on your demographic, but Arduino and similar development tools are not targeting programmers, electrical engineers or designers, they target the hobby market that wants to make something work and "now".
For example, currently in this city, the post-secondary schools using Arduino, are in mainly programs that are not related to computer science, the largest is a Arts school that uses them in a digital arts course to make LED displays, second is architecture students at a local university, and the third is a mechanical design program at a college. The Electrical and Computer programming/science programs are all still using PIC or 8051 microcontrollers from the looks of things.
I have seen this done other ways, but I didn't want to deal with 7 pins, or 4 bits, etc., so I did it my way.
You send 8 bits to shift register, then set data out to whatever RS should be, and finally pulse E, that simple.
I will add my code later, once I clean it up.
BTW, if you are interested, the display is LMB162 and was purchased from ebay for $7.99 with free S/H to US of A (it took a week to get to NC.)
It requires 3.3V Vcc with 5V BL, that's why I like it (well, I don't like the fact that I need separate power for BL.)
My next step is to reduce number of required pins to 2 by adding missing pulse detector (555 I think will do well here.)
I was going to do write a little program to convert decimal/hex/bin to dec/hex/bin, but then I realized my keypad doesn't have E or F.
I guess I could allow just dec and bin input and hex as output only, but for now, here's a code to input numbers and A-D. * clears display, # switches between rows.
This is a method to measure the DCO frequency by timing serial data.
The ASCII character 'x' has two falling edges that are 8 bit times apart. There are also two 4 bit times from falling to rising and rising to falling. At 9600 bps the time between edges will be 833.33 us. Counting the number of DCO clock ticks that occur between the falling clock edges will allow the DCO frequency to be calculated.
The stored DCO calibrations are shown and then frequency measurement begins. Each time the 'x' character is sent a line of info will be displayed.
RSEL - Range SELect - the lower four bits of BCSCTL1
DCO - All eight bits of DCOCTL
T - The count of DCO clock pulses
F - Calculated DCO frequency in kHz
The accuracy of the measurement is dependent on the accuracy of the serial data. Using the serial port of the Launchpad gave readings about 0.2% low. The SMCLK is output on P1.4 so a frequency counter can be used to determine how well this works.
Timer A capture is used to accurately count the DCO clock ticks between falling edges.
Code excerpt
for(; {
// --- Measure duration of 8 bits
TACCTL1 &= ~CCIFG; // Clear capture flag
// Wait for falling edge, check for S2 press
while(!(TACCTL1 & CCIFG)) if(!(P1IN & BIT3)) { s2(); continue; }
start = TACCR1; // Save captured start time
//
TACCTL1 &= ~CCIFG; // Clear capture flag
while(!(TACCTL1 & CCIFG)); // Wait for falling edge
stop = TACCR1; // Save captured stop time
duration = stop - start; // Calculate duration of 8 bits
// Calculate frequency
freq = (unsigned)(((unsigned long)duration * 39322) >> 15);
// Setup serial using measured bit duration
serial_setup(BIT1, BIT2, duration >> 3);
// Show info
printf("RSEL: %u DCO: %u T: %u F: %u kHz\r\n", (unsigned)(BCSCTL1 & 0x0F), (unsigned)DCOCTL, duration, freq);
// Increment DCO
++DCOCTL;
}
dco_serial.zip
TCA5405 Low Voltage 5-Bit Self-Timed, Single-Wire Output Expander (pdf)
TCA7408 Low-voltage 8-bit I2C I/O Expander with Interrupt Output Reset I/O Direction Registers (pdf)
Note: Only available as uQFN and BGA package
TPL0401A-10 128 Taps Digital Potentiometer with I2C Interface (pdf)
TLC59108 8-Bit Fast Mode Plus (FM+) I2C Bus Constant-Current LED Sink Driver (pdf)
From comparing the datasheets and register addresses, the CC110L and CC1101 are pretty similar. You should be able to run the SimpliciTI wireless stack with no issues. It compiles fine in CCS.
There is a Launchpad/MSP430G2553 BSP for SimpliciTI at http://www.43oh.com/forum/viewtopic.php?f=8&t=1953. If you follow that tutorial, just change the predefined symbol from MRFI_CC2500 to MRFI_CC1101.
For a very basic hardware init code, there is TI's CC1100-2500 HAL that would only need minor changes to run on the Launchpad. It runs great on the Fraunchpad, Ez430-rf2500t and EXP430F5529 boards.
My AIR Booster packs should be arriving today. I'll post a success or fail for CCS this evening. It would be sweet to have the Chronos communicating with the Launchpad.