Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RaceUP Recruitment Assignment

Hello to everyone, this is an optional (but it will obiouvsly make a good impression) task assigned to every candidate for a position in the software department here at RaceUP-e. You are asked to write an Arduino sketch for the Arduino Uno that reads time data from an RTC device (DS1307 based datasheet) communicating via i2c. This data then needs to be displayed on an LCD display (HD44780 based wiki) that gets updated each second to show current date and time in the format dd/mm/yy hh:mm:ss. To let everyone develop and test the code, the assignment is based on the Wokwi simulator that can emulate real hardware on the browser (docs), or inside VS Code.

Rules

  • Code ONLY on the .ino file don't use any other file
  • Use the provided diagram.json, otherwise when we test your code it might not work because you used a different pin setup
  • Comments that explain what you are doing and your way of thinking are very welcomed
  • The only allowed library is Wire.h for i2c, NO OTHER INCLUDES ALLOWED

Instructions for Wokwi on browser (Recommended)

  1. Create a new empty Arduino Uno example
  2. Copy the content of this repository diagram.json into the one in the browser
  3. Code on the provided .ino file

Instructions for the VS Code extension

  1. Clone the repository git clone https://github.com/raceup-electric/assignment
  2. Install the Arduino extension from the VS Code marketplace
  3. Install the Wokwi extension (you are asked to login do it, don't worry it is free)
  4. Check the box for Arduino: Use Arduino CLI in VS Code settings
  5. Reload the editor
  6. Open the command palette (Ctrl/Cmd+Shift+P) and select Arduino: Initialize
  7. Open the command palette (Ctrl/Cmd+Shift+P) and select Arduino: Board Manager then install Arduino AVR Boards
  8. Select Arduino Uno on the bottom bar
  9. Everything is already set up you just need to edit the assignment.ino file
  10. To compile the sketch open the command palette (Ctrl/Cmd+Shift+P ) and select Arduino: Verify
  11. To run the sketch open the command palette (Ctrl/Cmd+Shift+P ) and select Wokwi: Start Simulator

If you can't make it work on VS Code use Wokwi.

How to hand in your work

When you have finished upload your .ino file on this Drive folder (link), naming the file as following: Name_Surname.ino. Don't worry if it is not working completely or at all, just comment the code and hand in your code anyway: we are interested in your approach to problem solving and your line of reasoning.

Good work to everyone, see you at the interwiew!

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages