IoT category

ESP32 Web Server – Arduino IDE

Rui @ randomnerdtutorials.com tipped us with his latest project. He writes:

In this project you’ll create a standalone web server with an ESP32 that can toggle two LEDs using the Arduino IDE programming environment. If you want to learn more about the ESP32 dev board, read my Getting Started Guide with ESP32.

ESP32 Web Server – Arduino IDE – [Link]

ESPurna-H, A Compact Open Source Hardware Wireless Power Wall Switch

Controlling your AC loads using wireless power switch is not a new concept. Several commercial products from several vendors can be found on the market such as Xiaomi’s Mi Smart Socket Plug, SAMSUNG’s SmartThings Power Outlet and Sonoff Pow WiFi Switch from ITEAD.

Using ESP8266 makes the building of a customized WiFi power switch more affordable especially if you start with Sonoff Pow WiFi Switch design and you use a special Arduino C firmware called ESPurna developed by Xose (tinkerman) which is an open source firmware for ESP8266 based wireless switches such as Sonoff POW and many others.

After Xose has built the software ــ ESPurna, he decided to build his own smart switch board to meet his special needs. ESPurna-H electronic design is very similar to Sonoff POW’s one; it uses ESP12 module as a controller and as WiFi transceiver.

ESPurna-H
ESPurna-H

AC power monitoring is done using HLW8012 IC which is also present in Sonoff POW. This IC monitors both voltage and current of the AC power, and output RMS voltage, current and active power encoded as a 50% duty cycle square wave where the frequency is proportional to the magnitude. I should mention that ESPurna supports interfacing with HLW8012. In addition AC load is enabled/disabled by using a 10A relay.

ESPurna-H uses HLK-PM01 AC-DC step-down power supply module. The 100-240 VAC input range so the board can be used anywhere in the world and the good performance made Xeos select this module.

HLK-PM01
HLK-PM01
HLK-PM01 Inside (Image Source ــ lygte-info.dk )
HLK-PM01 Inside (Image Source ــ lygte-info.dk )
HLK-PM01 Inside (Image Source ــ lygte-info.dk )
HLK-PM01 Inside (Image Source ــ lygte-info.dk )

ESPurna-H has another option to enable/disable the relay using a capacitive touch switch using TTP223 module.

Xose designed the board with Eagle CAD and released the schematics, PCB layout and other hardware design files on Github.

Source: cnx-software

10km ESP32 WiFi Using Directional Antenna

[Jeija] was playing with some ESP32s and in true hacker fashion, he wondered how far he could pull them apart and still get data flowing. His video answer to that question covers the Friis equation and has a lot of good examples of using the equation, decibels, and even a practical example that covers about 10km. You can see the video below.

Of course, to get that kind of range you need a directional antenna. To avoid violating regulations that control transmit power, he’s using the antenna on the receiving end. That also means he had to hack the ESP32 WiFi stack to make the device listen only on one side. The hack involves putting the device in promiscuous mode and only monitoring the signals being sent. You can find the code involved on GitHub (complete with a rickrolling application).

Of course, antennas are nothing new–look at all the Pringle can antennas we’ve seen in the past. However, the use of a long range receive-only module is interesting and we can see this technique having applications to remote drone video or telemetry and — of course — wardriving. If you don’t have a big boss antenna lying around, you might try some duct tape. If you want a more detailed refresher on decibels, we did that last month.

Source: Hackaday

$10 Orange Pi 2G-IoT Competing With Pi Zero W

A new competitor to Raspberry Pi Zero W is just out! A new single-board computer by Orange Pi that is now available at AliExpress is competing against Pi Zero W, the Orange Pi 2G-IoT. Using this powerful SoC you can build a computer, a wireless server, games, musics and sounds, a speaker with Android, Scratch and a lot of other options since Pi 2G-IoT is open source.

The Orange Pi 2G-IoT has ARM Cortex-A5 32bit clocked at 1GHz with 256MB DDR2 RAM, 500 MB of on-board NAND storage to go along with an SD card slot for larger storage. It also has a CSI camera connector, WiFi, Bluetooth, an FM Radio and GSM/GPRS with a sim card slot on the bottom. It is pin compatible with Raspberry Pi’s almost standardized GPIO layout.

