Ticket #1068 (new)

Opened 12 years ago

Last modified 12 years ago

Arduino compatible sensor gateway

Reported by: Musti Owned by: Musti
Priority: normal Milestone:
Component: telemetry Version:
Keywords: Cc:
Related nodes: Realization state:
Blocking: Effort: normal
Blocked by: Security sensitive: no

Description

The development and deployment of sensors in the community network must be very simple and accessible to a larger number of people, thus I have developed an Arduino compatible platform that can interface the WiFi router either via serial port (UART) or USB(via CP2012 usb-uart). Adding sensors must be very simple but to enable interoperability and mass deployment, a simple yet robust communication protocol is required. SWAP protocol is a very good example and should be used as explained in #1067.

The wlan slovenija sensorgw platform is developed around atmega328p at 16MHz or ideally 11.0592MHz for greater serial compatibility.

A prototype of this platform has been developed and is using a hacked version of digitemp nodewatcher script for displaying data, see simplesensor.sh in the attachment.

More detail will be published soon.

Attachments

simplesensor.sh (1.2 KB) - added by Musti 12 years ago.
simple hackish nodewatcher script
wlansiarduino.pdf (229.4 KB) - added by Musti 12 years ago.
Version1 schematic and PCB layout for the gateway
header-bg.png (303 bytes) - added by Smartmil8 11 years ago.
http://amazonfinder.tumblr.com/

Change History

Changed 12 years ago by Musti

simple hackish nodewatcher script

comment:1 Changed 12 years ago by Musti

Simple gateway based on Arduino developed, based on http://spiffie.org/know/arduino_1k_bootloader/bootloader.shtml bootloader with the following makefile entry and device configuration:


atmega328_pro11: TARGET = atmega328_pro_11MHz
atmega328_pro11: MCU_TARGET = atmega328p
atmega328_pro11: CFLAGS += '-DMAX_TIME_COUNT=F_CPU>>4' '-DNUM_LED_FLASHES=1' -DBAUD_RATE=57600
atmega328_pro11: AVR_FREQ = 11059200L
atmega328_pro11: LDSECTION = –section-start=.text=0x7C00
atmega328_pro11: $(PROGRAM)_atmega328_pro_11MHz.hex

atmega328_pro11_isp: atmega328_pro11
atmega328_pro11_isp: TARGET = atmega328_pro_11MHz
atmega328_pro11_isp: MCU_TARGET = atmega328p
atmega328_pro11_isp: HFUSE = DC
atmega328_pro11_isp: LFUSE = FF
atmega328_pro11_isp: EFUSE = 05
atmega328_pro11_isp: isp

device configuration:

##############################################################

pro11.name=Arduino Pro or Pro Mini (3.3V, 11.0592 MHz) w/ ATmega328

pro11.upload.protocol=arduino
pro11.upload.maximum_size=31744
pro11.upload.speed=57600

pro11.bootloader.low_fuses=0xFF
pro11.bootloader.high_fuses=0xDA
pro11.bootloader.extended_fuses=0x05
pro11.bootloader.path=atmega168
pro11.bootloader.file=ATmegaBOOT_168_atmega328_pro_11MHz.hex
pro11.bootloader.unlock_bits=0x3F
pro11.bootloader.lock_bits=0x0F

pro11.build.mcu=atmega328p
pro11.build.f_cpu=11059200L
pro11.build.core=arduino
pro11.build.variant=standard

Changed 12 years ago by Musti

Version1 schematic and PCB layout for the gateway

Note: See TracTickets for help on using tickets.
OSZAR »