Search the Community

Showing results for tags 'library'.

More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • News
    • Announcements
    • Suggestions
    • New users say Hi!
  • Spotlight!
    • Sponsor Spotlight
    • Sponsor Giveaways
  • Energia
    • Energia - MSP
    • Energia - TivaC/CC3XXX
    • Energia - C2000
    • Energia Libraries
  • MSP Technical Forums
    • General
    • Compilers and IDEs
    • Development Kits
    • Programmers and Debuggers
    • Code vault
    • Projects
    • Booster Packs
    • Energia
  • Tiva-C, Hercules, CCXXXX ARM Technical Forums
    • General
    • SensorTag
    • Tiva-C, Hercules, CC3XXX Launchpad Booster Packs
    • Code Vault
    • Projects
    • Compilers and IDEs
    • Development Kits and Custom Boards
  • Beagle ARM Cortex A8 Technical Forums
    • General
    • Code Snippets and Scripts
    • Cases, Capes and Plugin Boards
    • Projects
  • General Electronics Forum
    • General Electronics
    • Other Microcontrollers
  • Connect
    • Embedded Systems/Test Equipment Deals
    • Buy, Trade and Sell
    • The 43oh Store
    • Community Projects
    • Fireside Chat
  • C2000 Technical Forums
    • General
    • Development Kits
    • Code Vault
    • Projects
    • BoosterPacks


There are no results to display.

