Jump to content
43oh

PTB

Members
  • Content Count

    113
  • Joined

  • Last visited

  • Days Won

    5

Reputation Activity

  1. Like
    PTB got a reaction from spirilis in [ ENDED ] 43oh-Stellarisiti Nov 2013- Jan 2014 Project Of The Month   
    Very cool. Now I'm hungry.
  2. Like
    PTB reacted to spirilis in [ ENDED ] 43oh-Stellarisiti Nov 2013- Jan 2014 Project Of The Month   
    I would like to enter my Kitchen Roast Thermocouple Monitor project!
     
    This was a low-budget gift for my wife I put together in the last 3 days before christmas.  I chose the Stellaris LaunchPad simply because I had no firm plans for it, and I have two Tiva-C LaunchPads that succeed it.  The application itself would be much better fit for an MSP430 (and could be implemented with battery power too) but alas, it was a good test of my last-minute resourcefulness
     
    First, pics!
     
    We start with the TI Stellaris LaunchPad.

     
    Then home-etch a PCB using the laser toner-transfer process and ferric chloride, with some MG Liquid Tin for a nice tin protective coating:


     
    This board features the MAX31855 Thermocouple Amplifier chipset along with a Nordic nRF24L01+ PA+LNA board with external antenna.  The latter is used to report temperatures to my Linux server, which posts them on a webpage every 30 seconds so my wife can view the state of her roast remotely with her iPad.
     
    Then add @@bluehash 's first attempt at the Nokia 1202 BoosterPack, unfortunately the LCD on this board had its white backing removed (noob mistake I have not repeated since) so the LCD has a weird background effect to it-

      Stack them all together:

     
    I am not good with woodworking, but I made an exception here and worked hard with a circular saw and dremel out in my garage.  Used boiled linseed oil as a simple coating on the outside of the enclosure, milled out the holes with a drill & dremel...

     
    It could definitely use some strain relief for the cord, I'll probably wrap it around the bottom female headers of the Stellaris LaunchPad at some point:

     
    Anyway, my wife used it to make fudge and to make a rib roast for Christmas and it turned out perfectly!  This unit is expandable, meaning I can pop the top and replace/re-etch the boosterpacks as I see fit.  If she asks, I may implement more than one MAX31855 and possibly home-etch a Nokia 1202 boosterpack with pushbuttons with some implement to allow her to press them from the top wooden cover.
     
    Board files for the custom MAX31855+nRF24L01+ PCB: Thermocouple_BPak40_draft1.zip
    Nokia 1202 boosterpack from 43oh: http://forum.43oh.com/topic/3724-43oh-nokia-1202-lcd-display-boosterpack/
     
    Code:
     
    Used Energia 11 for this one.  First off, 2 libraries:
    Nokia1202 - https://github.com/spirilis/Nokia1202
    Enrf24 - https://github.com/spirilis/Enrf24
     
    Nokia1202 requires 9-bit SPI, while I have an alternative Energia SPI lib for MSP430, I didn't have one for Stellaris/Tiva-C.
    It required one update.  Updated energia-0101E0011/hardware/lm4f/libraries/SPI/SPI.cpp and SPI.h files: SPI_lm4f_9bit.zip
     
    Energia sketch:
    #include <ste2007.h> #include <Nokia1202.h> #include <Enrf24.h> #include <nRF24L01.h> #include <SPI.h> struct MAX31855_DATUM { uint32_t rawData; int16_t tcDecimalC; int16_t tcC; int16_t tcF; int16_t ambDecimalC; int16_t ambC; int16_t ambF; uint8_t faultBits; }; void max31855_read(struct MAX31855_DATUM *); #define TC_CS PA_3 #define nRF24_CE PC_7 #define nRF24_CSN PE_0 #define nRF24_IRQ PD_6 #define LCD_BL PA_4 #define LCD_CS PA_5 #define LCD_RST PA_6 #define RADIO_CHANNEL 10 #define RADIO_ID 20 // 30-seconds between polls #define WAIT_TIME 30 const uint8_t radio_basestation[] = {0xDE, 0xAD, 0xBE, 0xEF, 0x01}; Nokia1202 lcd(LCD_CS); Enrf24 radio(nRF24_CE, nRF24_CSN, nRF24_IRQ); void setup() { // put your setup code here, to run once: //Serial.setBufferSize(512, 64); Serial.begin(115200); Serial.println("Init TC CS, SPI-"); pinMode(TC_CS, OUTPUT); digitalWrite(TC_CS, HIGH); SPI.begin(); SPI.setDataMode(SPI_MODE0); SPI.setBitOrder(1); radio.begin(250000, RADIO_CHANNEL); radio.setCRC(true, true); radio.setTXaddress(radio_basestation); radio.autoAck(false); // Manually reset LCD Serial.println("Resetting LCD-"); pinMode(LCD_BL, OUTPUT); digitalWrite(LCD_BL, HIGH); pinMode(LCD_RST, OUTPUT); digitalWrite(LCD_RST, LOW); delay(250); digitalWrite(LCD_RST, HIGH); Serial.println("Init LCD-"); lcd.begin(); // Cursor enabled, contrast at medium, tabstop=4 lcd.clear(); Serial.println("Writing splash screen-"); lcd.print("Kitchen Roast!\nTemp Reporter\n\n"); lcd.print("From Eric with\nLove \n\n"); lcd.print("Web address:\nsisko.lan/roast"); delay(2500); Serial.println("LCD splash screen delay complete-"); } void loop() { uint8_t nrfmsg[32], cursor = 0; struct MAX31855_DATUM tc; uint32_t lastupdate; Serial.println("max31855_read()-"); max31855_read(&tc); // Update display Serial.println("LCD update-"); lcd.clear(); lcd.println("Kitchen Roast!"); lcd.setCursor(0,2); lcd.print("Temp: "); lcd.print(tc.tcF); lcd.print('\x7f'); lcd.println("F"); lcd.print(" ("); lcd.print(tc.tcC); lcd.print('\x7f'); lcd.println("C)"); if (tc.faultBits) { lcd.setCursor(0, 7); if (tc.faultBits & 0x01) lcd.print("DISCON "); if (tc.faultBits & 0x06) lcd.print("SHORT "); } lcd.setCursor(0, 6); lcd.print("sisko.lan/roast"); Serial.println("nRF24 radio transmit-"); nrfmsg[0] = 0x10; // PROTO = THERMOCOUPLE UPDATE nrfmsg[1] = 0x06; nrfmsg[2] = RADIO_ID; nrfmsg[3] = tc.tcC & 0x00FF; nrfmsg[4] = tc.tcC >> 8; nrfmsg[5] = tc.ambC & 0x00FF; nrfmsg[6] = tc.ambC >> 8; nrfmsg[7] = tc.faultBits; radio.write(nrfmsg, 8); radio.flush(); Serial.print("Waiting "); Serial.print(WAIT_TIME); Serial.println(" seconds before next update-"); lastupdate = millis(); while ( (millis() - lastupdate) < 1000*WAIT_TIME ) { delay(1000); lcd.setCursor(15, cursor); cursor ^= 1; } } void max31855_read(struct MAX31855_DATUM *datum) { uint32_t tcread; int16_t tmp; digitalWrite(TC_CS, LOW); tcread = SPI.transfer(0) << 24; tcread |= SPI.transfer(0) << 16; tcread |= SPI.transfer(0) << 8; tcread |= SPI.transfer(0); digitalWrite(TC_CS, HIGH); datum->rawData = tcread; // Thermocouple temp, degrees C and F tmp = (tcread & 0xFFFC0000) >> 18; if (tmp & 0x2000) tmp |= 0xC000; // sign-extend // tmp = TC deg C decimal datum->tcDecimalC = tmp; datum->tcC = tmp / 4; datum->tcF = ((tmp * 9) / 5 + (32*4)) / 4; // Ambient temp, degrees C and F tmp = (tcread & 0x0000FFF0) >> 4; if (tmp & 0x0800) tmp |= 0xF000; // sign-extend // tmp = Amb deg C decimal datum->ambDecimalC = tmp; datum->ambC = tmp / 16; datum->ambF = ((tmp * 9) / 5 + (32*16)) / 16; // Fault information datum->faultBits = tcread & 0x00000007; }
  3. Like
    PTB reacted to bluehash in The Booster BoosterPack - LiPo Battery Pack + USB Charger   
    Back at this again. I've incorporated the following for a new version of the BoosterPack. A cursory check would be appreciated.
     
    Support for 20 and 40 pin XL Boosterpacks Solder pads changed to through hole pads for external battery. Change vertical conector to JST right angle connector. This allows stacking as well as the right pinout for the battery Add support for CR2450 rechargable coin cell. Monitor battery voltage via AIN0( P1.0) Solder jumper for AIN0 Specs are same as before:  3.3V, 120mA output. 
    New design:
     

    Before:

  4. Like
    PTB reacted to amstan in [POTM] RGB Binary Clock   
    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.








  5. Like
    PTB reacted to spirilis in Element14 Fuel Tank BoosterPack   
    FYI- there's a discussion over @ 43oh.com but I didn't see one here, so for anyone who just watches this forum- Element14 released a LiPo-based boosterpack compatible with 40-pin XL LaunchPads for both charging and using a LiPo battery.  It incorporates TI TPS63001/63002 boost converters for providing 3.3V and 5V rails to the intended boosterpack pins, up to 1.2A output current capability from those chips (if the source allows).
     
    It has some issues, mainly in the choice of boosterpack pins for the I2C interface... which I'm making an "adapter" bpak so I can change this.
     
    My review on my blog: http://hwtourist.blogspot.com/2013/12/element14s-fuel-tank-boosterpack.html
     
    43oh thread: http://forum.43oh.com/topic/4736-fuel-tank-lipo-boosterpack/
  6. Like
    PTB reacted to bluehash in Interfacing An SD-Card To The Launchpad   
    Connecting an SD-Card to your Launchpad opens up your options to use the MSP430 platform as a cheap data logger, from temperature to acceleration. Although you can log to an SD-Card in a raw format, it is much more useful if you could store data onto it as files. This will allow you to disconnect the card from your Launchpad(using a BoosterPack) and view the files on it on a PC.

     

    Tutorial is up. Enjoy!

    http://43oh.com/2013/12/interfacing-the-launchpad-to-an-sd-card-a-walkthrough/' title="External link">Interfacing An SD-Card To The Launchpad
  7. Like
    PTB reacted to fughilli in 3 new libraries: Arduino "Servo" library clone, ultrasonic ranger library, data smoothing library   
    Hello all!
     
    I've got three new libraries to share with you!
     
    They are:
     
    An Arduino "Servo" library clone (StellarPad):
     
    Duplicates all of the functionality of the Arduino "Servo" library. Fully compatible with all existing sketches that use the Arduino "Servo" library. Based upon the Eigendreams servo library posted here a while back. Supports 8 servos as-is. Can be modified to do a heck of a lot more, but that is up to you to incorporate (at least for now -- update to come soon).
     
    An ultrasonic rangefinder library (StellarPad, easily modifiable to work with other Energia devices):
     
    Designed for the HC-SR04 rangefinder, about $5 on e-bay. Should also work with some other rangefinders, but I have not tested any others. That is, again, up to you (for now). Supports as many of them as you can fit on your I/O.
     
    A data smoother library (All Energia/Arduino supported devices):
     
    Inspired by the Arduino "smoothing" example by Tom Igoe. Allows the creation of "Smoother" objects that calculate running averages of raw data. "Smoother" is a template class and can be instantiated to work with int's, float's, long's, etc.
     
    All three libraries have their own examples, and the following is an example that incorporates the functionality of all of them (No comments, sorry! This one is pretty self-explanatory. See the library-specific examples for more details):
    #include <SonicRanger.h> #include <Smoother.h> #include <Servo.h> SonicRanger sr; Servo servo; Smoother<int, 10> ssmoother; boolean smoothing = false; void setup () { sr.attach(PE_1, PE_2); servo.attach(PF_1); pinMode(BLUE_LED, OUTPUT); digitalWrite(BLUE_LED, LOW); pinMode(PUSH2, INPUT); attachInterrupt(PUSH2, buttonISR, FALLING); } void loop () { float distance = sr.getDistance(INCHES); int processedDistance; if(distance > 0) { processedDistance = (int)(distance * 1000); processedDistance = constrain(processedDistance, 2000, 12000); if(smoothing) { ssmoother.pushValue(processedDistance); processedDistance = ssmoother.pullValue(); } servo.write(map(processedDistance, 2000, 12000, 0, 180)); } delay(50); } void buttonISR () { smoothing = !smoothing; digitalWrite(BLUE_LED, smoothing); } Video demonstration of the above example sketch:
     
    http://youtu.be/IViqIa4Rl9Y
     
    Enjoy!
     
    -K/Fughilli
    SonicRanger.zip
    Smoother.zip
    Servo.zip
  8. Like
    PTB reacted to energia in New Energia release 0101E0011 - 12/17/2013   
    I am happy to announce that release 0101E0011 just went up on energia.nu. 
     
    I want to thank everybody for their support and contributions. Energia would not have been possible without such an awesome community!
     
    The highlights are:
    Lots of bug fixes
    Major update to the CC3000 WiFi BoosterPackLibrary for the MSP430F5529 and TivaC/Stellaris LaunchPad
    Updated ARM tools to gcc-arm-embedded
    Initial C2000 support (thanks to Trey German for all his hard work on getting Energia ported to the C2000)
    CCSv6 Energia Sketch import
    Support for MSP-EXP430G2 LaunchPad
    Support for MSP-EXP430F5529LP LaunchPad
    Support for EK-TM4C123GXL (TivaC) LaunchPad
    Support for EK-LM4F120XL (Stellaris) LaunchPad
    Runs on Windows (XP/7/8), Mac OS X and Linux (32/64 bit)
    Happy Making!
     
    Robert
  9. Like
    PTB reacted to igendel in MSP430 Morse Trainer 1.0   
    Hello!

    Lately I have been teaching myself the ancient art of Morse Code. For transmission trainging I got a proper Straight Key from eBay, and wrote a sketch for an Arduino Leonardo that converts the "dots" and "dashes" on the key to keyboard input for the PC. It worked, but then I read about the current 43Oh Contest of the Month and decided to take this to the next level...

    So here it is - the MSP430 Morse Trainer 1.0

    This standalone device has two inputs: the Morse straight key (which is essentially a momentary, "Normally-Open" switch) and a microswitch. The microswitch accepts, in the spirit of Morse code, short presses (to reset current mode) and long ones (to switch mode). There are two modes of operation: "Free", which allows the user to key in different characters freely, and "Test" which generates random test strings that the user is required to key in. The test mode keeps score for the current string, and also displays it using a simple "animation" at the end of each test.
     
    Here's an image of the free mode. I had to dim the display's backlight using a resistor because it blinded the camera. Believe me, it looks a lot better in real life.

    Edit: Yes, there's a typo in there... or is it a keyo? :-)
     
    All text is displayed on a 16x2 LCD; I got one that said "3V" in the eBay description, but maybe standard "5V" ones would work just as well. Two charlieplexed LEDs indicate the current mode on the panel, and there's a "continuous" piezo buzzer that echoes the key because you have to have beeps in Morse code :-)
     
    Here's the test mode in mid-test. Notice the V's and the X's that mark right and wrong answers.

     
    And when the test is done, the score is shown both in the text above and in bar animation that ends like this:

     
    The entire thing is run by a single, stand-alone MSP430G2452. I programmed it with Energia and an MSP430 Launchpad. I chose it over the MSP430G2553 because I wanted to keep that one for other projects, and for the challenge of squeezing the code into the 2452's smaller space. Now, the code is far from optimal - I'm still not familiar with the inner workings of these chips - but I'm kind of proud of the economical Morse-to-ASCII conversion. The code uses the LCD library that comes with Energia.
     
    Here's my code:
    MorseTrainer.ino
    Can someone please tell me how to paste the code in a nice box with vertical scroll and syntax highlight? The "code" tag isn't giving me that.
     
     
    A cardboard structure (originally, the lid of a webcam packaging) houses the components. Most of the stuff is held in place using hot glue, and there are some LED holders too. I printed a "panel" on paper and taped it to the cardboard; it includes the Morse code reference. Here's the MS-Word file for printing the panel:
     
    MorseTable.doc
     
    That's how it all looks inside. Wires are connected with headers for modularity and due to laziness ;-)

    Edit: The red wire for the piezo buzzer (bottom right) isn't connected to the right place - I disconnected it temporarily and forgot to put it back for the picture. It should go to any 3.3V connection.
    Edit II: Of course, the power source isn't in the picture. There's a 3.3V Voltage Regulator there that accepts ~3.5-6V, so the power lines from a USB are optimal. It can also take 3-4 AA/AAA batteries, a LiPo cell etc.
     
     
    And the schematics:

     
    I will post this project on the Contest of the Month thread as soon as I make a proper video. Comments and questions are obviously welcome!
  10. Like
    PTB reacted to JWoodrell in [POTM] Audible Alarm player.   
    they accepted the quote, and now are having me build 104 of these (4 quickly to test them on the line) and the other 100 soon after.
     
    have the first version of the PCB in. it is close enough so I can use it for these initial 4.
     
    partially built

     
    pile of bits layed out on the floor, tomorrow these will be assembled into 4 PCBs

     
    here is the bare board before separating the two pieces

     
    should have the boxes and new speakers in on monday i hope
  11. Like
    PTB reacted to gonya707 in AD9850 Library (DDS function generator)   
    Hi there. First of all I'm not sure if I should post this here or inside another section fo the forum, apologies if I made a mistake.
     

     
    Probably some of you already know this IC, the AD9850. Its a sine and square wave generator with output frequencies between 0Hz and...more than 60MHz! Due to its very low price (around $5 on eBay) and usefulness, it is definitively a module everybody should have if you can't afford a function generator. This library comes with several functions you might find useful:
    /* Starts AD9850 operation changing its value to "all zeros". * Refreshes previous status from the microcontroller.*/ void AD9850_Init(void); /* Reset operation for the AD9850. This function must be called before using AD9850_Osc * first time in the execution (check page 12 on datasheet) */ void AD9850_Reset(void); /* Sets the DDS sine and square oscillator to the detailed "frequency" and "phase" variables. * "frequency" will be turned into a 32 bit word, so the frequency will have a resolution of 0.0291 Hz * with a 125 MHz reference clock. "phase" will be a 5 bit word instead so the resolution is * 11.5 degrees, or pi/32 radians. */ void AD9850_Osc(double frequency, double phase); /* Enables power down mode. This method is used for a quick "all outputs" disable. * The effect is the same as AD9850_Osc(0,0), but it takes less clock cycles */ void AD9850_PowerDown(void); /* Performs a frequency sweep increased in "inc"Hz steps. The frequency order is from low to high * and resets to the lower frequency when maximum frequency is reached. */ void AD9850_Sweep_Up(double minFreq, double maxFreq, double inc, int cyclesPerDelay); /* Performs a frequency sweep decreased in "inc"Hz steps. The frequency order is from high to low * and resets to the higher frequency when minimum frequency is reached. */ void AD9850_Sweep_Down(double minFreq, double maxFreq, double inc, int cyclesPerDelay); /* Performs a frequency sweep increased in "inc"Hz steps. The frequency order is from low to high, * but it changes to from high to low when the maximum frequency is reached and so on. */ void AD9850_Sweep_Loop(double minFreq, double maxFreq, double inc, int cyclesPerDelay); Inside your main code you only need to include the library and init the module:
    //AD9850 config SysCtlPeripheralEnable(PORT_ENABLE); GPIOPinTypeGPIOOutput(PORT, W_CLK|FQ_UD|DATA|RESET); AD9850_Init(); AD9850_Reset(); //frequency = 10000Hz, phase = 0 rad AD9850_Osc(10000, 0); And that's it. You can download the codes attached to this post. I hope you find them useful.
    STELLARIS_AD9850.c
    STELLARIS_AD9850.h
  12. Like
    PTB reacted to igor in Need Input on POTM - Extend entries from Stellarisiti?   
    Sounds reasonable.  And/Or extend the time by a month or so.  (Holliday season already pretty hectic, be nicer to have it ending in Jan or Feb.)
  13. Like
    PTB reacted to petertux in Overengineered 12V lead battery recharger   
    Hi,
     
    I did a small project that would allow 8 12V batteries taken from an older UPS to be charged from a bunch of photovoltaic panels.
     
    at first I used a charge controller I got from the electronic store, but I was very unhappy by the fact that the controller would discharge the batteries in a few months. it had between 4 and 8 mA of quiescent current, which was much too high given the fact that my pannels almost never get direct sunlight.
     
    so in it comes a msp430 that controls the charging and every once in a while logs to a uSD card the battery and PV voltage, charge current, internal temperature, heatsink temperature and the timestamp of course. all that and it ended up having an Iq of 170uA. that would go down to ~130uA if I drop the status LEDs.
     
    maximum charging current is given by the PB137, so it is arround 2A. I guess two of these could be used in parallel for 4A, but I never get this much sunlight.
     
    it uses a 3V coin cell battery (only for backup when the batteries are unplugged), 8x3w 5V panels from seeedstudio and 8 12V lead batteries all put in parallel.
     
    it has a bunch of optional status LEDs that would either show voltage presence in the input/output/charging circuit, one on the SPI clock and 4 controllable by the uC.
    as connectors go there are 5 IO pins - one of them is re-mappable, i2c connector for an optional display, TI spy-bi-wire for programming/debugging, 1 UART for debugging or a serial display, optional USB connection for programming or status gathering.
     
    pictures here: https://plus.google.com/photos/106706955427383613204/albums/5947961264604104321?banner=pwa
     
    all sourcecode and schematics are here: https://github.com/rodan/solar-charger/
     
     


  14. Like
    PTB reacted to bluehash in Nov-Dec 2013 Project of the Month Contest Feeler.   
    Hello All,
    Hopefully some of you are now comfortable with the Stellaris/Tiva Kits. Would this be a good time to have a contest like we do on 43oh?
  15. Like
    PTB reacted to RobG in 2.2" Color LCD Booster Pack with Touch   
    After weeks of delays, they are finally here!
     
    Available on Tindie
  16. Like
    PTB got a reaction from bluehash in Giveaway Winners: Texas Instruments Development SchmartModule   
    Just got here today. Nice surprise when i got home from work.
     
    Hmmmmm..... What mcu to get.
     
    Thanks again bluehash.
  17. Like
    PTB reacted to Fred in Adjustable MSP430F5529 Launchpad enclosure   
    I'm working on a project that should end up with a nice etched F5529 board, but for now it's going to just have a Launchpad stuck in there, I needed a quick enclosure for it so knocked up an adjustable one in OpenSCAD. I know a few people have (or are thinking about) a 3D printer so thought I'd share. It allows you to adjust the space on any side of the LaunchPad for anything else you want to include. It could do with some improvements - e.g the little locating pins are easy to snap off. Feel free to amend if the SCAD file if the available adjustments don't suit you.
     

     
    Here's a photo of it, with the partly-finished project in the background and the printer busy printing the lid...

  18. Like
    PTB reacted to Lacto in Is it just me or tonight TI doubled LaunchPad price?   
    It is not really "better". The chip itself ist better but with the MSP-EXP430F5529LP you get the FET for all SBW-MSPs. You can actually build your own device (with or without boosters) and program more than just the chip on the board.
  19. Like
    PTB reacted to piglet in My first ever electronics or micrcontroller project: Radio Word clock   
    I'm mostly a lurker on this forum, and watch in somewhat bemused awe at the things you folks manage to create. I'm right at the bottom of a massive learning curve with very little time to climb up it.
     
    Still, I'm very happy with my first ever electronics or microcontroller project. 
     
    It's a word clock inspired by an image of a commercial product I bumped into on the internet.
     
    Parts list:
     
    1) A cheap frame from our local hobby shop
     
    2) An http://www.pvelectronics.co.uk/index.php?main_page=product_info&products_id=2'>






  20. Like
    PTB reacted to dellwoodbu in Using pins PF1, PF2 and PF3   
    The transistors have 10 k built in series and pull down resistance.  If you are using PF1 - PF3 as an output no action is required.
     
     If using as an PF1 - PF3 as an input you need to evaluate if your drive signal can overcome the pull down resistance created by the transistor built in resistance.
  21. Like
    PTB reacted to chicken in Using pins PF1, PF2 and PF3   
    PF1, PF2 and PF3 can already be used as is if you don't care about the flickering LED.
     
    From the schematic in the Stellaris (and Tiva C) LaunchPad user manual (http://www.ti.com/lit/ug/spmu289b/spmu289b.pdf) the 0-Ohm resistors are R2, R11 and R12.

     
    R3 through R5 on the right of the transistors are the current limiting resistors, so the transistors would still be driven by the MCU if you just remove these.
     
  22. Like
    PTB reacted to Rhys in Using pins PF1, PF2 and PF3   
    According to the schematic, in order to access PF0-PF4, you would need to remove R1, R2, R11, R12, and R13.
     
    PF0 - R1
    PF1 - R2
    PF2 - R11
    PF3 - R12
    PF4 - R13
     
    That would disconnect those pins from the onboard LEDs and buttons.
     
    R9 and R10 separate PD0/1 from PB6/7 as you indicated.
  23. Like
    PTB reacted to Rei Vilo in Call for Design - SD-Card + EEPROM + SRAM + 40-pin connector TFT BoosterPack for LaunchPad   
    Actually, I haven't added the driver for a 16-bit parallel screen yet.
     
    I'm working on it!
     
    Please find the comparative pins map for the F5529 and Stellaris LaunchPads.
     

  24. Like
    PTB reacted to BravoV in FREE TI Launchpad ... hurry !   
    UPDATE : It looks like the coupon code is no longer valid.
    -- ADMIN EDIT--

    Below is a statement from TI.
     
     
     --ADMIN EDIT
    Ok, not actually free, but I think this deal should be good enough for everybody, just see for yourself my invoice below, not bad eh ? 
     
    A 25$ coupon code from Texas Instruments.

    Coupon code: National-1yr
    Its valid until 30-September.
    https://estore.ti.com
     
    Ordered two EK-TM4C123GXL launchpads for just $0.98 and with free shipping ! 
     

  25. Like
    PTB reacted to bluehash in Giveaway Winners: Texas Instruments Development SchmartModule   
    The following are the winners of the raffle Texas Instruments Development SchmartModule:
     

    1. Place: Texas Instruments Development SchmartModule @PTB

     
    Congratulations!
×
×
  • Create New...