element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • 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
  • Settings
Ultimate RoadTest
  • Challenges & Projects
  • Design Challenges
  • Ultimate RoadTest
  • More
  • Cancel
Ultimate RoadTest
Blog Project "code name" Part 039
  • Blog
  • Forum
  • Documents
  • Files
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: COMPACT
  • Date Created: 30 Jun 2012 6:11 AM Date Created
  • Views 414 views
  • Likes 0 likes
  • Comments 0 comments
  • ultimate_roadtest
Related
Recommended

Project "code name" Part 039

COMPACT
COMPACT
30 Jun 2012
June 30th

Twitter Dee Twitter Dum

The Twitter interface is not complete but here is a description of the plans for it.

 

The MSP430FR5739 has only 16K RAM for code space and data and thus does not have enough space to include all of the necessary code to connect and communicate with Twitter.

I have previously mentioned SuperTweet as a means to reduce this requirement but for this project there are other aspects that require attention.

This includes converting text to speech and generating the necessay mouth movements of the toy.

Like the TI Home Automation Demonstration, for the moment I will require a PC to provide additional services.

I think I'm pretty right saying that the PC is used to convert the raw Fraunchpad Thermistor ADC reading to a Standard Temperature Scale Reading as this removes the need for using a math library in the Fraunchpad thus conserving value memory space.

 

Using a PC,when a Twitter message is received it will be parsed and sorted into the following categories;

     Home Automation Command

or

     Incoming Message

(Alternatively - this could be accomplished by two Twitter accounts - One for commands and one for messages.)

 

For commands, these are processed and the selected action is performed.

The command could be to;

     Perform an immediate action

     Read a Sensor Reading

     Activate a defined sequence

     Schedule an action or sequence

     Enable a function

 

For incoming messages, these are processed as follows;

     TTS (Text to Speech) is performed to create an 8 bit, 8kHZ .WAV and accompanying .LSF (lipsync file).

     The incoming message is sent to the CC3000.

     The .WAV file is sent to the CC3000.

     The .LSF file is sent to the CC3000.

     The CC3000 is instructed to annunciate the received message;

          The LCD Display shows the message.

          The Deer lifts its head.

          The Truck suspension is activated.

          The HeadLight blink sequence is activated.

          The Audio Amplifier is enabled.

          The Deer on the truck starts speaking.

     Once the message has completed, the Toy deactivates;

          The Neck is lowered.

          The Truck suspension is deactivated.

          The Head Lights are turned off.

          The Audio Amplifier is turned off.

         

In addition to remotely launched actions listed above there is also alerting.

Like the TI CC3000 Wi-Fi Home Automation Demonstration, Twitter messages can be sent out to nominated recipients from the CC3000 if a defined alerting situation arises from its input sensor readings.

 

The requirement for the PC to process the TTS and Lipsync file can be removed at a later if the CC3000 has an attached module with the capability to perform these tasks thus making it self contained.

 

Networking is the way to go!

Slave or Peer CC3000s can be joined together forming a larger sensor and activation network making for a formidable yet quirky Home Automation System.

  • Sign in to reply
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 © 2025 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

  • X
  • Facebook
  • linkedin
  • YouTube