Upload Code
loading-left
loading loading loading
loading-right

Loading

Profile
No self-introduction
codes (19)
NRF2401 library for the MSP430 value line
no vote
Application background nRF24L01+ Library for MSP430 microcontroller line A few items of trivia to note: 1. This library uses malloc(). It might go away. Probably would be appropriate to have the library stick to #define's defaults instead of letting it be dynamic; the dynamic TX queue depth and program ID callback registry was intended to make it intuitive and configurable for Energia/Arduino users. 2. There is a function setModeTXonly(true/false) which will tailor Pkt's behavior during TX. If this is false, the Pkt library will automatically issue msprf24_activate_rx() after TX is done. Otherwise, when "true", the Pkt library will automatically issue msprf24_powerdown() after TX is done. 3. The callback function prototype is: typedef void(*PKT_CALLBACK)(const uint8_t progID, const int len, const void *buffer); so all callback functions expect to return void, but take a const uint8_t, const int, an
lee_trieu
2016-08-23
1
1
Using 89S52 + simulation real time clock
no vote
Application background This is full project: Real time clock using 89S52     Included simulation file in Protues                  Key Technology IDE: Keil C Simulation: Protues
lee_trieu
2016-08-23
1
1
C # TCP client server
no vote
Application background This is a simple implementation of a TCP client server relationship. Key Technology Compile the server and client programs separately. Before compiling change the IP address in both programs to match that of your machine (NOTE : to get your IP address  run 'ipconfig' from the command prompt in Windows NT/2000 m/c's) When the server program is run, it will indicate at which IP it is running and the port it is listening to. Now run the client program is run , so as to establish a connection with the server.

lee_trieu
2016-08-23
0
1
MSP430 ultrasonic sensor
no vote
Application background Hello.This is a project show you how to use ultrasonic sensor with TI MSP430. I'm using MSP430G2452, however, a G2553 or any other chip wil also work, but some numbers could be different. Ofcourse I assume that you already know how to use IAR or CCS. Key Technology what you'll need is: MSP430 ultrasonic sensor (I have SRF05, and I'm using one pin for TRIG and the other for ECHO. There is also option where you connect MODE pin to GND and use only one pin, but I won't do that one) What you'll have to do is generate a pulse whose lenght depends from sensor to sensor. On SRF05 is 10us. When sensor recieves the pulse, it will generate a 8 cycles of sonic burst independed from microcontroller, and sent ECHO pulse back to microcontrol
lee_trieu
2016-08-23
0
1
MSP430 flash LED use timer
no vote
Application background timer is used to flash LED. For each overflow, the timer generates an interrupt, which is used to blink. Since the clock of the timer is controlled by smclock (running at about 1MHz), the overflow number of 8 flashes approximately every 0.5 seconds. &Key technology this example uses a timer clock from smclock. This clock is based on the current frequency of 1MHz. In this case, we want the led to switch every 0.5s. Using the above formula, we can calculate how to program the timer. The result is 524288, which is 8 times 65536. The timer will generate an overflow interrupt and reset once, reaching 65536. Because we have to count to 524288, after every 8 overflow interrupt, LED will be switched.
lee_trieu
2016-08-23
0
1
ADC MSP430 10 and LCD1602
no vote
Application background This is my projects with msp430g2553 Read ADC10 bit and show it on LCD 16x02 Video: https://www.youtube.com/watch?v=kS1HFPxWC1E Key Technology An  analog-to-digital converter  ( ADC ,  A/D , or  A to D ) is a device that converts a continuous physical quantity (usually voltag
lee_trieu
2016-08-23
0
1
MSP430G2553 16x02 Library
no vote
Application background This is a C libraries for the TI MSP430 family of microcontrollers. Msp430g2553 interfaces with LCD 16x02(TC1602A-01T) Datasheet: https://www.adafruit.com/datasheets/TC1602A-01T.pdf Key Technology Features: - Move pointer to Cell (x,y) - Write a string - Write an character - ...
lee_trieu
2016-08-23
0
1
Microcontroller and temperature sensor LM35
no vote
Application background Hello, in this article, I will discuss how to interface the temperature sensor MSP430 launchpad. So we need a temperature sensor for this project. I use the LM35 temperature sensor IC. As well as I always say, a needed data table in which he is using IC. data sheet: http://www.ti.com/general/docs/lit/getliterature.tsp ? Genericpartnumber = LM35 & amp; file is PDF key technology circuit: = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = && nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; + 5V, pan 03 - contrast & nbsp; and; 04 – RS & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; p1.405 – R / W  ; ; ; ; ; ; ; ; ; ; ; ; ;P1.506–EN  ; ; ; ; ; ; ; ; ; ; ; ; ; ;P1.607–DB0 && nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; ground 08 – db1 & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; ground 09 – DB2 & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp
lee_trieu
2016-08-23
0
1
MSP430 heartbeat counter
4.0
Application background This is project on counting the heart beats using an MSP430G2553, and a dual op amp ic, LM358, i think any other dual op amp can work in its place [to be sure, just check the pinouts before replacement]... :) it displays the heart beat on the LCD screen, i found this project on internet, but it was done with 3 seven segments and with PIC micro controller, so i thought to build a very compact circuit with MSP, i have given the c code, for which you will need the code composer studio, with the launchpad kit... Key Technology Hardware Connection: Sensors PIN <-> P1.3 LCD_PIN_RS BIT1 // P1.1 LCD_PIN_EN BIT2 // P1.2 LCD_PIN_D7 BIT7 // P1.7 LCD_PIN_D6 BIT6 // P1.6 LCD_PIN_D5 BIT5 // P1.5 LCD_PIN_D4 BIT4 /
lee_trieu
2016-08-23
0
1
Project of MSP430 interface LED matrix 8x8
no vote
Application background This is LED is stackable matrix which allow you to make any size LED array display by stacking them (snap-on) together. It stacks with MSP430 -LED8x8-BOOSTERPACK which controll it and with additional MOD-LED8x8 you can make any size LED array display which to control with the low cost MSP430 Launchpad. LED8x8 brick connector FR-4, 1.5 mm (0,062"), red soldermask, white silkscreen component print Dimensions 50x50mm (2x2") Key Technology This is source code for MSP430-LED8x8 which creates moving text on stackable MOD-LED8x8 bricks. Open with IAR Workbench
lee_trieu
2016-08-23
0
1
View More