element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Members
    Members
    • Benefits of Membership
    • Achievement Levels
    • Members Area
    • Personal Blogs
    • Feedback and Support
    • What's New on element14
  • Learn
    Learn
    • Learning Center
    • eBooks
    • STEM Academy
    • Webinars, Training and Events
    • More
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • More
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • More
  • Products
    Products
    • Arduino
    • Dev Tools
    • Manufacturers
    • Raspberry Pi
    • RoadTests & Reviews
    • Avnet Boards Community
    • More
  • Store
    Store
    • Visit Your Store
    • Choose Another Store
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
Safe and Sound
  • Challenges & Projects
  • Design Challenges
  • Safe and Sound
  • More
  • Cancel
Safe and Sound
Blog Safe & Sound @ E14-CLEWE @#7_Blog7
  • Blog
  • Forum
  • Documents
  • Events
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Blog Post Actions
  • Subscribe by email
  • More
  • Cancel
  • Share
  • Subscribe by email
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: jkutzsch
  • Date Created: 9 Apr 2017 5:20 AM Date Created
  • Views 181 views
  • Likes 4 likes
  • Comments 6 comments
  • safe and sound design challenge
  • safe & sound
Related
Recommended

Safe & Sound @ E14-CLEWE @#7_Blog7

jkutzsch
jkutzsch
9 Apr 2017

E14-C.L.E.W.E. INDEX:

E14-C.L.E.W.E. INDEX:

#1_”The word.”

#6_Energia!

#2_”The Science.”

#7_Blog7

#3_"GPS decisions."

#8_GPS_Issues

#4_"GPS arrives!"

#5_"The box, the box!"

                                                                            

Safe & Sound @ E14-CLEWE @ #7_Blog7

 

When Computer systems fail, it pours!  I know that isn't the actual quote but it seemed apt currently.

After being lucky enough to have solid performing computer provided to me and all of my software loaded onto it, the kind lender had an emergency where he needed his hardware back.  So back to reloading everything onto another system!  Since the Energia load was previously documented I am not going to redo already covered information.

 

The new system is up and running, a tad slower, well a lot slower, since it is older, but it is going forward which is the preferred direction.

 

One of the big items I have been working has been just doing some basic testing to see how well the Ultimate GPS Data Logger shield would interface with the TI MCU and Energia.  Nothing too fancy, just trying to receive the basic NMEA string I was seeing with the Arduino UNO. 

 

Sadly no success as of yet.  So I started working with some of the kit items to see if they interface well and that is showing progress.

 

 

