There are 3 challenges, starting from the fun and interactive to the deep and educational.
Simple right? Go dig out your Arduino and play!
Estimated time to complete: 15 - 20 mins
Post a working Arduino project, with full source, as an article on CodeProject in the Arduino section as a CodeProject article.
Your project can be for any purpose: a plant watering system, a solar energy tracker, a security system, or something that randomly injects pics of Guy Fieri into npm packages. Whatever the purpose, just package it up and post your work as an article on CodeProject.
Winners will be judged on innovation, usefulness, ease of use of the code on a real Arduino, and general presentation of the project.
Estimated time to complete: 30 - 60 mins to write about 500 words
If you’re an IoT expert, this is the place to show it off! Post an article on CodeProject that highlights your choice in IoT development.
The focus of this challenge is to teach concepts to readers unfamiliar with the technology (or teach readers how to stretch themselves with advanced concepts). Brief examples that are to the point are better than full blown projects. Focus on the concepts you are trying to teach.
Topics may include tutorials, code samples and walkthroughs, intros on how to program new and emerging technologies (eg. LoRaWAN, Low power operation, Bluetooth, Mesh). Maybe you want to write about embedded or Raspberry Pi development, or HomeKit or Google Home integration, or Docker with IoT, Azure or AWS. The possibilities are endless; let your imagination go wild.
Winners will be judged on clarity of ideas, readability, technical prowess and general presentation of the article.
Estimated time to complete: Depends on the length of the article
As part of the binary counter challenge, you’ll be adding a bit of C++ that turns your e-mail address into a personalized binary code. You will then be able to enter this code on the contest page. For instructions, see the notes in Challenge 1 above.
Choose your topic, come up with a brilliant idea, write and submit your article to the Internet of Things chapter. Contestants have until the contest deadline to write and submit as many articles as they wish (each article should focus on a single technology or platform).
Those with articles that
match the contest criteria are automatically entered.
1. How to Enter: CodeProject is offering the Contest and will award Prizes (as defined below) based on the results of judging all valid entries against the criteria established in these Rules.
The Contest begins on 5 June 2018 at 12AM and ends on 30 June 2018 at 11:59:59 PM US Eastern Standard Time (“Contest Period”). CodeProject’s clock is the official time for the Contest. All entries must be submitted during this period in order to qualify.
To enter challenges 2 and 3 Submit your entry at the URL http://www.codeproject.com/script/Articles/SubmissionWizard.aspx and ensure you submit it into within the Internet of Things chapter in the Arduino section. Participants must comply with the submission format provided by CodeProject on its website. Submissions must be in the English language.
No purchase is necessary to enter the Contest or to be eligible to win a Prize.
We are not responsible for lost, illegible, incomplete, mutilated or stolen entries; errors appearing within these Rules, in any Contest related advertisements or other materials; or other errors of any kind whether mechanical, human, electronic or otherwise. Entries that are late, illegible, incomplete, unreadable, damaged, delayed, lost, tampered with, incomprehensible, forged, mutilated, misdirected, inaccurate, unintelligible or otherwise not in compliance with these Rules will be disqualified. You must provide all of the requested information to submit a valid entry. Only those who live in jurisdictions in which this Contest is legal may enter.
Prizes may be withheld or awarded to another eligible registrant if these Rules are breached.
Prizes may not be exactly as shown. A reasonable US$ equivalent in lieu of the Prize may also be awarded at the sole discretion of CodeProject.
Entries shall be deemed to be submitted by the authorized account holder of the email address submitted at the time of entry unless clearly indicated otherwise. "Authorized account holder" is defined as the natural person who is assigned to an email address by an internet access provider, online service provider, or other organization (e.g. business, educational institution, etc.) that is responsible for assigning email addresses for the domain associated with the submitted email address.
2. Eligibility: This Contest is open to software development professionals & enthusiasts who are of the age of majority in their jurisdiction of residence. Residents of Quebec and of the following countries are ineligible to participate due to legal constraints: Cuba, Iran, Iraq, Libya, North Korea, Sudan, and Syria. All national and local laws and regulations of the participant’s country of residence apply. Residents of countries under U.S. embargo are not eligible to enter. Employees, officers and representatives (and members of their immediate families and those living in the same household of each) of CodeProject, its parents, subsidiaries and affiliated companies, advertising and promotion agencies, and any company involved in the design, execution, production of this Contest ("Contest entities") are ineligible. CodeProject reserves the right to verify participant eligibility at any time and all participants may be required to provide verification of eligibility. Void where prohibited. You must enroll or be enrolled as a member of Codeproject.com to be eligible to win a Prize in this Contest.
3. Determination of winners:
Up to $5000 in prizes will be awarded, but only a valid entry in compliance with these Rules is eligible to win a Prize. All participants in challenge 1 will be eligible to win one of 35 Raspberry Pi 3 B+ Starter Kits from CanaKit.
The Articles will be judged based on the following elements:
Advanced IoT tutorial articles:
how clear, pertinent and enjoyable the entry is;
how effectively the participant is able to explain the new technology or platform and demonstrate his/ her IoT expertise
Personal IoT project articles:
how innovative and functional the project is;
the overall execution and presentation of an entry itself
In addition, the votes and comments each submission receives on the CodeProject website may be taken into account. Judges decisions are final. You may withdraw your submission at any time by notifying CodeProject. Your right to win a Prize is terminated if a submission is withdrawn.
Winners will be notified by email following selection and may also be announced in the Daily Build newsletter or other sections of CodeProject.com. We shall have no liability for any winner notification that is lost, intercepted or not received by the potential winner for any reason and we are not obligated to leave voice mail, answering machine or other message. Proof of response by a potential winner does not constitute proof of receipt by us.
All winners will be notified via email. If after seven (7) days of the second notification to the winner no acknowledgement or response is received, the Prize is forfeited, and CodeProject will select another winner.
Each winner acknowledges that, if and to the extent that CodeProject is legally obligated to provide a third party with information about any Prize claimed by a winner, CodeProject shall be entitled to do so.
4. Ownership and Publicity: CodeProject does not claim ownership of your submission to the Contest (please see the “Ownership” section in the CodeProject Contributors Agreement), but by submitting an entry, you grant CodeProject, its affiliated companies and necessary sub-licensees a worldwide, perpetual, royalty-free, irrevocable, non-exclusive, fully assignable and transferable right and license, to edit, adapt, translate, reformat your submission, to post your submission (e.g. publish, display, perform, digitally perform) to do what CodeProject feels it needs to do to manage and update the Site, to make and maintain back-up and archival copies, and to make your submission available to End Users in accordance with these Rules, CodeProject’s Contributors Agreement, and the specific EULA that you select.
5. Participant Warranties:
By submitting an entry to the Contest, you warrant that your submission:
is a new article or a new version of an article and has not been published previously on CodeProject;
does not contain any content that infringes on any third party rights, including Intellectual Property (IP) rights, and that you own or otherwise have all rights necessary to make your submission, including any and all IP rights;
does not disclose any information which would constitute a violation of any confidentiality obligation;
does not violate any agreement that you have with any third party; and
does not contain any viruses, worms, spyware, or other components or instructions that are malicious, deceptive, or designed to limit or harm the functionality of a computer or computer system.
As described below, there will be up to $5,000 in Contest prizes (“Prize” or “Prizes”) awarded.
Articles must be of an acceptable quality, fulfil requirement outlines for the article topic as determined solely by CodeProject, and abide by the Terms of this Contest. The total approximate retail value (“ARV”) of all Prizes will not exceed five thousand ($5,000) USD. All applicable federal, state, and local tax laws apply. The value for any prize is based on the ARV at the beginning of the Contest Period. Because the ARV for any Prize may fluctuate, CodeProject has the sole right to determine the value of any Prize, or its cash equivalent, at the time that any prize is awarded.
Substitution or transfer of Prizes is not allowed. In CodeProject’s sole discretion, it may award a substitute prize of equal or greater value. The winner accepts responsibility for all federal, state and local taxes and fees in connection with the Prizes. If you are a potential winner, we may require you to sign an Affidavit of Eligibility, Liability/Publicity Release and a W-9 tax form or W-8 BEN tax form within seven (7) business days of notification. In certain countries, such as Canada, a winner may be required to correctly answer a skill testing question before becoming eligible to claim a Prize.
Apart from any Prize that may be awarded as part of the Contest, no compensation (monetary or otherwise) will be paid for your Contest submission. CodeProject is not responsible for Contest entries not received due to lost, failed, delayed or interrupted connections or miscommunications, or other electronic malfunctions. CodeProject is not responsible for incorrect or inaccurate entry information, whether caused by you or any other persons or by any of the equipment or programming associated with or utilized in the Contest.
The Prize will be shipped to the winner’s residence using standard delivery. CodeProject is not responsible for a Prize if it is lost, stolen or damaged during or after shipping, and it will not be replaced by CodeProject.
7. Warranties and Disclaimers: Prizes come with the standard manufacture warranty only (if applicable), but Prizes are awarded “AS IS”. To the fullest extent allowable by law, CodeProject specifically disclaims any representations or warranties, express or implied, regarding the Contest or the Prizes including any implied warranty of merchantability or fitness for a particular purpose and implied warranties arising from course of dealing or course of performance.
8. Release of Liability, Issues of Law and Indemnity: By participating in the Contest, all participants release CodeProject, its affiliates, partners, subsidiaries, officers, directors, agents, employees and all entities associated with the development and execution of this promotion from any and all liability with respect to and in any way arising from participating in this promotion, acceptance or use of a Prize. CodeProject assumes no responsibility for incorrect or inaccurate capture of entry information, technical malfunctions, human or technical error, lost, delayed or garbled data or transmissions, omission, interruption, deletion, defect or failures of any telephone or computer line or network, computer equipment, software or any combination thereof. Entry materials/data that have been tampered with or altered are void. If for any reason, in the opinion of CodeProject in its sole discretion, the Contest is not capable of running as originally planned, or if the administration, security, fairness, integrity or the proper conduct of the Contest is corrupted or adversely affected, including by reason of infection by computer virus, bugs, tampering, unauthorized intervention, fraud, technical failures or any other causes beyond its control, CodeProject reserves its right to cancel, terminate, modify, amend, extend or suspend the Contest including cancelling any method of entry, and select a winner from previously received eligible entries. CodeProject reserves its right in its sole discretion to disqualify any individual it finds to be tampering with the entry process or the operation of the Contest or to be violating the letter or spirit of the Rules or is otherwise acting in a disruptive manner. CodeProject reserves its right to seek remedies and damages to the fullest extent of the law for any attempts to deliberately damage the Contest web site or to undermine the legitimate operation of this Contest. CodeProject shall not be held responsible for any errors or negligence that may arise or occur in connection with the Contest including any damage to an entrant's computer equipment, system, software or any combination thereof, as a result of their participation in this Contest or from downloading any material from the Contest website where applicable. All participants agree to fully indemnify and hold harmless CodeProject from any and all claims by third parties relating to the Contest without limitation.
9. Generally: CodeProject may make changes to these Rules at any time without notice to you. Participating in the Contest or accepting a Prize will constitute acceptance of the revised rules. These Rules prevail in the event of any conflict or inconsistency with any other communications, including advertising or promotional materials.
All trade names, trademarks, registered trademarks, product names and company names or logos mentioned or displayed in connection with the Contest are the property of their respective owners and may not be used in any manner whatsoever without the express written consent of their respective owners.
If, for reasons beyond CodeProject’s control (including, but not limited to, tampering or computer virus infection), the Contest is not capable of running as originally planned, CodeProject, at its sole discretion reserves the right to cancel or modify the Contest, without liability or further notice. CodeProject will not be responsible for lost, late, misdirected, damaged, or illicit submissions, or for Internet, computer hardware and software, phone, and other technical errors, omissions malfunctions, and delays. Entries are void if they contain material typographical or other errors. All entrants agree to comply fully with each provision in these Rules. Any person attempting to defraud or in any way tamper with this Contest and any person who does not comply with these Rules, will be ineligible for any Prize(s) and may be prosecuted to the fullest extent of the law.
For any feedback or questions regarding the Contest or the Prizes please contact email@example.com.
10. Winners' List: For a list of Prize winners, please contact firstname.lastname@example.org with the Subject Line “Summer Fun with Arduino Challenge Winners List” by July 31, 2018
Follow the instructions in the "How to Enter Challenge 1" tab to wire up a Secret Squirrel Code Generator.
Overview | Participants | Prizes | Rules | Discussions | Challenge 1 Notes
uint8_t Hash(String str)
uint8_t hash = (uint8_t) str.length();
for (uint8_t i = 0; i < (uint8_t) str.length(); ++i)
hash = (uint8_t) (((hash << 5) ^ (hash >> 3)) ^ str[i]);
hash += (uint8_t) (((hash << 5) ^ (hash >> 3)) ^ str[i]);
General News Suggestion Question Bug Answer Joke Praise Rant Admin
Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.
Please read Ryan's excellent Arduino articles: Using an Arduino device or using Tinkercad.
Once you have your secret code please enter it in the Enter Code page.
Once you have your Arduino (or simulation) up and running it's time to add a little code to generate a code that you will enter in our contest system to prove you've completed the challenge. It’ll only take a few easy steps to make your Arduino generate the contest code.
First, open your CodeProject profile page (click on your name at the top right of CodeProject.com while logged in) and find your member ID number directly under above your profile picture.
In the Arduino IDE or Tinkercad code window, paste the following function at the top of the file before any other code:
uint8_t Hash(String str)
uint8_t hash = (uint8_t) str.length();
for (uint8_t i = 0; i < (uint8_t) str.length(); ++i)
hash = (uint8_t) (((hash << 5) ^ (hash >> 3)) ^ str[i]);
Next, inside the BinaryCounter::increment() method, find the line that reads:
binaryDigits = getBinaryDigits(valuetoShow)
an change it to:
binaryDigits = getBinaryDigits(Hash(“00000000”))
Now, replace the string of zeros with your CodeProject member ID.
If you’re using Arduino hardware, connect the Arduino hardware to your PC and use the Arduino IDE to upload the code. If you’re using Tinkercad, you don’t need to do anymore more with your code as all the changes you make are available to the simulated Arduino immediately.
Proceed to the next section if you’re using a physical Arduino. If you’re using Tinkercad, skip ahead to the ‘Tinkercad Instructions’ section.