Tag Archives: Wifi

Add WiFi & Bluetooth Easily With Koala® Connect Modules

Clarinox Technologies Pty Ltd was formed with the aim of providing cost effective and innovative wireless embedded systems solutions to business. Due to the experience of the Clarinox team, more embedded systems are designed to develop leading edge solutions. In addition to delivering flexible and robust wireless protocol software for embedded systems developments.

Clarinox hottest products are Koala® Connect Modules! A compact option for adding Wi-Fi® and / or Bluetooth® to new and existing projects.

These modules will give you a stable environment while used with Koala® EVM, the first and only development board to support development for all major wireless technologies. It enables embedded systems developers to create both low and high power wireless systems communicating over Wi-Fi, Bluetooth Classic and Bluetooth Low Energy. It provides a fast and cost effective way to commence embedded wireless development with all major wireless technologies.

Each module features a single onboard processor to drive the user application in addition to multiple wireless protocols. The modules available are:

Koala® Connect Modules
KM-141201 (20 x 30mm BT/BLE)
KM-153101 (20 x 34mm Wi-Fi+BT/BLE)

Carrier Board for Koala® Connect
KC-018102

Sensor Modules
KM-990501 Sensor Board

The Koala EVM and wireless module family will help shorten development time, reduce development costs, and open the door to new possibilities for wireless device features.

And these are the specifications

Hardware Specifications

MCU: STM32F411 (Bluetooth/BLE), STM32F412 (Wi-Fi + Bluetooth/BLE)

Wi-Fi Radio: TI WL1831MOD / WL1837MOD

  • 802.11 a/b/g/n
  • 2.4 GHz & 5 GHz
  • -96.3dBm RX Sensitivity
  • STA, AP & Wi-Fi Direct Modes

Bluetooth / Bluetooth LE Radio: TI WL1831MOD / WL1837MOD

  • Dual-mode Bluetooth & Bluetooth Low Energy
  • Bluetooth v4.1 Compliance and CSA2 Support
  • Host Controller Interface (HCI) Transport for Bluetooth Over UART

I/O Signals: ADC, GPIO, I2C, I2S, SPI, UART, USB

Industrial Temperature Grade: -40°C to +85°C

Software Specifications

Supported Technologies: Wi-Fi WLAN, Wi-Fi Direct Concurrent Operation (Multichannel, Multirole), Bluetooth, Bluetooth LE

You can get your own products from Clarinox by filling this inquiry. More details about Koala Connect Modules are available here, also a start manual for KoalaEVM is available here.

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

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.

Embedded IoT gateway, in a 17 x 25 mm footprint

Lantronix, Inc. has added the xPico 200 family of embedded IoT gateways that measure 17 by 25 mm, to rpvide secure Ethernet, Wi-Fi and/or Bluetooth connectivity for smart IoT solutions. by Graham Prophet @ edn-europe.com:

The xPico 200 series will feature enterprise security, networking intelligence, and pre-integration with Lantronix’s MACH10 management software platform in a compact footprint that enables the functionality of a powerful IoT device gateway to be integrated into machines not previously practical.

Embedded IoT gateway, in a 17 x 25 mm footprint – [Link]

How to Setup WiFi on the Raspberry Pi

In this video, Circuit Basics will show us how to configure a WiFi dongle and establish a wireless connection for your Raspberry Pi. This is useful if you don’t wish to connect your Raspberry Pi to your network with an Ethernet cable.

How to Setup WiFi on the Raspberry Pi [Link]

Radino WiFi: Arduino With ESP8266EX

The Internet of Things or IoT technology is booming nowadays. Almost all makers are getting interested towards this field of endless possibilities. The Arduino and the ESP8266 are strong bases of this awesome technology. But, what will happen if we merge an Arduino with an ESP8266EX under the same package? Well, the answer is “Radino WiFi”.

Radino WiFi : The Arduino compatible WiFi Module
Radino WiFi: The Arduino compatible WiFi Module

The In-Circuit Radino WiFi combines an ATmega32U4 with the popular ESP8266EX WiFi SoC to the small
Radino package. The ATmega32U4  MCU is also used in Arduino Micro. In Radino, the MCU is preprogrammed with Arduino bootloader. Hence, you can use Arduino IDE for uploading codes to this Arduino-compatible device. In-Circuit stated on their website:

It′s part of the radino-series, which provides full Arduino-compatible wireless communication devices in a small form factor, all pins are compatible with each other.

