TOP Contributors

  1. MIKROE (2784 codes)
  2. Alcides Ramos (405 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (133 codes)
  5. Bugz Bensce (97 codes)
  6. S P (73 codes)
  7. dany (71 codes)
  8. MikroBUS.NET Team (35 codes)
  9. NART SCHINACKOW (34 codes)
  10. Armstrong Subero (27 codes)

Most Downloaded

  1. Timer Calculator (141413 times)
  2. FAT32 Library (74281 times)
  3. Network Ethernet Library (58813 times)
  4. USB Device Library (48885 times)
  5. Network WiFi Library (44677 times)
  6. FT800 Library (44195 times)
  7. GSM click (30928 times)
  8. mikroSDK (29780 times)
  9. PID Library (27388 times)
  10. microSD click (27312 times)
Libstock prefers package manager

Package Manager

We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]

< Back
Example

Let’s make - mikroWeb server

Rating:

0

Author: MIKROE

Last Updated: 2016-02-25

Package Version: 1.0.0.0

Example: 1.0.0.0

Category: Other Codes

Downloaded: 1063 times

Followed by: 2 users

License: MIT license  

The mikromedia-based mikroWebserver is the easiest way to remotely monitor and control your smart home system, weather station, or any other type of data logger.

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "Let’s make - mikroWeb server" changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "Let’s make - mikroWeb server" changes.

Do you want to report abuse regarding "Let’s make - mikroWeb server".

  • Information
  • Comments (0)
DOWNLOAD LINK RELATED COMPILER CONTAINS
mikroC PRO for ARM
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc

Example Blog

mikroWeb server Kit

mikroWeb server Kit

mikroWeb server Kit features: mikromedia Plus for STM32, mikromedia Plus for STM32 shield, HDC1000 click, Motion click, Air Quality click and Relay click.

View full image

The mikromedia-based mikroWebserver is the easiest way to remotely monitor and control your smart home system, weather station, or any other type of data logger.

You’ll find a lot of examples online on how to set up a wireless data logging or automation system. But on second look you’ll see that a lot of them are limited to a local network. Come to think of it, if you’re already on site, why would you need remote control?

Our mikroWeb server bypasses these restriction by relying on noip.com – a dynamic DNS system that allows you to setup a domain that’s tied to your public IP address (for free).

You can google around the find similar services, but the point is that noIP eliminates the need for a static IP address, hence, you’re not limited to using the local IP of your home network.

The example code is robust against connection losses (caused by power outages for example). Once the mikromedia restarts, the newly changed IP address will be automatically tied to your noip domain.

To protect against security breaches, it’s best to set up a specific port on your router that connects to the mikromedia.

You’ll find that the provided code is well documented. In the example, we built a simple dashboard (viewable from any web browser) that displays readings from four click boards: HDC1000 click, Air Quality click and motion click. A relay click is also connected, allowing you to control appliances.

ALSO FROM THIS AUTHOR

N-PLC Click

0

N-PLC Click is a compact add-on board that uses existing electrical power lines to transmit data signals. This board features the SM2400, an advanced multi-standard Narrow-band Power Line Communication (N-PLC) modem from Semitech. The SM2400 features a dual-core architecture, a DSP core for N-PLC modulations, and a 32-bit core for running protocols for superior communication performance and flexibility for various open standards and customized implementations. It includes firmware options for IEEE 1901.2 compliant PHY and MAC layers, a 6LoWPAN data link layer, and special modes for industrial IoT applications. In addition to the ability to accept signals from another PLC modem or the power line communication AC coupling circuit, this board also has a handful of other features, such as a selectable interface and power supply, firmware update capabilities, LED indicators, and many others.

[Learn More]

DIGI POT 2 click

10

DIGI POT 2 click is a mikroBUS add-on board with a single channel digital potentiometer TPL0501 with 256 wiper positions. The IC has 100 kilo Ohms end-to-end resistance, with ±20% tolerance. The board features two pairs of screw terminals for interfacing with the IC DIGI POT 2 click communicates with the target MCU through the mikroBUS SPI.

[Learn More]

Buck 19 Click

0

Buck 19 Click is a compact add-on board that steps down the voltage from its input (supply) to its output (load). This board features the STPD01, a programmable synchronous buck converter from STMicroelectronics, providing power supply in applications following USB power delivery specifications. The STPD01 provides the desired voltage levels required by USB power delivery systems (USB PD 3.0) via I2C serial interface up to 60W output power, more precisely voltages in the range of 3V to 20V with a step of 20mV minimum, and currents from 0.1A to 3A with a minimum in steps of 50mA. It also offers advanced protection features such as overvoltage, overcurrent, and overtemperature detections.

[Learn More]