Search the Community
Showing results for tags 'msp430g2553'.
-
I couldn't find an example of someone using the Raspberry Pi as a receiving hub for sensor nodes that use the spirilis nRF24L01+ library and a MSP430G2553. I thought I would give it a shot since I think this would be beneficial to the community. I found a C library for the Raspberry Pi and nRF24L01+: https://github.com/stanleyseow/RF24. Class reference is here: http://maniacbug.github.io/RF24/classRF24.html There is also a newer python library but I haven
- 7 replies
-
- raspberry pi
- msp430
-
(and 2 more)
Tagged with:
-
Hi all, I would like to interface an I2C ADC (PCF8591) for one of my application. I have tried a lot with the sample programs. But still my launchpad is not even generating the clock pulse. Can anybody help me.
- 2 replies
-
- MSP430
- MSP430G2553
-
(and 3 more)
Tagged with:
-
i am using MSP430G2 launchpad with MSP430G2553 controller.but when i program it and make a pin high i am getting 1.4-1.6 v only please help.
-
Hi I'm wondering if there's a way to create multiple threads on an msp430g2553 or msp430g2452 using Energia. My project is to try to get software PWM, so I need to create a loop to turn the pin on and off at the correct times, but in a different thread. Thanks in advance!
- 3 replies
-
- threads
- msp430g2553
-
(and 1 more)
Tagged with:
-
Hello, I`m trying to use PCF8574N with the MSP430G2553, but with no luck so far. I tried several examples but nothing seems to work. Basically, what i`m trying to do is light up a selected number of LEDs using the PCF8574N, but no matter the value I use in the UCB0TXBUF, P0 to P7 are always on HIGH, please see the code below: #include <msp430.h> int main(void) { WDTCTL = WDTPW + WDTHOLD; // Stop Watchdog Timer P1SEL |= BIT6 + BIT7; // Assign I2C pins to USCI_B0 P1SEL2|= BIT6 + BIT7; // Assign I2C pins to US
-
Hello, I try to write my own library for the MSP430G2553 and and the 2.2" ILI9341 display. I know RobG has made one but this project is basically for learning about LCDs and SPI. I took the code from http://www.elecfreaks.com/wiki/index.php?title=2.2S%22_TFT_LCD:_TFT01-2.2S and modified it for the MSP430G2553. It worked fine but only as solftware SPI. Now I want to use the hardware SPI. Here ist my code: #include <msp430g2553.h> #define LCD_MISO BIT1 #define LCD_CLK BIT4 #define LCD_MOSI BIT2 #define LCD_DC BIT0 #define LCD_CS BIT3 #define LCD_REST BIT5 void LCD_Writ_Bus
- 4 replies
-
- MSP430G2553
- LCD
-
(and 1 more)
Tagged with:
-
Hello, I try to comunicate with ADXRS450 via SPI. But receive data is always is same. All detail and code: #include "msp430.h" #include <signal.h> #define CS_DIS {P1DIR|=BIT3;P1OUT|=BIT3;} #define CS_ENA {P1DIR|=BIT3;P1OUT&=~BIT3;} void SPI_Write(unsigned char Data_for_write); void SPI_Disable(void); void SPI_Init(void); int SPI_Read(void); void ADXRS450_Init(void); unsigned char Byte; long Measure_byte_first; long Measure_byte_second; long Measure_byte_third; long Measure_byte_four; long Measurement; int main() { WDTCTL = WDTPW + WDTHOLD; CS_DIS; SPI_Init(); __dela
-
hi everyone, i'm sampling from single channel ADC and send the data over UART. now i need to two channel simultaneously and send the data. for one channel my code is below: ----------------------------------------------- ADC10CTL1 = INCH_5 + ADC10DIV_3 ; // Channel 5, ADC10CLK/4 ADC10CTL0 = SREF_0 + ADC10SHT_3 + ADC10ON + ADC10IE; //Vcc & Vss as reference ADC10AE0 |= BIT5; ADC10CTL0 |= ENC + ADC10SC; // Sampling and conversion start, single measure! while(1) { if(!((P1IN & BUTTON)==BUTTON)) { ADC10CTL0 |= ENC +
- 4 replies
-
- adc
- dual channel
-
(and 4 more)
Tagged with:
-
here in florida, just saying hi!!! :wave: more development on the way.
-
Hi, i'm trying to make IR controlled relay board with programmable button to change IR remote codes, The IRremote library returning decoded infrared values in unsigned long type, when i try to write raw code in flash memory (energia mspflash.h library ) i get result similar to :
- 3 replies
-
- msp430g2553
- irremote
-
(and 1 more)
Tagged with:
-
i did some work on SSD1289 (3.2" 320x240) Im using two 74xx595 IC for data lines (to save pins). here's the repo: https://github.com/kuldeepdhaka/bitbang-ssd1289-using-msp430g2553 schematics : .../doc/schematics TODO: driver for touchscreen not working. PENIRQ is working perfect. Compiler: msp430-gcc note for admin: i wasnt able to upload svg file (tried twice, "This upload failed") , is their any problem with svg's.
-
Hi All, I am trying to use the MSP430G2553 on a TI -Launchpad to Communicate with a bunch of sensors, My problem is that i need to use I2C for one (eeprom) and SPI for another (display LCD). But according to the energia pin mapping here, the I2C pins and the SPI are on the same pins (p1_7 (UCB0SOMI) and p1_6 (UCB0SIMO)). How do i shift the MISO and MOSI pins to p1_1 and p1_2 , i know its supported by the G2553 hardware since the pins correspond to UCA0SOMI UCA0SIMO. Can someone please point me to the changes i need to make in the Energia core for this to happen? Please help... Than
-
Dear all, Please let me know which is analog refernce pin MSP430g2553. How to configured iN Energia IDE.
-
QUESTION: Any pointers as to why the Serial Port is grayed out on 64-bit Centos 6? In the next post, is my detailed installation log (with errors) - but here is a quick summary: I determined that I'm on 64-bit X86 Centos 6. I checked to see if the libusb drivers are installed. I checked to see what version of Java is installed. I checked to see how Java is configured. I downloaded the Energia Linux binary tarball (energia-0101E0009-linux.tgz) I untarred the Energia tarball to create an energia-0101E0009 directory. I ran the energia application. I set the board to msp430g2553 (16MHz) I faile
- 4 replies
-
- msp430g2553
- rocksockdoc
-
(and 3 more)
Tagged with:
-
Is there any liberary TINY GPS lib in arduino for Energia. I tried the code of tiny gps in ENERGIA but IT worked on MSP kits
-
Dear all, Is there any liberary for Energia similar to beolw liberary in arduino http://playground.arduino.cc/Main/MsTimer2
-
MSP430g2553 ALL DOCUMENTATION BELOW Playing with IR receiver (IR Library from Energia) and RGB led. I cant write analog values to my RGB led without breaking the program. I connected the three outputs to analogWrite capable pins. All works great when writing 0 or 255 but the library stop working well when i try to write other value to make the color less bright. Then i read about timers and PWM. I notice my library use Timer1_A so i need to connect leds to pins capable of analog writing but using Timer0_A. These pins were three, but one is RXD of Serial and messed things up. So I changed
- 2 replies
-
- IR
- msp430g2553
-
(and 2 more)
Tagged with:
-
Hello everyone! I'm continuing my project of creating an RGB LED matrix capable of displaying live images being transmitted from a laptop via a serial cable to the MSP430G2553. At the moment, I'm coding four 8x8 Common Anode RGB LED matrices joined together to create a 16x16 display. Hardware I'm using: - 3 * TLC5940s (one for each colour) - 2 * 74HC595 shift registers (drives the columns/anodes) I'm using code provided by RobG from this link <http://forum.43oh.com/topic/2315-tlc5940-examples/> and this one <http://forum.43oh.com/topic/3328-rgb-to-hsv-conversion-with
- 5 replies
-
- msp430g2553
- tlc5940
-
(and 6 more)
Tagged with:
-
Hi When trying to run following code, I can send the first integer "1" but if I continue after that, it just doesnt send anything back. However, with an Arduino UNO this code works 100%. How can I fix that? I hope somebody can try that for me, so I can confirm that it's the hardware/library and not the code. void setup() { Serial.begin(9600); } void loop() { if( Serial.available() > 0 ) { int inc = Serial.parseInt(); if(inc == 1) { int temp = analogRead(0); int pressure = analogRead(1); String t_str = String(temp); String p_str =
-
In the past few month our older daughter woke up in the middle of the night once in a while. She didn't know whether it was late enough to get up and ready for Kindergarten. So she woke my wife and myself up and asked. Bad idea... I needed a solution for her without the need to read the clock. So I decided to build the "Sundial" clock for her 4th birthday. Well this idea came up maybe 2 month before her birthday. This brought me under pressure to complete it, but I had a good plan and it was ready the day before her birthday. It's driven by a MSP430G2553. It has one LED for the moon a
-
Hi, I've finally found my "cahones" and decided to become a doer, and hopefully more active on the forum. I've been working on his for more than a year on my free time and have learned a lot. However, nothing real have come out of this project until recently. With the recent release of energia library for nRF24L01P by spirillis, I decided to restart working on it. Anyway. I'll post what I've done so far and move along with the suggestions. I'm a noob, so I've gone the noob way: Breadboarded first using what I had in my noob bin (msp430g2553 , nRF24l01P, ds18b20, thermistor, 7805, lm35
- 27 replies
-
- nRF24l01
- Thermistor
-
(and 4 more)
Tagged with:
-
Hi everyone, I'm hoping I can get some advice about my senior project. For my part of my project I have to connect my MSP430G2553 to an LCD display so I can display stuff like internal temperature and battery charge. I should be able to figure out how to read the inputs on my own. But my problem is that I have no idea which LCD to use. Its clear that it can be done with MSP430 devices, but how do I know which display to use with mine? Thanks
- 10 replies
-
- LCD
- MSP430G2553
-
(and 1 more)
Tagged with:
-
Hello MSP430 Coders i have finished all the basic modules, now i stuck in to uart. i need some ideas from your side,( if possible please give me code also :-P ) my Launchpad send signal to print numbers like 1,2,3 ... for every 1 second delay, numbers should be printed in to hyper terminal. what will the pin connection for the launchpad, Jumper setting and the most important thing is how the launchpad will work. Thanks you all.
- 6 replies
-
- msp430g2231
- msp430g2553
-
(and 1 more)
Tagged with:
-
Hey forum! I always wanted to make a synthesizer , so i chose the msp430 launchpad, because it's one of the most inappropriate chip i can use for it :grin: When i started to make it i didn't have real goal, i just wanted to make a sound, so this project is kind if all over the place but i have learned a lot doing it so it was totally worth it. The DAC used is a TI TLC5615, it's not the best choice, but i only had this in my parts bin. Probably any other SPI DAC could be used with minimal modification, or even PWM. (I don't sound good with PWM IMO.) The TLC5615 needs 5 volts, but
-
Hi. Need a quick answer for this one please. I need to measure the StateOfCharge of a battery, preferably via the ADC (don't know if there are any other options). The SOC is going to decide whether to initiate charging or end charging, in another program that is already made. Would love a code example! Thx in advance Jais
- 1 reply
-
- MSP430g2553
- StateOfCharge
-
(and 2 more)
Tagged with: