To detect the Wemos, you have to add library on arduino. This link explains how to install them. http://www.instructables.com/id/Programming-the-WeMos-Using-Arduino-SoftwareIDE/ Arduino Leonardo pin (Arduino that I used previously) is different from...
int led = 9; // the PWM pin the LED is attached toint brightness = 0; // how bright the LED isint fadeAmount = 100000000; // how many points to fade the LED byint photocellPin = 0; //...
The laser driver circuit has a SMPS (IC2) that converts 5V (V_MAIN) into the laser operating voltage (V_LASER). This higher voltage is needed by the PLD (PLD1) because it doesn’t switch on at lower voltages. V_LASER can be adjusted through the LASER_POWER...
While the sketch from Step 2 will run a stepper, it would be desirable to have some information reported to the screen. This makes it easy to experiment and build intuition. Let's add some code to report speed and position every second. To begin, load...
/* HID Joystick Mouse Example by: Jim Lindblom date: 1/12/2012 license: MIT License - Feel free to use this code for any purpose. No restrictions. Just keep this license if you go on to use this code in your future endeavors! Reuse and share. This is...
First we begin with a weight sensor. ( A little advice: check that everything is functional because in our case we had to weld cables back in place). In order to build a scale using this weight sensor you need two plaques (ours is made out of thin wood...
I will try to comment the code used for the sensor-box, this is the latest version consider that there's 6 version. The weirdest problem i've encountered is the heap fragmentation, as a self learning guy, I've wildly used Strings (especially in a past...
// Temperature Controler for window fan// Written by mike, public domain/*-------------------------------------------------------------------------------------- Includes--------------------------------------------------------------------------------------*/#include...
Here's the code that was used in this build, and its a simple one: it measures analog voltage using a voltage divider circuit and displays the corresponding voltage value on a 128x64 OLED screen using the Adafruit SSD1306 library.#include #include #include...
Preparing the Digispark and Arduino IDEThe Digispark is not the easiest Arduino development board to use. There is a custom version of the Arduino IDE you can use but it is old (version 1.06!). Better to bite the bullet and use the latest Arduino IDE...
The keyboard module is based on the ATMEGA32U4. You can flash thebootloader using the ISP 6 pins connector on the back side of the PCBYou will need to use a bootloader .HEX file which is compatible with the ATMEGA32U4 16 MHZ crystal version. (5v...
This strange looking frame goes at the very front of the robot and performs two important functions. One is to mount a load of the sensors and antennae for the control system, and the other to mount an everyday 10K potentiometer to measure the steering...
Concerning the motion sensors, you just have to wire it to the arduino (same as before) and thanks to the code you’ll be able to transform it into data. 1 if something passes in front of the sensor and 0 if there’s nothing in front of the sensor. Then...
Well the selfie stick remote controls phone camera using Bluetooth technology when a button is pressed. What we will do today is to trigger the switch anyway using Arduino. So, we'll be using our transistor as what it was actually made to do- using it...