Atmel | AVR364 | Microcontroller systems and Development

Microcontroller systems and Development
Microcontroller systems and Development Ex: Toshiba TMP87CH29U Ex: Toshiba TMP87CH29U Ex: Toshiba TMP87CH29U Ex: Sphygmomanometer An instrument for measuring blood pressure, par9cularly in arteries. Digital with manual or automa9c infla9on. These are electronic, easy to operate and prac9cal in noisy environments. They measure mean arterial pressure (MAP) and use algorithms to calculate systolic and diastolic values. In this sense, they do not actually measure the blood pressure, but derive the readings. An oscillometric type electronic sphygmomanometer which determines the blood pressure by the steps of compressing an artery with an inflated cuff, detec9ng pulse wave amplitude while the inflated cuff being deflated and comparing the pressure provided by the cuff on the artery with the pulse wave amplitude. the cuff pressure corresponding to the maximum pulse wave amplitude is determined as the mean the blood pressure, the cuff pressure corresponding to the pulse wave amplitude of the high pressure side which is equivalent to 50% of the maximum pulse wave amplitude as the systolic blood pressure, the cuff pressure corresponding to the pulse wave amplitude of the low pressure side which is equivalent to 70% of the maximum pulse wave amplitude as the diastolic blood pressure. Ex: Sphygmomanometer -­‐ top To cuff
Electric release valve
Pressure sensor
LCD display
Electric pump
Ex: Sphygmomanometer -­‐ bo?om Toshiba microcontroller
Timer/Alarm System development IntroducDon Changed to Ubicom
Bought by Qualcomm
The Scenix SX family of configurable communications controllers
are fabricated in an advanced CMOS process technology. The
advanced process, combined with a RISC-based architecture, allows
high-speed computation, flexible I/O control, and efficient data
manipulation. Throughput is enhanced by operating the device at
frequencies up to 50/75 MHz and by optimizing the instruction set to
include mostly single-cycle instructions. In addition, the SX
architecture is deterministic and totally reprogrammable. The
unique combination of these characteristics enables the device to
implement hard real-time functions as software modules (Virtual
Peripheral™) to replace traditional hardware functions.
On-chip functions include a general-purpose 8-bit timer with
prescaler, an analog comparator, a brown-out detector, a watchdog
timer, a power-save mode with multi-source wakeup capability, an
internal R/C oscillator, user-selectable clock modes, and highcurrent outputs.
Block Diagram System schema9c Program Flowchart Program Flowchart System memory map Assembly code Assembly code Assembly code Assembly code Assembly code Distance measurement System development GP2D05 Distance Measuring Sensor – 1-­‐bit Output Open drain opera9on input 1. Distance measuring type object sensor (Distance measuring range : Op9onal distance can be set as threshold level by means of built-­‐in VR) 2. Impervious to color and reflec9vity of reflec9ve object Applica9ons: -­‐  Sanitary sensors (human body detec9on) -­‐ OA equipment (paper detec9on) -­‐  Game equipment -­‐ For consumer products (human body detec9on) 3. High precision distance measurement Distance measuring system prototype
Sharp Sensor Schematic
Black lead
Red lead
Grn lead
Yellow lead
Measurement Timing
Sensor Flowchart
Need to write code for:
- 1 mSec timer
-  56mSec timer
-  return pulse detector routine
-  2 Sec timer
Init & port configurations
FREQ ;Page 0 for jump table SX28L, OSC1MHZ, TURBO, STACKX, OPTIONX, IRCDIV1 IRC_FAST ; calibrate internal RC clock Start 'GP2D05'
1_000_000 ORG $50 ;****************************** ;port direc9on config. ;****************************** START MODE $0F
MOV !ra, #%0000
MOV !rb, #%11111111 MOV !rc, #%00000000 ;****************************** ;port startup logic levels ;****************************** MOV ra, #%0001
MOV rb, #%00000000 MOV rc, #%10000000 MODE $0E
MOV !ra, #%1110
MOV !rb, #%01111111 MOV !rc, #%11111111 MODE $0D
MOV !ra, #%1111
MOV !rb, #%11111111 MOV !rc, #%11111111 ;Device = SHarp GP2D05 op9cal sensor ;all bits = out ;all bits = in ;all bits = out ;all port pins = low, except RA0 ;all port pins = low ;port 7 pin = hi -­‐ LED off ;pullup resistor config. ;all bits1-­‐3 = normal; bit 0 = pulllup ;all bits = no pullup except rb7
;all bits = normal ;logic level config. ;bit0 = TTL, ;all TTL ;all TTL Main
;****************************** ;
Main loop ;****************************** pulse CALL trig ; start measurement pulse CALL ms56 ; wait 56 msecs CALL detect
; look for detec9on signal CALL ms2k ; 2 sec pause JMP pulse ; loopback Subroutines
;****************************** ;
1 millisecond 9mer ;****************************** msec MOV $0C, #250
MOV $0D, #2 Loop DECSZ $0C
Loop DECSZ $0D
;set reg to rollover from zero to start ;set loop for 2x ;250 usecs each 9me test = 0 ; ;done ;****************************** ;
56 millisecond 9mer ;****************************** ms56 MOV $0E, #60 ;SET COUNTER FOR 56 TIMES mslp CALL msec ; 1 msec DECSZ $0E JMP
mslp ;not done RET ****************************** ;
2 second 9mer ;****************************** ms2k MOV $0E, #250
inlp RET ;SET COUNTER FOR 250 TIMES ; 1 msec Subroutines continued
send trigger pulse to sensor ;***************************** trig
SETB RC.7 CALL msec CLRB RA.0 RET ;send trigger pulse ;*****************************
return pulse detec9on ;***************************** detect MOV $0F, #20 ;set counter for 14 9mes quart MOV W, RB ;read all bits on port B JNB
RB.7, getout
;jump out if bit is low CALL msec DECSZ $0F JMP quart MOV rc, #%10000000 ;BIt 7 hi = LED OFF SETB RA.0 ;reset trigger bit RET
Development systems eZ430-­‐Chronos Development Tool Overview The eZ430-­‐Chronos is a highly integrated, wearable wireless development system based on the CC430. It may be used as a reference plarorm for watch systems, a personal display for personal area networks, or as a wireless sensor node for remote data collec9on. Based on the CC430F6137 <1 GHz RF SoC, the eZ430-­‐Chronos is a complete featuring a 96 segment LCD display, an integrated pressure sensor and 3-­‐axis accelerometer for mo9on sensi9ve control. The integrated wireless interface allows the Chronos to act as a central hub for nearby wireless sensors such as pedometers and heart rate monitors. The eZ430-­‐Chronos offers temperature and bauery voltage measurement and is complete with a USB-­‐based CC1111 wireless interface to a PC. The eZ430-­‐Chronos watch may be disassembled to be reprogrammed with custom applica9ons and includes an eZ430 USB programming interface. eZ430-­‐Chronos Development Tool eZ430-­‐Chronos Development Tool eZ430-­‐Chronos Development Tool CC-­‐430 CPU Development systems Texas instruments Tiva™ C Series TM4C123G LaunchPad Evalua9on Kit $13.50 Features • Tiva C Series TM4C123GH6 microcontroller • USB Micro-­‐AB connector • Device mode default confi gura9on • Host/OTG modes supportable • RGB user LED • Two user switches (applica9on/wake) • Available I/O brought out to headers on a 0.1" grid • On-­‐board In-­‐Circuit Debug Interface (ICDI) • Switch-­‐selectable power sources • ICDI • USB Device • Reset switch • Preloaded RGB quickstart applica9on • Supported by TivaWare™ for C Series soyware including the USB library and the peripheral driver library • Tiva C Series TM4C123G LaunchPad BoosterPack XL interface which features stackable headers to expand the capabili9es of the 40-­‐pin Tiva C Series LaunchPad evalua9on plarorm Atmel 8-­‐bit AVR364: MEGA-­‐1284P $31.25 Features • Atmel® megaAVR® ATmega1284P microcontroller -­‐ Target controller • Atmel AVR® AT32UC3B1256 32-­‐bit microcontroller -­‐ Board controller -­‐ Communica9on gateway • Analog input (to ADC) -­‐ Temperature sensor -­‐ Light sensor -­‐ RC filter • Digital I/O -­‐ Three mechanical buuons -­‐ Four LEDs -­‐ Four expansion headers • Footprints for external memory -­‐ Atmel AT45DB series DataFlash® serial flash -­‐ Atmel AT25DF series industrial standard serial data flash • Touch -­‐ One Atmel QTouch® buuon Development systems ST Micro STM32F0DISCOVERY $9.00 Features •  STM32F051r8t6 microcontroller with 64kFLASH 8kRAM in LQFP64 package •  On board ST-­‐link/v2 with selec9on mode switch for Programming and debugging •  Board power supply through USB or external power Supply (3V and 5V) •  4 LED’s – 3.3v power, USB comm., PC8 PC9 outputs •  2 push buuons •  Extension header •  Addi9onal board for prototyping and extension Microchip chipKIT™ UNO32 $28,64 Key Features ■ Applica9on development using an environment based on the original Arduino IDE, modifi ed to support PIC32 devices while s9ll suppor9ng the original Arduino line. Leverages exis9ng code examples, tutorials and resources. ■ Pin-­‐out compa9bility with many exis9ng Arduino shields ■ Higher performance at a lower price-­‐point than exis9ng solu9ons ■ Advanced capabili9es including: – Integrated USB (Device/Host, OTG – Integrated Ethernet – CAN Development systems Freescale i.MX53 Quick Start Development Board $49.00 Features •
i.MX53 1GHz ARM Cortex-­‐A8 processor •
4GB microSD card with Linux image •
5-­‐volt power supply with worldwide adapters •
Micro USB cable •
Quick start guide •
DVD with Vmware player, ge~ng started video, demos and other documents Arduino Uno $25.00 Features •  Microcontroller ATmega328 •  Opera9ng Voltage 5V •  Input Voltage (recommended) 7-­‐12V •  Input Voltage (limits) 6-­‐20V •  Digital I/O Pins 14 (of which 6 provide PWM output) •  Analog Input Pins 6 •  DC Current per I/O Pin 40 mA •  DC Current for 3.3V Pin 50 mA •  Flash Memory 32 KB (ATmega328) of which 0.5 KB used by bootloader •  SRAM 2 KB (ATmega328) •  EEPROM 1 KB (ATmega328) •  Clock Speed 16 MHz Development systems Microcontroller system boards Raspberry Pi The Raspberry Pi is a credit-­‐card-­‐sized single-­‐board computer developed in the UK by the Raspberry Pi Founda9on with the inten9on of promo9ng the teaching of basic computer science in schools. The Raspberry Pi has a Broadcom BCM2835 system on a chip (SoC),[3] which includes an ARM1176JZF-­‐S 700 MHz processor (The firmware includes a number of "Turbo" modes so that the user can auempt overclocking, up to 1 GHz, without affec9ng the warranty),
[4] VideoCore IV GPU,[12] and was originally shipped with 256 megabytes of RAM, later upgraded to 512 MB.[13] It does not include a built-­‐in hard disk or solid-­‐state drive, but uses an SD card for boo9ng and long-­‐term storage.[14] The Founda9on's goal was to offer two versions, priced at US$25 and US$35. Opera9ng system
Linux (Raspbian, Debian GNU/Linux, Fedora, and Arch Linux ARM)[2] RISC OS, FreeBSD, NetBSD, Plan 9 Power 2.5 W (model A), 3.5 W (model B) CPU ARM1176JZF-­‐S (ARMv6K) 700 MHz,[3] Raspberry Pis can dynamically increase clockspeeds, and some can temporarily reach speeds up to 1 GHz.[4] Storage capacity
SD card slot (SD or SDHC card) Memory
256 MB (Model A) 512 MB (Model B rev 2)[5] 256 MB (Model B rev 1) Summary There are many types of microcontroller development systems available. They are usually low priced and have a lot of support documenta9on to promote Their use by hobbyists. Once you have an applica9on in mind, select the appropriate microcontroller or Small board development system that will best meet the applica9on criteria. 
Was this manual useful for you? yes no
Thank you for your participation!

* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project

Download PDF