Features:

  • Arduino-compatible
  • Fully integrated WiFi Chip ESP8266EX by Espressif
  • 802.11 b/g/n protocol
  • Wi-Fi Direct (P2P), soft-AP
  • Integrated TCP/IP protocol stack
  • Integrated TR switch, balun, LNA, power amplifier and matching network
  • +19.5dBm output power in 802.11b mode
  • ESP8266 Power down leakage current is < 10uA
  • Wakes up and transmits packets in < 2ms
  • ESP8266 Standby power consumption is < 1.0mW
  • 15 GPIOS (7 PWM, 5 Analog IN)
  • I²C, SPI, UART
  • USB (HID Keyboard & Mouse, virtual UART)
  • High-Performance, Low-Power Microcontroller ATmega32U4

Technical Details:

Radino WiFi consists of two chips. An ATMega32U4 and an ESP8266EX. The ATmega32U4 is used as I/O machine for the ESP8266EX. It performs all the required tasks to control I/Os. In the other hand, ESP8266EX is the main WiFi chip and all WiFi services run only on the ESP.

The Radino comes preprogrammed with an ESP based web server. The default settings are given below:

  • Access point: RADINO-WIFI
  • Password: 12345678
  • TCP/UDP service for UART-Bridge/WiFi
  • Default IP: 192.168.2.1

The user can change these default settings anytime.

Download the Radino library for Arduino IDE 1.6 from here. Add this library to Arduino IDE and select Radino board from board manager.

This video explains how to use this amazing module.

Radino Pinout:

Radino WiFi Module Pinout Diagram
Radino WiFi Module Pinout Diagram

Radino has 15 GPIO pins. Among them, 5 pins can handle PWM signal and 5 pins can take analog signal as input. Radino is powered by a 3.6V power source. Exceeding that value will damage the device.

Important Links:

Another video on this topic:

You can purchase Radino WiFi from shop.in-circuit.de. It costs only 19.90€.

The Winkel Board, All-in-one Arduino Compatible Board

Mintbox Technologies is an Indian tech startup who build smarter connected devices for everyone. It is specialized in consumer electronics, open source software & hardware, PCB design services. Mintbox latest product is The Winkel Board, a powerful new Arduino-compatible, open source hardware platform for development and prototyping.

 

Based on the Atmel ATmega128 microcontroller, The Winkel Board is designed to be easy to use for both junior and senior makers including many popular peripherals such as WiFi, radio, and Bluetooth on board.

Check this video to know The Winkel Board features:

 

By providing an all-in-one compatible Arduino board, Mintbox team is working to solve the routine each maker does before starting a project, which they clarify in this list:

TODO for a maker while building something awesome:
-Prepare a list of right electronics components
-Prepare BOM
-Search them locally or online to fit the BOM
-Wait for the components to arrive if sourced online
-Getting started with prototyping
-Go online again studying libraries and figuring out how they can be interfaced on breadboard or etch a PCB
-Finally start building and actually working on your project and then try not to rage quit

The Winkel Board specifications

  • MCU – Microchip/Atmel ATmega128 MCU @ 16 MHz with 128KB flash memory, 4KB SRAM, 4KB EEPROM
  • Connectivity
    • WiFi 802.11 b/g/n via ESP12E module based on ESP8266
    • Bluetooth 2.0 + EDR via HC-05 module
    • RF Radio – NRF24l01 2.4 GHz ISM radio.
  • I/Os (through both Atmel MCU and ESP8266)
    • 38x Digital I/Os
    • 7x PWM Digital I/Os
    • 8x Analog Inputs
  • USB – micro USB port for programming and power
  • Misc – DS3231 Real-Time Clock + CR2032 battery slot, a few LEDS, reset button, jumper for OTA mode, ISP header, optional MPU-6050 Gyro+accelerometer mount
  • Power Supply – 5 V
  • Dimensions – TBD
Pinout Diagram

 

This board is said to be a one stop platform, that combines different communication protocols and allows a lot of I/O operations, thus you can do everything at once or choose specific on-board components to work with.

The Winkel Board is completely open source, you can check Mintbox’s Github once they upload all the source files soon. This board is now live in a crowd -funding campaign, you can pre-order your own Winkel now for around $21.

DIY Pixel Art Frame Using Raspberry Pi Zero

