Jump to content


  • Content Count

  • Joined

  • Last visited

Everything posted by villekille

  1. Yes, the display is 3.3/5V works with both. But the issue is that I haven't even yet connected the launchpad to anything, it is the compile process that stops with the error "Error compiling for board MSP-EXP430G2ET w/ MSP430G2553" what could cause this kind of issue? I am able to compile other programs I have tried normally
  2. I have found a very simple LCD display "DfRobot LCD for Arduino with rgb backlight". It seems like a good way to have a display with projects but the problem is that for some reason Energia cannot process the code. No matter how I try, i just get an error message: Error compiling for board MSP-EXP430G2ET w/ MSP430G2553. Is there any way to use such displays with Energia? the code is very simple #include <Wire.h> #include "DFRobot_RGBLCD.h" const int colorR = 255; const int colorG = 0; const int colorB = 0; DFRobot_RGBLCD lcd(16,2); //
  3. I have to ask if someone knows better. If I have MSP430G2553 controller but in CCS I forget to change the settings for controller and there was chosen the G2453, which is the 8KB version of the same controller..does this somehow damage the controller when I program them? They seem to work but I am not sure if this can cause some surprises or failures as it may happen accidentally when using different controllers??
  4. I am making a board featuring an MSP430 microcontroller, and a couple of sensors that are read with the ADC of the MSP430. This data should be sent over bluetooth (BLE) connection to another device. How do I do it? Is there any specific chip which would include bluetooth communications already while being a microcontroller? Or what chip is the easiest to interface with the MSP430? Board space is very limited so compact size is a plus.
  5. I have now been prototyping with my project which has 3 capacitive "buttons". I tried the example code provided by TI, MSP430G2xx3 Demo - Capacitive Touch, Pin Oscillator Method, 4-buttons, and it works fine and I understand quite well how it works. It is anyway quite simple, just to have a LED turn on when a button is pressed. Now I would like to create more complex controls, for example, to avoid accidental turn on, to have MSP430 waiting for one press of one button, then blink a led to indicate it is now actively waiting for start up signal, which would be the user moving his finger ov
  6. ok I figured out. Here is a code to make it happen. "Seconds" is the time we want the timer to wait before switching output on, for one hour this should be 3600. And "secon" is a value in secons, for how long you wish to keep the output on, for 3 minutes this should be 180. #include <msp430.h> unsigned int seconds, secon; int main(void) { seconds = 0; secon = 0; WDTCTL = WDT_ADLY_1000; // WDT 1000ms, ACLK, interval timer SFRIE1 |= WDTIE; // Enable WDT interrupt P1DIR |= 0x01; // Set P1.0 to output directio
  7. I am planning to make a timer switch using MSP430F5529 launchpad and a relay board for microcontrollers like this: http://www.ebay.co.uk/itm/2-4-CHANNEL-5V-RELAY-MODULE-BOARD-for-ARDUINO-ARM-AVR-DSP-RASP-PI-MSP430-19102-/251501033197?pt=UK_BOI_Electrical_Components_Supplies_ET&var=&hash=item3a8ea136ed I wish to have an output ON for 3 minutes every 60 minutes. So there is not really a need to have a 24 hour clock or anything like that, just to get it to switch the output ON for 3 minutes and then turn it off and ON again after another 60 min and continue doing this as long as it
  8. Hello, I want to have my software to be controlled with sound. I planned that I would place a electret microphone capsule and connect this to the msp430 and this microphone is connected to a tube where air is flowing and thus making some turbulence noice and I would like my program to react to this noise and do something while the air is flowing and then return back to normal action when flow stops. In theory it sounds like a simple thing. But i reality, I have to be honest, I have no idea! I mean, this microphone can be connected to a normal IO, to and ADC..or COMPARATOR..where it would be
  9. wow that sounds amazing, this could actually be a cool thing to have I thought that not every single key needs to be connected to their own port? Just detect the vertical and horizontal coordinates and the software takes care of rest?
  10. I need to have a keyboard which has all electronics hidden inside and surface materials may only be glass and metal. That is why a conventional keyboard is not going to work as they are made of plastic and plastic keys. Now my idea, to have the top part of the keyboard glass, and rest of the case metal. There is a printed paper behind the glass to show where are the keys, but the actual sensing works with capacitive touch. The MSP430 uC detects keypresses, and sends them out in the same format as regular keyboard would. Will this work? This is just an idea and I am looking forwar
  11. I have a project, using MSP430G2352 and while it seems to be working nicely, when I measure the currency consumption of my circuit, it is much higher than the one stated in datasheets, as I am having it in deep sleep (mode 3) and the only things which should take current are the regulator (according to datasheet 1.2 uA) and a resistor divider of 590k + 470k, which should consume in this case about 7 uA, and then the MSP..but the current is 70 uA!! I don't know if there are some software things to be taken care of before going to sleep to make the consumption less??? I have disabled the WDT bef
  12. I didn't have anything better here now, no TVS devices or even diodes, but I put simple resistor of 150 ohm to connect charger + and - , to make sure that there is always little bit current flowing from the charger adapter, and this seems to help alot! So I suspect that a proper TVS diode and maybe resistor also placed there, could fix this )
  13. maybe a little bit it helped but still the problem with debugging session
  14. No, I don't have this cap, only the 50K resistor between reset and VCC, I will try this, thanks ))
  15. I have made few different board revisions, tried MSP430G2231, G2352..but problems still persist! Here is the design described: Battery powered 2 cells of 3.2V in series, total voltage about 6.4 volts, with a 3.3V regulator for the MSP VCC.tu MSP430 controls PWM controlled halogen light, and charging of the batteries, there are ADC inputs for total bat voltage, voltage between cells and a potentiometer voltage for pwm control and a push button for turning the devide on. The batteries are charged by external 8V AC/DC adapter, and on board is regulator with enable pin to limit current an
  • Create New...