This $10 board is impressive especially the addition of GSM/GPRS, but it is not promised to kill other competitors in sales, even though it is a powerful little computer. Since the community of Raspberry Pi product is much more larger and more supportive, Orange Pi fails in engaging its audience with the products it makes.

Unfortunately, Orange Pi website is not updated yet to include its newest product. However if you are interested in getting one for yourself right now, head over to AliExpress to get your 2G-IoT for only $9.90 and to know more details.

Via Hackaday

Creating a Smart Water Sensor with the ESP32 Thing

Alex the Giant @ sparkfun.com has a tutorial on how to build smart and connected water sensor using ESP32. He writes:

For this project, you can use either the ESP8266 Thing, or the ESP32 Thing. One of the many improvements made on the ESP32 is the capacitive touch circuitry built in to ten of the IO pins (we can see the pins capable of capacitive touch in the datasheet below). It should be noted though, that Touch1 cannot be used as capacitive touch sensor because of the pull-up resistor connected to GPIO pin 0. With the capacitive touch, we’ll be able to sense water with just two pins; the first will be connected directly to a capacitive touch pin, and the second will be connected to ground.

Creating a Smart Water Sensor with the ESP32 Thing – [Link]

Educational Biomed Shield for Arduino 101

Orlando Hoilett has built his new biomedical Arduino 101 shield: Biomed Shield, in order to allow students, educators, and hobbyists to learn about bio-medicine by monitoring heart rate, temperature, and other physiological metrics.

To build this shield he used the following components:

  • AD5933
  • MLX90614
  • Microchip Rail-to-Rail Input/Output Dual Op-Amp
  • MAX30101: a specialized integrated circuit that is able to perform reflectance photoplethysmography
  • Photocell
  • Thermistor
  • AD8227

Orlando measured heart beats using transmission photoplethysmography using MAZ30101, where a light shines through an extremity such as a finger and a detector measures the amount of light that passes through. When the heart pumps blood through the body,  a momentary increase in blood volume in the fingers happens. As a result, the amount of light that passes through the finger changes with this changing blood volume and is detected by the photodetector.

Bioimpedance Measurement

Bioimpedance is can be another class of bioelectrical measurements where we measure the impedance of the body instead of measuring the electrical signals produced by the body with the help of AD5934 impedance analyser chip. He is also measuring body temperature with the MLX90614 and measuring the amount of light using  a CdS Photocell.

Orlando built this shield for education purposes not as a medical device, and his work on this shield is still in progress. Follow his project on hackster.io to know more details and updates. You can check source files at Github.

Arrow’s New FPGA-Based IoT Maker Board

Arrow Electronics has introduced a new FPGA IoT Maker Board designed for end-to-end application development and optimised for cost. The Arrow MAX1000 board can be installed directly into a custom application or integrated on to a completely separate board.

It has been created for start-ups, universities or established equipment manufacturers who want a flexible, low cost FPGA platform for development, and the distributor can also supply customised variants.

At the heart of the maker board is a compact (11x11mm) Intel MAX10 FPGA with 8000 logic elements. This single chip includes integrated flash memory, a 1Msps 12bit ADC for analogue signals and a 3.3V power supply. Other features include embedded SRAM, DSP blocks, instant-on within milliseconds, and the ability to implement Intel’s NIOS II soft core embedded processor to perform microcontroller tasks. The board is equipped with an integrated Arrow USB-Blaster that enables the FPGA to be programmed directly from a PC and debugged using the free of charge Intel Quartus Prime Lite software.

The MAX1000’s power can be supplied as 5V from the USB port or via a separate pin. An Enpirion DC/DC converter with integrated coil then generates the 3.3V supply used on board. A MEMS oscillator provides the clock supply for the FPGA and the USB bridge. The low power, 3-axis acceleration sensor – also based on MEMS technology, can be used for position and motion detection, which are often required in IoT applications. External SDRAM can be used for storage of application data or as memory for the NIOS II processor.

Visit Arrow Electronics at www.arrow.com

Source: eeDesign Europe

Call for Makers: Hackaday Prize for Social Impact Projects

