Well, we got MQTT working, but now what? We want to send something more interesting than just HELLO. We want to send some actual data. Up to this point, you have been able to use either of the Cypress PSoC 6 dev boards (the CY8CPROTO-062-4343W or the...
With the following example you will be able to publish ANALOG readings taken from the A0 pin of the Feather 32u4 FONA to Ubidots. 1. To post your first value to Ubidots, open the Arduino IDE and paste the code below. Once you have pasted the code, you...
Now download the code and install the mouse.h and keyboard.h libraries. Upload the code to your Arduino. You can copy the code from below. #include #include const int EMG = 2; //Emergency stop button :) const int L1 = 7; const int L2 = 8; const int P1...
Count Some FlexesNow that we (roughly) know the maximum value of the output, we can pick a value which signifies the impulse is strong enough to be a muscle action. I arbitrarily decided to use 1/2 of the maximum value. When the signal crosses above...
Step 7: AUTOMATE!The key part of smart home is to create automation workflows that will connect your devices together according to pre-programmed scenario.Let’s do that by using two great tools, Stories app (in Prota OS) and IFTTT (If This Then That).Connect...
/* *LED Fuel Gauge for Honda SuperHawk 16L Tank *http://www.superhawkforum.com *Code by Will Lyon 10/3/2015. Contact: will.lyon12584@gmail.com *Help from user Doug Jefferies on the Element 14 Forums *5V to fuel sensor Grn/Blk *Fuel sensor Gry/Blk to...
Let’s first talk about how to use each electronic component and build the circuit for this project. 1.1 Starting the Circuit with the WeMos D1 Mini WeMos D1 Mini has eleven digital I/O pins, one analog input pin (A0), one 3.3V pin, one...
Arduino Soil Probe Using DS18B20 and DIY Moisture Hardware:As a fanatical gardener or a professional farmer, knowing the environmental conditions of our soil is invaluable. Obviously, we can't measure the number of worms or pieces of organic humus, but...
Coding the Arduino board: After complete wiring, you can pass on to programming the Arduino board. const int blitzled1 = 9; const int blitzled2 = 8; const int redled = 7; const int orangeled = 6; const int yellowled = 5; const int blueled = 4; const...
In previous projects we spent a lot of time designing and building the mechanical systems and we really wanted to short cut all the hard work by using a ready made system that could be bought reasonably cheaply 'off the shelf'. We looked at mobility...
To start with any ESP8266 device you have to install the boards into the Arduino IDE, please follow the steps below to be able to compile the board. Please download the Arduino IDE if you do not already have it. 1.- Open the Arduino IDE, select...
The 2.9” active area contains 296 x 128 pixels and has 1-bit white/black full display capabilities. An integrated circuit contains a gate buffer, source buffer, interface, timing control logic, oscillator, etc… are supplied with each panel. You...
The 2.9” active area contains 296 x 128 pixels and has 1-bit white/black full display capabilities. An integrated circuit contains a gate buffer, source buffer, interface, timing control logic, oscillator, etc… are supplied with each panel. You...
The 2.9” active area contains 296 x 128 pixels and has 1-bit white/black full display capabilities. An integrated circuit contains a gate buffer, source buffer, interface, timing control logic, oscillator, etc… are supplied with each panel.You...
Bill of Materials (BOM) Bluepill development board (with a STM32F103C8 MCU)BreadboardUSB C intermediate connectorLM393P dual comparator3.3kΩ resistors (2pcs)1kΩ resistorWires Additionally, a device is needed to program the Bluepill. This...