Electronic Things
Setup
You can program the Arduino Uno using the Arduino IDE.
After downloading the Arduino IDE, open the application, plug-in your Arduino and upload the Blink
example.
What is Inside the Kit?
Inside your kit you should find:
- Arduino Uno
- Breadboard
- Breadboard wires (M to M)
- USB cable
- HC-SR04+
- Servo
- NeoPixelRing
- Rotary Potentiometer – 10 kΩ
- Tactile Switches (5 Pack)
For a breakdown of the components and how to use then, see the Arduino Foundations course on LinkedIn Learning.
There are also these video tutorials by Mark Kobine.
Where Can I buy Equipment?
If you have to buy some extra sensors or components for your project, the following are reputable suppliers that deal in RoHS compliant materials. Of course, it never hurts to ask if we have something already.
There may also be a small selection of components available at the ECA Material Hub.
Where can I work with Electronics?
If you need to find facilities, first port of call should always be the ECA Handbook. You can search for facilities by type. At the time of writing, workshops supporting electronics are
There is also uCreate Studio in the Main Library.
How do join code together?
A lot of work in Electronic things will be combing separate ideas into one sketch. An outline of the process is covered here, but speak to your course tutor for further advice.
How Do I ask a good question?
The majority of this kind of work revolves around asking questions when you inevitably get stuck. Outlined below is a system that should help you to ask well formed questions about electronics and programming. You will likely even answer the question in the process.
- Create a minimal, complete, reproducible example
- Minimal – Use as little code as possible that still produces the same problem
-
- Restart from scratch. Create a new project / target, adding in only what is needed to see the problem. Use simple, descriptive names for functions and variables – don’t copy the names you’re using in your existing code.
-
- Divide and conquer. If you’re not sure what the source of the problem is, start removing code a bit at a time until the problem disappears – then add the last part back.•
-
- Complete – Provide all parts someone else needs to reproduce your problem in the question itself. If the problem requires a library, include which one The problem might not be in the code that you think it is in.
- Reproducible – Test the code you’re about to provide to make sure it reproduces the problem
- Describe the problem. “It doesn’t work” isn’t descriptive enough to help people understand your problem. Instead, explain what the expected behaviour should be.
- Eliminate any issues that aren’t relevant to the problem.
- Double-check that your example reproduces the problem
- DO NOT post images of code, data, error messages, etc.
- copy or type the text into the question.
- Share your code:
- if your program is fairly simple (i.e. just a main function and 100 or so lines) then share your code in Teams
- in the later stages share with your 1TB OneDrive allocation.
- Write a title that summaries the specific problem
- If you’re having trouble summarising the problem, write the title last - sometimes writing the rest of the question first can make it easier to describe the problem.
- Include any error messages, OS version or any other relevant information