Here I have the TI MCU (https://www.element14.com/community/view-product.jspa?fsku=2473128&nsku=41Y9541&COM=noscriptMSP-EXP432P401R ) with the Sensor booster ( https://www.element14.com/community/view-product.jspa?fsku=2510675&nsku=72Y1732&COM=noscriptBOOSTXL-SENSORS) mounted directly on top.  Off to the side I have the LCD booster (https://www.element14.com/community/view-product.jspa?fsku=2429519&nsku=11X5261&COM=noscript430BOOST-SHARP96), and of course on the left I have my Ultimate GPS Data Logger shield.

 

While my GPS is showing green and even eventually getting a full signal, at no time am I seeing anything coming across the Serial Monitor.  I will continue to pursue this and am wondering if some code I am working on that specifies GPS might be of assistance.

 

Actually having the kit in hand has let me lay out some of the boosters and I really like the idea of the sensor booster and the LCD booster applied to the CLEWE so these are the 2 boosters I am starting with while also trying to tie in the GPS.

 

As you can see with the picture I think I will be able to mount the GPS shield next to the Sensor booster and save some space.  The LCD will be slightly off so the project does not get to thick and unwieldy.  I still want to have space for the battery so the LCD will have a friend.

 

Off of the Energia website (appropriately found in the reference section,) I found some test code for the LCD_SharpBoosterPack.  It was based off of the 430 but is still valid and a quick and fun way to test the LCD.

 

LCD_SharpBoosterPack_SPI_Main.ino

 

>>>

//

// Sharp BoosterPackLCD SPI

// Example for library for Sharp BoosterPack LCD with hardware SPI

//

//

// Author : Stefan Schauer

// Date : Jan 29, 2014

// Version: 1.00

// File : LCD_SharpBoosterPack_SPI_main.ino

//

// Version: 1.01 : added support for CC3200

//

// Based on the LCD5110 Library

// Created by Rei VILO on 28/05/12

// Copyright (c) 2012 http://embeddedcomputing.weebly.com

// Licence CC = BY SA NC

//

 

#include "Energia.h"

 

// Include application, user and local libraries

#include "SPI.h"

#include "LCD_SharpBoosterPack_SPI.h"

 

// Variables

 

LCD_SharpBoosterPack_SPI myScreen;

uint8_t k = 0;

 

 

// Add setup code

void setup() {

#if defined(__MSP430__) //SPI for MSP430 processors

  SPI.begin();

  SPI.setClockDivider(SPI_CLOCK_DIV2);

  SPI.setBitOrder(MSBFIRST);

  SPI.setDataMode(SPI_MODE0);

#elif defined(__TM4C123GH6PM__ || __LM4F120H5QR__) //SPI for TM4C and LM4F processors

  //SPI.Select(2); //Chip select pin 2 for TM4C

  SPI.begin();

  SPI.setClockDivider(SPI_CLOCK_DIV128); // for LM4F120H5QR DIV2 = 4 MHz !

#elif defined(__CC3200R1M1RGC__) //SPI for CC3200 processors

  SPI.begin();

  SPI.setClockDivider(SPI_CLOCK_DIV2); // for __CC3200R1M1RGC__ DIV2 = 4 MHz !

  SPI.setBitOrder(MSBFIRST);

  SPI.setDataMode(SPI_MODE0);

#endif

 

  myScreen.begin();

 

  myScreen.setFont(1);

  myScreen.text(10, 10, "Hello!");

  myScreen.flush();

 

  delay(1000);

  myScreen.clear();

}

 

// Add loop code

void loop() {

 

  k++;

  myScreen.clearBuffer();

  myScreen.setFont(0);

  myScreen.text(k, 10, "ABCDE");

  for (uint8_t i=10; i<LCD_HORIZONTAL_MAX-10; i++) {

  myScreen.setXY(i,20,1);

  }

 

  for (uint8_t i=0; i<=20; i++) {

  myScreen.setXY(50+i,30,1);

  }

  for (uint8_t i=0; i<=20; i++) {

  myScreen.setXY(50,30+i,1);

  }

  for (uint8_t i=0; i<=20; i++) {

  myScreen.setXY(50+i,50,1);

  }

  for (uint8_t i=0; i<=20; i++) {

  myScreen.setXY(70,30+i,1);

  }

 

  myScreen.setFont(1);

  myScreen.text(10, 60, "ABC");

  myScreen.flush();

  delay(200);

}

<<<

 

Just for fun I modified the two lines I highlighted in Green.  Replacing the "ABCDE" with "CLEWE" and the "ABC" with "E14"

 

 

 

 

If you are going to do a test you might as well make it fit your Project! 

 

 

Here is a not so clear/sharp image of the LCD_SharpBooster Pack with CLEWE moving around.

 

 

Since the success of that code I have been working on a new sketch that will pull the temperature from the Sensor booster and display it on the LCD as well as hopefully parsing the GPS data and displaying it.

 

Thank you for your time and attention!

Anonymous

Top Comments

  • Akbari1982
    Akbari1982 over 5 years ago +2

    Hi jkutzsch,

     

    Great job!

    Have you been able to get the UART interface between the GPS Module and  MSP-EXP432P401R to work ?

    I checked the Digital I/O specs of both devices and they seem to be compatible at…

  • DAB
    DAB over 5 years ago +1

    Nice post.

     

    The Energia and CCS are supposed to be pretty compatible.  It is very useful to see that proven.

     

    DAB

Parents
  • DAB
    DAB over 5 years ago

    Nice post.

     

    The Energia and CCS are supposed to be pretty compatible.  It is very useful to see that proven.

     

    DAB

    • Cancel
    • Vote Up +1 Vote Down
    • Reply
    • More
    • Cancel
Comment
  • DAB
    DAB over 5 years ago

    Nice post.

     

    The Energia and CCS are supposed to be pretty compatible.  It is very useful to see that proven.

     

    DAB

    • Cancel
    • Vote Up +1 Vote Down
    • Reply
    • More
    • Cancel
Children
No Data
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2022 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • Facebook
  • Twitter
  • linkedin
  • YouTube