In patnership with Digi-Key, Supply Frame and Microship, Hackaday is calling for the curious, the creative, and the determined who are working to create social change in order to transform the world using their hardware and programming knowledge in addition to scientific, design, and mechanical abilities. This contest by Hackaday will encourage people innovate projects that can impact in people lives.

All you have to do is designing an impactful project that suits you, or collaborate with a team to do it. You can create things like reliable utensils for the disabled, a way for denizens to find clean drinking water in rural villages, refreshable braille displays for image text and a smart home to build a sustainable community. Or go beyond that and create something that has never been seen before. The purpose of the contest is to encourage participants to develop solutions to address technology issues facing humanity today.

With the global collaboration behind this contest, the total prizes will reach $250,000 and they will be divided as following: $120,000 goes to top 120 finalists ($1,000 each), $50,000 Grand Prize, $30,000 Best Product Prize, $20,000 2nd Place, $15,000 3rd Place, $10,000 4th Place and finally a$5,000 5th Place.

The first stage of the Contest will consist of five (5) Challenge Rounds. Participants may enter the Contest during any of the Challenge Rounds. Up to twenty (20) entries from each Challenge Round will be chosen to advance to the final round. Participants must complete the requirements for at least one (1) Challenge Round to be eligible for the final round. An entry may be submitted to any or all of the Challenge Rounds as long as it meets the requirements for each Challenge Round in which it is submitted. All submissions must be in English and must comply with any specified requirements.

Challenge Round 1: (Get Started: Design Your Concept.)

Entry period begins 7:01 a.m. P.D.T on March 20, 2017 and closes 7:00 a.m. P.D.T on May 1, 2017. This round is for showcasing your idea, hacks and logs and presenting the problem and how will your project solve it.

Challenge Round 2: (Internet of Useful Things :: IuT ! IoT)

Entry period begins 7:01 a.m. P.D.T on May 1, 2017 and closes 7:00 a.m. P.D.T on June 12, 2017.
Let’s take Internet of Things and make it practical for everyday life. Internet of Useful Things projects showcase a way to build a better tomorrow with the data you track and analyzeChallenge

Round 3: (Wheels, Wings and Walkers)

Entry period begins 7:01 a.m. P.D.T on June 12, 2017 and closes 7:00 a.m. P.D.T on July 24, 2017. This round is for building things that move, so the objective of the project is movement and support for things that help move humanity forward.

Challenge Round 4: (Assistive Technology)

Entry period begins 7:01 a.m. P.D.T on July 24, 2017 and closes 7:00 a.m. P.D.T on September 4, 2017.  Assistive technology projects ensure a better quality of life for the disabled and enhance learning, working, and daily living.

Challenge Round 5: (Anything Goes)

Entry period begins 7:01 a.m. P.D.T on September 4, 2017 and closes 7:00 a.m. P.D.T on October 16, 2017. No reservation, no theme, no topic. it is up to you to build on your idea that resonates with you and encompasses the spirit of making. Build whatever you think would benefit humans and the world we live in.

Best Product

To be eligible for Best Product the product must not have received more than $2,000,000 in funding within the life of the product. The sum of the product’s dimensions (width + height + depth) must total 36 inches (91.44 centimeters) or less. Best Product Final Round. By 1:50 p.m. P.D.T. on October 21, 2017

It’s time to leverage your talent and find solutions to address a problem facing humanity today. With a new technical design challenge every 6 weeks, you are expanding the frontiers of knowledge and engineering.

In order to bootstrap your project before completing your final application of this contest, Hackaday now gives you the chance to participate in a public voting and win up to $200. Just start your entry to get access to this.
Check the rules of the contest to make sure that your country is eligible to apply. Also check this page to know more details about the contest.

SimpleLink MCU platform Launched By TI For Scalable Product Development

Texas Instruments has announced the SimpleLink MCU platform, which is transforming the pace of product proliferation by uniting a robust set of hardware, software and tools under a single development environment.

The SimpleLink MCU platform offers a new software development kits (SDKs) based on a shared foundation of drivers, frameworks and libraries to enable scalability with 100% code reuse, which will reduce design time and allow makers to invest once and leverage across multiple products.