Have you ever wanted to get an interesting art frame? That can display and flip photos, scroll text, show the weather or display social media notifications?

Frederick Vandenbosch’s new tutorial is for building an art frame using 32×32 LED matrix and Raspberry Pi Zero.

newimage-132

Electronics used in this project

You can watch a detailed step-by-step tutorial for assembling the frame in this video:


You can use the Adafruit RGB Matrix HAT like the tutorial to control the matrix and to make wiring simpler. But it is not mandatory, you can also wire the LED matrix directly to Pi’s GPIO. A USB Wifi adapter or dongle plugs into one of your desktop or laptop’s USB ports, allowing you to connect to a wireless network in the home, office, or a public place. You can use this connection to access shared files, devices, and documents, or to connect to the Internet. To connect this dongle with your Pi Zero you need a OTG USB cable. Connecting this dongle with your projects will open up for you doors of innovation, and that what made this frame cool!

The wiring is as described in this picture.

img_2833-1

Frederick used Raspbian Jessie “lite edition” for his Zero since the application is time-critical. Because it has more improvements, he preferred using Henner Zeller’s rpi-rgb-led-matrix library instead of the regular Adafruit library – which lately seemed an old version of the same series. He wrote a code to display and scroll ppm images, you can check it out here.

You can also use Raspberry Pi 3 in order to build this project, no need to change anything in software, and no need for the Wifi dongle since you can use the onboard Wifi. Things can be displayed on the matrix are unlimited. Since you have it connected with internet, this project could be your next IoT hack!

More details about this project and other amazing tutorials can be found at Frederick website.

Programming ESP8266 With Arduino IDE : The Easy Way

The ESP8266 WiFi Module is a self-contained SOC that can give any microcontroller access to your WiFi network. It’s an extremely cost-effective board with a huge and ever-growing community. Each ESP8266 module comes pre-programmed with an AT command set firmware. This module has a powerful on-board processing and storage capability that allows it to act as a standalone microcontroller.

Following 2 easy steps, you can upload Arduino sketches on your ESP8266 using Arduino IDE.

  • Configuring the IDE
  • Making the circuit

Parts List:

  1. ESP 8266 Module.
  2. Jumper wires.
  3. A breadboard.
  4. One USB to TTL converter, a.k.a UART converter.

Configuring The IDE:

In order to bring support for ESP8266 chips to the Arduino environment, you need to add ESP8266 Arduino Core in the IDE.

NOTE: You must have Arduino IDE version 1.6.4 or higher. The latest version is highly recommended. Download the latest version of IDE from Arduino.cc.

  1. Install Arduino 1.6.8.
  2. Start Arduino and open Preferences window.
  3. Enter http://arduino.esp8266.com/stable/package_esp8266com_index.json into Additional Board Manager URLs field. (See the first image)
  4. Open Boards Manager from Tools > Board menu and install esp8266 platform. (See the second image)

Add URL to "Preferences" in Arduino IDE

Add URL to “Preferences” in Arduino IDE

Select ESP8266 board from Board Manager

Select ESP8266 board from Board Manager

Making The Circuit:

ESP8266-01 wiring for uploading program
ESP8266-01 wiring for uploading program
ESP8266-12E wiring for uploading program
ESP8266-12E wiring for uploading program

ESP-01:

  1. Connect GPIO0 to Ground (set it LOW or 0)
  2. Connect CH_PD toVcc (set it HIGH or 1)

ESP-12(E/F):

  1. Connect GPIO0 to Ground (set it LOW or 0)
  2. Connect GPIO15 to Ground (set it LOW OR 0)
  3. Connect GPIO2 to Vcc (set it HIGH or 1)
  4. Connect CH_PD toVcc (set it HIGH or 1)

Pin Vcc and GND should be connected to power supply’s +ve and -ve rail respectively. TX and RX of ESP8266 should be connected to RX and TX of USB to TTL converter respectively.

NOTE: You can replace the USB to TTL converter with an Arduino UNO board, but you have to upload a blank sketch or “bare-minimum” sketch to the Arduino so that the MCU of the Arduino board doesn’t interrupt. Connect TX and RX of the ESP8266 to RX and TX of the Arduino UNO respectively.

Conclusion:

You are done! Now just select your ESP8266 board from Tools > Board menu, write any program, and click on Upload button. The ESP8266 will run as standalone microcontroller now.

To have a clear idea, read the article FLASH AT FIRMWARE TO ESP8266 also.