Control a blinking led via Web

On this article we'll extend the simple Web server written in Python illustrated in the article to control remotely via Web a blinking led on the Daisy-11 module.

Visit also:

Basic example

This is the first examples we'll try:

led1.py

It performs the following tasks:

  • blink the L1 led on a Daisy-11
  • process the html GET requests from the web browser on port 8080 and provide the control panel index_led1.html
  • process the html POST request to start and stop the led blinking

Run it by typing:

debarm:~/playground/python/httpserver# python led1.py

Then open your web browser on this URL: http://fox_ip_address:8080.

Related links

ARIAG25-128
EUR 27.60


ARM9 Linux Embedded Module

Aria G25 is a small and low-cost multi-chip module that integrates:* an ARM9 @ 400Mhz CPU Atmel AT91SAM9G25* a 128MB of DDR2 RAM* 10/100 Ethernet interface* up to 3 USB 2.0 host ports* Normal temperature range version (-0° +70°)

| Product description || Flat price up to 999 pcs |

TERRA
EUR 169.00


Linux embedded board for fast prototyping

TERRA is a carrier board conceived both to evaluate the Aria G25 SoM and to make prototypes or small production batches of OEM equipments using the Daisy cabling system.

| Product description | Terra catalog |

FOXG20
EUR 139.00


FOX Board G20

FOX Board G20 is a "ready-to-run" Embedded Linux System perfect to use as a solid state WEB server or as a core engine for your embedded appliances.

A fully Open Source environment is available to customize and build your own kernel image or to develop user applications using standard GNU tools. Version with Atmel AT91SAM9G20 with 256KB of FLASH memory, 64MB of RAM and up to 16GB of microSD.

FOXG20 needs some extra accessories in order to be operative:

  • a bootable microSD with Linux OS (see DEBM2G or DEBM4G products)
  • a 5 Volt DC power source (see PS5V1A product)
  • a 3V lithium battery for internal RTC circuitry (see CH23-1220 product)

An evalution kit with all the accessories you need to get started with FOX Board G20 is available on-line on this link: COMBO-2.

| Product description |