Posts

sensors

Image
12/3/20 Using pre-existing examples on the program: file - examples - basic - blink. This gives us the code for an LED light to flash. Once the code is up you verify, then upload it. There was an error. We went on tools, port and connected it back up making sure the board was Arduino/uno (the make of our board) and made sure the pins were in the right place as the error said the port was not found. The smaller the delay the faster it blinks. As the example code provided, the delay(1000) means wait for 1 second, so changing it to 100 creates a rapid blink. I managed to get the LED light to blink using the breadboard which we couldn't figure how to do before Motor From the images/video below we used the Arduino to power the motor meaning that we didn't need to use code (creative cheating) We learnt that the ground and 5V had to be connected to the positive and negative in the breadboard as shown below so those columns have power  Then we added two ...

Notes

Image
10/3/20 Arduino is an open source physical computing platform based on a simple input/output board and a development environment that implements the processing language. This platform can be used to develop standalone interactive objects or can be connected to software on your computer (i.e flash) Using Processing you can paste examples of code in from  https://processing.org  and run them. In the image below I took from drawing, called 'pattern' which follows the mouse. Sensors detect and respond to types of input from the physical environment. inputs can be from light, heat, motion, moisture, pressure etc. it is a resistor - of a variable type or a simple binary. Arduino takes power from USB or 9-12 volts Touch-pad sensors are variable resistors Arduino platform - arduino is composed of two parts; the board which is hardware you work on when you build your object; and the arduino IDE the software you run on the computer where you create a sketch that yo...