Weather embedded system in python

Add to code below so specifications are met: Frequency of Data: Readings must be taken once every 30 minutes and the readings must be incrementally stored in a JSON file. To clarify each reading must be added to a single JSON file so that a flat file of readings is stored over time. Output Visual Using LEDs: *Green LED lights up when the last conditions are: temperature > 60 and < 85 and humidity is < 80% *Blue LED lights upwhen the last conditions are: temperature > 85 and < 95 and humidity is < 80% *Red LED lights up when the last conditions are: temperature > 95 *Green and Blue LED light up when the last conditions are: humidity >80% Code from grovepi import * from grove_rgb_lcd import * import math import json dht_sensor_port = 7 # connect the DHt sensor to port 7 dht_sensor_type = 0 # use 0 for the blue-colored sensor and 1 for the white-colored sensor # set green as backlight color # we need to do it just once # setting the backlight color once reduces the amount of data transfer over the I2C line setRGB(02550) # temp_humidity_sensor_type # Grove Base Kit comes with the blue sensor. blue = 0 # The Blue colored sensor. white = 1 # The White colored sensor. while True: try: # This example uses the blue colored sensor. # The first parameter is the port the second parameter is the type of sensor. [temphumidity] = grovepi.dht(sensorblue) if math.isnan(temp) == False and math.isnan(humidity) == False: print(“temp = %.356f F humidity =%.356f%%”%(temp humidity)) except IOError: print (“Error”) tempHumid={ #Making json array here Temp :tempF Humidity: humidity } with open(temperature_humidity.json w) as json_tempHumid_file: #writing to json file json.dump(tempHumid json_tempHumid_file) Specifically the following critical elements must be addressed. Most of the critical elements align with a particular course outcome (shown in brackets). I. Weather Station: In this part of your project you will be assessed on how well you enhanced the weather station prototype. A. Embedded Systems Code (State Architecture Functions Imports and Variables) i. Interrupts are functional and aligned with product specifications. [CS-350-01] ii. Frequency of data gathering has been implemented is functional and is aligned with product specifications. [CS-350-01] iii. Embedded systems code runs without errors is logically organized and is properly commented. [CS-350-01] B. Dashboard Controls Functionality and Reporting Feature: In this part of your project your instructor will examine your code to determine how well you set up and enhanced the weather station prototype so that people can easily see the information that is being gathered by the sensors. i. Writes code that displays data to the dashboard. [CS-350-02] ii. Includes screenshot or picture of the weather station data displaying on the dashboard. [CS-350-02] iii. Dashboard code runs without errors is logically organized and is properly commented. [CS-350-02] Requirements: This should be written in code form as shown above | .doc file ‘

Place your order
(550 words)

Approximate price: $22

Calculate the price of your order

550 words
We'll send you the first draft for approval by September 11, 2018 at 10:52 AM
Total price:
$26
The price is based on these factors:
Academic level
Number of pages
Urgency
Basic features
  • Free title page and bibliography
  • Unlimited revisions
  • Plagiarism-free guarantee
  • Money-back guarantee
  • 24/7 support
On-demand options
  • Writer’s samples
  • Part-by-part delivery
  • Overnight delivery
  • Copies of used sources
  • Expert Proofreading
Paper format
  • 275 words per page
  • 12 pt Arial/Times New Roman
  • Double line spacing
  • Any citation style (APA, MLA, Chicago/Turabian, Harvard)

Our guarantees

Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.

Money-back guarantee

You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.

Read more

Zero-plagiarism guarantee

Each paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.

Read more

Free-revision policy

Thanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.

Read more

Privacy policy

Your email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.

Read more

Fair-cooperation guarantee

By sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.

Read more

Order your essay today and save 30% with the discount code HAPPY