Home
1-wire BAE0910 tinyboard user manual
Contents
1. CNC machines and pneumatic automates Graduated in Computer Sciences from the Robert Shuman High school in Belgium in 1989 his thesis was titled A terminal emulator where he mastered serial communication and networking programming His first computer was a Sinclair ZX81 where he learned the basics of exploiting very constrained computing resources in assembler Later aCommodore 64 opened the way to interfacing computers with electronic toys Since 1990 he developed network based resource sharing solutions in assembler and C Telex server Minitel server mainframe front end mail server print server text2speech telephone server database gateway IM server As skilled networking server architect he is working as IT consultant for large financial companies since 1997 In parallel developments in home automation have contributed to accumulate some experience with microcontrollers and embedded computing Revision history mep ei Jan 3 2010 Initial draft Feb 8 2010 Updated presentation BRAINGFHOME ITS HOME AUTOMATION www brain4home eu BAE0910 Multi function 1 wire tinyboard page 6 Microcontroller based 1 wire slave implementations for flexible solutions Ray SRAINGHOME MES HOME AUTOMATION www brain4home eu BAE0910 Multi function 1 wire tinyboard page 7
2. Microcontroller based 1 wire slave implementations for flexible solutions 1 wire BAE0910 tinyboard user manual Description This very tiny board integrates the BAE0O910 multifunction 1 wire chip with all related features from this chip in a useful form factor 13x36mm size with two 3mm fixation holes the five functions pins of the chip are directly available on the 0 1 spaced 5 x 3 pin header the pin header also provide GND and 5V signals in an arrangement compatible with R C servo s Led indication for power and for OUT state Connection to 1wire bus via a 0 15 spaced 3 screw terminal bloc GND 5Vdc and DQ 470 Q resistors have been added in serie to allow direct use of the output to drive small loads as leds buzzers small dil relays etc sensitive pins are protected by a schottky diode DQ and COUNTER Zener 5 1v diode protect the chip again spikes Standard BAE0910 features Five I O pins allows various functions One to four 16 bit PWM two hardware PWM1 amp 2 two software PWM3 amp 4 One 8 bit ADC input 0 to 5V One 32 bit counter One strong digital output sink up to 20mA One PIO software selectable as INPUT or OUTPUT 20ma Compatibility with 1 wire protocol Standard speed operation protocol implemented with low latency interrupts in background Support every standard ROM commands read rom match rom search rom skip rom resume rom conditional search Unique serial number
3. Physical characteristics Single chip microcontroller based solution in an 8 pin SOIC 5 0V supply voltage 8mA typical consumption powerful 32MHz operation Fully functional without additional external components Additional features Firmware upgradable via 1 wire bus The chip firmware is contained in FLASH and can be upgraded directly from 1 wire bus Automation Engine embed your programs in the device This new feature allows to define powerful autonomous behavior of the chip 32 bit RTC clock incrementing each second PIO has configurable internal pull up pull down resistor Counter is configurable on rising falling edge 8192 bit of EEPROM storage 32 byte user RAM t ERRATA LED2 is not installed on tinyboard revision 1 01 BRAINGFHOME MY HOME AUTOMATION www brain4home eu BAE0910 Multi function 1 wire tinyboard page 1 Microcontroller based 1 wire slave implementations for flexible solutions General presentation OUT status LED2 led is on when OUT set to zero BAE0910 chip Multi function 1 wire slave 3 screw header POWER LED1 1wire bus connection Power on indicator 70 01 ONT cD BATSAC aE 13 mm OT60ava 36mm Connector s pinouts 1 wire interface 3 screw connector 1 0 5V GND COUNTER header OUT PWMS3 header PWM1 header ADC PWM2 header PIO PWM4 header This board require 5Vdc stabilized power Chip require only 8mA however connected devices may require more power ADC P
4. WM2 PIO sPWM4 PWM1 t ERRATA LED2 is not installed on tinyboard revision 1 01 BRAINGFHOME MAES HOME AUTOMATION www brain4home eu BAE0910 Multi function 1 wire tinyboard page 2 Microcontroller based 1 wire slave implementations for flexible solutions R C Servomotor control example BAE0910 chip is able to control up to four servo motors independently A servo motor requires a 5Vdc supply and a control signal in the form of a repeated pulse every 20ms The width of the pulse defines the shaft position Such signal is easily produced by PWM function 1 5 ms 2ms 2 5 The are various servo connectors however the more frequently used are shown below boike Futaba J Type Connector Red Black Red Signal S Felow Signal S kite On the demo board such servos are directly connectible to the pin headers PWM1 2 4 1 2 3 Always check with your specific servo brand if the wiring is respected l 2 5 Configuration of the device for a servo connected on PWM1 1 Set register configuration to TPM1 4 gt 1MHz clock PERIOD1 20000 gt period of 20000us 50Hz DUTY1 1500 gt duration of the pulses 1500 center position for servo 2 Connect the servo on PWM1 header 3 Vary DUTY1 register from 1000 to 2000 to turn servo Depending on servo model the range for DUTY could be larger 700 to 2400 To turn off the servo set DUTY1 0 Controls more servo s with o
5. ther available PWM PERIOD1 is common for PWM1 amp PWM3 and PERIOD2 is for PWM2 amp PMW4 The DUTY registers are available for each PWM output way SRAINGHOME MES HOME AUTOMATION www brain4home eu BAE0910 Multi function 1 wire tinyboard page 3 Microcontroller based 1 wire slave implementations for flexible solutions Water COUNTER example Many sensors are providing pulse output Measuring such signals is easily done with COUNTER function Here is an example of flow sensor http www gemssensors com uploadedFiles Literature Spec Sheets FT110 pdf Alternatively you can hack a mechanical water counter not you official one to obtain good results Most of water counter found in DIY stores are designed with a rotating magnet inducting movement to the gears It is possible to measure the rotation of the magnetic field with a hall effect sensor ex SA443A Counter GND N The easiest method is to remove the plastic part and place the sensor in the center blind hole of the copper body However it is possible keep a fully functional counter if you carefully install the sensor in the plastic body The model pictured here produce 38 pulses liter The tinyboard has already a 3 3KQ pullup resistor you only have to connect the sensor to the CNT header respecting sensor pinout shown above Configure BAE0910 register CNTC 0 for falling edge counting is active Reading COUNTER register provide number of pulse produced Of co
6. urse you have to calculate the number of pulse per volume your counter is producing to convert to real world units wae BRAINIHOME SE HOME AUTOMATION www brain4home eu BAE0910 Multi function 1 wire tinyboard page 4 Microcontroller based 1 wire slave implementations for flexible solutions Schematic of the BAE0910 tinyboard Ld RNID 470R x wo eT LED TITLE BAEBSiB smallboard Document Numbers zy REU 1 02 Date not sawed Sheet L741 es BRAINIHOME TTY HOME AUTOMATION www brain4dhome eu BAE0910 Multi function 1 wire tinyboard page 5 Microcontroller based 1 wire slave implementations for flexible solutions Support Online support is available via the forum on www brain4home eu Availability Chips and boards can be ordered online on www brain4home eu Condition of use Materials presented on this site are intended for hobbyist usage and are not approved for use where it constitute or may constitute a danger to human life or health Terms of license 1 Wire is a registered trademark of Maxim Integrated Products Inc www brain4home eu is in no way related to Maxim company The software embedded in the chips is protected by copyright laws Customer is not allowed to reverse engineer decompile or disassemble the embedded software About the author Pascal Baerten is primarily an IT consultant with technical background in automation He followed A2 technical studies until 1985 where he played with
Download Pdf Manuals
Related Search
Related Contents
Trinity Amps Pricing May 2006 SoftWall Finishing Systems SW643077010 Instructions / Assembly Règlement jeu-concours M6 MOBILE BY ORANGE Jeu Jean Swann SWVID-OBC5MP Z97 Pro3 Z97 Pro3 1 - お客様サポート Copyright © All rights reserved.
Failed to retrieve file