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
Internet of the Backyard
  • Challenges & Projects
  • Design Challenges
  • Internet of the Backyard
  • More
  • Cancel
Internet of the Backyard
Blog [iot_umbrella] #05 start coding ...
  • Blog
  • Forum
  • Documents
  • 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: .lukasz.
  • Date Created: 5 Sep 2014 6:16 PM Date Created
  • Views 106 views
  • Likes 0 likes
  • Comments 5 comments
  • iot_backyard
  • iot_umbrella
Related
Recommended

[iot_umbrella] #05 start coding ...

.lukasz.
.lukasz.
5 Sep 2014

Tomorrow I am going to start coding ...

 

 

In C++ I  have created my own operating system

( I wrote this os in last year, it based on polling )

 

But I have big problems with CC3200 and C++

So IoT project I must write in C,

in this case my operating system is unuseful,

 

more work for me

 

[update 01]

 

weather forecast working propertly

( 4* 3 hours prediction )

 

 

Received HTTP GET response data.

Return value: 3400

HTTP/1.1 200 OK

Server: nginx

Date: Sun, 14 Sep 2014 09:33:58 GMT

Content-Type: text/xml; charset=utf-8

Content-Length: 19082

Connection: keep-alive

X-Source: redis

Access-Control-Allow-Origin: *

Access-Control-Allow-Credentials: true

Access-Control-Allow-Methods: GET, POST

 

<?xml version="1.0" encoding="utf-8"?><weatherdata>  <location>    <name>Starosielce</name>    <type/>    <country>PL</country>    <timezone/>    <location altitude="0" latitude="53.13353" longitude="23.075291" geobase="geonames" geobaseid="0"/>  </location>  <credit/>  <meta>    <lastupdate/>    <calctime>0.096</calctime>    <nextupdate/>  </meta>  <sun rise="2014-09-14T04:00:32" set="2014-09-14T16:45:42"/>  <forecast>    <time from="2014-09-14T06:00:00" to="2014-09-14T09:00:00">      <symbol number="800" name="sky is clear" var="01d"/>      <precipitation/>      <windDirection deg="68.0027" code="ENE" name="East-northeast"/>      <windSpeed mps="3.56" name="Gentle Breeze"/>      <temperature unit="celsius" value="27.78" min="15.36" max="27.78"/>      <pressure unit="hPa" value="1015.58"/>      <humidity value="81" unit="%"/>      <clouds value="clear sky" all="0" unit="%"/>    </time>    <time from="2014-09-14T09:00:00" to="2014-09-14T12:00:00">      <symbol number="800" name="sky is clear" var="01d"/>      <precipitation/>      <windDirection deg="77.0003" code="ENE" name="East-northeast"/>      <windSpeed mps="4.06" name="Gentle Breeze"/>      <temperature unit="celsius" value="33.1" min="21.3" max="33.1"/>      <pressure unit="hPa" value="1015.74"/>      <humidity value="76" unit="%"/>      <clouds value="clear sky" all="0" unit="%"/>    </time>    <time from="2014-09-14T12:00:00" to="2014-09-14T15:00:00">      <symbol number="800" name="sky is clear" var="01d"/>      <precipitation/>      <windDirection deg="89.0003" code="E" name="East"/>      <windSpeed mps="4.27" name="Gentle Breeze"/>      <temperature unit="celsius" value="34.78" min="23.6" max="34.78"/>      <pressure unit="hPa" value="1015.9"/>      <humidity value="67" unit="%"/>      <clouds value="clear sky" all="0" unit="%"/>    </time>    <time from="2014-09-14T15:00:00" to="2014-09-14T18:00:00">      <symbol number="800" name="sky is clear" var="01d"/>      <precipitation/>      <windDirection deg="92.5004" code="E" name="East"/>      <windSpeed mps="3.76" name="Gentle Breeze"/>      <temperature unit="celsius" value="33.39" min="22.84" max="33.39"/>      <pressure unit="hPa" value="1015.28"/>      <humidity value="61" unit="%"/>      <clouds value="clear sky" all="0" unit="%"/>    </time>    <time from="2014-09-14T18:00:00" to="2014-09-14T21:00:00">      <symbol number="800" name="sky is clear" var="01n"/>      <precipitation/>      <windDirection deg="77.0023" code="ENE" name="East-northeast"/>      <windSpeed mps="3.66" name="Gentle Breeze"/>      <temperature unit="celsius" value="27.6" min="17.67" max="27.6"/>      <pressure unit="hPa" value="1016.05"/>      <humidity value="65" unit="%"/>      <clouds value="clear sky" all="0" unit="%"/>    </time>    <time from="2014-09-14T21:00:00" to="2014-09-15T00:00:00">      <symbol number="800" name="sky is clear" var="01n"/>      <precipitation/>      <windDirection deg="79.0022" code="E" name="East"/>      <windSpeed mps="5.21" name="Gentle Breeze"/>      <temperature

Socket closed

SL Disconnect...

[WLAN EVENT]Device disconnected from the AP: LG-E610_8464, BSSID: c4:43:8f:d3:71:52 on application's request

GET_WEATHER: Test Complete

 

[update 02]

 

in this week I am going to add

1. lcd ( weather forecast display and interface with user )

2. gps (latitude and longitude for weather forecast and in future for umbrella positioning algorithm)

 



Anonymous
  • peteroakes
    peteroakes over 7 years ago in reply to .lukasz.

    I look forward to seeing the results

     

    Peter

    • Cancel
    • Up 0 Down
    • Reply
    • More
    • Cancel
  • .lukasz.
    .lukasz. over 7 years ago in reply to peteroakes

    in free time I read about freeRTOS,

    it isn't complicated, so make a decision that  I will use freeRTOS in umbrella project ,

    • Cancel
    • Up 0 Down
    • Reply
    • More
    • Cancel
  • peteroakes
    peteroakes over 7 years ago in reply to .lukasz.

    Good Choice, you can do the RTOS once the pressure of the challenge has passed and you have more time

    • Cancel
    • Up 0 Down
    • Reply
    • More
    • Cancel
  • .lukasz.
    .lukasz. over 7 years ago in reply to peteroakes

    thanks for advices

     

    I was thinking about freertos,

    but finally I decided for coding in C,

    why because 2 months it is not enough time for learning RTOS

    I am afraid that when I will be have problem with RTOS I will waste

    too many times for resolve them,,,

     

    additionally in this month I must also write second

    project for MSP430 FRAM, so I will be coding both project  in C

     

    b.r.

    Lukasz,

    • Cancel
    • Up 0 Down
    • Reply
    • More
    • Cancel
  • peteroakes
    peteroakes over 7 years ago

    There are several RTOS available from TI, many referenced directly in the Code Composer Studio help system

     

    RTOS (Real Time Operating System)

     

    this may be a great replacement for you old OS that will work on the device

    • Cancel
    • Up 0 Down
    • Reply
    • More
    • Cancel
Element14

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