Found 38 results

  1. Please find a library for the I
  2. Hi everybody, >>> UPDATE - Made "proper" Energia Library out of it. Now with proper named methods/class members<<< >>> UPDATE 2 - Added "keywords.txt" file for syntax highlighting, added comments to "Mfrc522.cpp" file explaining methods (thanks to Grant) - Added example to read cards contents of block 1 <<< >>> UPDATE 3 - You need to apply the USCI SPI fix proposed by Spirilis (post #22) in the following thread: , otherwise the card reader won't work! <<<< I wanted to share my results with the MF RC522 RFID reader. I found an article from Grant Gibson ( where he used a cheap reader from eBay to read Mifare cards. ( The command set and technical aspects of the MFRC522 chip can be found in the datasheet: I have ported the example to Energia. Very simple by removing all Chinese comments and replacing uchar with unsigned chars. After these changes it works like a charm. Just connect the following lines: MOSI LP -> Pin 3 of the module MISO LP -> Pin 4 of the module PIn 1.3 LP -> Pin 1 of the module (SS) Pin 2.2 LP -> Pin 7 of the module (RST) Pin 1.5 LP -> Pin 2 of the module (SCK) GND LP -> Pin 6 of the module VCC LP -> Pin 8 of the module Pin 5 is not connected. Included is the sketch ( I used. Now onto opening doors and paying electronically! Kind regards, Eelco
  3. Hello, I am looking for a working Eagle library for the CC1310F64RHBT. I am not experienced with creating .lbr files for Eagle, but after some googling I have produced a rough one which is based on a conversion from the Ultra Librarian .bxl format. If anyone has a working library that they already use, it would be super helpful if they could share it with me. Taking a look at the library attached below which I have produced and confirming that the SMD footprint will work would be super helpful. Thanks, Cameron CC1310F64RHB.lbr
  4. I'm attaching a link to github with Energia code examples for various sensors. I started this as a place to put examples for students in a course I was helping to develop for middle and high school level students using the MSP430F5529. Unfortunately the course was not held but I'm putting them out there in the hope they might help someone. Where the code has been tested with other LaunchPads I've noted it. Here it is: You won't find anything sophisticated but many are at least somewhat unique in that I couldn't find an example for that sensor tailored specifically for the F5529, or I wanted to better document it for beginners. Essentially all are variants of work done by others, including work on 43oh, and I hope I've recognized the contribution in the code. There is a wiki associated with some that has the schematic and photographs. There is some other example code that is almost complete - e.g. using small DC motors and servos and I might add them. Here is a list of sensors and devices currently out there: CNY70 - used as a proximity switch CNY70 - used as a tachometer MCP41010 - digital pot HC-SR04 - distance sensor 3 watt high intensity LED MAX4466 -sound level I2C LCD (4x20) and (2x16) HC-SR501 - PIR movement detection SW-180xxP - vibration sensor Joystick PFatFs - compiles and runs on the F5529 Hall effect rainfall sensor TMP36 - temperature Sharp GPf1S53VJ000F - photo interrupter Using low power modes (LPM) in Energia TCS3200 Color Sensor using MSP432 *** added 8/8/15 DS1307 Real Time Clock (RTC) Module *** added 8/9/15 INA125P Instrumentation Amplifier *** added 10/9/15 MCP3008 ADC *** added 10/12/15 TLC5615 DAC *** added 11/30/15 dAISy MarineTraffic shore station w/ CC3200 ** added 12/16/15 AD9850 Frequency Generator ** added 1/20/16 FFT ** added 1/20/16 Rotary encoder ** added 1/23/16 W5500 Ethernet ** added 3/25/16 MSP430G2955 pins_energia.h ** added 3/25/16 DriverLib examples for F5529 ** added 8/16 Infrared Transmission ** added 12/16 WS2812 LEDs using SPI ** added 12/16 Battery measurement ** added 1/17 Finite State Machine - alarm system ** added 2/6/17 Using RTC module with Energia - F5529 ** added 2/24/17 RCWL-0516 "doppler radar microwave motion sensor module" ** added 6/6/17 Vary time a LED stays lit with potentiometer ** added 7/8/17
  5. Seems to me that I2C is a fairly commonly used way to communicate between MSP430G2553 and various sensors. However, I cannot seem to find a standard library that implements it. There are many home spun implementations and there doesn't seem to be a standard I2C Library. I'm VERY NEW to the embedded development world, but have been a windows programmer for 20 years. I'm used to having standard reusable libraries that do the grunt work for me so I don't have to re-invent something that has been done by others 100 times already... Am I just missing something or are all embedded developers just masochists?? Surely not.. So, does anybody know where I can find a simple I2C library that works with my MSP430G2553 in Code Composer Studio 7? Any reason why it isn't just built in? Or is it? This is a huge paradigm shift for me, so please be patient. Any help would be appreciated.
  6. Hi, Is there a ready library for PID control available for MSP430F5438A or G2553 controllers. Please help if an example is available for the same. Thanks, Tanmay
  7. As of October 2015 and due to intellectual property issues and licence infringements with users, the LCD_screen Library Suite is no longer available for download. A special edition of the library is included in Energia for the Educational BoosterPack MKII and the Kentec 3.5" screen, and comes as an external library for the Pervasive Displays e-paper screens, to be installed with the Libraries Manager. Hi! I've decided to consolidate the libraries I've developed for different screens into a single one, the LCD_screen Library Suite. Download with examples and documentation is available here. The library runs on the LaunchPads MSP430 and Stellaris with Energia 0009. As at today, the following screens are supported: Color LCD Booster Pack (ST7735R) 2.2" Color LCD Booster Pack with Touch (ILI9225B+XPT2046) 2.8" Touch Screen TFT LCD with SPI interface (ILI9320+XPT2046) I also leverage the high-level libraries I wrote for the 4D Systems screens, for example this clock that literally requires two lines of code: myClock.define(&myScreen, 160, 120, 60); myClock.draw(hour, minute, second, "Message"); Enjoy
  8. Hi, As it seems to work on MSP430 device like MSP430F5529, I share it here too :
  9. Hi all, It was a real pain in the ass to find information about interfacing LP + Wiznet ethernet chip with energia so I'm here to share my work. I was looking for a library for ethernet chips from Wiznet (W5100,W5200,W5500) for TivaC series LP. The first problem I met was that as TM4C129 LP already has an ethernet.h library, I simply could not copy a new ethernet.h library for non-ethernet
  10. MSP432 version of my Universal Graphics Library. Works with my latest Color LCD BoosterPacks, 2.2" and 2.4" (320x240) Touch support will be added in late April.
  11. From time to time, threads pop up where someone tries to count very fast pulses in the hundreds of kHz or even MHz range. There is a solution for the hardcore C-coders among us, but to my surprise there was no Energia library for this simple problem. I herewith present the CounterLib for Energia Download Source code and detailed instructions are also available on GitHub: Currently the library supports MSP430G2553, MSP430F5529 and MSP430FR5969. To create an instance of the counter, simply declare it as a global variable like this: Counter<> MyCounter; // create a counter that counts pulses on pin P1.0Once created, the counter has 5 functions:start() initializes the timer peripheral and I/O pin and starts the counter stop() stops the counter, but does not reset the counter value read() reads the current value of the counter reset() resets the counter to 0, the counter keeps running readAndReset() reads the current value and resets the counter to 0 And a basic example, which should work for signals lower than 65 kHz: Counter<> MyCounter; // create counter that counts pulses on pin P1.0 void setup() { Serial.begin(9600); MyCounter.start(); // start counter } void loop() { MyCounter.reset(); // reset counter to zero delay(1000); // wait one second Serial.println(; // read number of pulses during the last second delay(1000); // wait another second } The library also supports dividers to measure much faster signals. For more detailed instructions see GitHub. The library uses the external clock input of the timer peripheral. This enables the library to measure very fast signals (MHz range). On the downside, each timer only has a specific pin assigned, and the G2553 only has one timer with an external pin. It is also possible, that other Energia libraries or built-in functionality use the same timer, which won't work. Here's a list of the timers supported by the library and their pins: | Timer | G2553,| | | | | | G2452,| F5529 | FR5969 | FR6989 | | | G2231 | | | | |------------|-------|-------|--------|--------| | CL_TimerA0 | P1.0 | P1.0 | P1.2 | P1.2* | | CL_TimerA1 | n/a | P1.6 | P1.1* | P1.1* | | CL_TimerA2 | n/a | P2.2 | n/a | n/a | | CL_TimerB0 | n/a | P7.7*| P2.0* | P2.0 |Pins marked with * are not broken out on the LaunchPad or are difficult to access. The library probably works on many other MSP430's, but you'll need to adjust the #defines in the library. Please report back if you successfully tested with other devices, so that I can extend the library. Please report any bugs. And also let me know if you break any speed records. So far I only tested it up to 750 kHz. Edit 9/3/15: Added support for FR5969. Thanks @@Fmilburn Edit 9/4/15: Refactored to make it easier to add more MCUs. Several bug fixes, thanks to all the eagle-eyed members of 43oh Edit 3/13/16: Replaced attached ZIP file with link to GitHub to always give up-to-date version
  12. Hi, Is there a library available for Exosite and TIVA launchpad in Energia, similar to the qs_iot sample used in CCS IDE? Thanks, TVG
  13. The MCP3008 is an easily used 10bit, 8 channel, Serial Peripheral Interface (SPI) Analog to Digital Converter. I created an Energia library that can be found here and used to read any of the eight pins with a single call. Conversion is done for voltages between 0 and 3.3 V, including on the CC3200, and results in a integer reading between 0 and 1023. This library is for single ended operation only and uses hardware SPI. An example is included that demonstrates reading from all 8 channels. Tested with Energia 0101E0016 on the following LaunchPads * CC3200-LAUNCHXL Rev 4.1 (80 MHz) EMT * CC3200-LAUNCHXL Rev 4.1 (80 MHz) * MSP-EXP432P401R (48 MHz) EMT * MSP430F5529 Rev 1.5 (25 MHz) * MSP-EXP430FR5969 Rev 2.0 (16 MHz) * MSP-EXP430G2553 Rev 1.5 (16 MHz)
  14. Congratulations! Your library is ready and you want to share it? This section is the best place for it. Please mention a link to the sensor or BoosterPack the library is aimed at the list of the boards and MCUs supported by the library — currently, LaunchPad MSP430G2xxx, FraunchPad = MSP430FR5739, StellarPad = Stellaris LM4F120Q5HR a link to the library or attached files a basic example for the library a picture of your library in action! Additional resources can be found Writing a Library for Arduino Installing Additional Arduino Libraries For libraries also running on the LaunchPad MSP430G2xxx or FraunchPad = MSP430FR5739 with Energia, please consider posting on the sister forum 43oh at [updated links] Energia linbraries for MSP430 and MSP432 TivaC / CC3XXX Energia Libraries C2000 Energia Libraries Good luck
  15. Hi everybody, People might have read the hackaday post describing the ESP8266. The ESP8266 is a really low price Wifi chip, which uses serial communication (just like the Wifly etc.) to connect to wifi. Although the CC3100 and CC3200 are the better chips, the ESP8266 main differentiating point is its ridiculous low price. I've ordered 8 for $3.50 each (aliexpress). It doesn't seem to support IPv6 out of the box, but there is an SDK, which might open future possibilities. I was thinking to make a library for energia to support the ESP8266. Anyone interested? Are there specific starting points to make this library usable? I am looking at two scenario's: - MQTT client - Relaying sensor data or control. - Web service - Returning a JSON object with sensor data. It would be nice to use the hooks of an ethernet library and only need to process strings/arrays of bytes. Edit: As this wifi dongle uses an UART, how do I create two UARTS on a G2553? Kind regards, Eelco Rouw
  16. Hello, I've been looking trough the forums for an SD Card Library that can be used on TM4C123GH6PM micro controller. I came across one ( but the link redirects to the forum main page, so I can't really get my hands on it. Does someone has a low resource library for this? Thanks! Note: In case this is good to know, I'm looking to use the SD Card slot that comes with the ILI9341 2.2" LCD screen sold (mostly) on Ebay. So we're talking about an SPI-Interfaced SD Card.
  17. I am using Energia 0015 with MSP432 LaunchPad. There are some missing functions in the library. I patched a few of them in the application code to get it to work. I would like to move the patches to the library. Unlike the Energia library for MSP430 or Tiva, the library does not get rebuild every time I hit verify or upload (which is a good thing). But I don't know how the library gets rebuild. Could someone explain it? Much appreciated.
  18. Hello all, Today I am going to share a library of mine that I just developed it recently. For any inputs/ideas/thoughts/bug reports, I am very welcome . I might also update my library whenever there is any request. Hardware needed: 1. Stellarpad 2. MAX7219 / MAX7221 system with 8x8 led. This library interfaces with Maxim integrated MAX7219 whose interface is also compatible with MAX7221. I ve also included two examples. The first one is just to put random pattern on the 8x8 led. The second one is to cycle through all characters that I also included in font.h I hope this contribution is meaningful Best Regards, Eryacard Example1: Random Pattern Example 2: A to Z (E for Energia!)
  19. I am attempting to construct a simple library for creating alarm objects, basically just the days of the week, an hour, and a minute packaged together in an object for easy management. I have attached a zip of the library, (feel free to use any code that might be useful!) but I am having an issue where toggling the days of the week alters the values of the integer hour and minute values. The days of the week are stored as an array of seven booleans, but I don't think that I am making a fencepost error somewhere... I tried the various days of the week, and figured out that days 0-3 (Sun-Wed) alter the hour value, while days 4-6 (Thur-Sat) alter the minute value. Based on that, and the way that the numbers change (roughly multiples of 8) I think that the array of booleans is being written right over the top of the integer values in memory (or vice versa). Am I configuring something in my library wrong, or instantiating the object incorrectly, maybe? I have also attached a zip of some code demonstrating the problem by printing the values through serial. Zipped Library Code Zipped demo code (Note: toggling commands are commented out, so out of the box it should function roughly as anticipated.) Thanks in advance! Mike
  20. I want to use nRF24l01 RF wireless modules with MSP 430f247 processor. There is a project done on MSP430G2553 with the same wireless module; I want to use USCIB_0 part for communication interface. I replaced output pins in the program. When I debug the program step by step I have seen no signal at SPI line. Do you have any suggestion?
  21. Dear all, I am new to this forum. I found that energia IDE work similar to arduino IDE based on library functions. My questions are 1) I have worked on various library based IDE like mpide, uecide I found that some library wont work on some controller Like SoftwareSerial on chipkit uno32 by mpide IDE, I would like to know if someone used IDE what are library it really worked for them. I am looking for below library 1)basic: analogRead(); digitalRead();digitialWrite();Serial.print();Serial.println() 2) Wire:;wire.write();wire.begin(), wire.start(),wire.endtransmission() 3)TinyGPS() 4)SOftwareSerial() 5)Modbus() 6)TIMER/MSTIMER/TIME 7)lcd() 8)keypad() 9)math library question 2: In some of data sheet it mentioned the analog port is 12 bit resolution and they not mentioned what is voltage level we can give at analog port like in Arduino. In this situation What i need to consider. In some of example in energia, eventhrough its is 12 bit resolution. Why devide voltage by 1024 instead of 4096???
  22. Hi, I have ported Henning Karlsen's UTFT library to Energia on Stellaris. You can find the code here: This code shows how to do reasonably fast graphics using GPIOPinWrite() instead of digitalWrite(). It is a fork of the fine work done by Andresv, described on the 43oh forum here: Cheers, Steve
  23. Good day for all, I want to know if exist the nrf24l01 library on Mpy or if the SPI library is available. Thanks!
  24. Hi! I have already worked with Arduino wuite a lot and I want to use the MSP430 now. Therefor I ordered the MSP-EXP430F5529LP. I have a question regarding the support from Arduino's libraries: I want to drive a DOGS display with the u8glib-Library (maybe some of you know it). Is there any possibility to use this Library with Energia? Copy and Paste into the Library Folder from Energia isn't enough, right? Thanks in advance!! Greets, Max