Home

PiCoolFan - Pimodules

image

Contents

1. Landscape a Page 1 of 1 9 Pi Modules Intelligent Modules for your RaspberryPi www pimodules com PiCoolFan User Manual Version 1 06 Print Date 04 05 2014 PiCoolFan Air Distribution Plate Spacing Rubbers Placement Guide Designed and Manufactured by Pi Modules to use exclusively with PiCoolFan www pimodules com Pi Modules Intelligent Modules for your RaspberryPi www pimodules com PiCoolFan User Manual Version 1 06 Print Date 04 05 2014 Lay the Air Distribution Plate on top of the Spacing Rubbers Placement Guide and glue the self adhesive Spacing Rubbers to the Air Distribution Plate as shown Remove the protective brown tape only from one side The second self adhesive side is used for permanent assembly of the Air Distribution Palate on the RPi However it is not Pi Modules Intelligent Modules for your RaspberryPi www pimodules com PiCoolFan User Manual Version 1 06 Print Date 04 05 2014 necessary The second layer protective brown tape if decided should be removed just before final placement of the PiCoolFan on the RaspberryPi and not before Prepare the tree clips and pass them over the 2 holes Please take care to have them on the proper side Prepare the FAN to be mounted over the Air Distribution Plate using the already assembled tree clips Pi Modules Intelligent Modules for your RaspberryPi www pimodules com PiCoolFan User Manual Version 1 06 Print
2. including all parts contained in the packaging and are undamaged including original packaging Warranty excludes normal wear and tear accidental or deliberate damage any such items will not be replaced In the case of refund no such refund will ever exceed the original purchase cost of the item and will not include any associated postage costs Pi Modules Intelligent Modules for your RaspberryPi www pimodules com
3. Date 04 05 2014 Put the FAN on the tree clips and press it to the Air Distribution Plate in order to stabilize the whole construction Be carefully to not touch the Fan blades when pressing the fan to the Air Distribution Plate Therefore it is requested to press only over the outside are of the fan Take care about cable placement side as also about fan Air flow polarity After Assembly the above construction will be available Fan will be close touching the Air Distribution Plate Pi Modules Intelligent Modules for your RaspberryPi www pimodules com PiCoolFan User Manual Version 1 06 Print Date 04 05 2014 Please insert the coin battery to the battery holder if planning to use the RTC However it is not necessary if you are not planning to use the RTC Fit in the FAN connector to the PiCoolFan PCB socket The PiCoolFan FAN PCB and the Air Distribution Plate after the assembly will looks like above picture Pi Modules Intelligent Modules for your RaspberryPi www pimodules com PiCoolFan User Manual Version 1 06 Print Date 04 05 2014 Place the Air Distribution Plate on the RPi if needed remove the brown tape from the rubber spacers in order to use self adhesive facility to glue it on the RPi Insert the coin battery to the battery holder on the PiCoolFan controller board if planned to be used the RTC Take care about battery polarity marked on the battery holder Inserting the battery with inverse polar
4. PICO Commands Summary sssesseeecececceseeeseeeccececsaueusseeeeeeeessuuauseeeeeeeeesauaeseeseeeeeaaas 20 Examples of commands ccccccsssssssesecceeeceeeesseeecceeeesseeeseeeeeeeeesseeeeseeeeeeeessaeaaeeeeeeeeeeaaa 22 LED based Simple User Interface rrrrrrnnnnnnnnnrrnnrrrnnnnnnnnsrrnnnrnnnnnnnnssrnnnnnnnnnnnnnsssnnnnnnnnnnsnne 23 Technical specified ti ONS aa 24 Firmware Updates ccccccssssssssecccccccseeesseecceeceesauaesseeeeeeeessaueaseeeeeeesssuuauseeeeceeessuaaaeneeees 27 Pi Modules Intelligent Modules for your RaspberryPi www pimodules com PiCoolFan User Manual Version 1 06 Print Date 04 05 2014 PiCoolFan Advanced Pi Cooling Fan System Introduction The PiCoolFan is an Advanced Cooling Fan System for the RaspberryPi one that offers total temperature control over the RaspberryPi It is addressed to all RaspberryPi users whose board reaches a high temperature for whatever reason There is no need for any additional cabling or Power Supply as the PiCoolFan is powered by the same Power Supply of your original RaspberryPi board just insert the PiCoolFan controller on top of the P1 connector of your RaspberryPi The PiCoolFan is equipped with an embedded temperature measurement system that continuously checks the RaspberryPi PCB temperature with a dedicated sensor and according to the measured temperature the PiCoolFan micro controller starts stops or regulates the rotational speed of t
5. is above threshold default 5 2 V Flashes slow if P1 5V is below threshold default 4 8 V e BLUELED Lights when temperature of the system is below the threshold factory default 42 Celsius Fan is not running e RED LED Lights when temperature of the system is above the threshold default is 42 Celsius Fan is running Pi Modules Intelligent Modules for your RaspberryPi www pimodules com PiCoolFan User Manual Version 1 06 Technical Specifications Print Date 04 05 2014 RTC Recommended Coin Battery CR1225 BR1225 LM1225 1225 CR1220 BR1220 LM1220 1220 RTC current consumption from the coin battery when Power Down 20 uA RTC accuracy 20 ppm PiCoolFan controller board power supply 5 VDC from P1 connector Power Down Mode threshold on 5V P1 connector 4 0V DC will run battery backed RTC only PiCoolFan controller board current consumption without FAN PiCoolFan without LED 2 mA 5V Each LED 9 mA 5V FAN FET switch electrical specifications 400mA 5 VDC from P1 connector FAN current consumption Mode 0 OFF 0 mA 5V Mode 1 100 170 mA 5V Mode 2 25 65 mA 5V Mode 3 50 95 mA 5V Mode 4 75 125 mA 5V 5 VDC on P1 connector measure system accuracy Better than 1 Acquisition Frequency Temperature Voltage 10 Hz Default Threshold Temperature RTC interface 12C address 42 DEG Celsius 0x68 OxDO PiCO interface 12C address Ox6C OxD8
6. 2 w Will generate the result of the current temperature in Celsius and in BCD format in order to simplify the command line human reading 0x0034 This means that system temperature is 34 degrees in Celsius scale Ssudo i2cset y 1 Ox6C 6 1 This means that system temperature variables will be presented in Fahrenheit scale The PiCoolFan will automatically recalculate values to the proper scale A visual action will be visible when changing the scale Ssudo i2cset y 1 Ox6C 6 0 This means that system temperature variables will be presented in Celsius scale The PiCoolFan will automatically recalculate values to the proper scale A visual action will be visible when changing the scale Ssudo i2cset y 1 Ox6C 0 1 Will switch unconditional ON the FAN with the speed defined in the variable 1 Ssudo i2cset y 1 0x6C 00 Will switch unconditional OFF the FAN with the speed defined in the variable 1 Ssudo i2cget y 1 0x6C 8 w Will read the actual voltage on the P1 5 V pin and give value of OXXX in 10 of mV 0x0496 It means 4 96 V DC in BCD format Pi Modules Intelligent Modules for your RaspberryPi www pimodules com PiCoolFan User Manual Version 1 06 Print Date 04 05 2014 LED based Simple User Interface There are 3 single color LEDs that helps the user to see what happens with the system without accessing any command e GREEN LED Lights continuously when P1 5V is within the requested range Flashes fast if P1 5V
7. 5 2014 e Plug and Play e 3LED based information system Red hot Blue cold Flashing Green powering status e Full control over the system via I C interface The PICo Interface o Unconditional Fan ON OFF o PWM FAN speed regulation o Temperature threshold set get o Current System Temperature read e Supports Celsius and Fahrenheit scale e Real Time powering voltage monitoring with programmable threshold o Flashes continuously Green if power is within thresholds o Flashes fast if power is higher than threshold o Flashes slow if power is lower than threshold e Can be used inside of the most of already existing cases e Embedded RTC with separated Battery not included Pi Modules Intelligent Modules for your RaspberryPi www pimodules com PiCoolFan User Manual Version 1 06 Print Date 04 05 2014 What is in the BOX This package comes with everything you need to start using the PiCoolFan right out of the box It is assembled tested and contains all required accessories A little work is necessary in order to setup the complete RaspberryPi and PiCoolFan ina single full operating system Each Package contains the following parts e The PiCoolFan module PCB assembled and tested e Air Distribution plate e FAN with cable e Set of 2 pcs of tree clips required for FAN mounting onto Air Distribution Plate e Set of 5 pcs of Rubber spacers required for the Air distribution mounting Pi Modules Intelligent Modules for y
8. Pi Modules Intelligent Modules for your RaspberryPi www pimodules com PiCoolFan User Manual Version 1 06 Print Date 04 05 2014 e ae a www pimodules com Pi Modules Intelligent Modules for your RaspberryPi www pimodules com PiCoolFan User Manual Version 1 06 Print Date 04 05 2014 Pi Modules Intelligent Modules for your RaspberryPi www pimodules com PiCoolFan User Manual Version 1 06 Print Date 04 05 2014 Firmware Updates Our company is continuously developing and upgrading PiCoolFan firmware However due to extremely low footprint and costs of the micro controller used in the PiCoolFan it cannot hold a bootloader feature Therefore any future firmware updates will be provided to customers as a complete PiCoolFan controller board replacement This PiCoolFan controller board should be bought and paid by user as a new device without all other components including shipping costs from listed distributors However the price of this part will be very low As an alternative solution the newest firmware of the PiCoolFan in format of a HEX file will be provided on our website Therefore peoples that have a programmer of the Microchip Technology Inc PIC16 microcontroller will have the ability to proceed with firmware updates on their side free of any charge Such programmers are wide available to buy over the internet Our company recommends the original Microchip Technology Inc PICKit 3 All produc
9. PiCoolFan User Manual Version 1 06 Print Date 04 05 2014 PiCoolFan with Real Time Clock Advanced Pi Cooling Fan System for use with RaspberryPi User Manual Version 1 06 Raspberry Pi is a trademark of the RaspberryPi Foundation Firmware Release 1 and 2 Hardware Release 1 it is Pi itis Cool itis Fun Pi Modules Intelligent Modules for your RaspberryPi www pimodules com PiCoolFan User Manual Version 1 06 Print Date 04 05 2014 Credits Our Company would like to thank the following people that reviewed and many times commented and corrected this document before we released it to the public domain Marcello Antonucci Italy Mathew E Rivers USA Pi Modules Intelligent Modules for your RaspberryPi www pimodules com PiCoolFan User Manual Version 1 06 Print Date 04 05 2014 Table of Contents Credit 2 ak do 0 0 o 0 a ND 4 APPliCAtlONS OE EEE 4 VAN LE 4 gets 110 ET EE 4 What is in the BOX nmm srrrevvrrrerrrvvrrrrnnnvrrerrrrannrnnnnnevnnrrnnnrnnnnnerensrnnnnrennnneeennrnnnnnrnnnnnetenne 6 Hardware Installation RR 7 Software Installation eenernnrnnnnnvrrnnnnnnnvrnnnnrrrnnnnnnnvrnnnnrrnnnnenenrrnnnnrrnnnnesesrrnnnrrrnnneseseennnnn 15 Setting up the IC interface and RTC servrvrvervrvrvervrvevernrveverveveverveveverseveverveversesevessrsevene 15 The Peripheral I C Control PICo Interface s ssscesssseseoseseceorssescorscescsvaceseevscereorsces 19
10. and comment it out by adding to the front of it Pi Modules Intelligent Modules for your RaspberryPi www pimodules com PiCoolFan User Manual Version 1 06 Print Date 04 05 2014 blacklist spi bcm2708 blacklist i2c bcm2708 Edit etc modules Ssudo nano etc modules And add the following i2c bcm2708 i2c dev rtc ds1307 Add the modules to the kernel they will automatically be added on subsequent boots from etc modules Ssudo modprobe i2c bcm2708 Ssudo modprobe i2c dev Ssudo modprobe rtc ds1307 Reboot the system Ssudo reboot Install PC tools Ssudo apt get install i2c tools Look for ID 68 with i2cdetect On a 256MB Raspberry Pi Model A Ssudo i2cdetect y 0 On a 512MB Raspberry Pi Model B Ssudo i2cdetect y 1 The result should look like Pi Modules Intelligent Modules for your RaspberryPi www pimodules com PiCoolFan User Manual Version 1 06 Print Date 04 05 2014 sudo i2cdetect y 1 5 6 7 8 9 a I C PiCoolFan Simulated DS1307 RT Clock and PICo interface detection There are visible two 12C addresses The first one 0x68 is the RTC address and the second one 0x6C is the PICo interface address Then as roots do the following for model of RaspberryPi you have On a 256MB Raspberry Pi Model A Ssudo bash echo ds1307 0x68 gt sys class i2c adapter i2c 0 new device exit On a 512MB Raspberry Pi Model B Ssudo bash echo ds1307 0x68 gt sys class i2c adapter i2c 1 new_d
11. counted second will be shorter so RTC will be running faster Write 0x81 OxFF change the RTC tick by adding tick multiplication to the standard timer values therefore it will increase the duration of each second by multiple value of timer ticks counted second will be longer so RTC will be running slower Adding or subtract of one tick change the 24 hours RTC by 86400 0 000030517578125 sec 2 63671875 seconds Pi Modules Intelligent Modules for your RaspberryPi www pimodules com PiCoolFan User Manual Version 1 06 Print Date 04 05 2014 In order to handle the PICo command a write or read action should be performed to the PC on the address where the PICo interface has been assigned For the PiCoolFan the address is set to Ox6C and any communication should be done though this address For reading of the word variable the w should be placed at the end of line It is a good practice after changing of any value to proceed with FLASH memory update It is important to notice that if RTC battery exists in the PiCoolFan data remains in the RAM as long the battery is supplying the PiCoolFan However if user needs to have them stored permanently and have them available even if battery discharges a FLASH store command should be proceeding Pi Modules Intelligent Modules for your RaspberryPi www pimodules com PiCoolFan User Manual Version 1 06 Print Date 04 05 2014 Examples of commands Ssudo i2cget y 1 0x6C
12. digits 4 or 0x04 ttemp word Write Threshold temperature in BCD format Default value 42 DEG Celsius 6 or 0x06 scale byte Write Celsius or Fahrenheit 0 Celsius 1 Fahrenheit Default value 0 7 or 0x07 fstat byte Read Current FAN status 1 Running at any speed 0 Not Running 8 or 0x08 10 or 0x0A vcc_pi vcc_upi word word Read Write Actual value of VCC supplying RPi on P1 5V Pin in 10 of mV in BCD format Up Limit of VCC supplying RPI on P1 5V Pin in 10 of mV in BCD format need to be read as word Default value 520 5 2 V DC 12 or Ox0C vcc_dpi word Write Down Limit of VCC supplying RPi on P1 5V Pin in 10 of mV in BCD format need to be read as word Default value 480 4 8 V DC 14 or Ox0E version byte R W Read Firmware and Hardware Version OxHF Hardware Firmware Write 0x00 then restore factory defaults Write OxEE then read PCF data from flash memory Write OxFF then store PCF data to flash memory 15 or OxOF rtccf byte R W Change the RTC timer for multiples of 1 tick per second Timers tick is 1 32768 Hz 0 000030517578125 sec Write 0x00 or 0x80 not change the RTC tick Write 0x01 0x79 change the RTC tick by subtract tick multiplication from the standard timer values therefore it will decrease the duration of each second by multiple value of timer ticks
13. evice exit The result should look like sudo bash root raspberrypi home pi echo ds13 7 x68 gt sys class i2c adapter i2c 1 new_device root raspberrypi home pi exit exit PiCoolFan Simulated DS1307 Clock sudo bash commands execution Then check for time from the clock which will show Sat 01 Jan 2000 if it is the first time it is used Ssudo hwclock r Pi Modules Intelligent Modules for your RaspberryPi www pimodules com PiCoolFan User Manual Version 1 06 Print Date 04 05 2014 Then write the current system time to the clock sudo hwclock w Then edit etc rc local Ssudo nano etc rc local and add the following before exit 0 On a 256MB Raspberry Pi Model B echo ds1307 0x68 gt sys class i2c adapter i2c 0 new device hwclock s On a 512MB Raspberry Pi Model B echo ds1307 0x68 gt sys class i2c adapter i2c 1 new device hwclock s Pi Modules Intelligent Modules for your RaspberryPi www pimodules com PiCoolFan User Manual Version 1 06 Print Date 04 05 2014 The Peripheral I C Control PICo Interface The PICo is an implementation of I C interface adapted for easy control of the peripherals connected to the RaspberryPi via command line Values over the PICo interface could be presented as HEX or BCD coded numbers These give the user the ability to handle supported devices just by human recognized commands In the PICo interface due to the mask feature there are implemen
14. he embedded micro fan Thanks to the Air Distribution Plate the PiCoolFan cools not only the microprocessor on the RaspberryPi board but all the heat generating devices as well as the whole RaspberryPi PCB The embedded microcontroller is easily accessible by the user trough the PC PICo interface and allows reading of the measured temperature setting of temperature threshold as well as starting stopping the embedded micro fan In addition the PiCoolFan offers on the same PCB a battery backed RTC and Real Time Powering Voltage Monitoring Applications The PiCoolFan as an add on module is addressed to all RaspberryPi users that need to have a total control over the RaspberryPi board temperature especially when running outdoor or in high temperature environments The embedded micro fan is of high quality produces with very low noise also thanks to the embedded PWM control technology and is long lived System The PiCoolFan module consists of the following units e The PWM Temperature Adjustment Fan Controller unit e The micro Fan e Battery not included backed RTC e The Air Distribution Plate fit in to most of the cases Features The features of the PiCoolFan module are the following e Powering from the P1 connector of the RaspberryPi e Micro controller supervised e PWM FAN speed regulation Pi Modules Intelligent Modules for your RaspberryPi www pimodules com PiCoolFan User Manual Version 1 06 Print Date 04 0
15. ity will not destroy the system it will cause only that RTC will not work Fit in the PiCoolFan controller board on the P1 connector taking into account that the Temperature Sensor needs to be placed inside the hole of the Air Distribution Plate and need to closely touch the RaspberryPi PCB near the C15 Please be sure that the FAN supply cable is placed in a proper side and free area Pi Modules Intelligent Modules for your RaspberryPi www pimodules com PiCoolFan User Manual Version 1 06 Print Date 04 05 2014 Now you can start Using PiCoolFan The system is ready to be used and do not need any interface from the user In order to use more advanced functionality please follow the next chapter of the manual Software Installation This section describes how to program read set and handle all parameters of the PiCoolFan including the RTC This also specifies the PICo interface Setting up the I2C interface and RTC The 1 C Ports on the RaspberryPi is not enabled by default Follow these steps to enable the IC port and then the RTC communicating through I C with RaspberryPi First it is necessary to edit the config file that sets the I C port to default disabled This setting is stored in etc modprobe d raspi blacklist conf Use nano to edit this but you can also use any other editor you are comfortable with Ssudo nano etc modprobe d raspi blacklist conf Once this file is open find this line blacklist i2c bcm2708
16. our RaspberryPi www pimodules com PiCoolFan User Manual Version 1 06 Print Date 04 05 2014 Hardware Installation Before assembly please print out of the page 9 with guidelines where to place the rubber spacers on the Air Distribution Plate Follow the following steps in order to assemble and run the PiCoolFan Place the Air Distribution Plane on the desktop Remove the protective tapes from the Air Distribution Plate Pi Modules Intelligent Modules for your RaspberryPi www pimodules com PiCoolFan User Manual Version 1 06 Print Date 04 05 2014 After removing the protective tapes both sides from the Air Distribution Plate you will have the above picture Then print out the below page in order help of placement of the spacing rubbers Scale of below picture is 1 1 Setting of the printer should be like in the below picture in order to achieve scale 1 1 Printer HP Officejet Pro 8100 Network xj Properties Advanced Copies 1 E Print in grayscale black and white Pages to Print Comments amp Forms I Al Document Current page D Pages p Document 11 7 x 8 3in More Options Page Sizing amp Handling Elsie El Multiple Bookiet Fit 11 69 x 8 27 Inches Actual size 7 Shrink oversized pages D Custom Scale 100 Choose paper source by PDF page size E Print on both sides of paper Orientation 9 Auto portrait landscape Portrait
17. ted multiple IC addresses existing on a single PC interface that are spited to each peripherals It allows co existing multiple devices over a single PC interface i e FAN control system with RTC Thanks to human understandable and simple commands control of peripherals is extremely simple Control from programming language is also possible and as easy The core concept of the PICo interface is that all peripheral device control and data exchange between it and RaspberryPi variables are common for the IC interface as also for the peripheral itself Therefore any change of them by either the RaspberryPi or the peripheral causes immediate update and action Pi Modules Intelligent Modules for your RaspberryPi www pimodules com PiCoolFan PiCO Commands Summary User Manual Version 1 06 Print Date 04 05 2014 Address Name Type R W Explanation 0 or 0x00 mode byte Write 0 unconditional FAN OFF with speed defined in variable 1 1 unconditional FAN ON with speed defined in variable 1 2 FAN AUTO ON OFF controlled by PCF Default value 2 1 or Ox01 speed byte Write 0 FAN speed 00 OFF 1 FAN speed 100 2 FAN speed 25 3 FAN speed 50 4 FAN speed 75 Default value 3 2 or 0x02 ctemp word Read Contains actual system temperature in BCD format need to be read as word If Celsius selected then 2 digits If Fahrenheit selected then 2 3
18. ts developed and planning to be develop by our company are using or will use as a microcontroller exclusively one of the wide line of Microchip Technology Inc PIC microcontrollers 8 bits 16 bits or 32 bits Pi Modules Intelligent Modules for your RaspberryPi www pimodules com PiCoolFan User Manual Version 1 06 Print Date 04 05 2014 WARRANTY PiCoolFan is warranted to be free from defects in materials and workmanship from the date of purchase for a 12 month period Warranty excludes normal wear and tear accidental or deliberate damage We will accept returns ONLY on the following conditions These conditions do not affect your statutory rights In the case of faulty items we will repair the items as per the manufacturer s original warranty Products which are returned for warranty repair will be forward shipped at the customer s expense After assessment and if the products are covered under warranty we will pay return freight costs However if a fault cannot be found and the product is deemed to be in good working order or not covered by warranty the customer pays shipping both ways and pays Pi Modules a service fee prior to the return of the products according to Pi Modules service price list If the goods are covered under warranty we will cover only the return costs and the repair or replacement of the product as we see fit We will only accept for repair only the items which are returned in the original packaging

Download Pdf Manuals

image

Related Search

Related Contents

Perreaux R200i User's Manual  Energy Speaker Systems C-3R User's Manual  SUPER MICRO Computer LSI 2108/2208 Computer Hardware User Manual  HP ProCurve 2800 Series User's Manual  Manual de Instrução  LED導光板天井照明 施工説明書および取扱説明書  Samsung MC32F606TCT Benutzerhandbuch  avertissement - Volcano Grills  Spazzatrice 1404 FRENCH  6 - SEW-EURODRIVE  

Copyright © All rights reserved.
Failed to retrieve file