博文

目前显示的是 十月, 2017的博文

Interesting Programming Guidance for Designer--Create Your First Processing Program

图片
This article come from https://www.elecfreaks.com/10868.html . Under the attractiveness of our first chapter  Processing Initial Touch , I believe those who interest in processing can’t wait until the second chapter come out have already tried it by themselves. Here’s two warm tips for processing lovers: You can not learn programming well with reading teaching courses only. Do remember to practice with your hands! You can type the line one by one once you understand it. You can understand the operation mechanism through feedback. C reate Your First Processing Program In this chapter, we are going to play processing proficiently. Most of typical entry courses of other programming languages start with “HelloWorld”. But, “HelloWorld” for designers should not be characters but patterns! Sketch  &  Function Before we start, let’s talk about canvas of Processing—Sketch. Sketch by name means scripture or drawing. Program designers name programming files too grace

Make A Lie Detector Machine with ElecFreaks Micro:bit Tinker Kit

图片
With this machine, the truth will never escape you! As long as you can make your subject hold a moisture sensor for a while. This tutorial was contributed by Samuel Ong from Raffles Institution. Step 0 – Pre Build Overview In this project, we will create a simple lie detector machine, which works by measuring the electrical conductivity of our skin. Upon feeling nervous, our skin's electrical conductivity will increase, and the moisture sensor can pick up on that. This allows us to determine if a person is telling the truth or not. Materials: 1 x BBC micro:bit 1 x Micro USB cable 1 x Breakout board 1 x Octopus OLED 1 x Moisture Sensor Tips: If you want all components above, you may need  ElecFreaks Micro:bit Tinker Kit . Goals: Get to know the Octopus LED and  Soil Moisture Sensor Learn basic statistics Make something using the  moisture sensor Step 1 – Components First of all, plug in the  soil moisture sensor . Match the colors and note down

Micro:bit Experiment 10: Motor —— Elecfreaks Mirco: bit Starter Kit Course

图片
Introduction Motor is a kind of device which can transfer electric energy into kinetic energy according to the law in electromagnetic induction. In this experiment, we are going to use a switch to control the start and stop of a motor. Component List Hardware: 1 x  Micro:bit Board 1 x Micro-B USB Cable 1 x  Microbit Breadboard Adapter 1 x  Transparent Breadboard - 83 * 55 mm 1 x  5V Miniature Motors 1 x TIP 120 NPN Transistor 1 x 1N4007 Diodes 1 x 100 Ohm Resistors 1 x  Breadborad jumper wire 65pcs pack 2 x Alligator Clip Wires Tips: If you want all components above, you may need  Elecfreaks Micro:bit Starter Kit . Software: Microsoft Makecode Online Editor Major Component Introduction Motor Motor is a kind of device that can transfer electric energy into kinetic energy according to the law of electromagnetic induction. Motor has a lot of categories. In our experiment, the motor we use is DC motor. When we supply DC voltage to the two terminals