Author: Andrew

Circuit Design

Circuit Design

Building a circuit take quite a bit of time and effort. A schematic has to be constructed – which is a diagram showing the links between all of the electronics. A prototype should be built and tested, the schematic refined and then finally the PCB 

Setting Up the Code

Setting Up the Code

We’ve started working on the data logging side of the software, and a working prototype will be complete – of both software and hardware – in time for our YICTE competition entry. We have decided on using C++ and Arduino as the programming languages for the software. 

State Machine

A state machine – or Finite state machine (FSM) – is a way to model computations, which is commonly used in programming and logic circuits. In relation to programming, each state is a section of code or a function and each transition is a the method for calling that function or code. Creating state machines helps us to understand how the final product of the code will work before writing it as it simplifies how the states and transitions form sections.

Due to the size of our project, this the only simple way to understand how all of the code and components will communicate. Below is the state machine we came up with for the software side of our project. It might not contain everything that will be in the final product but it gives us a simple way to view the concepts to then transform into code.

state_machine

(It is assumed that the process will end with power off).

From here the state will be split up between us and programmed and will slowly come together in a finalized file.