Developers will be able to choose from any of the 32-bit wired and wireless ARM-based MCU devices, making their products easily adapted to changing design or application requirements.

Features of SimpleLink SDK:

  • 100 percent code compatibility across SimpleLink MCU portfolio
  • TI Drivers offers standardized set of functional APIs for integrated peripherals
  • Integrated TI-RTOS, a robust, intelligent kernel for complete, out-of-the-box development
  • POSIX-compatible APIs offer flexible OS/kernels support
  • Encryption-enabled security features
  • IoT stacks and plugins to add functionality to your design

At the same time, TI also announced a new generation of Wi-Fi chips and modules, the SimpleLink Wi-Fi CC3220 wireless MCU and CC3120 wireless network processor.

The CC3220 features a 80MHz Cortex-M4 application processor, with 256k of RAM and 1Mbyte of flash, and a network processor with a hardware crypto engine. While the CC3220 supports Wi-Fi, the range will be extended in the coming months with devices supporting Bluetooth Low Energy and sub GHz communications, as well as a Bluetooth LE/sub GHz dual band part.

“Developers need to ask what needs to be protected, what they are protecting against and what are the exposure points. The CC3220 provides more than 25 security enablers to handle such aspects as key management and code protection.” Mattias Lange, general manager of embedded connectivity solutions, noted.

The SimpleLink platform delivers the most security features, along with the broadest connectivity protocol support and advanced analog integration, combined with the industry’s lowest power wireless MCUs. Bringing together all of TI’s low-power, connected ARM MCUs, including MSP432™ devices, the platform offers:

  • Bluetooth® low energy: CC2640R2F and CC2640R2F-Q1 wireless MCUs
  • Dual-band (Sub-1 GHz and Bluetooth low energy): CC1350 wireless MCU
  • Host MCU: MSP432 MCU
  • Sub-1 GHz: CC1310 wireless MCU
  • Wi-Fi: CC3220 wireless MCU, CC3120 wireless network processor

The CC3220 wireless MCU LaunchPad development kit [CC3220SF-LAUNCHXL] is available for $49.99 and the CC3120 wireless network processor BoosterPack plug-in module [CC3120BOOST] is available for $29.99. The CC3220 will be priced at $4.99 in 1,000-unit quantities.

SimpleLink Microcontrollers and Network Processors

You can learn more details and discover all SimpleLink processors, development kits and tools at the official website.

Arduino-Programmable ESP32 Development Board

Ezsbc, an American embedded control solutions retailer, had produced a new development board that simplifies working with ESP32 module and makes it programmable via USB using the Arduino IDE.

The ESP32 is a low cost, ultra low power microcontroller with integrated Wi-Fi & dual-mode Bluetooth, which employs a dual-core Tensilica Xtensa LX6 microprocessor. ESP32 is created and developed by Espressif Systems for mobile devices, wearable electronics and IoT applications. It is a successor to the ESP8266 microcontroller.

Other than the ESP32 module, the board has an FTDI FT231XS USB to Serial converter, a 3.3V LDO, reset and flash switches and a multi color LED. The module can be programmed directly from the Arduino environment with 921600 bps upload speed.

It supports auto-download and will automatically be set in download mode by the downloader. Once the download is complete the board will be reset, just like a normal Arduino board.

Features of the ESP32 board:

  • 240 MHz dual core Tensilica LX6 microcontroller with 600 DMIPS
  • Integrated 520 KB SRAM
  • Integrated 802.11BGN HT40 Wi-Fi transceiver, baseband, stack and LWIP
  • Integrated dual mode Bluetooth (classic and BLE)
  • 16 MByte flash
  • 2.2V to 3.6V operating voltage
  • On-board PCB antenna
  • 3 x UARTs, including hardware flow control
  • 3 x SPI
  • 2 x I2S
  • 12 x ADC input channels
  • 2 x DAC
  • 2 x I2C
  • PWM/timer input/output available on every GPIO pin
  • SDIO master/slave 50 MHz
  • Supports external SPI flash up to 16 MB
  • SD-card interface support

The board is available for $17 on tindie store. Datasheet, documentation, and schematics are also available there.