http://wiki.hivetool.org/api.php?action=feedcontributions&user=Adrian&feedformat=atomHiveTool - User contributions [en]2024-03-29T02:00:07ZUser contributionsMediaWiki 1.31.0http://wiki.hivetool.org/index.php?title=HiveTool.org&diff=3486HiveTool.org2018-02-07T05:13:08Z<p>Adrian: /* HiveControl&trade; */</p>
<hr />
<div><div style="background-color: #aaaaff;"><br />
<br />
[[File:Image073 xrdp desktop 1024.jpg|thumb|750px|0.7.3 RDP image, superseded 1-21-18 0.8.0.RC5]]<br />
<div style="font-weight: bold; font-family:arial;color:#FF0000;font-size:30px;text-align:center;">'''NEWS FLASH'''</div><br />
<center><br />
Updated January 21st 2018<br />
</center><br />
<br />
<center><br />
'''Hivetool Ver. 0.8.0rc5 Now Available!'''<br />
</center><br />
Recent Changes:<br />
*Built on Raspbian Stretch OS<br />
*Scale Calibration Wizard<br />
*Metric or Imperial measurements<br />
*[[Real Time Clock RTC|Hardware Real Time Clock Support]]<br />
*Web Upload Testing<br />
*Flexible Sensor Scaling<br />
*Local & Cloud Data Collection<br />
<br />
<br />
<center><br />
[[Software:_Overview|'''Read more about the software''']]<br><br />
<br />
[http://hivetool.org/w/index.php?title=Software:_Install_Hivetool_Pi_image '''Download The Latest Image''']<br><br />
[http://hivetool.org/d/forum '''Join our Forums''']<br />
[http://hivetool.org/dev_kit_order.pl '''Developers Kit Order Form''']</center><br />
<br clear=all><br />
</div><br />
----<br />
<br />
[[File:XP001_20150419.gif|thumb|750px|right|frame|<div style="font-weight: bold; font-family:arial;color:#66ff66;font-size:30px;text-align:center;"><br>Links to hives have moved to [http://hivetool.net hivetool.net]<br></div>]]<br />
<br />
== HiveTool&trade; ==<br />
HiveTool&trade; is a collection of readily available, off-the-shelf [[hardware]] and free, open source [[Software:_Overview|software]] that continuously monitors a beehive. Computerized hive monitors provide real time and historic data and graphs of weight, internal and ambient temperature, humidity and light levels which give the beekeeper a noninvasive view into the hive. HiveTool won the [https://www.youtube.com/watch?v=qsKHckMX0OU2015 2015 Bayer Bee Care Community Leadership Award].<br />
<br />
*Hivetool.org - Documentation, instructions, and a forum for discussions on how to set up a bioserver to monitor a bee hive.<br />
<br />
*[http://hivetool.net Hivetool.net] - Access the network of monitored hives: status, graphs, download data, view the video feeds.<br />
<br />
==HiveControl&trade; ==<br />
HiveControl is beekeeper friendly alternative software for use with HiveTool suite of software and hardware.<br />
HiveControl may be used standalone or in conjunction with HiveTool.<br><br />
HiveControl is at version 1.89, development has diminished in 2017-2018 with sporadic enhancements.<br><br />
'''Caution HiveControl has NOT been successfully tested with recent versions of Raspbian, backup before attempting an update'''<br><br />
<br />
Main Features:<br />
*Sensor Drivers work with HiveTool Sensor board<br />
*Local & Cloud Data Collection<br />
*Menu Driven Configuration Screens<br />
*Graphical Trends and Dashboard<br />
*Uploads data to HiveTool cloud<br />
*Video Bee Counter<br><br />
<br />
Programmers can learn more about HiveControl on [https://github.com/rcrum003/HiveControl HiveControl Github]<br />
<br />
== Uses ==<br />
=== [[Hive Management]] ===<br />
[[File:Hive graph 20111006 small.gif|frameless|right|260px]]<br />
Knowing what is happening in the hive is crucial to proper hive management. By knowing the beginning, end, and quantity of nectar flows, bee keepers can determine when to add and remove supers, when to move hives and where to locate hives to maximize honey production. [[Hive_Management|Read More]]<br />
<br />
=== [[Climate and Land Use Research]] ===<br />
[[File:Athens LC V5.png|frameless|right|260x100px]]<br />
Plant/pollinator interaction is used to measure the performance of the environment, instead of the performance of individual hives.<br />
[[Climate and Land Use Research|Read More]]<br />
<br />
=== [[Education and Bee Science]] ===<br />
[[File:RGNS mites.jpg|frameless|right|260px]]<br />
A program to attract students to Science Technology Engineering Math (STEM). Bee science includes agriculture, biology, botany, chemistry, computing, food, industrial arts, math, physics, programming, statistics – in short, something for everyone. [[Education and Bee Science|Read More]]<br />
<br clear=all><br />
<br />
== [[Hardware]] ==<br />
===[[New Developer Kit]]===<br />
[[File:P1010016c.jpg|thumb|130px|Dev Kit PCB installed on a Pi 2.]]<br />
An early goal of Hivetool was to develop a $50 scale. A developers kit to get beta units in the field for testing,<br />
gather user feedback, and provide a platform to foster open source community development is available at cost <br />
plus a voluntary contribution ... [[New_Developer_Kit|Read More]]<br />
<br />
===[[Hardware|Commercial Sensors]]===<br />
A scale hive (or bioserver) consists of a computer (desktop, laptop, router, SBC/SOC such as [http://en.wikipedia.org/wiki/Raspberry_Pi Raspberry Pi]), which is used to record, display, and analyze data from sensors such as scales, thermometers, hygrometers, microphones, cameras, photocells and rain gage. Listed below are readily available, commercial, off the shelf products that are currently in use or undergoing development and testing. [[Hardware|Read More]]<br />
<br />
== [[Software: Overview]] ==<br />
[[File:Software flow diagram1a.png|thumb|right|200px]]<br />
For software installation instructions, see '''[[Software:_Overview|How to load hivetool on the Pi]].''' <br />
<br />
Hivetool can be used as a:<br />
# [http://en.wikipedia.org/wiki/Data_logger Data logger] that provides data acquisition and storage.<br />
# Bioserver that displays, streams, analyzes and visualizes the data in addition to data acquisition and storage.<br />
[[Software:_Image_Details|Details of how the image is created]]<br />
<br clear=all><br />
<br />
==[[Bee Counter]]==<br />
<br />
{| align="right" <br />
| [[File:Tracks.jpg|thumb|left|300px|Tracks]]<br />
| [[File:BeeTrack1 2a.png|thumb|left|300px|BeeCounter]]<br />
|}<br />
<br />
While a scale can reveal nectar flows, orientation flight and the general health of the hive, it doesn't answer all the questions.<br />
A bee counter using low cost off-the-shelf hardware is being designed and tested. [[Bee Counter|Read More.]]<br />
<br />
<br />
Two different approaches are shown, <br />
*[http://sonic.net/~goddard/home/bees/bees.html Tracks], a video based tracking software.<br />
*[[Bee_counter_software|BeeCounter]], based on openCV libraries.<br />
<br clear=all><br />
<br />
== [[How To]] ==<br />
User manual, construction plans, solar design, troubleshooting. [[How To|Read More]]<br />
<br />
== [[Hive Selection and Manipulation]] ==<br />
Guidelines from ''Protocol for Scale Hive Measurements of the Honey Bee Nectar Flow''. [[Hive Selection and Manipulation|Read More]]<br />
<br />
== [[Data Warehouse]] ==<br />
Since HiveTool&trade; is open source/open notebook, the entire primary record is publicly available online as it is recorded. Storing, organizing and providing access to the data is necessary. [[Data_Warehouse|Read More]]<br />
<br />
== [[Hivetool:About|About]] ==<br />
This open source project is comprised of beekeepers who work in electronics and information technology. Our goal is to produce software tools to monitor, manage and research bees and honey production. [[Hivetool:About|Read More]]<br />
<br />
== [[To Do]] ==<br />
Lots to do! Whether you are a web site developer, database administrator, or programmer, there is something for you. Look over the list below - [[To Do|Read More]]<br />
<br />
== [[Why]] ==<br />
Why put a computer in a hive? [[Why|Read More]]<br />
<br />
== Projects ==<br />
*[http://hivetool.org/w/index.php?title=Talk:HiveTool.org HiveTool 2.0 Bleuetooth low energy]<br />
*[http://hivetool.org/w/index.php?title=Bee_Counter:_Optical_v_0.1 Bee Counter]<br />
*Bioacoustics<br />
*[[Bioserver]]<br />
*[[South Carolina Hive Instrumentation Project]]<br />
*[http://hivetool.org/history History]<br />
<br />
== Site Index ==<br />
[[Special:AllPages|Site Index]]<br />
== Contact==<br />
For comments, questions, or suggestions, please send an email to info at this webite, hivetool.org.</div>Adrianhttp://wiki.hivetool.org/index.php?title=HiveTool.org&diff=3485HiveTool.org2018-02-07T04:43:46Z<p>Adrian: /* Projects */</p>
<hr />
<div><div style="background-color: #aaaaff;"><br />
<br />
[[File:Image073 xrdp desktop 1024.jpg|thumb|750px|0.7.3 RDP image, superseded 1-21-18 0.8.0.RC5]]<br />
<div style="font-weight: bold; font-family:arial;color:#FF0000;font-size:30px;text-align:center;">'''NEWS FLASH'''</div><br />
<center><br />
Updated January 21st 2018<br />
</center><br />
<br />
<center><br />
'''Hivetool Ver. 0.8.0rc5 Now Available!'''<br />
</center><br />
Recent Changes:<br />
*Built on Raspbian Stretch OS<br />
*Scale Calibration Wizard<br />
*Metric or Imperial measurements<br />
*[[Real Time Clock RTC|Hardware Real Time Clock Support]]<br />
*Web Upload Testing<br />
*Flexible Sensor Scaling<br />
*Local & Cloud Data Collection<br />
<br />
<br />
<center><br />
[[Software:_Overview|'''Read more about the software''']]<br><br />
<br />
[http://hivetool.org/w/index.php?title=Software:_Install_Hivetool_Pi_image '''Download The Latest Image''']<br><br />
[http://hivetool.org/d/forum '''Join our Forums''']<br />
[http://hivetool.org/dev_kit_order.pl '''Developers Kit Order Form''']</center><br />
<br clear=all><br />
</div><br />
----<br />
<br />
[[File:XP001_20150419.gif|thumb|750px|right|frame|<div style="font-weight: bold; font-family:arial;color:#66ff66;font-size:30px;text-align:center;"><br>Links to hives have moved to [http://hivetool.net hivetool.net]<br></div>]]<br />
<br />
== HiveTool&trade; ==<br />
HiveTool&trade; is a collection of readily available, off-the-shelf [[hardware]] and free, open source [[Software:_Overview|software]] that continuously monitors a beehive. Computerized hive monitors provide real time and historic data and graphs of weight, internal and ambient temperature, humidity and light levels which give the beekeeper a noninvasive view into the hive. HiveTool won the [https://www.youtube.com/watch?v=qsKHckMX0OU2015 2015 Bayer Bee Care Community Leadership Award].<br />
<br />
*Hivetool.org - Documentation, instructions, and a forum for discussions on how to set up a bioserver to monitor a bee hive.<br />
<br />
*[http://hivetool.net Hivetool.net] - Access the network of monitored hives: status, graphs, download data, view the video feeds.<br />
<br />
==HiveControl&trade; ==<br />
HiveControl is beekeeper friendly alternative software for use with HiveTool suite of software and hardware.<br />
HiveControl may be used standalone or in conjunction with HiveTool.<br><br />
Main Features:<br />
*Sensor Drivers work with HiveTool Sensor board<br />
*Web Upload Testing<br />
*Local & Cloud Data Collection<br />
*Menu Driven Configuration Screens<br />
*Graphical Trends and Dashboard<br />
*Uploads data to HiveTool cloud<br />
*Video Bee Counter<br><br />
More can learned about HiveControl on [https://github.com/rcrum003/HiveControl Github]<br />
<br />
== Uses ==<br />
=== [[Hive Management]] ===<br />
[[File:Hive graph 20111006 small.gif|frameless|right|260px]]<br />
Knowing what is happening in the hive is crucial to proper hive management. By knowing the beginning, end, and quantity of nectar flows, bee keepers can determine when to add and remove supers, when to move hives and where to locate hives to maximize honey production. [[Hive_Management|Read More]]<br />
<br />
=== [[Climate and Land Use Research]] ===<br />
[[File:Athens LC V5.png|frameless|right|260x100px]]<br />
Plant/pollinator interaction is used to measure the performance of the environment, instead of the performance of individual hives.<br />
[[Climate and Land Use Research|Read More]]<br />
<br />
=== [[Education and Bee Science]] ===<br />
[[File:RGNS mites.jpg|frameless|right|260px]]<br />
A program to attract students to Science Technology Engineering Math (STEM). Bee science includes agriculture, biology, botany, chemistry, computing, food, industrial arts, math, physics, programming, statistics – in short, something for everyone. [[Education and Bee Science|Read More]]<br />
<br clear=all><br />
<br />
== [[Hardware]] ==<br />
===[[New Developer Kit]]===<br />
[[File:P1010016c.jpg|thumb|130px|Dev Kit PCB installed on a Pi 2.]]<br />
An early goal of Hivetool was to develop a $50 scale. A developers kit to get beta units in the field for testing,<br />
gather user feedback, and provide a platform to foster open source community development is available at cost <br />
plus a voluntary contribution ... [[New_Developer_Kit|Read More]]<br />
<br />
===[[Hardware|Commercial Sensors]]===<br />
A scale hive (or bioserver) consists of a computer (desktop, laptop, router, SBC/SOC such as [http://en.wikipedia.org/wiki/Raspberry_Pi Raspberry Pi]), which is used to record, display, and analyze data from sensors such as scales, thermometers, hygrometers, microphones, cameras, photocells and rain gage. Listed below are readily available, commercial, off the shelf products that are currently in use or undergoing development and testing. [[Hardware|Read More]]<br />
<br />
== [[Software: Overview]] ==<br />
[[File:Software flow diagram1a.png|thumb|right|200px]]<br />
For software installation instructions, see '''[[Software:_Overview|How to load hivetool on the Pi]].''' <br />
<br />
Hivetool can be used as a:<br />
# [http://en.wikipedia.org/wiki/Data_logger Data logger] that provides data acquisition and storage.<br />
# Bioserver that displays, streams, analyzes and visualizes the data in addition to data acquisition and storage.<br />
[[Software:_Image_Details|Details of how the image is created]]<br />
<br clear=all><br />
<br />
==[[Bee Counter]]==<br />
<br />
{| align="right" <br />
| [[File:Tracks.jpg|thumb|left|300px|Tracks]]<br />
| [[File:BeeTrack1 2a.png|thumb|left|300px|BeeCounter]]<br />
|}<br />
<br />
While a scale can reveal nectar flows, orientation flight and the general health of the hive, it doesn't answer all the questions.<br />
A bee counter using low cost off-the-shelf hardware is being designed and tested. [[Bee Counter|Read More.]]<br />
<br />
<br />
Two different approaches are shown, <br />
*[http://sonic.net/~goddard/home/bees/bees.html Tracks], a video based tracking software.<br />
*[[Bee_counter_software|BeeCounter]], based on openCV libraries.<br />
<br clear=all><br />
<br />
== [[How To]] ==<br />
User manual, construction plans, solar design, troubleshooting. [[How To|Read More]]<br />
<br />
== [[Hive Selection and Manipulation]] ==<br />
Guidelines from ''Protocol for Scale Hive Measurements of the Honey Bee Nectar Flow''. [[Hive Selection and Manipulation|Read More]]<br />
<br />
== [[Data Warehouse]] ==<br />
Since HiveTool&trade; is open source/open notebook, the entire primary record is publicly available online as it is recorded. Storing, organizing and providing access to the data is necessary. [[Data_Warehouse|Read More]]<br />
<br />
== [[Hivetool:About|About]] ==<br />
This open source project is comprised of beekeepers who work in electronics and information technology. Our goal is to produce software tools to monitor, manage and research bees and honey production. [[Hivetool:About|Read More]]<br />
<br />
== [[To Do]] ==<br />
Lots to do! Whether you are a web site developer, database administrator, or programmer, there is something for you. Look over the list below - [[To Do|Read More]]<br />
<br />
== [[Why]] ==<br />
Why put a computer in a hive? [[Why|Read More]]<br />
<br />
== Projects ==<br />
*[http://hivetool.org/w/index.php?title=Talk:HiveTool.org HiveTool 2.0 Bleuetooth low energy]<br />
*[http://hivetool.org/w/index.php?title=Bee_Counter:_Optical_v_0.1 Bee Counter]<br />
*Bioacoustics<br />
*[[Bioserver]]<br />
*[[South Carolina Hive Instrumentation Project]]<br />
*[http://hivetool.org/history History]<br />
<br />
== Site Index ==<br />
[[Special:AllPages|Site Index]]<br />
== Contact==<br />
For comments, questions, or suggestions, please send an email to info at this webite, hivetool.org.</div>Adrianhttp://wiki.hivetool.org/index.php?title=Talk:HiveTool.org&diff=3484Talk:HiveTool.org2018-02-07T04:09:55Z<p>Adrian: </p>
<hr />
<div>HiveTool .8 RC5 now operates under version 4.9 of Raspbian Stretch operating system.<br><br />
The latest drivers perform better and there are fewer anomalous readings.<br />
It is really nice to be able to perform menu driven scale calibration and zeroing wizard.<br><br />
The hive values may be read from Hivetool while testing online even before registration.<br><br />
The power supply voltage is now archived and all sensors can be calibrated, Metric units may be selected and real time clock is supported in the drivers.<br><br />
Again, hats off to Mr. Paul Vonk for his hard work updating the image and documentation.<br><br />
<br />
HiveControl seems to have lost compatibility with the latest 4.9 Stretch operating system.<br />
If anyone knows otherwise or has worked through the bugs, please let me know so we can update.<br />
<br />
Cheers, Adrian<br />
<br />
== Spring 2018 - New Developments ==<br />
<br />
<br />
<br />
'''It's been far too long since the last status update of Hivetool 2.0''' <br><br />
<br />
We are really intent on eliminating the power connections, large batteries and or solar panel at the hive, this requires a new hardware and software platform, thankfully efforts are beginning to yield results;<br />
After much investigation Paul designed and had fabricated a new PCB, however mounting the minuscule surface mount parts proved impossible with the equipment at hand.<br><br />
Since then Paul has been hard at work testing the even lower energy Nordic nrf52840 using their assembled developers board connected over SPI to the Analog Devices AD7124 eval board's 24 bit precision analog to digital converter. <br />
After wrestling code for some time Paul was able to get the analog values read into the Nordic processor, initial results look very promising.<br><br />
Most recently Paul managed to program the Nordic nrf52840 to link up with the Raspberry Pi Bluetooth which will serve as the local data warehouse, edge router and web server at least for the near term.<br />
It's a little early to get overly excited but the proof of concept has been demonstrated, now it's on to the many refinements that will be required before a PC board can be finalized.<br><br />
We are still inviting others to corroborate on the Hivetool project, if you have skills in related areas we welcome your participation. As before this project is still open source.<br />
<br />
Adrian</div>Adrianhttp://wiki.hivetool.org/index.php?title=Talk:HiveTool.org&diff=3483Talk:HiveTool.org2018-02-07T04:01:34Z<p>Adrian: /* Spring 2018 - New Developments */ new section</p>
<hr />
<div>HiveTool 0.8.0 now operates under version 4.9 of Raspbian Stretch operating system.<br><br />
The latest drivers perform better and there are fewer anomalous readings.<br />
It is really nice to be able to perform menu driven scale calibration and zeroing.<br><br />
Again, hats off to Mr. Paul Vonk for his hard work updating the image and documentation.<br><br />
<br />
HiveControl seems to have lost compatibility with the latest 4.9 Stretch operating system.<br />
If anyone knows otherwise or has worked through the bugs, please let me know so we can update.<br />
<br />
Cheers, Adrian<br />
<br />
== Spring 2018 - New Developments ==<br />
<br />
<br />
<br />
'''It's been far too long since the last status update of Hivetool 2.0''' <br><br />
<br />
We are really intent on eliminating the power connections, large batteries and or solar panel at the hive, this requires a new hardware and software platform, thankfully efforts are beginning to yield results;<br />
After much investigation Paul designed and had fabricated a new PCB, however mounting the minuscule surface mount parts proved impossible with the equipment at hand.<br><br />
Since then Paul has been hard at work testing the even lower energy Nordic nrf52840 using their assembled developers board connected over SPI to the Analog Devices AD7124 eval board's 24 bit precision analog to digital converter. <br />
After wrestling code for some time Paul was able to get the analog values read into the Nordic processor, initial results look very promising.<br><br />
Most recently Paul managed to program the Nordic nrf52840 to link up with the Raspberry Pi Bluetooth which will serve as the local data warehouse, edge router and web server at least for the near term.<br />
It's a little early to get overly excited but the proof of concept has been demonstrated, now it's on to the many refinements that will be required before a PC board can be finalized.<br><br />
We are still inviting others to corroborate on the Hivetool project, if you have skills in related areas we welcome your participation. As before this project is still open source.<br />
<br />
Adrian</div>Adrianhttp://wiki.hivetool.org/index.php?title=Talk:HiveTool.org&diff=3482Talk:HiveTool.org2018-02-07T03:02:02Z<p>Adrian: Hivetool - Spring 2018 update</p>
<hr />
<div>HiveTool 0.8.0 now operates under version 4.9 of Raspbian Stretch operating system.<br><br />
The latest drivers perform better and there are fewer anomalous readings.<br />
It is really nice to be able to perform menu driven scale calibration and zeroing.<br><br />
Again, hats off to Mr. Paul Vonk for his hard work updating the image and documentation.<br><br />
<br />
HiveControl seems to have lost compatibility with the latest 4.9 Stretch operating system.<br />
If anyone knows otherwise or has worked through the bugs, please let me know so we can update.<br />
<br />
Cheers, Adrian</div>Adrianhttp://wiki.hivetool.org/index.php?title=Software:_Install_Hivetool_Pi_image&diff=3356Software: Install Hivetool Pi image2018-01-22T02:03:19Z<p>Adrian: /* Setup Pi Operating System */</p>
<hr />
<div>[[File:Image073 xrdp desktop 1024.jpg|thumb|right|500px|0.7.3 image on Window Remote Desktop.]]<br />
==Summary==<br />
'''Hivetool 0.8.0 RC5'''<br />
This version 0.8.0 RC5 includes reworked temperature & humidity drivers and a better configuration interface, this release includes a scale calibration wizard and an upload test feature functional before registration (request access to private NOC page)<br><br />
This version includes the 11-29-17 Raspian 4.9 Stretch release. The system image fits easily on an 8 gig micro SD card. Navigation to HiveControl is not supported. Download time from google ~1 hour with a decent connection.<br />
<br />
'''HiveConTool'''<br />
This older 9/29/16 image is a bootable compilation of Hivetool and HiveControl software for the Raspberry Pi.<br> <br />
It is based the outdated Jessie 4.4.21 v7+ release of the Linux operating system, updating Raspian WILL break the install.<br />
*It is a (~3.6 Gig) and requires some patience to manipulate, in some cases hours.<br />
*When extracting use a 16 gig or larger micro SD card with 48 mbps Class 10 or better speed.<br />
<br />
==Download Images - Recommended for non-programmers==<br />
Download '''Hivetool 0.8.0 RC5''' here; <br />
It does not include HiveControl like the HiveConTool version below.<br><br />
This revision adds improved configuration interface and discards sensor misreads inherent with earlier releases <br><br />
Checksums and Detailed instructions: http://hivetool.org/w/index.php?title=Create_SD_Image_Version_0.8<br><br />
'''*https://drive.google.com/open?id=1euXRxbtnyF7nag5jWVq1-HKezHE6CsJy''' <br><br />
<br />
'''HiveControl''' Operates independently using the Hivetool hardware and can upload to the Hivetool cloud database.<br />
HiveControl includes a Dashboard and Graphical user interface with pretty trend screens. <br />
HiveControl is NOT maintained by the Hivetool group, questions & comments should be posed to the author rcrum003<br />
HiveControl installation assumes a knowledge of Linux commands CLI and the Pi Raspian OS, not recommended for novices. <br><br />
HiveControl may be downloaded or installed from githube here; https://github.com/rcrum003/HiveControl <br><br />
<br />
'''HiveConTool''' Link and installation instructions document (obsolete unsupported, will need recompilation)<br>[https://docs.google.com/document/d/1SmVETV5RiaVhpCcGcc2mgPQarYQu7jtdpTaK_200Aw4/edit?usp=sharing] and download compressed SD HiveConTool image from Google Shared Folder; [https://drive.google.com/open?id=0B8ZWirzPwqHfdGgtRS03RWY3T0E]<br> The intent of this version was to allow the user to evaluate both programs without swapping SD cards or reloading programs.<br />
This version allows the user to click back and forth between HiveTool and HiveControl user interfaces and databases <br><br />
There are some undocumented alterations to get the programs to play nice together. <br />
The included version of Hivetool should be manually upgraded to 0.7.4.(instructions needed). HiveControl may show the original version when updated.<br />
Download HiveConTool_073b.zip; <br />
(3,656,677,501 bytes) zipped; Contains Raspian Jessie 4.4.21 v7+ Pi OS with Hivetool 073 and HiveControl 1.81 ready for expanding on an 16 Gig or larger micro SD card. <br> <br />
Download here: https://drive.google.com/open?id=0B8ZWirzPwqHfYzlDamlDZ0hxSE0 <br><br />
Uncompressed MD5 Hash Chechsum 1fa33de383ca026188887aa2e6f54a16 <br><br />
<br />
==Verify MD5 sum==<br />
Verify download was complete and error free. Check file integrity to ensure an exact copy of the compressed image file.<br><br />
Calculate MD5 sum and make sure it matches: <br><br />
<br />
==Unzip==<br />
<br />
===Linux===<br />
unzip hivetool080rc5.zip<br />
<br />
===Windows===<br />
With Windows explorer locate hivetool080rc5.zip (usually in download directory).<br />
Right click on file to Extract to desired location<br />
<br />
==Copy image to micro SD card==<br />
'''Proceed with caution, an incorrect setting could corrupt your PC or attached storage. REMOVE any other USB memory devices from your computer.'''<br><br />
<br />
===Linux===<br />
Detailed instructions:<br />
http://elinux.org/RPi_Easy_SD_Card_Setup#Flashing_the_SD_Card_using_Linux_.28including_on_a_Pi.21.29<br />
# REMOVE any other USB memory devices from your computer.<br />
# Determine the device for the card reader <br />
##/dev/mmcblk0 for the built in reader on my laptop.<br />
##/dev/sdb for a USB card reader<br />
# Copy the image to the SD card:<br />
dd bs=4M if=hivetool080rc5.img of=/dev/sdb<br />
<br />
===Windows===<br />
raspberrypi.org recommends using:<br />
http://sourceforge.net/projects/win32diskimager/ <br><br />
Detailed instructions: http://elinux.org/RPi_Easy_SD_Card_Setup#Flashing_the_SD_Card_using_Windows<br />
<br />
#REMOVE any other USB memory devices from your computer.<br />
#Plug micro SD Card in adapter, confirm device letter using Windows Explorer.<br />
#Start Win32DiskImager<br />
#Browse to source file (image in downloads directory)<br />
#Make absolutely sure the drive letter (destination) to right of source file is the SD card<br />
#Check MD5 hash (TBD) this takes a few minutes<br />
#Click on Write, this takes a few more minutes<br />
#Confirm successful write then exit<br />
#The SD card image is called "boot" 25 files now visible in Windows explorer<br />
#Windows will report 40 megabytes free space on the SD card<br />
You are now ready to eject micro SD card and place into the Pi<br />
<br />
==Setup Pi Operating System==<br />
<br />
#Install micro SD card into bare Pi, power up with Ethernet cable plugged in<br />
#Determine IP address by hovering over up down arrows icon in task bar (top right) on pi console<br />
#Alternately get ip by viewing latest entry in router in the DHCP table named "raspberrypi"<br />
#Reserve the Pi's IP address in router for later ease of access. This will keep it from shifting on a reboot<br />
<br />
==Windows==<br />
#On a Windows PC if a remote "headless" remote desktop connection (RDP) is desired, enter target IP address of Pi<br />
#Leave the default module as "sesmon-Xvnc"<br />
#If the Pi is found you will be prompted to enter the default user "pi" and password "raspberry"<br />
#When prompted for security change default Password and the Hostname to match a hive name to be monitored, Ok to save & reboot<br />
#Under menu "system tab" the remaining settings should be set for your locality, here a Pi camera may also be enabled<br />
#Open a Terminal Window, at command prompt run; "sudo apt-get update", also "sudo apt-get upgrade" to get latest patches<br />
#Plug in WiFi dongle or if short range use on-board pi3, configure WiFi authentication on desktop, top RH task bar, double click up down arrow keys icon to set credentials<br />
#If WiFi connects, a signal strength indicator will replace the monitors icon, it will be necessary to enter the security key only once <br><br />
<br />
'''You are now ready to [[Configure_Hivetool|configure Hivetool.]] '''</div>Adrianhttp://wiki.hivetool.org/index.php?title=Software:_Install_Hivetool_Pi_image&diff=3355Software: Install Hivetool Pi image2018-01-22T01:21:41Z<p>Adrian: /* Verify MD5 sum */</p>
<hr />
<div>[[File:Image073 xrdp desktop 1024.jpg|thumb|right|500px|0.7.3 image on Window Remote Desktop.]]<br />
==Summary==<br />
'''Hivetool 0.8.0 RC5'''<br />
This version 0.8.0 RC5 includes reworked temperature & humidity drivers and a better configuration interface, this release includes a scale calibration wizard and an upload test feature functional before registration (request access to private NOC page)<br><br />
This version includes the 11-29-17 Raspian 4.9 Stretch release. The system image fits easily on an 8 gig micro SD card. Navigation to HiveControl is not supported. Download time from google ~1 hour with a decent connection.<br />
<br />
'''HiveConTool'''<br />
This older 9/29/16 image is a bootable compilation of Hivetool and HiveControl software for the Raspberry Pi.<br> <br />
It is based the outdated Jessie 4.4.21 v7+ release of the Linux operating system, updating Raspian WILL break the install.<br />
*It is a (~3.6 Gig) and requires some patience to manipulate, in some cases hours.<br />
*When extracting use a 16 gig or larger micro SD card with 48 mbps Class 10 or better speed.<br />
<br />
==Download Images - Recommended for non-programmers==<br />
Download '''Hivetool 0.8.0 RC5''' here; <br />
It does not include HiveControl like the HiveConTool version below.<br><br />
This revision adds improved configuration interface and discards sensor misreads inherent with earlier releases <br><br />
Checksums and Detailed instructions: http://hivetool.org/w/index.php?title=Create_SD_Image_Version_0.8<br><br />
'''*https://drive.google.com/open?id=1euXRxbtnyF7nag5jWVq1-HKezHE6CsJy''' <br><br />
<br />
'''HiveControl''' Operates independently using the Hivetool hardware and can upload to the Hivetool cloud database.<br />
HiveControl includes a Dashboard and Graphical user interface with pretty trend screens. <br />
HiveControl is NOT maintained by the Hivetool group, questions & comments should be posed to the author rcrum003<br />
HiveControl installation assumes a knowledge of Linux commands CLI and the Pi Raspian OS, not recommended for novices. <br><br />
HiveControl may be downloaded or installed from githube here; https://github.com/rcrum003/HiveControl <br><br />
<br />
'''HiveConTool''' Link and installation instructions document (obsolete unsupported, will need recompilation)<br>[https://docs.google.com/document/d/1SmVETV5RiaVhpCcGcc2mgPQarYQu7jtdpTaK_200Aw4/edit?usp=sharing] and download compressed SD HiveConTool image from Google Shared Folder; [https://drive.google.com/open?id=0B8ZWirzPwqHfdGgtRS03RWY3T0E]<br> The intent of this version was to allow the user to evaluate both programs without swapping SD cards or reloading programs.<br />
This version allows the user to click back and forth between HiveTool and HiveControl user interfaces and databases <br><br />
There are some undocumented alterations to get the programs to play nice together. <br />
The included version of Hivetool should be manually upgraded to 0.7.4.(instructions needed). HiveControl may show the original version when updated.<br />
Download HiveConTool_073b.zip; <br />
(3,656,677,501 bytes) zipped; Contains Raspian Jessie 4.4.21 v7+ Pi OS with Hivetool 073 and HiveControl 1.81 ready for expanding on an 16 Gig or larger micro SD card. <br> <br />
Download here: https://drive.google.com/open?id=0B8ZWirzPwqHfYzlDamlDZ0hxSE0 <br><br />
Uncompressed MD5 Hash Chechsum 1fa33de383ca026188887aa2e6f54a16 <br><br />
<br />
==Verify MD5 sum==<br />
Verify download was complete and error free. Check file integrity to ensure an exact copy of the compressed image file.<br><br />
Calculate MD5 sum and make sure it matches: <br><br />
<br />
==Unzip==<br />
<br />
===Linux===<br />
unzip hivetool080rc5.zip<br />
<br />
===Windows===<br />
With Windows explorer locate hivetool080rc5.zip (usually in download directory).<br />
Right click on file to Extract to desired location<br />
<br />
==Copy image to micro SD card==<br />
'''Proceed with caution, an incorrect setting could corrupt your PC or attached storage. REMOVE any other USB memory devices from your computer.'''<br><br />
<br />
===Linux===<br />
Detailed instructions:<br />
http://elinux.org/RPi_Easy_SD_Card_Setup#Flashing_the_SD_Card_using_Linux_.28including_on_a_Pi.21.29<br />
# REMOVE any other USB memory devices from your computer.<br />
# Determine the device for the card reader <br />
##/dev/mmcblk0 for the built in reader on my laptop.<br />
##/dev/sdb for a USB card reader<br />
# Copy the image to the SD card:<br />
dd bs=4M if=hivetool080rc5.img of=/dev/sdb<br />
<br />
===Windows===<br />
raspberrypi.org recommends using:<br />
http://sourceforge.net/projects/win32diskimager/ <br><br />
Detailed instructions: http://elinux.org/RPi_Easy_SD_Card_Setup#Flashing_the_SD_Card_using_Windows<br />
<br />
#REMOVE any other USB memory devices from your computer.<br />
#Plug micro SD Card in adapter, confirm device letter using Windows Explorer.<br />
#Start Win32DiskImager<br />
#Browse to source file (image in downloads directory)<br />
#Make absolutely sure the drive letter (destination) to right of source file is the SD card<br />
#Check MD5 hash (TBD) this takes a few minutes<br />
#Click on Write, this takes a few more minutes<br />
#Confirm successful write then exit<br />
#The SD card image is called "boot" 25 files now visible in Windows explorer<br />
#Windows will report 40 megabytes free space on the SD card<br />
You are now ready to eject micro SD card and place into the Pi<br />
<br />
==Setup Pi Operating System==<br />
<br />
#Install micro SD card into bare Pi, power up with Ethernet or for (non windows use local terminal)<br />
#If using Ethernet determine IP address by viewing latest entry in access point<br />
#Identify IP in the DHCP table named "raspberrypi"<br />
<br />
===Windows===<br />
#On a Windows PC setup a new remote desktop connection (RDP), enter target IP address of Pi<br />
#If the Pi is found you will be prompted to enter the default user "pi" and password "raspberry"<br />
#Leave the default module as "sesmon-Xvnc"<br />
#Once connected you will see the Pi desktop, Menu to "preferences"sub "raspberry pi configuration"<br />
#Under menu "system tab" "expand file system", then OK then reboot from main menu last item<br />
#Reestablish remote desktop connection using saved RDP Windows settings, login to desktop<br />
#Under menu "localisation" tab set your timezone Local, Language preferences<br />
#Under menu "system tab", Change default Password and the Hostname to match a hive name to be monitored, Ok to save & reboot<br />
#Under menu "system tab" the remaining settings should be default unless a Pi camera is attached<br />
# Open a Terminal Window, at command prompt run; "sudo apt-get update", also "sudo apt-get upgrade" to get latest patches<br />
#Plug in WiFi dongle, configure WiFi authentication on desktop, top RH corner, dual monitors icon<br />
#If WiFi connects, a signal strength indicator will replace the monitors icon, it will be necessary to enter the security key<br />
<br />
'''You are now ready to [[Configure_Hivetool|configure Hivetool.]] '''</div>Adrianhttp://wiki.hivetool.org/index.php?title=Software:_Install_Hivetool_Pi_image&diff=3354Software: Install Hivetool Pi image2018-01-22T01:19:29Z<p>Adrian: /* Download Images - Recommended for non-programmers */</p>
<hr />
<div>[[File:Image073 xrdp desktop 1024.jpg|thumb|right|500px|0.7.3 image on Window Remote Desktop.]]<br />
==Summary==<br />
'''Hivetool 0.8.0 RC5'''<br />
This version 0.8.0 RC5 includes reworked temperature & humidity drivers and a better configuration interface, this release includes a scale calibration wizard and an upload test feature functional before registration (request access to private NOC page)<br><br />
This version includes the 11-29-17 Raspian 4.9 Stretch release. The system image fits easily on an 8 gig micro SD card. Navigation to HiveControl is not supported. Download time from google ~1 hour with a decent connection.<br />
<br />
'''HiveConTool'''<br />
This older 9/29/16 image is a bootable compilation of Hivetool and HiveControl software for the Raspberry Pi.<br> <br />
It is based the outdated Jessie 4.4.21 v7+ release of the Linux operating system, updating Raspian WILL break the install.<br />
*It is a (~3.6 Gig) and requires some patience to manipulate, in some cases hours.<br />
*When extracting use a 16 gig or larger micro SD card with 48 mbps Class 10 or better speed.<br />
<br />
==Download Images - Recommended for non-programmers==<br />
Download '''Hivetool 0.8.0 RC5''' here; <br />
It does not include HiveControl like the HiveConTool version below.<br><br />
This revision adds improved configuration interface and discards sensor misreads inherent with earlier releases <br><br />
Checksums and Detailed instructions: http://hivetool.org/w/index.php?title=Create_SD_Image_Version_0.8<br><br />
'''*https://drive.google.com/open?id=1euXRxbtnyF7nag5jWVq1-HKezHE6CsJy''' <br><br />
<br />
'''HiveControl''' Operates independently using the Hivetool hardware and can upload to the Hivetool cloud database.<br />
HiveControl includes a Dashboard and Graphical user interface with pretty trend screens. <br />
HiveControl is NOT maintained by the Hivetool group, questions & comments should be posed to the author rcrum003<br />
HiveControl installation assumes a knowledge of Linux commands CLI and the Pi Raspian OS, not recommended for novices. <br><br />
HiveControl may be downloaded or installed from githube here; https://github.com/rcrum003/HiveControl <br><br />
<br />
'''HiveConTool''' Link and installation instructions document (obsolete unsupported, will need recompilation)<br>[https://docs.google.com/document/d/1SmVETV5RiaVhpCcGcc2mgPQarYQu7jtdpTaK_200Aw4/edit?usp=sharing] and download compressed SD HiveConTool image from Google Shared Folder; [https://drive.google.com/open?id=0B8ZWirzPwqHfdGgtRS03RWY3T0E]<br> The intent of this version was to allow the user to evaluate both programs without swapping SD cards or reloading programs.<br />
This version allows the user to click back and forth between HiveTool and HiveControl user interfaces and databases <br><br />
There are some undocumented alterations to get the programs to play nice together. <br />
The included version of Hivetool should be manually upgraded to 0.7.4.(instructions needed). HiveControl may show the original version when updated.<br />
Download HiveConTool_073b.zip; <br />
(3,656,677,501 bytes) zipped; Contains Raspian Jessie 4.4.21 v7+ Pi OS with Hivetool 073 and HiveControl 1.81 ready for expanding on an 16 Gig or larger micro SD card. <br> <br />
Download here: https://drive.google.com/open?id=0B8ZWirzPwqHfYzlDamlDZ0hxSE0 <br><br />
Uncompressed MD5 Hash Chechsum 1fa33de383ca026188887aa2e6f54a16 <br><br />
<br />
==Verify MD5 sum==<br />
Verify download was complete and error free. Check file integrity to ensure an exact copy of the compressed image file.<br><br />
Calculate MD5 sum and make sure it matches: <br />
<br />
<br />
==Unzip==<br />
<br />
===Linux===<br />
unzip hivetool080rc5.zip<br />
<br />
===Windows===<br />
With Windows explorer locate hivetool080rc5.zip (usually in download directory).<br />
Right click on file to Extract to desired location<br />
<br />
==Copy image to micro SD card==<br />
'''Proceed with caution, an incorrect setting could corrupt your PC or attached storage. REMOVE any other USB memory devices from your computer.'''<br><br />
<br />
===Linux===<br />
Detailed instructions:<br />
http://elinux.org/RPi_Easy_SD_Card_Setup#Flashing_the_SD_Card_using_Linux_.28including_on_a_Pi.21.29<br />
# REMOVE any other USB memory devices from your computer.<br />
# Determine the device for the card reader <br />
##/dev/mmcblk0 for the built in reader on my laptop.<br />
##/dev/sdb for a USB card reader<br />
# Copy the image to the SD card:<br />
dd bs=4M if=hivetool080rc5.img of=/dev/sdb<br />
<br />
===Windows===<br />
raspberrypi.org recommends using:<br />
http://sourceforge.net/projects/win32diskimager/ <br><br />
Detailed instructions: http://elinux.org/RPi_Easy_SD_Card_Setup#Flashing_the_SD_Card_using_Windows<br />
<br />
#REMOVE any other USB memory devices from your computer.<br />
#Plug micro SD Card in adapter, confirm device letter using Windows Explorer.<br />
#Start Win32DiskImager<br />
#Browse to source file (image in downloads directory)<br />
#Make absolutely sure the drive letter (destination) to right of source file is the SD card<br />
#Check MD5 hash (TBD) this takes a few minutes<br />
#Click on Write, this takes a few more minutes<br />
#Confirm successful write then exit<br />
#The SD card image is called "boot" 25 files now visible in Windows explorer<br />
#Windows will report 40 megabytes free space on the SD card<br />
You are now ready to eject micro SD card and place into the Pi<br />
<br />
==Setup Pi Operating System==<br />
<br />
#Install micro SD card into bare Pi, power up with Ethernet or for (non windows use local terminal)<br />
#If using Ethernet determine IP address by viewing latest entry in access point<br />
#Identify IP in the DHCP table named "raspberrypi"<br />
<br />
===Windows===<br />
#On a Windows PC setup a new remote desktop connection (RDP), enter target IP address of Pi<br />
#If the Pi is found you will be prompted to enter the default user "pi" and password "raspberry"<br />
#Leave the default module as "sesmon-Xvnc"<br />
#Once connected you will see the Pi desktop, Menu to "preferences"sub "raspberry pi configuration"<br />
#Under menu "system tab" "expand file system", then OK then reboot from main menu last item<br />
#Reestablish remote desktop connection using saved RDP Windows settings, login to desktop<br />
#Under menu "localisation" tab set your timezone Local, Language preferences<br />
#Under menu "system tab", Change default Password and the Hostname to match a hive name to be monitored, Ok to save & reboot<br />
#Under menu "system tab" the remaining settings should be default unless a Pi camera is attached<br />
# Open a Terminal Window, at command prompt run; "sudo apt-get update", also "sudo apt-get upgrade" to get latest patches<br />
#Plug in WiFi dongle, configure WiFi authentication on desktop, top RH corner, dual monitors icon<br />
#If WiFi connects, a signal strength indicator will replace the monitors icon, it will be necessary to enter the security key<br />
<br />
'''You are now ready to [[Configure_Hivetool|configure Hivetool.]] '''</div>Adrianhttp://wiki.hivetool.org/index.php?title=Software:_Install_Hivetool_Pi_image&diff=3353Software: Install Hivetool Pi image2018-01-22T01:15:54Z<p>Adrian: /* Download Images - Recommended for non-programmers */</p>
<hr />
<div>[[File:Image073 xrdp desktop 1024.jpg|thumb|right|500px|0.7.3 image on Window Remote Desktop.]]<br />
==Summary==<br />
'''Hivetool 0.8.0 RC5'''<br />
This version 0.8.0 RC5 includes reworked temperature & humidity drivers and a better configuration interface, this release includes a scale calibration wizard and an upload test feature functional before registration (request access to private NOC page)<br><br />
This version includes the 11-29-17 Raspian 4.9 Stretch release. The system image fits easily on an 8 gig micro SD card. Navigation to HiveControl is not supported. Download time from google ~1 hour with a decent connection.<br />
<br />
'''HiveConTool'''<br />
This older 9/29/16 image is a bootable compilation of Hivetool and HiveControl software for the Raspberry Pi.<br> <br />
It is based the outdated Jessie 4.4.21 v7+ release of the Linux operating system, updating Raspian WILL break the install.<br />
*It is a (~3.6 Gig) and requires some patience to manipulate, in some cases hours.<br />
*When extracting use a 16 gig or larger micro SD card with 48 mbps Class 10 or better speed.<br />
<br />
==Download Images - Recommended for non-programmers==<br />
Download '''Hivetool 0.8.0 RC5''' here; <br />
It does not include HiveControl like the HiveConTool version below.<br><br />
This revision adds improved configuration interface and discards sensor misreads inherent with earlier releases <br><br />
Checksums and Detailed instructions: http://hivetool.org/w/index.php?title=Create_SD_Image_Version_0.8<br><br />
'''*https://drive.google.com/open?id=1euXRxbtnyF7nag5jWVq1-HKezHE6CsJy''' <br><br />
<br />
'''HiveControl''' Operates independently using the Hivetool hardware and can upload to the Hivetool cloud database.<br />
HiveControl includes a Dashboard and Graphical user interface with pretty trend screens. <br />
HiveControl is NOT maintained by the Hivetool group, questions & comments should be posed to the author rcrum003<br />
HiveControl installation assumes a knowledge of Linux commands CLI and the Pi Raspian OS, not recommended for novices. <br><br />
HiveControl may be downloaded or installed from githube here; https://github.com/rcrum003/HiveControl <br><br />
<br />
'''HiveConTool''' Link and installation instructions document (obsolete unsupported, will need recompilation)<br>[https://docs.google.com/document/d/1SmVETV5RiaVhpCcGcc2mgPQarYQu7jtdpTaK_200Aw4/edit?usp=sharing] and download compressed SD HiveConTool image from Google Shared Folder; [https://drive.google.com/open?id=0B8ZWirzPwqHfdGgtRS03RWY3T0E]<br> The intent of this version was to allow the user to evaluate both programs without swapping SD cards or reloading programs.<br />
This version allows the user to click back and forth between HiveTool and HiveControl user interfaces and databases <br><br />
There are some undocumented alterations to get the programs to play nice together. <br />
The included version of Hivetool should be manually upgraded to 0.7.4.(instructions needed). HiveControl may show the original version when updated.<br />
Download HiveConTool_073b.zip; <br />
(3,656,677,501 bytes) zipped; Contains Raspian Jessie 4.4.21 v7+ Pi OS with Hivetool 073 and HiveControl 1.81 ready for expanding on an 16 Gig or larger micro SD card. <br />
Uncompressed MD5 Hash Chechsum 1fa33de383ca026188887aa2e6f54a16 <br><br />
'''https://drive.google.com/open?id=0B8ZWirzPwqHfYzlDamlDZ0hxSE0'''<br><br />
<br />
==Verify MD5 sum==<br />
Verify download was complete and error free. Check file integrity to ensure an exact copy of the compressed image file.<br><br />
Calculate MD5 sum and make sure it matches: <br />
<br />
<br />
==Unzip==<br />
<br />
===Linux===<br />
unzip hivetool080rc5.zip<br />
<br />
===Windows===<br />
With Windows explorer locate hivetool080rc5.zip (usually in download directory).<br />
Right click on file to Extract to desired location<br />
<br />
==Copy image to micro SD card==<br />
'''Proceed with caution, an incorrect setting could corrupt your PC or attached storage. REMOVE any other USB memory devices from your computer.'''<br><br />
<br />
===Linux===<br />
Detailed instructions:<br />
http://elinux.org/RPi_Easy_SD_Card_Setup#Flashing_the_SD_Card_using_Linux_.28including_on_a_Pi.21.29<br />
# REMOVE any other USB memory devices from your computer.<br />
# Determine the device for the card reader <br />
##/dev/mmcblk0 for the built in reader on my laptop.<br />
##/dev/sdb for a USB card reader<br />
# Copy the image to the SD card:<br />
dd bs=4M if=hivetool080rc5.img of=/dev/sdb<br />
<br />
===Windows===<br />
raspberrypi.org recommends using:<br />
http://sourceforge.net/projects/win32diskimager/ <br><br />
Detailed instructions: http://elinux.org/RPi_Easy_SD_Card_Setup#Flashing_the_SD_Card_using_Windows<br />
<br />
#REMOVE any other USB memory devices from your computer.<br />
#Plug micro SD Card in adapter, confirm device letter using Windows Explorer.<br />
#Start Win32DiskImager<br />
#Browse to source file (image in downloads directory)<br />
#Make absolutely sure the drive letter (destination) to right of source file is the SD card<br />
#Check MD5 hash (TBD) this takes a few minutes<br />
#Click on Write, this takes a few more minutes<br />
#Confirm successful write then exit<br />
#The SD card image is called "boot" 25 files now visible in Windows explorer<br />
#Windows will report 40 megabytes free space on the SD card<br />
You are now ready to eject micro SD card and place into the Pi<br />
<br />
==Setup Pi Operating System==<br />
<br />
#Install micro SD card into bare Pi, power up with Ethernet or for (non windows use local terminal)<br />
#If using Ethernet determine IP address by viewing latest entry in access point<br />
#Identify IP in the DHCP table named "raspberrypi"<br />
<br />
===Windows===<br />
#On a Windows PC setup a new remote desktop connection (RDP), enter target IP address of Pi<br />
#If the Pi is found you will be prompted to enter the default user "pi" and password "raspberry"<br />
#Leave the default module as "sesmon-Xvnc"<br />
#Once connected you will see the Pi desktop, Menu to "preferences"sub "raspberry pi configuration"<br />
#Under menu "system tab" "expand file system", then OK then reboot from main menu last item<br />
#Reestablish remote desktop connection using saved RDP Windows settings, login to desktop<br />
#Under menu "localisation" tab set your timezone Local, Language preferences<br />
#Under menu "system tab", Change default Password and the Hostname to match a hive name to be monitored, Ok to save & reboot<br />
#Under menu "system tab" the remaining settings should be default unless a Pi camera is attached<br />
# Open a Terminal Window, at command prompt run; "sudo apt-get update", also "sudo apt-get upgrade" to get latest patches<br />
#Plug in WiFi dongle, configure WiFi authentication on desktop, top RH corner, dual monitors icon<br />
#If WiFi connects, a signal strength indicator will replace the monitors icon, it will be necessary to enter the security key<br />
<br />
'''You are now ready to [[Configure_Hivetool|configure Hivetool.]] '''</div>Adrianhttp://wiki.hivetool.org/index.php?title=Software:_Install_Hivetool_Pi_image&diff=3352Software: Install Hivetool Pi image2018-01-22T01:10:05Z<p>Adrian: /* Copy image to micro SD card */</p>
<hr />
<div>[[File:Image073 xrdp desktop 1024.jpg|thumb|right|500px|0.7.3 image on Window Remote Desktop.]]<br />
==Summary==<br />
'''Hivetool 0.8.0 RC5'''<br />
This version 0.8.0 RC5 includes reworked temperature & humidity drivers and a better configuration interface, this release includes a scale calibration wizard and an upload test feature functional before registration (request access to private NOC page)<br><br />
This version includes the 11-29-17 Raspian 4.9 Stretch release. The system image fits easily on an 8 gig micro SD card. Navigation to HiveControl is not supported. Download time from google ~1 hour with a decent connection.<br />
<br />
'''HiveConTool'''<br />
This older 9/29/16 image is a bootable compilation of Hivetool and HiveControl software for the Raspberry Pi.<br> <br />
It is based the outdated Jessie 4.4.21 v7+ release of the Linux operating system, updating Raspian WILL break the install.<br />
*It is a (~3.6 Gig) and requires some patience to manipulate, in some cases hours.<br />
*When extracting use a 16 gig or larger micro SD card with 48 mbps Class 10 or better speed.<br />
<br />
==Download Images - Recommended for non-programmers==<br />
Download '''Hivetool 0.8.0 RC5''' here; <br />
It does not include HiveControl like the HiveConTool version below.<br><br />
This revision adds improved configuration interface and discards sensor misreads inherent with earlier releases <br><br />
Checksums and Detailed instructions: http://hivetool.org/w/index.php?title=Create_SD_Image_Version_0.8<br><br />
'''*https://drive.google.com/open?id=1euXRxbtnyF7nag5jWVq1-HKezHE6CsJy''' <br><br />
<br />
'''HiveControl''' Operates independently using the Hivetool hardware and can upload to the Hivetool cloud database.<br />
HiveControl includes a Dashboard and Graphical user interface with pretty trend screens. <br />
HiveControl is NOT maintained by the Hivetool group, questions & comments should be posed to the author rcrum003<br />
HiveControl installation assumes a knowledge of Linux commands CLI and the Pi Raspian OS, not recommended for novices. <br><br />
HiveControl may be downloaded or installed from githube here; https://github.com/rcrum003/HiveControl <br><br />
<br />
'''HiveConTool''' Link and installation instructions document [https://docs.google.com/document/d/1SmVETV5RiaVhpCcGcc2mgPQarYQu7jtdpTaK_200Aw4/edit?usp=sharing] and download compressed SD HiveConTool image from Google Shared Folder; [https://drive.google.com/open?id=0B8ZWirzPwqHfdGgtRS03RWY3T0E]<br> The intent of this version was to allow the user to evaluate both programs without swapping SD cards or reloading programs.<br />
This version allows the user to click back and forth between HiveTool and HiveControl user interfaces and databases <br><br />
There are some undocumented alterations to get the programs to play nice together. <br />
The included version of Hivetool should be manually upgraded to 0.7.4.(instructions needed). HiveControl may show the original version when updated.<br />
Download HiveConTool_073b.zip; <br />
(3,656,677,501 bytes) zipped; Contains Raspian Jessie 4.4.21 v7+ Pi OS with Hivetool 073 and HiveControl 1.81 ready for expanding on an 16 Gig or larger micro SD card. <br />
Uncompressed MD5 Hash Chechsum 1fa33de383ca026188887aa2e6f54a16 <br><br />
'''https://drive.google.com/open?id=0B8ZWirzPwqHfYzlDamlDZ0hxSE0'''<br><br />
<br />
==Verify MD5 sum==<br />
Verify download was complete and error free. Check file integrity to ensure an exact copy of the compressed image file.<br><br />
Calculate MD5 sum and make sure it matches: <br />
<br />
<br />
==Unzip==<br />
<br />
===Linux===<br />
unzip hivetool080rc5.zip<br />
<br />
===Windows===<br />
With Windows explorer locate hivetool080rc5.zip (usually in download directory).<br />
Right click on file to Extract to desired location<br />
<br />
==Copy image to micro SD card==<br />
'''Proceed with caution, an incorrect setting could corrupt your PC or attached storage. REMOVE any other USB memory devices from your computer.'''<br><br />
<br />
===Linux===<br />
Detailed instructions:<br />
http://elinux.org/RPi_Easy_SD_Card_Setup#Flashing_the_SD_Card_using_Linux_.28including_on_a_Pi.21.29<br />
# REMOVE any other USB memory devices from your computer.<br />
# Determine the device for the card reader <br />
##/dev/mmcblk0 for the built in reader on my laptop.<br />
##/dev/sdb for a USB card reader<br />
# Copy the image to the SD card:<br />
dd bs=4M if=hivetool080rc5.img of=/dev/sdb<br />
<br />
===Windows===<br />
raspberrypi.org recommends using:<br />
http://sourceforge.net/projects/win32diskimager/ <br><br />
Detailed instructions: http://elinux.org/RPi_Easy_SD_Card_Setup#Flashing_the_SD_Card_using_Windows<br />
<br />
#REMOVE any other USB memory devices from your computer.<br />
#Plug micro SD Card in adapter, confirm device letter using Windows Explorer.<br />
#Start Win32DiskImager<br />
#Browse to source file (image in downloads directory)<br />
#Make absolutely sure the drive letter (destination) to right of source file is the SD card<br />
#Check MD5 hash (TBD) this takes a few minutes<br />
#Click on Write, this takes a few more minutes<br />
#Confirm successful write then exit<br />
#The SD card image is called "boot" 25 files now visible in Windows explorer<br />
#Windows will report 40 megabytes free space on the SD card<br />
You are now ready to eject micro SD card and place into the Pi<br />
<br />
==Setup Pi Operating System==<br />
<br />
#Install micro SD card into bare Pi, power up with Ethernet or for (non windows use local terminal)<br />
#If using Ethernet determine IP address by viewing latest entry in access point<br />
#Identify IP in the DHCP table named "raspberrypi"<br />
<br />
===Windows===<br />
#On a Windows PC setup a new remote desktop connection (RDP), enter target IP address of Pi<br />
#If the Pi is found you will be prompted to enter the default user "pi" and password "raspberry"<br />
#Leave the default module as "sesmon-Xvnc"<br />
#Once connected you will see the Pi desktop, Menu to "preferences"sub "raspberry pi configuration"<br />
#Under menu "system tab" "expand file system", then OK then reboot from main menu last item<br />
#Reestablish remote desktop connection using saved RDP Windows settings, login to desktop<br />
#Under menu "localisation" tab set your timezone Local, Language preferences<br />
#Under menu "system tab", Change default Password and the Hostname to match a hive name to be monitored, Ok to save & reboot<br />
#Under menu "system tab" the remaining settings should be default unless a Pi camera is attached<br />
# Open a Terminal Window, at command prompt run; "sudo apt-get update", also "sudo apt-get upgrade" to get latest patches<br />
#Plug in WiFi dongle, configure WiFi authentication on desktop, top RH corner, dual monitors icon<br />
#If WiFi connects, a signal strength indicator will replace the monitors icon, it will be necessary to enter the security key<br />
<br />
'''You are now ready to [[Configure_Hivetool|configure Hivetool.]] '''</div>Adrianhttp://wiki.hivetool.org/index.php?title=Software:_Install_Hivetool_Pi_image&diff=3351Software: Install Hivetool Pi image2018-01-22T01:09:03Z<p>Adrian: /* Windows */</p>
<hr />
<div>[[File:Image073 xrdp desktop 1024.jpg|thumb|right|500px|0.7.3 image on Window Remote Desktop.]]<br />
==Summary==<br />
'''Hivetool 0.8.0 RC5'''<br />
This version 0.8.0 RC5 includes reworked temperature & humidity drivers and a better configuration interface, this release includes a scale calibration wizard and an upload test feature functional before registration (request access to private NOC page)<br><br />
This version includes the 11-29-17 Raspian 4.9 Stretch release. The system image fits easily on an 8 gig micro SD card. Navigation to HiveControl is not supported. Download time from google ~1 hour with a decent connection.<br />
<br />
'''HiveConTool'''<br />
This older 9/29/16 image is a bootable compilation of Hivetool and HiveControl software for the Raspberry Pi.<br> <br />
It is based the outdated Jessie 4.4.21 v7+ release of the Linux operating system, updating Raspian WILL break the install.<br />
*It is a (~3.6 Gig) and requires some patience to manipulate, in some cases hours.<br />
*When extracting use a 16 gig or larger micro SD card with 48 mbps Class 10 or better speed.<br />
<br />
==Download Images - Recommended for non-programmers==<br />
Download '''Hivetool 0.8.0 RC5''' here; <br />
It does not include HiveControl like the HiveConTool version below.<br><br />
This revision adds improved configuration interface and discards sensor misreads inherent with earlier releases <br><br />
Checksums and Detailed instructions: http://hivetool.org/w/index.php?title=Create_SD_Image_Version_0.8<br><br />
'''*https://drive.google.com/open?id=1euXRxbtnyF7nag5jWVq1-HKezHE6CsJy''' <br><br />
<br />
'''HiveControl''' Operates independently using the Hivetool hardware and can upload to the Hivetool cloud database.<br />
HiveControl includes a Dashboard and Graphical user interface with pretty trend screens. <br />
HiveControl is NOT maintained by the Hivetool group, questions & comments should be posed to the author rcrum003<br />
HiveControl installation assumes a knowledge of Linux commands CLI and the Pi Raspian OS, not recommended for novices. <br><br />
HiveControl may be downloaded or installed from githube here; https://github.com/rcrum003/HiveControl <br><br />
<br />
'''HiveConTool''' Link and installation instructions document [https://docs.google.com/document/d/1SmVETV5RiaVhpCcGcc2mgPQarYQu7jtdpTaK_200Aw4/edit?usp=sharing] and download compressed SD HiveConTool image from Google Shared Folder; [https://drive.google.com/open?id=0B8ZWirzPwqHfdGgtRS03RWY3T0E]<br> The intent of this version was to allow the user to evaluate both programs without swapping SD cards or reloading programs.<br />
This version allows the user to click back and forth between HiveTool and HiveControl user interfaces and databases <br><br />
There are some undocumented alterations to get the programs to play nice together. <br />
The included version of Hivetool should be manually upgraded to 0.7.4.(instructions needed). HiveControl may show the original version when updated.<br />
Download HiveConTool_073b.zip; <br />
(3,656,677,501 bytes) zipped; Contains Raspian Jessie 4.4.21 v7+ Pi OS with Hivetool 073 and HiveControl 1.81 ready for expanding on an 16 Gig or larger micro SD card. <br />
Uncompressed MD5 Hash Chechsum 1fa33de383ca026188887aa2e6f54a16 <br><br />
'''https://drive.google.com/open?id=0B8ZWirzPwqHfYzlDamlDZ0hxSE0'''<br><br />
<br />
==Verify MD5 sum==<br />
Verify download was complete and error free. Check file integrity to ensure an exact copy of the compressed image file.<br><br />
Calculate MD5 sum and make sure it matches: <br />
<br />
<br />
==Unzip==<br />
<br />
===Linux===<br />
unzip hivetool080rc5.zip<br />
<br />
===Windows===<br />
With Windows explorer locate hivetool080rc5.zip (usually in download directory).<br />
Right click on file to Extract to desired location<br />
<br />
==Copy image to micro SD card==<br />
'''Proceed with caution, an incorrect setting could corrupt your PC or attached storage. REMOVE any other USB memory devices from your computer.'''<br><br />
<br />
===Linux===<br />
Detailed instructions:<br />
http://elinux.org/RPi_Easy_SD_Card_Setup#Flashing_the_SD_Card_using_Linux_.28including_on_a_Pi.21.29<br />
# REMOVE any other USB memory devices from your computer.<br />
# Determine the device for the card reader <br />
##/dev/mmcblk0 for the built in reader on my laptop.<br />
##/dev/sdb for a USB card reader<br />
# Copy the image to the SD card:<br />
dd bs=4M if=hivetool073.img of=/dev/sdb<br />
<br />
===Windows===<br />
raspberrypi.org recommends using:<br />
http://sourceforge.net/projects/win32diskimager/ <br><br />
Detailed instructions: http://elinux.org/RPi_Easy_SD_Card_Setup#Flashing_the_SD_Card_using_Windows<br />
<br />
#REMOVE any other USB memory devices from your computer.<br />
#Plug micro SD Card in adapter, confirm device letter using Windows Explorer.<br />
#Start Win32DiskImager<br />
#Browse to source file (image in downloads directory)<br />
#Make absolutely sure the drive letter (destination) to right of source file is the SD card<br />
#Check MD5 hash (TBD) this takes a few minutes<br />
#Click on Write, this takes a few more minutes<br />
#Confirm successful write then exit<br />
#The SD card image is called "boot" 25 files now visible in Windows explorer<br />
#Windows will report 40 megabytes free space on the SD card<br />
You are now ready to eject micro SD card and place into the Pi<br />
<br />
==Setup Pi Operating System==<br />
<br />
#Install micro SD card into bare Pi, power up with Ethernet or for (non windows use local terminal)<br />
#If using Ethernet determine IP address by viewing latest entry in access point<br />
#Identify IP in the DHCP table named "raspberrypi"<br />
<br />
===Windows===<br />
#On a Windows PC setup a new remote desktop connection (RDP), enter target IP address of Pi<br />
#If the Pi is found you will be prompted to enter the default user "pi" and password "raspberry"<br />
#Leave the default module as "sesmon-Xvnc"<br />
#Once connected you will see the Pi desktop, Menu to "preferences"sub "raspberry pi configuration"<br />
#Under menu "system tab" "expand file system", then OK then reboot from main menu last item<br />
#Reestablish remote desktop connection using saved RDP Windows settings, login to desktop<br />
#Under menu "localisation" tab set your timezone Local, Language preferences<br />
#Under menu "system tab", Change default Password and the Hostname to match a hive name to be monitored, Ok to save & reboot<br />
#Under menu "system tab" the remaining settings should be default unless a Pi camera is attached<br />
# Open a Terminal Window, at command prompt run; "sudo apt-get update", also "sudo apt-get upgrade" to get latest patches<br />
#Plug in WiFi dongle, configure WiFi authentication on desktop, top RH corner, dual monitors icon<br />
#If WiFi connects, a signal strength indicator will replace the monitors icon, it will be necessary to enter the security key<br />
<br />
'''You are now ready to [[Configure_Hivetool|configure Hivetool.]] '''</div>Adrianhttp://wiki.hivetool.org/index.php?title=Software:_Install_Hivetool_Pi_image&diff=3350Software: Install Hivetool Pi image2018-01-22T01:08:31Z<p>Adrian: /* Linux */</p>
<hr />
<div>[[File:Image073 xrdp desktop 1024.jpg|thumb|right|500px|0.7.3 image on Window Remote Desktop.]]<br />
==Summary==<br />
'''Hivetool 0.8.0 RC5'''<br />
This version 0.8.0 RC5 includes reworked temperature & humidity drivers and a better configuration interface, this release includes a scale calibration wizard and an upload test feature functional before registration (request access to private NOC page)<br><br />
This version includes the 11-29-17 Raspian 4.9 Stretch release. The system image fits easily on an 8 gig micro SD card. Navigation to HiveControl is not supported. Download time from google ~1 hour with a decent connection.<br />
<br />
'''HiveConTool'''<br />
This older 9/29/16 image is a bootable compilation of Hivetool and HiveControl software for the Raspberry Pi.<br> <br />
It is based the outdated Jessie 4.4.21 v7+ release of the Linux operating system, updating Raspian WILL break the install.<br />
*It is a (~3.6 Gig) and requires some patience to manipulate, in some cases hours.<br />
*When extracting use a 16 gig or larger micro SD card with 48 mbps Class 10 or better speed.<br />
<br />
==Download Images - Recommended for non-programmers==<br />
Download '''Hivetool 0.8.0 RC5''' here; <br />
It does not include HiveControl like the HiveConTool version below.<br><br />
This revision adds improved configuration interface and discards sensor misreads inherent with earlier releases <br><br />
Checksums and Detailed instructions: http://hivetool.org/w/index.php?title=Create_SD_Image_Version_0.8<br><br />
'''*https://drive.google.com/open?id=1euXRxbtnyF7nag5jWVq1-HKezHE6CsJy''' <br><br />
<br />
'''HiveControl''' Operates independently using the Hivetool hardware and can upload to the Hivetool cloud database.<br />
HiveControl includes a Dashboard and Graphical user interface with pretty trend screens. <br />
HiveControl is NOT maintained by the Hivetool group, questions & comments should be posed to the author rcrum003<br />
HiveControl installation assumes a knowledge of Linux commands CLI and the Pi Raspian OS, not recommended for novices. <br><br />
HiveControl may be downloaded or installed from githube here; https://github.com/rcrum003/HiveControl <br><br />
<br />
'''HiveConTool''' Link and installation instructions document [https://docs.google.com/document/d/1SmVETV5RiaVhpCcGcc2mgPQarYQu7jtdpTaK_200Aw4/edit?usp=sharing] and download compressed SD HiveConTool image from Google Shared Folder; [https://drive.google.com/open?id=0B8ZWirzPwqHfdGgtRS03RWY3T0E]<br> The intent of this version was to allow the user to evaluate both programs without swapping SD cards or reloading programs.<br />
This version allows the user to click back and forth between HiveTool and HiveControl user interfaces and databases <br><br />
There are some undocumented alterations to get the programs to play nice together. <br />
The included version of Hivetool should be manually upgraded to 0.7.4.(instructions needed). HiveControl may show the original version when updated.<br />
Download HiveConTool_073b.zip; <br />
(3,656,677,501 bytes) zipped; Contains Raspian Jessie 4.4.21 v7+ Pi OS with Hivetool 073 and HiveControl 1.81 ready for expanding on an 16 Gig or larger micro SD card. <br />
Uncompressed MD5 Hash Chechsum 1fa33de383ca026188887aa2e6f54a16 <br><br />
'''https://drive.google.com/open?id=0B8ZWirzPwqHfYzlDamlDZ0hxSE0'''<br><br />
<br />
==Verify MD5 sum==<br />
Verify download was complete and error free. Check file integrity to ensure an exact copy of the compressed image file.<br><br />
Calculate MD5 sum and make sure it matches: <br />
<br />
<br />
==Unzip==<br />
<br />
===Linux===<br />
unzip hivetool080rc5.zip<br />
<br />
===Windows===<br />
With Windows explorer locate hivetool073.zip (usually in download directory).<br />
Right click on file to Extract to desired location<br />
<br />
==Copy image to micro SD card==<br />
'''Proceed with caution, an incorrect setting could corrupt your PC or attached storage. REMOVE any other USB memory devices from your computer.'''<br><br />
<br />
===Linux===<br />
Detailed instructions:<br />
http://elinux.org/RPi_Easy_SD_Card_Setup#Flashing_the_SD_Card_using_Linux_.28including_on_a_Pi.21.29<br />
# REMOVE any other USB memory devices from your computer.<br />
# Determine the device for the card reader <br />
##/dev/mmcblk0 for the built in reader on my laptop.<br />
##/dev/sdb for a USB card reader<br />
# Copy the image to the SD card:<br />
dd bs=4M if=hivetool073.img of=/dev/sdb<br />
<br />
===Windows===<br />
raspberrypi.org recommends using:<br />
http://sourceforge.net/projects/win32diskimager/ <br><br />
Detailed instructions: http://elinux.org/RPi_Easy_SD_Card_Setup#Flashing_the_SD_Card_using_Windows<br />
<br />
#REMOVE any other USB memory devices from your computer.<br />
#Plug micro SD Card in adapter, confirm device letter using Windows Explorer.<br />
#Start Win32DiskImager<br />
#Browse to source file (image in downloads directory)<br />
#Make absolutely sure the drive letter (destination) to right of source file is the SD card<br />
#Check MD5 hash (TBD) this takes a few minutes<br />
#Click on Write, this takes a few more minutes<br />
#Confirm successful write then exit<br />
#The SD card image is called "boot" 25 files now visible in Windows explorer<br />
#Windows will report 40 megabytes free space on the SD card<br />
You are now ready to eject micro SD card and place into the Pi<br />
<br />
==Setup Pi Operating System==<br />
<br />
#Install micro SD card into bare Pi, power up with Ethernet or for (non windows use local terminal)<br />
#If using Ethernet determine IP address by viewing latest entry in access point<br />
#Identify IP in the DHCP table named "raspberrypi"<br />
<br />
===Windows===<br />
#On a Windows PC setup a new remote desktop connection (RDP), enter target IP address of Pi<br />
#If the Pi is found you will be prompted to enter the default user "pi" and password "raspberry"<br />
#Leave the default module as "sesmon-Xvnc"<br />
#Once connected you will see the Pi desktop, Menu to "preferences"sub "raspberry pi configuration"<br />
#Under menu "system tab" "expand file system", then OK then reboot from main menu last item<br />
#Reestablish remote desktop connection using saved RDP Windows settings, login to desktop<br />
#Under menu "localisation" tab set your timezone Local, Language preferences<br />
#Under menu "system tab", Change default Password and the Hostname to match a hive name to be monitored, Ok to save & reboot<br />
#Under menu "system tab" the remaining settings should be default unless a Pi camera is attached<br />
# Open a Terminal Window, at command prompt run; "sudo apt-get update", also "sudo apt-get upgrade" to get latest patches<br />
#Plug in WiFi dongle, configure WiFi authentication on desktop, top RH corner, dual monitors icon<br />
#If WiFi connects, a signal strength indicator will replace the monitors icon, it will be necessary to enter the security key<br />
<br />
'''You are now ready to [[Configure_Hivetool|configure Hivetool.]] '''</div>Adrianhttp://wiki.hivetool.org/index.php?title=Software:_Install_Hivetool_Pi_image&diff=3349Software: Install Hivetool Pi image2018-01-22T01:04:56Z<p>Adrian: /* Download Images - Recommended for non-programmers */</p>
<hr />
<div>[[File:Image073 xrdp desktop 1024.jpg|thumb|right|500px|0.7.3 image on Window Remote Desktop.]]<br />
==Summary==<br />
'''Hivetool 0.8.0 RC5'''<br />
This version 0.8.0 RC5 includes reworked temperature & humidity drivers and a better configuration interface, this release includes a scale calibration wizard and an upload test feature functional before registration (request access to private NOC page)<br><br />
This version includes the 11-29-17 Raspian 4.9 Stretch release. The system image fits easily on an 8 gig micro SD card. Navigation to HiveControl is not supported. Download time from google ~1 hour with a decent connection.<br />
<br />
'''HiveConTool'''<br />
This older 9/29/16 image is a bootable compilation of Hivetool and HiveControl software for the Raspberry Pi.<br> <br />
It is based the outdated Jessie 4.4.21 v7+ release of the Linux operating system, updating Raspian WILL break the install.<br />
*It is a (~3.6 Gig) and requires some patience to manipulate, in some cases hours.<br />
*When extracting use a 16 gig or larger micro SD card with 48 mbps Class 10 or better speed.<br />
<br />
==Download Images - Recommended for non-programmers==<br />
Download '''Hivetool 0.8.0 RC5''' here; <br />
It does not include HiveControl like the HiveConTool version below.<br><br />
This revision adds improved configuration interface and discards sensor misreads inherent with earlier releases <br><br />
Checksums and Detailed instructions: http://hivetool.org/w/index.php?title=Create_SD_Image_Version_0.8<br><br />
'''*https://drive.google.com/open?id=1euXRxbtnyF7nag5jWVq1-HKezHE6CsJy''' <br><br />
<br />
'''HiveControl''' Operates independently using the Hivetool hardware and can upload to the Hivetool cloud database.<br />
HiveControl includes a Dashboard and Graphical user interface with pretty trend screens. <br />
HiveControl is NOT maintained by the Hivetool group, questions & comments should be posed to the author rcrum003<br />
HiveControl installation assumes a knowledge of Linux commands CLI and the Pi Raspian OS, not recommended for novices. <br><br />
HiveControl may be downloaded or installed from githube here; https://github.com/rcrum003/HiveControl <br><br />
<br />
'''HiveConTool''' Link and installation instructions document [https://docs.google.com/document/d/1SmVETV5RiaVhpCcGcc2mgPQarYQu7jtdpTaK_200Aw4/edit?usp=sharing] and download compressed SD HiveConTool image from Google Shared Folder; [https://drive.google.com/open?id=0B8ZWirzPwqHfdGgtRS03RWY3T0E]<br> The intent of this version was to allow the user to evaluate both programs without swapping SD cards or reloading programs.<br />
This version allows the user to click back and forth between HiveTool and HiveControl user interfaces and databases <br><br />
There are some undocumented alterations to get the programs to play nice together. <br />
The included version of Hivetool should be manually upgraded to 0.7.4.(instructions needed). HiveControl may show the original version when updated.<br />
Download HiveConTool_073b.zip; <br />
(3,656,677,501 bytes) zipped; Contains Raspian Jessie 4.4.21 v7+ Pi OS with Hivetool 073 and HiveControl 1.81 ready for expanding on an 16 Gig or larger micro SD card. <br />
Uncompressed MD5 Hash Chechsum 1fa33de383ca026188887aa2e6f54a16 <br><br />
'''https://drive.google.com/open?id=0B8ZWirzPwqHfYzlDamlDZ0hxSE0'''<br><br />
<br />
==Verify MD5 sum==<br />
Verify download was complete and error free. Check file integrity to ensure an exact copy of the compressed image file.<br><br />
Calculate MD5 sum and make sure it matches: <br />
<br />
<br />
==Unzip==<br />
<br />
===Linux===<br />
unzip hivetool073.zip<br />
===Windows===<br />
With Windows explorer locate hivetool073.zip (usually in download directory).<br />
Right click on file to Extract to desired location<br />
<br />
==Copy image to micro SD card==<br />
'''Proceed with caution, an incorrect setting could corrupt your PC or attached storage. REMOVE any other USB memory devices from your computer.'''<br><br />
<br />
===Linux===<br />
Detailed instructions:<br />
http://elinux.org/RPi_Easy_SD_Card_Setup#Flashing_the_SD_Card_using_Linux_.28including_on_a_Pi.21.29<br />
# REMOVE any other USB memory devices from your computer.<br />
# Determine the device for the card reader <br />
##/dev/mmcblk0 for the built in reader on my laptop.<br />
##/dev/sdb for a USB card reader<br />
# Copy the image to the SD card:<br />
dd bs=4M if=hivetool073.img of=/dev/sdb<br />
<br />
===Windows===<br />
raspberrypi.org recommends using:<br />
http://sourceforge.net/projects/win32diskimager/ <br><br />
Detailed instructions: http://elinux.org/RPi_Easy_SD_Card_Setup#Flashing_the_SD_Card_using_Windows<br />
<br />
#REMOVE any other USB memory devices from your computer.<br />
#Plug micro SD Card in adapter, confirm device letter using Windows Explorer.<br />
#Start Win32DiskImager<br />
#Browse to source file (image in downloads directory)<br />
#Make absolutely sure the drive letter (destination) to right of source file is the SD card<br />
#Check MD5 hash (TBD) this takes a few minutes<br />
#Click on Write, this takes a few more minutes<br />
#Confirm successful write then exit<br />
#The SD card image is called "boot" 25 files now visible in Windows explorer<br />
#Windows will report 40 megabytes free space on the SD card<br />
You are now ready to eject micro SD card and place into the Pi<br />
<br />
==Setup Pi Operating System==<br />
<br />
#Install micro SD card into bare Pi, power up with Ethernet or for (non windows use local terminal)<br />
#If using Ethernet determine IP address by viewing latest entry in access point<br />
#Identify IP in the DHCP table named "raspberrypi"<br />
<br />
===Windows===<br />
#On a Windows PC setup a new remote desktop connection (RDP), enter target IP address of Pi<br />
#If the Pi is found you will be prompted to enter the default user "pi" and password "raspberry"<br />
#Leave the default module as "sesmon-Xvnc"<br />
#Once connected you will see the Pi desktop, Menu to "preferences"sub "raspberry pi configuration"<br />
#Under menu "system tab" "expand file system", then OK then reboot from main menu last item<br />
#Reestablish remote desktop connection using saved RDP Windows settings, login to desktop<br />
#Under menu "localisation" tab set your timezone Local, Language preferences<br />
#Under menu "system tab", Change default Password and the Hostname to match a hive name to be monitored, Ok to save & reboot<br />
#Under menu "system tab" the remaining settings should be default unless a Pi camera is attached<br />
# Open a Terminal Window, at command prompt run; "sudo apt-get update", also "sudo apt-get upgrade" to get latest patches<br />
#Plug in WiFi dongle, configure WiFi authentication on desktop, top RH corner, dual monitors icon<br />
#If WiFi connects, a signal strength indicator will replace the monitors icon, it will be necessary to enter the security key<br />
<br />
'''You are now ready to [[Configure_Hivetool|configure Hivetool.]] '''</div>Adrianhttp://wiki.hivetool.org/index.php?title=Software:_Install_Hivetool_Pi_image&diff=3348Software: Install Hivetool Pi image2018-01-22T00:27:47Z<p>Adrian: /* Download Images - Recommended for non-programmers */</p>
<hr />
<div>[[File:Image073 xrdp desktop 1024.jpg|thumb|right|500px|0.7.3 image on Window Remote Desktop.]]<br />
==Summary==<br />
'''Hivetool 0.8.0 RC5'''<br />
This version 0.8.0 RC5 includes reworked temperature & humidity drivers and a better configuration interface, this release includes a scale calibration wizard and an upload test feature functional before registration (request access to private NOC page)<br><br />
This version includes the 11-29-17 Raspian 4.9 Stretch release. The system image fits easily on an 8 gig micro SD card. Navigation to HiveControl is not supported. Download time from google ~1 hour with a decent connection.<br />
<br />
'''HiveConTool'''<br />
This older 9/29/16 image is a bootable compilation of Hivetool and HiveControl software for the Raspberry Pi.<br> <br />
It is based the outdated Jessie 4.4.21 v7+ release of the Linux operating system, updating Raspian WILL break the install.<br />
*It is a (~3.6 Gig) and requires some patience to manipulate, in some cases hours.<br />
*When extracting use a 16 gig or larger micro SD card with 48 mbps Class 10 or better speed.<br />
<br />
==Download Images - Recommended for non-programmers==<br />
Download '''Hivetool 0.8.0 RC5''' here; <br />
It does not include HiveControl like the HiveConTool version below.<br><br />
This revision adds improved configuration interface and discards sensor misreads inherent with earlier releases <br><br />
Checksums and Detailed instructions: http://hivetool.org/w/index.php?title=Create_SD_Image_Version_0.8<br><br />
'''*https://drive.google.com/open?id=1euXRxbtnyF7nag5jWVq1-HKezHE6CsJy''' <br><br />
<br />
<br />
Link to '''HiveConTool''' installation instructions document [https://docs.google.com/document/d/1SmVETV5RiaVhpCcGcc2mgPQarYQu7jtdpTaK_200Aw4/edit?usp=sharing] and download compressed SD HiveConTool image from Google Shared Folder; [https://drive.google.com/open?id=0B8ZWirzPwqHfdGgtRS03RWY3T0E]<br> The intent of this version was to allow the user to evaluate both programs without swapping SD cards or reloading programs.<br />
This version allows the user to click back and forth between HiveTool and HiveControl user interfaces and databases <br><br />
There are some undocumented alterations to get the programs to play nice together. <br />
The included version of Hivetool should be manually upgraded to 0.7.4.(instructions needed). HiveControl may show the original version when updated.<br />
Download HiveConTool_073b.zip; <br />
(3,656,677,501 bytes) zipped; Contains Raspian Jessie 4.4.21 v7+ Pi OS with Hivetool 073 and HiveControl 1.81 ready for expanding on an 16 Gig or larger micro SD card. <br />
Uncompressed MD5 Hash Chechsum 1fa33de383ca026188887aa2e6f54a16 <br><br />
'''https://drive.google.com/open?id=0B8ZWirzPwqHfYzlDamlDZ0hxSE0'''<br><br />
<br />
==Verify MD5 sum==<br />
Verify download was complete and error free. Check file integrity to ensure an exact copy of the compressed image file.<br><br />
Calculate MD5 sum and make sure it matches: <br />
<br />
<br />
==Unzip==<br />
<br />
===Linux===<br />
unzip hivetool073.zip<br />
===Windows===<br />
With Windows explorer locate hivetool073.zip (usually in download directory).<br />
Right click on file to Extract to desired location<br />
<br />
==Copy image to micro SD card==<br />
'''Proceed with caution, an incorrect setting could corrupt your PC or attached storage. REMOVE any other USB memory devices from your computer.'''<br><br />
<br />
===Linux===<br />
Detailed instructions:<br />
http://elinux.org/RPi_Easy_SD_Card_Setup#Flashing_the_SD_Card_using_Linux_.28including_on_a_Pi.21.29<br />
# REMOVE any other USB memory devices from your computer.<br />
# Determine the device for the card reader <br />
##/dev/mmcblk0 for the built in reader on my laptop.<br />
##/dev/sdb for a USB card reader<br />
# Copy the image to the SD card:<br />
dd bs=4M if=hivetool073.img of=/dev/sdb<br />
<br />
===Windows===<br />
raspberrypi.org recommends using:<br />
http://sourceforge.net/projects/win32diskimager/ <br><br />
Detailed instructions: http://elinux.org/RPi_Easy_SD_Card_Setup#Flashing_the_SD_Card_using_Windows<br />
<br />
#REMOVE any other USB memory devices from your computer.<br />
#Plug micro SD Card in adapter, confirm device letter using Windows Explorer.<br />
#Start Win32DiskImager<br />
#Browse to source file (image in downloads directory)<br />
#Make absolutely sure the drive letter (destination) to right of source file is the SD card<br />
#Check MD5 hash (TBD) this takes a few minutes<br />
#Click on Write, this takes a few more minutes<br />
#Confirm successful write then exit<br />
#The SD card image is called "boot" 25 files now visible in Windows explorer<br />
#Windows will report 40 megabytes free space on the SD card<br />
You are now ready to eject micro SD card and place into the Pi<br />
<br />
==Setup Pi Operating System==<br />
<br />
#Install micro SD card into bare Pi, power up with Ethernet or for (non windows use local terminal)<br />
#If using Ethernet determine IP address by viewing latest entry in access point<br />
#Identify IP in the DHCP table named "raspberrypi"<br />
<br />
===Windows===<br />
#On a Windows PC setup a new remote desktop connection (RDP), enter target IP address of Pi<br />
#If the Pi is found you will be prompted to enter the default user "pi" and password "raspberry"<br />
#Leave the default module as "sesmon-Xvnc"<br />
#Once connected you will see the Pi desktop, Menu to "preferences"sub "raspberry pi configuration"<br />
#Under menu "system tab" "expand file system", then OK then reboot from main menu last item<br />
#Reestablish remote desktop connection using saved RDP Windows settings, login to desktop<br />
#Under menu "localisation" tab set your timezone Local, Language preferences<br />
#Under menu "system tab", Change default Password and the Hostname to match a hive name to be monitored, Ok to save & reboot<br />
#Under menu "system tab" the remaining settings should be default unless a Pi camera is attached<br />
# Open a Terminal Window, at command prompt run; "sudo apt-get update", also "sudo apt-get upgrade" to get latest patches<br />
#Plug in WiFi dongle, configure WiFi authentication on desktop, top RH corner, dual monitors icon<br />
#If WiFi connects, a signal strength indicator will replace the monitors icon, it will be necessary to enter the security key<br />
<br />
'''You are now ready to [[Configure_Hivetool|configure Hivetool.]] '''</div>Adrianhttp://wiki.hivetool.org/index.php?title=Software:_Install_Hivetool_Pi_image&diff=3347Software: Install Hivetool Pi image2018-01-22T00:23:00Z<p>Adrian: /* Summary */</p>
<hr />
<div>[[File:Image073 xrdp desktop 1024.jpg|thumb|right|500px|0.7.3 image on Window Remote Desktop.]]<br />
==Summary==<br />
'''Hivetool 0.8.0 RC5'''<br />
This version 0.8.0 RC5 includes reworked temperature & humidity drivers and a better configuration interface, this release includes a scale calibration wizard and an upload test feature functional before registration (request access to private NOC page)<br><br />
This version includes the 11-29-17 Raspian 4.9 Stretch release. The system image fits easily on an 8 gig micro SD card. Navigation to HiveControl is not supported. Download time from google ~1 hour with a decent connection.<br />
<br />
'''HiveConTool'''<br />
This older 9/29/16 image is a bootable compilation of Hivetool and HiveControl software for the Raspberry Pi.<br> <br />
It is based the outdated Jessie 4.4.21 v7+ release of the Linux operating system, updating Raspian WILL break the install.<br />
*It is a (~3.6 Gig) and requires some patience to manipulate, in some cases hours.<br />
*When extracting use a 16 gig or larger micro SD card with 48 mbps Class 10 or better speed.<br />
<br />
==Download Images - Recommended for non-programmers==<br />
Download Hivetool 0.7.4 here; <br />
It does not include HiveControl like the HiveConTool version below.<br><br />
This revision adds improved configuration interface and discards sensor misreads inherent with 0.7.3 <br><br />
Checksums and Detailed instructions: http://hivetool.org/w/index.php?title=Create_SD_Image_Version_0.7.4 <br><br />
'''https://drive.google.com/file/d/0B_3xqxGS2psWWHhyMUNjbW4tSHc/view?usp=sharing''' <br><br />
<br />
<br />
Link to HiveConTool installation instructions document [https://docs.google.com/document/d/1SmVETV5RiaVhpCcGcc2mgPQarYQu7jtdpTaK_200Aw4/edit?usp=sharing] and download compressed SD HiveConTool image from Google Shared Folder; [https://drive.google.com/open?id=0B8ZWirzPwqHfdGgtRS03RWY3T0E]<br> The intent of this version was to allow the user to evaluate both programs without swapping SD cards or reloading programs.<br />
This version allows the user to click back and forth between HiveTool and HiveControl user interfaces and databases <br><br />
There are some undocumented alterations to get the programs to play nice together. <br />
The included version of Hivetool should be manually upgraded to 0.7.4.(instructions needed). HiveControl may show the original version when updated.<br />
Download HiveConTool_073b.zip; <br />
(3,656,677,501 bytes) zipped; Contains Raspian Jessie 4.4.21 v7+ Pi OS with Hivetool 073 and HiveControl 1.81 ready for expanding on an 16 Gig or larger micro SD card. <br />
Uncompressed MD5 Hash Chechsum 1fa33de383ca026188887aa2e6f54a16 <br><br />
'''https://drive.google.com/open?id=0B8ZWirzPwqHfYzlDamlDZ0hxSE0'''<br><br />
<br />
==Verify MD5 sum==<br />
Verify download was complete and error free. Check file integrity to ensure an exact copy of the compressed image file.<br><br />
Calculate MD5 sum and make sure it matches: <br />
<br />
<br />
==Unzip==<br />
<br />
===Linux===<br />
unzip hivetool073.zip<br />
===Windows===<br />
With Windows explorer locate hivetool073.zip (usually in download directory).<br />
Right click on file to Extract to desired location<br />
<br />
==Copy image to micro SD card==<br />
'''Proceed with caution, an incorrect setting could corrupt your PC or attached storage. REMOVE any other USB memory devices from your computer.'''<br><br />
<br />
===Linux===<br />
Detailed instructions:<br />
http://elinux.org/RPi_Easy_SD_Card_Setup#Flashing_the_SD_Card_using_Linux_.28including_on_a_Pi.21.29<br />
# REMOVE any other USB memory devices from your computer.<br />
# Determine the device for the card reader <br />
##/dev/mmcblk0 for the built in reader on my laptop.<br />
##/dev/sdb for a USB card reader<br />
# Copy the image to the SD card:<br />
dd bs=4M if=hivetool073.img of=/dev/sdb<br />
<br />
===Windows===<br />
raspberrypi.org recommends using:<br />
http://sourceforge.net/projects/win32diskimager/ <br><br />
Detailed instructions: http://elinux.org/RPi_Easy_SD_Card_Setup#Flashing_the_SD_Card_using_Windows<br />
<br />
#REMOVE any other USB memory devices from your computer.<br />
#Plug micro SD Card in adapter, confirm device letter using Windows Explorer.<br />
#Start Win32DiskImager<br />
#Browse to source file (image in downloads directory)<br />
#Make absolutely sure the drive letter (destination) to right of source file is the SD card<br />
#Check MD5 hash (TBD) this takes a few minutes<br />
#Click on Write, this takes a few more minutes<br />
#Confirm successful write then exit<br />
#The SD card image is called "boot" 25 files now visible in Windows explorer<br />
#Windows will report 40 megabytes free space on the SD card<br />
You are now ready to eject micro SD card and place into the Pi<br />
<br />
==Setup Pi Operating System==<br />
<br />
#Install micro SD card into bare Pi, power up with Ethernet or for (non windows use local terminal)<br />
#If using Ethernet determine IP address by viewing latest entry in access point<br />
#Identify IP in the DHCP table named "raspberrypi"<br />
<br />
===Windows===<br />
#On a Windows PC setup a new remote desktop connection (RDP), enter target IP address of Pi<br />
#If the Pi is found you will be prompted to enter the default user "pi" and password "raspberry"<br />
#Leave the default module as "sesmon-Xvnc"<br />
#Once connected you will see the Pi desktop, Menu to "preferences"sub "raspberry pi configuration"<br />
#Under menu "system tab" "expand file system", then OK then reboot from main menu last item<br />
#Reestablish remote desktop connection using saved RDP Windows settings, login to desktop<br />
#Under menu "localisation" tab set your timezone Local, Language preferences<br />
#Under menu "system tab", Change default Password and the Hostname to match a hive name to be monitored, Ok to save & reboot<br />
#Under menu "system tab" the remaining settings should be default unless a Pi camera is attached<br />
# Open a Terminal Window, at command prompt run; "sudo apt-get update", also "sudo apt-get upgrade" to get latest patches<br />
#Plug in WiFi dongle, configure WiFi authentication on desktop, top RH corner, dual monitors icon<br />
#If WiFi connects, a signal strength indicator will replace the monitors icon, it will be necessary to enter the security key<br />
<br />
'''You are now ready to [[Configure_Hivetool|configure Hivetool.]] '''</div>Adrianhttp://wiki.hivetool.org/index.php?title=HiveTool.org&diff=3346HiveTool.org2018-01-22T00:08:32Z<p>Adrian: </p>
<hr />
<div><div style="background-color: #aaaaff;"><br />
<br />
[[File:Image073 xrdp desktop 1024.jpg|thumb|750px|0.7.3 RDP image, superseded 1-21-18 0.8.0.RC5]]<br />
<div style="font-weight: bold; font-family:arial;color:#FF0000;font-size:30px;text-align:center;">'''NEWS FLASH'''</div><br />
<center><br />
Updated January 21st 2018<br />
</center><br />
<br />
<center><br />
'''Hivetool Ver. 0.8.0 RC5 Now Available!'''<br />
</center><br />
Recent Changes:<br />
*Supports Raspbian Stretch OS<br />
*Scale Calibration Wizard<br />
*Web Upload Testing<br />
*Flexible Sensor Scaling<br />
*Local & Cloud Data Collection<br />
<br />
<br />
<center><br />
[[Software:_Overview|'''Read more about the software''']]<br><br />
<br />
[http://hivetool.org/w/index.php?title=Software:_Install_Hivetool_Pi_image '''Download The Latest Image''']<br><br />
[http://hivetool.org/d/forum '''Join our Forums''']<br />
[http://hivetool.org/dev_kit_order.pl '''Developers Kit Order Form''']</center><br />
<br clear=all><br />
</div><br />
----<br />
<br />
[[File:XP001_20150419.gif|thumb|750px|right|frame|<div style="font-weight: bold; font-family:arial;color:#66ff66;font-size:30px;text-align:center;"><br>Links to hives have moved to [http://hivetool.net hivetool.net]<br></div>]]<br />
<br />
== HiveTool&trade; ==<br />
HiveTool&trade; is a collection of readily available, off-the-shelf [[hardware]] and free, open source [[Software:_Overview|software]] that continuously monitors a beehive. Computerized hive monitors provide real time and historic data and graphs of weight, internal and ambient temperature, humidity and light levels which give the beekeeper a noninvasive view into the hive. HiveTool won the [https://www.youtube.com/watch?v=qsKHckMX0OU2015 2015 Bayer Bee Care Community Leadership Award].<br />
<br />
*Hivetool.org - Documentation, instructions, and a forum for discussions on how to set up a bioserver to monitor a bee hive.<br />
<br />
*[http://hivetool.net Hivetool.net] - Access the network of monitored hives: status, graphs, download data, view the video feeds.<br />
<br />
==HiveControl&trade; ==<br />
HiveControl is beekeeper friendly alternative software for use with HiveTool suite of software and hardware.<br />
HiveControl may be used standalone or in conjunction with HiveTool.<br><br />
Main Features:<br />
*Sensor Drivers work with HiveTool Sensor board<br />
*Web Upload Testing<br />
*Local & Cloud Data Collection<br />
*Menu Driven Configuration Screens<br />
*Graphical Trends and Dashboard<br />
*Uploads data to HiveTool cloud<br />
*Video Bee Counter<br><br />
More can learned about HiveControl on [https://github.com/rcrum003/HiveControl Github]<br />
<br />
== Uses ==<br />
=== [[Hive Management]] ===<br />
[[File:Hive graph 20111006 small.gif|frameless|right|260px]]<br />
Knowing what is happening in the hive is crucial to proper hive management. By knowing the beginning, end, and quantity of nectar flows, bee keepers can determine when to add and remove supers, when to move hives and where to locate hives to maximize honey production. [[Hive_Management|Read More]]<br />
<br />
=== [[Climate and Land Use Research]] ===<br />
[[File:Athens LC V5.png|frameless|right|260x100px]]<br />
Plant/pollinator interaction is used to measure the performance of the environment, instead of the performance of individual hives.<br />
[[Climate and Land Use Research|Read More]]<br />
<br />
=== [[Education and Bee Science]] ===<br />
[[File:RGNS mites.jpg|frameless|right|260px]]<br />
A program to attract students to Science Technology Engineering Math (STEM). Bee science includes agriculture, biology, botany, chemistry, computing, food, industrial arts, math, physics, programming, statistics – in short, something for everyone. [[Education and Bee Science|Read More]]<br />
<br clear=all><br />
<br />
== [[Hardware]] ==<br />
===[[New Developer Kit]]===<br />
[[File:P1010016c.jpg|thumb|130px|Dev Kit PCB installed on a Pi 2.]]<br />
An early goal of Hivetool was to develop a $50 scale. A developers kit to get beta units in the field for testing,<br />
gather user feedback, and provide a platform to foster open source community development is available at cost <br />
plus a voluntary contribution ... [[New_Developer_Kit|Read More]]<br />
<br />
===[[Hardware|Commercial Sensors]]===<br />
A scale hive (or bioserver) consists of a computer (desktop, laptop, router, SBC/SOC such as [http://en.wikipedia.org/wiki/Raspberry_Pi Raspberry Pi]), which is used to record, display, and analyze data from sensors such as scales, thermometers, hygrometers, microphones, cameras, photocells and rain gage. Listed below are readily available, commercial, off the shelf products that are currently in use or undergoing development and testing. [[Hardware|Read More]]<br />
<br />
== [[Software: Overview]] ==<br />
[[File:Software flow diagram1a.png|thumb|right|200px]]<br />
For software installation instructions, see '''[[Software:_Overview|How to load hivetool on the Pi]].''' <br />
<br />
Hivetool can be used as a:<br />
# [http://en.wikipedia.org/wiki/Data_logger Data logger] that provides data acquisition and storage.<br />
# Bioserver that displays, streams, analyzes and visualizes the data in addition to data acquisition and storage.<br />
[[Software:_Image_Details|Details of how the image is created]]<br />
<br clear=all><br />
<br />
==[[Bee Counter]]==<br />
<br />
{| align="right" <br />
| [[File:Tracks.jpg|thumb|left|300px|Tracks]]<br />
| [[File:BeeTrack1 2a.png|thumb|left|300px|BeeCounter]]<br />
|}<br />
<br />
While a scale can reveal nectar flows, orientation flight and the general health of the hive, it doesn't answer all the questions.<br />
A bee counter using low cost off-the-shelf hardware is being designed and tested. [[Bee Counter|Read More.]]<br />
<br />
<br />
Two different approaches are shown, <br />
*[http://sonic.net/~goddard/home/bees/bees.html Tracks], a video based tracking software.<br />
*[[Bee_counter_software|BeeCounter]], based on openCV libraries.<br />
<br clear=all><br />
<br />
== [[How To]] ==<br />
User manual, construction plans, solar design, troubleshooting. [[How To|Read More]]<br />
<br />
== [[Hive Selection and Manipulation]] ==<br />
Guidelines from ''Protocol for Scale Hive Measurements of the Honey Bee Nectar Flow''. [[Hive Selection and Manipulation|Read More]]<br />
<br />
== [[Data Warehouse]] ==<br />
Since HiveTool&trade; is open source/open notebook, the entire primary record is publicly available online as it is recorded. Storing, organizing and providing access to the data is necessary. [[Data_Warehouse|Read More]]<br />
<br />
== [[Hivetool:About|About]] ==<br />
This open source project is comprised of beekeepers who work in electronics and information technology. Our goal is to produce software tools to monitor, manage and research bees and honey production. [[Hivetool:About|Read More]]<br />
<br />
== [[To Do]] ==<br />
Lots to do! Whether you are a web site developer, database administrator, or programmer, there is something for you. Look over the list below - [[To Do|Read More]]<br />
<br />
== [[Why]] ==<br />
Why put a computer in a hive? [[Why|Read More]]<br />
<br />
== Projects ==<br />
*[[South Carolina Hive Instrumentation Project]]<br />
*Bioacoustics<br />
*[[Bioserver]]<br />
*[http://hivetool.org/history History]<br />
<br />
== Site Index ==<br />
[[Special:AllPages|Site Index]]<br />
== Contact==<br />
For comments, questions, or suggestions, please send an email to info at this webite, hivetool.org.</div>Adrianhttp://wiki.hivetool.org/index.php?title=Software:_Install_Hivetool_Pi_image&diff=3096Software: Install Hivetool Pi image2017-03-25T16:53:51Z<p>Adrian: /* Summary */</p>
<hr />
<div>[[File:Image073 xrdp desktop 1024.jpg|thumb|right|500px|0.7.3 image on Window Remote Desktop.]]<br />
==Summary==<br />
'''Hivetool 0.7.4'''<br />
This is the final version with more stable sensor readings and better configuration interface, also includes help.<br><br />
This version runs on the recent Raspian pixel release. Image fits on an 8 gig micro SD card. Navigation to HiveControl is not functional.<br />
<br />
'''HiveConTool'''<br />
This older 9/29/16 image is a bootable compilation of Hivetool and HiveControl software for the Raspberry Pi.<br> <br />
It is based the outdated Jessie 4.4.21 v7+ release of the Linux operating system, updating Raspian may break the install.<br />
*It is a large download (~3.6 Gig) and requires some patience to manipulate, in some cases hours.<br />
*When extracting use a 16 gig or larger micro SD card with 48 mbps Class 10 or better speed.<br />
<br />
==Download Images - Recommended for non-programmers==<br />
Download Hivetool 0.7.4 here; <br />
It does not include HiveControl like the HiveConTool version below.<br><br />
This revision adds improved configuration interface and discards sensor misreads inherent with 0.7.3 <br><br />
Checksums and Detailed instructions: http://hivetool.org/w/index.php?title=Create_SD_Image_Version_0.7.4 <br><br />
'''https://drive.google.com/file/d/0B_3xqxGS2psWWHhyMUNjbW4tSHc/view?usp=sharing''' <br><br />
<br />
<br />
Link to HiveConTool installation instructions document [https://docs.google.com/document/d/1SmVETV5RiaVhpCcGcc2mgPQarYQu7jtdpTaK_200Aw4/edit?usp=sharing] and download compressed SD HiveConTool image from Google Shared Folder; [https://drive.google.com/open?id=0B8ZWirzPwqHfdGgtRS03RWY3T0E]<br> The intent of this version was to allow the user to evaluate both programs without swapping SD cards or reloading programs.<br />
This version allows the user to click back and forth between HiveTool and HiveControl user interfaces and databases <br><br />
There are some undocumented alterations to get the programs to play nice together. <br />
The included version of Hivetool should be manually upgraded to 0.7.4.(instructions needed). HiveControl may show the original version when updated.<br />
Download HiveConTool_073b.zip; <br />
(3,656,677,501 bytes) zipped; Contains Raspian Jessie 4.4.21 v7+ Pi OS with Hivetool 073 and HiveControl 1.81 ready for expanding on an 16 Gig or larger micro SD card. <br />
Uncompressed MD5 Hash Chechsum 1fa33de383ca026188887aa2e6f54a16 <br><br />
'''https://drive.google.com/open?id=0B8ZWirzPwqHfYzlDamlDZ0hxSE0'''<br><br />
<br />
==Verify MD5 sum==<br />
Verify download was complete and error free. Check file integrity to ensure an exact copy of the compressed image file.<br><br />
Calculate MD5 sum and make sure it matches: <br />
<br />
<br />
==Unzip==<br />
<br />
===Linux===<br />
unzip hivetool073.zip<br />
===Windows===<br />
With Windows explorer locate hivetool073.zip (usually in download directory).<br />
Right click on file to Extract to desired location<br />
<br />
==Copy image to micro SD card==<br />
'''Proceed with caution, an incorrect setting could corrupt your PC or attached storage. REMOVE any other USB memory devices from your computer.'''<br><br />
<br />
===Linux===<br />
Detailed instructions:<br />
http://elinux.org/RPi_Easy_SD_Card_Setup#Flashing_the_SD_Card_using_Linux_.28including_on_a_Pi.21.29<br />
# REMOVE any other USB memory devices from your computer.<br />
# Determine the device for the card reader <br />
##/dev/mmcblk0 for the built in reader on my laptop.<br />
##/dev/sdb for a USB card reader<br />
# Copy the image to the SD card:<br />
dd bs=4M if=hivetool073.img of=/dev/sdb<br />
<br />
===Windows===<br />
raspberrypi.org recommends using:<br />
http://sourceforge.net/projects/win32diskimager/ <br><br />
Detailed instructions: http://elinux.org/RPi_Easy_SD_Card_Setup#Flashing_the_SD_Card_using_Windows<br />
<br />
#REMOVE any other USB memory devices from your computer.<br />
#Plug micro SD Card in adapter, confirm device letter using Windows Explorer.<br />
#Start Win32DiskImager<br />
#Browse to source file (image in downloads directory)<br />
#Make absolutely sure the drive letter (destination) to right of source file is the SD card<br />
#Check MD5 hash (TBD) this takes a few minutes<br />
#Click on Write, this takes a few more minutes<br />
#Confirm successful write then exit<br />
#The SD card image is called "boot" 25 files now visible in Windows explorer<br />
#Windows will report 40 megabytes free space on the SD card<br />
You are now ready to eject micro SD card and place into the Pi<br />
<br />
==Setup Pi Operating System==<br />
<br />
#Install micro SD card into bare Pi, power up with Ethernet or for (non windows use local terminal)<br />
#If using Ethernet determine IP address by viewing latest entry in access point<br />
#Identify IP in the DHCP table named "raspberrypi"<br />
<br />
===Windows===<br />
#On a Windows PC setup a new remote desktop connection (RDP), enter target IP address of Pi<br />
#If the Pi is found you will be prompted to enter the default user "pi" and password "raspberry"<br />
#Leave the default module as "sesmon-Xvnc"<br />
#Once connected you will see the Pi desktop, Menu to "preferences"sub "raspberry pi configuration"<br />
#Under menu "system tab" "expand file system", then OK then reboot from main menu last item<br />
#Reestablish remote desktop connection using saved RDP Windows settings, login to desktop<br />
#Under menu "localisation" tab set your timezone Local, Language preferences<br />
#Under menu "system tab", Change default Password and the Hostname to match a hive name to be monitored, Ok to save & reboot<br />
#Under menu "system tab" the remaining settings should be default unless a Pi camera is attached<br />
# Open a Terminal Window, at command prompt run; "sudo apt-get update", also "sudo apt-get upgrade" to get latest patches<br />
#Plug in WiFi dongle, configure WiFi authentication on desktop, top RH corner, dual monitors icon<br />
#If WiFi connects, a signal strength indicator will replace the monitors icon, it will be necessary to enter the security key<br />
<br />
'''You are now ready to configure Hivetool. http://hivetool.org/w/index.php?title=Configure_Hivetool'''</div>Adrianhttp://wiki.hivetool.org/index.php?title=HiveTool.org&diff=3095HiveTool.org2017-03-25T16:27:27Z<p>Adrian: </p>
<hr />
<div><div style="background-color: #aaaaff;"><br />
<br />
[[File:Image073 xrdp desktop 1024.jpg|thumb|750px|0.7.3 image on Window Remote Desktop.]]<br />
<div style="font-weight: bold; font-family:arial;color:#FF0000;font-size:30px;text-align:center;">'''NEWS FLASH'''</div><br />
<center><br />
Updated March 25th 2017<br />
</center><br />
<br />
<center><br />
'''Hivetool version 0.7.4 Now Available!'''<br />
</center><br />
Recent Changes:<br />
*More Stable Sensor Readings<br />
*Windows Remote Desktop Using RDP<br />
*Touchscreen pop up keyboard support<br />
*Beekeeper Friendly Desktop = Easy Navigation<br />
<br />
<center><br />
[[Software:_Overview|'''Read more about the software''']]<br><br />
<br />
[http://hivetool.org/w/index.php?title=Software:_Install_Hivetool_Pi_image '''Download The Latest Image''']<br><br />
[http://hivetool.org/d/forum '''Join our Forums''']<br />
[http://hivetool.org/dev_kit_order.pl '''Developers Kit Order Form''']</center><br />
<br clear=all><br />
</div><br />
----<br />
<br />
[[File:XP001_20150419.gif|thumb|750px|right|frame|<div style="font-weight: bold; font-family:arial;color:#66ff66;font-size:30px;text-align:center;"><br>Links to hives have moved to [http://hivetool.net hivetool.net]<br></div>]]<br />
<br />
== HiveTool&trade; ==<br />
HiveTool&trade; is a collection of readily available, off-the-shelf [[hardware]] and free, open source [[Software:_Overview|software]] that continuously monitors a beehive. Computerized hive monitors provide real time and historic data and graphs of weight, internal and ambient temperature, humidity and light levels which give the beekeeper a noninvasive view into the hive. HiveTool won the [https://www.youtube.com/watch?v=qsKHckMX0OU2015 2015 Bayer Bee Care Community Leadership Award].<br />
<br />
*Hivetool.org - Documentation, instructions, and a forum for discussions on how to set up a bioserver to monitor a bee hive.<br />
<br />
*[http://hivetool.net Hivetool.net] - Access the network of monitored hives: status, graphs, download data, view the video feeds.<br />
<br />
==HiveControl&trade; ==<br />
HiveControl is beekeeper friendly alternative software for use with HiveTool suite of software and hardware.<br />
HiveControl may be used standalone or in conjunction with HiveTool.<br><br />
Main Features:<br />
*Sensor Drivers work with HiveTool Sensor board<br />
*Data Acquisition & Database<br />
*Menu Driven Configuration Screens<br />
*Graphical Trends and Dashboard<br />
*Uploads data to HiveTool cloud<br />
*Video Bee Counter<br><br />
More can learned about HiveControl on [https://github.com/rcrum003/HiveControl Github]<br />
<br />
== Uses ==<br />
=== [[Hive Management]] ===<br />
[[File:Hive graph 20111006 small.gif|frameless|right|260px]]<br />
Knowing what is happening in the hive is crucial to proper hive management. By knowing the beginning, end, and quantity of nectar flows, bee keepers can determine when to add and remove supers, when to move hives and where to locate hives to maximize honey production. [[Hive_Management|Read More]]<br />
<br />
=== [[Climate and Land Use Research]] ===<br />
[[File:Athens LC V5.png|frameless|right|260x100px]]<br />
Plant/pollinator interaction is used to measure the performance of the environment, instead of the performance of individual hives.<br />
[[Climate and Land Use Research|Read More]]<br />
<br />
=== [[Education and Bee Science]] ===<br />
[[File:RGNS mites.jpg|frameless|right|260px]]<br />
A program to attract students to Science Technology Engineering Math (STEM). Bee science includes agriculture, biology, botany, chemistry, computing, food, industrial arts, math, physics, programming, statistics – in short, something for everyone. [[Education and Bee Science|Read More]]<br />
<br clear=all><br />
<br />
== [[Hardware]] ==<br />
===[[New Developer Kit]]===<br />
[[File:P1010016c.jpg|thumb|130px|Dev Kit PCB installed on a Pi 2.]]<br />
An early goal of Hivetool was to develop a $50 scale. A developers kit to get beta units in the field for testing,<br />
gather user feedback, and provide a platform to foster open source community development is available at cost <br />
plus a voluntary contribution ... [[New_Developer_Kit|Read More]]<br />
<br />
===[[Hardware|Commercial Sensors]]===<br />
A scale hive (or bioserver) consists of a computer (desktop, laptop, router, SBC/SOC such as [http://en.wikipedia.org/wiki/Raspberry_Pi Raspberry Pi]), which is used to record, display, and analyze data from sensors such as scales, thermometers, hygrometers, microphones, cameras, photocells and rain gage. Listed below are readily available, commercial, off the shelf products that are currently in use or undergoing development and testing. [[Hardware|Read More]]<br />
<br />
== [[Software: Overview]] ==<br />
[[File:Software flow diagram1a.png|thumb|right|200px]]<br />
For software installation instructions, see '''[[Software:_Overview|How to load hivetool on the Pi]].''' <br />
<br />
Hivetool can be used as a:<br />
# [http://en.wikipedia.org/wiki/Data_logger Data logger] that provides data acquisition and storage.<br />
# Bioserver that displays, streams, analyzes and visualizes the data in addition to data acquisition and storage.<br />
[[Software:_Image_Details|Details of how the image is created]]<br />
<br clear=all><br />
<br />
==[[Bee Counter]]==<br />
<br />
{| align="right" <br />
| [[File:Tracks.jpg|thumb|left|300px|Tracks]]<br />
| [[File:BeeTrack1 2a.png|thumb|left|300px|BeeCounter]]<br />
|}<br />
<br />
While a scale can reveal nectar flows, orientation flight and the general health of the hive, it doesn't answer all the questions.<br />
A bee counter using low cost off-the-shelf hardware is being designed and tested. [[Bee Counter|Read More.]]<br />
<br />
<br />
Two different approaches are shown, <br />
*[http://sonic.net/~goddard/home/bees/bees.html Tracks], a video based tracking software.<br />
*[[Bee_counter_software|BeeCounter]], based on openCV libraries.<br />
<br clear=all><br />
<br />
== [[How To]] ==<br />
User manual, construction plans, solar design, troubleshooting. [[How To|Read More]]<br />
<br />
== [[Hive Selection and Manipulation]] ==<br />
Guidelines from ''Protocol for Scale Hive Measurements of the Honey Bee Nectar Flow''. [[Hive Selection and Manipulation|Read More]]<br />
<br />
== [[Data Warehouse]] ==<br />
Since HiveTool&trade; is open source/open notebook, the entire primary record is publicly available online as it is recorded. Storing, organizing and providing access to the data is necessary. [[Data_Warehouse|Read More]]<br />
<br />
== [[Hivetool:About|About]] ==<br />
This open source project is comprised of beekeepers who work in electronics and information technology. Our goal is to produce software tools to monitor, manage and research bees and honey production. [[Hivetool:About|Read More]]<br />
<br />
== [[To Do]] ==<br />
Lots to do! Whether you are a web site developer, database administrator, or programmer, there is something for you. Look over the list below - [[To Do|Read More]]<br />
<br />
== [[Why]] ==<br />
Why put a computer in a hive? [[Why|Read More]]<br />
<br />
== Projects ==<br />
*[[South Carolina Hive Instrumentation Project]]<br />
*Bioacoustics<br />
*[[Bioserver]]<br />
*[http://hivetool.org/history History]<br />
<br />
== Site Index ==<br />
[[Special:AllPages|Site Index]]<br />
== Contact==<br />
For comments, questions, or suggestions, please send an email to info at this webite, hivetool.org.</div>Adrianhttp://wiki.hivetool.org/index.php?title=Software:_Install_Hivetool_Pi_image&diff=3094Software: Install Hivetool Pi image2017-03-25T16:14:32Z<p>Adrian: /* Download Image - Recommended for non-programmers */</p>
<hr />
<div>[[File:Image073 xrdp desktop 1024.jpg|thumb|right|500px|0.7.3 image on Window Remote Desktop.]]<br />
==Summary==<br />
'''Hivetool 0.7.4 image is now available'''<br />
<br />
This older 9/29/16 image is a bootable compilation of Hivetool and HiveControl software for the Raspberry Pi.<br> <br />
It is based the Jessie 4.4.21 v7+ release of the Raspian distribution of the Linux operating system.<br />
Caution, updating Raspian may break the install.<br />
*It is a large download (~3.6 Gig) and requires some patience to manipulate, in some cases hours.<br />
*When extracting use a 16 gig or larger micro SD card with 48 mbps Class 10 or better speed.<br />
<br />
==Download Images - Recommended for non-programmers==<br />
Download Hivetool 0.7.4 here; <br />
It does not include HiveControl like the HiveConTool version below.<br><br />
This revision adds improved configuration interface and discards sensor misreads inherent with 0.7.3 <br><br />
Checksums and Detailed instructions: http://hivetool.org/w/index.php?title=Create_SD_Image_Version_0.7.4 <br><br />
'''https://drive.google.com/file/d/0B_3xqxGS2psWWHhyMUNjbW4tSHc/view?usp=sharing''' <br><br />
<br />
<br />
Link to HiveConTool installation instructions document [https://docs.google.com/document/d/1SmVETV5RiaVhpCcGcc2mgPQarYQu7jtdpTaK_200Aw4/edit?usp=sharing] and download compressed SD HiveConTool image from Google Shared Folder; [https://drive.google.com/open?id=0B8ZWirzPwqHfdGgtRS03RWY3T0E]<br> The intent of this version was to allow the user to evaluate both programs without swapping SD cards or reloading programs.<br />
This version allows the user to click back and forth between HiveTool and HiveControl user interfaces and databases <br><br />
There are some undocumented alterations to get the programs to play nice together. <br />
The included version of Hivetool should be manually upgraded to 0.7.4.(instructions needed). HiveControl may show the original version when updated.<br />
Download HiveConTool_073b.zip; <br />
(3,656,677,501 bytes) zipped; Contains Raspian Jessie 4.4.21 v7+ Pi OS with Hivetool 073 and HiveControl 1.81 ready for expanding on an 16 Gig or larger micro SD card. <br />
Uncompressed MD5 Hash Chechsum 1fa33de383ca026188887aa2e6f54a16 <br><br />
'''https://drive.google.com/open?id=0B8ZWirzPwqHfYzlDamlDZ0hxSE0'''<br><br />
<br />
==Verify MD5 sum==<br />
Verify download was complete and error free. Check file integrity to ensure an exact copy of the compressed image file.<br><br />
Calculate MD5 sum and make sure it matches: <br />
<br />
<br />
==Unzip==<br />
<br />
===Linux===<br />
unzip hivetool073.zip<br />
===Windows===<br />
With Windows explorer locate hivetool073.zip (usually in download directory).<br />
Right click on file to Extract to desired location<br />
<br />
==Copy image to micro SD card==<br />
'''Proceed with caution, an incorrect setting could corrupt your PC or attached storage. REMOVE any other USB memory devices from your computer.'''<br><br />
<br />
===Linux===<br />
Detailed instructions:<br />
http://elinux.org/RPi_Easy_SD_Card_Setup#Flashing_the_SD_Card_using_Linux_.28including_on_a_Pi.21.29<br />
# REMOVE any other USB memory devices from your computer.<br />
# Determine the device for the card reader <br />
##/dev/mmcblk0 for the built in reader on my laptop.<br />
##/dev/sdb for a USB card reader<br />
# Copy the image to the SD card:<br />
dd bs=4M if=hivetool073.img of=/dev/sdb<br />
<br />
===Windows===<br />
raspberrypi.org recommends using:<br />
http://sourceforge.net/projects/win32diskimager/ <br><br />
Detailed instructions: http://elinux.org/RPi_Easy_SD_Card_Setup#Flashing_the_SD_Card_using_Windows<br />
<br />
#REMOVE any other USB memory devices from your computer.<br />
#Plug micro SD Card in adapter, confirm device letter using Windows Explorer.<br />
#Start Win32DiskImager<br />
#Browse to source file (image in downloads directory)<br />
#Make absolutely sure the drive letter (destination) to right of source file is the SD card<br />
#Check MD5 hash (TBD) this takes a few minutes<br />
#Click on Write, this takes a few more minutes<br />
#Confirm successful write then exit<br />
#The SD card image is called "boot" 25 files now visible in Windows explorer<br />
#Windows will report 40 megabytes free space on the SD card<br />
You are now ready to eject micro SD card and place into the Pi<br />
<br />
==Setup Pi Operating System==<br />
<br />
#Install micro SD card into bare Pi, power up with Ethernet or for (non windows use local terminal)<br />
#If using Ethernet determine IP address by viewing latest entry in access point<br />
#Identify IP in the DHCP table named "raspberrypi"<br />
<br />
===Windows===<br />
#On a Windows PC setup a new remote desktop connection (RDP), enter target IP address of Pi<br />
#If the Pi is found you will be prompted to enter the default user "pi" and password "raspberry"<br />
#Leave the default module as "sesmon-Xvnc"<br />
#Once connected you will see the Pi desktop, Menu to "preferences"sub "raspberry pi configuration"<br />
#Under menu "system tab" "expand file system", then OK then reboot from main menu last item<br />
#Reestablish remote desktop connection using saved RDP Windows settings, login to desktop<br />
#Under menu "localisation" tab set your timezone Local, Language preferences<br />
#Under menu "system tab", Change default Password and the Hostname to match a hive name to be monitored, Ok to save & reboot<br />
#Under menu "system tab" the remaining settings should be default unless a Pi camera is attached<br />
# Open a Terminal Window, at command prompt run; "sudo apt-get update", also "sudo apt-get upgrade" to get latest patches<br />
#Plug in WiFi dongle, configure WiFi authentication on desktop, top RH corner, dual monitors icon<br />
#If WiFi connects, a signal strength indicator will replace the monitors icon, it will be necessary to enter the security key<br />
<br />
'''You are now ready to configure Hivetool. http://hivetool.org/w/index.php?title=Configure_Hivetool'''</div>Adrianhttp://wiki.hivetool.org/index.php?title=Software:_Install_Hivetool_Pi_image&diff=3093Software: Install Hivetool Pi image2017-03-25T15:14:49Z<p>Adrian: /* Download Image - Recommended for non-programmers */</p>
<hr />
<div>[[File:Image073 xrdp desktop 1024.jpg|thumb|right|500px|0.7.3 image on Window Remote Desktop.]]<br />
==Summary==<br />
'''Hivetool 0.7.4 image is now available'''<br />
<br />
This older 9/29/16 image is a bootable compilation of Hivetool and HiveControl software for the Raspberry Pi.<br> <br />
It is based the Jessie 4.4.21 v7+ release of the Raspian distribution of the Linux operating system.<br />
Caution, updating Raspian may break the install.<br />
*It is a large download (~3.6 Gig) and requires some patience to manipulate, in some cases hours.<br />
*When extracting use a 16 gig or larger micro SD card with 48 mbps Class 10 or better speed.<br />
<br />
==Download Image - Recommended for non-programmers==<br />
Download Hivetool 0.7.4 here; <br />
It does not include HiveControl like the HiveConTool version below.<br><br />
Instructions: http://hivetool.org/w/index.php?title=Create_SD_Image_Version_0.7.4 <br><br />
'''https://drive.google.com/file/d/0B_3xqxGS2psWWHhyMUNjbW4tSHc/view?usp=sharing''' <br><br />
<br />
<br />
Link to HiveConTool installation instructions document [https://docs.google.com/document/d/1SmVETV5RiaVhpCcGcc2mgPQarYQu7jtdpTaK_200Aw4/edit?usp=sharing] and download compressed SD HiveConTool image from Google Shared Folder; [https://drive.google.com/open?id=0B8ZWirzPwqHfdGgtRS03RWY3T0E]<br><br />
Download HiveConTool_073b.zip; <br />
(3,656,677,501 bytes) zipped; Contains Raspian Jessie 4.4.21 v7+ Pi OS with Hivetool 073 and HiveControl 1.81 ready for expanding on an 16 Gig or larger micro SD card. <br />
Uncompressed MD5 Hash Chechsum 1fa33de383ca026188887aa2e6f54a16 <br><br />
''' https://drive.google.com/open?id=0B8ZWirzPwqHfYzlDamlDZ0hxSE0 '''<br><br />
<br />
==Verify MD5 sum==<br />
Verify download was complete and error free. Check file integrity to ensure an exact copy of the compressed image file.<br><br />
Calculate MD5 sum and make sure it matches: <br />
<br />
<br />
==Unzip==<br />
<br />
===Linux===<br />
unzip hivetool073.zip<br />
===Windows===<br />
With Windows explorer locate hivetool073.zip (usually in download directory).<br />
Right click on file to Extract to desired location<br />
<br />
==Copy image to micro SD card==<br />
'''Proceed with caution, an incorrect setting could corrupt your PC or attached storage. REMOVE any other USB memory devices from your computer.'''<br><br />
<br />
===Linux===<br />
Detailed instructions:<br />
http://elinux.org/RPi_Easy_SD_Card_Setup#Flashing_the_SD_Card_using_Linux_.28including_on_a_Pi.21.29<br />
# REMOVE any other USB memory devices from your computer.<br />
# Determine the device for the card reader <br />
##/dev/mmcblk0 for the built in reader on my laptop.<br />
##/dev/sdb for a USB card reader<br />
# Copy the image to the SD card:<br />
dd bs=4M if=hivetool073.img of=/dev/sdb<br />
<br />
===Windows===<br />
raspberrypi.org recommends using:<br />
http://sourceforge.net/projects/win32diskimager/ <br><br />
Detailed instructions: http://elinux.org/RPi_Easy_SD_Card_Setup#Flashing_the_SD_Card_using_Windows<br />
<br />
#REMOVE any other USB memory devices from your computer.<br />
#Plug micro SD Card in adapter, confirm device letter using Windows Explorer.<br />
#Start Win32DiskImager<br />
#Browse to source file (image in downloads directory)<br />
#Make absolutely sure the drive letter (destination) to right of source file is the SD card<br />
#Check MD5 hash (TBD) this takes a few minutes<br />
#Click on Write, this takes a few more minutes<br />
#Confirm successful write then exit<br />
#The SD card image is called "boot" 25 files now visible in Windows explorer<br />
#Windows will report 40 megabytes free space on the SD card<br />
You are now ready to eject micro SD card and place into the Pi<br />
<br />
==Setup Pi Operating System==<br />
<br />
#Install micro SD card into bare Pi, power up with Ethernet or for (non windows use local terminal)<br />
#If using Ethernet determine IP address by viewing latest entry in access point<br />
#Identify IP in the DHCP table named "raspberrypi"<br />
<br />
===Windows===<br />
#On a Windows PC setup a new remote desktop connection (RDP), enter target IP address of Pi<br />
#If the Pi is found you will be prompted to enter the default user "pi" and password "raspberry"<br />
#Leave the default module as "sesmon-Xvnc"<br />
#Once connected you will see the Pi desktop, Menu to "preferences"sub "raspberry pi configuration"<br />
#Under menu "system tab" "expand file system", then OK then reboot from main menu last item<br />
#Reestablish remote desktop connection using saved RDP Windows settings, login to desktop<br />
#Under menu "localisation" tab set your timezone Local, Language preferences<br />
#Under menu "system tab", Change default Password and the Hostname to match a hive name to be monitored, Ok to save & reboot<br />
#Under menu "system tab" the remaining settings should be default unless a Pi camera is attached<br />
# Open a Terminal Window, at command prompt run; "sudo apt-get update", also "sudo apt-get upgrade" to get latest patches<br />
#Plug in WiFi dongle, configure WiFi authentication on desktop, top RH corner, dual monitors icon<br />
#If WiFi connects, a signal strength indicator will replace the monitors icon, it will be necessary to enter the security key<br />
<br />
'''You are now ready to configure Hivetool. http://hivetool.org/w/index.php?title=Configure_Hivetool'''</div>Adrianhttp://wiki.hivetool.org/index.php?title=Software:_Install_Hivetool_Pi_image&diff=3092Software: Install Hivetool Pi image2017-03-25T15:03:52Z<p>Adrian: /* Summary */</p>
<hr />
<div>[[File:Image073 xrdp desktop 1024.jpg|thumb|right|500px|0.7.3 image on Window Remote Desktop.]]<br />
==Summary==<br />
'''Hivetool 0.7.4 image is now available'''<br />
<br />
This older 9/29/16 image is a bootable compilation of Hivetool and HiveControl software for the Raspberry Pi.<br> <br />
It is based the Jessie 4.4.21 v7+ release of the Raspian distribution of the Linux operating system.<br />
Caution, updating Raspian may break the install.<br />
*It is a large download (~3.6 Gig) and requires some patience to manipulate, in some cases hours.<br />
*When extracting use a 16 gig or larger micro SD card with 48 mbps Class 10 or better speed.<br />
<br />
==Download Image - Recommended for non-programmers==<br />
Link to HiveConTool installation instructions document [https://docs.google.com/document/d/1SmVETV5RiaVhpCcGcc2mgPQarYQu7jtdpTaK_200Aw4/edit?usp=sharing] and download compressed SD HiveConTool image from Google Shared Folder; [https://drive.google.com/open?id=0B8ZWirzPwqHfdGgtRS03RWY3T0E]<br><br />
<br />
Download HiveConTool_073b.zip; <br />
(3,656,677,501 bytes) zipped; Contains Raspian Jessie 4.4.21 v7+ Pi OS with Hivetool 073 and HiveControl 1.81 ready for expanding on an 16 Gig or larger micro SD card. <br />
Uncompressed MD5 Hash Chechsum 1fa33de383ca026188887aa2e6f54a16 <br><br />
''' https://drive.google.com/open?id=0B8ZWirzPwqHfYzlDamlDZ0hxSE0 '''<br><br />
<br />
==Verify MD5 sum==<br />
Verify download was complete and error free. Check file integrity to ensure an exact copy of the compressed image file.<br><br />
Calculate MD5 sum and make sure it matches: <br />
<br />
<br />
==Unzip==<br />
<br />
===Linux===<br />
unzip hivetool073.zip<br />
===Windows===<br />
With Windows explorer locate hivetool073.zip (usually in download directory).<br />
Right click on file to Extract to desired location<br />
<br />
==Copy image to micro SD card==<br />
'''Proceed with caution, an incorrect setting could corrupt your PC or attached storage. REMOVE any other USB memory devices from your computer.'''<br><br />
<br />
===Linux===<br />
Detailed instructions:<br />
http://elinux.org/RPi_Easy_SD_Card_Setup#Flashing_the_SD_Card_using_Linux_.28including_on_a_Pi.21.29<br />
# REMOVE any other USB memory devices from your computer.<br />
# Determine the device for the card reader <br />
##/dev/mmcblk0 for the built in reader on my laptop.<br />
##/dev/sdb for a USB card reader<br />
# Copy the image to the SD card:<br />
dd bs=4M if=hivetool073.img of=/dev/sdb<br />
<br />
===Windows===<br />
raspberrypi.org recommends using:<br />
http://sourceforge.net/projects/win32diskimager/ <br><br />
Detailed instructions: http://elinux.org/RPi_Easy_SD_Card_Setup#Flashing_the_SD_Card_using_Windows<br />
<br />
#REMOVE any other USB memory devices from your computer.<br />
#Plug micro SD Card in adapter, confirm device letter using Windows Explorer.<br />
#Start Win32DiskImager<br />
#Browse to source file (image in downloads directory)<br />
#Make absolutely sure the drive letter (destination) to right of source file is the SD card<br />
#Check MD5 hash (TBD) this takes a few minutes<br />
#Click on Write, this takes a few more minutes<br />
#Confirm successful write then exit<br />
#The SD card image is called "boot" 25 files now visible in Windows explorer<br />
#Windows will report 40 megabytes free space on the SD card<br />
You are now ready to eject micro SD card and place into the Pi<br />
<br />
==Setup Pi Operating System==<br />
<br />
#Install micro SD card into bare Pi, power up with Ethernet or for (non windows use local terminal)<br />
#If using Ethernet determine IP address by viewing latest entry in access point<br />
#Identify IP in the DHCP table named "raspberrypi"<br />
<br />
===Windows===<br />
#On a Windows PC setup a new remote desktop connection (RDP), enter target IP address of Pi<br />
#If the Pi is found you will be prompted to enter the default user "pi" and password "raspberry"<br />
#Leave the default module as "sesmon-Xvnc"<br />
#Once connected you will see the Pi desktop, Menu to "preferences"sub "raspberry pi configuration"<br />
#Under menu "system tab" "expand file system", then OK then reboot from main menu last item<br />
#Reestablish remote desktop connection using saved RDP Windows settings, login to desktop<br />
#Under menu "localisation" tab set your timezone Local, Language preferences<br />
#Under menu "system tab", Change default Password and the Hostname to match a hive name to be monitored, Ok to save & reboot<br />
#Under menu "system tab" the remaining settings should be default unless a Pi camera is attached<br />
# Open a Terminal Window, at command prompt run; "sudo apt-get update", also "sudo apt-get upgrade" to get latest patches<br />
#Plug in WiFi dongle, configure WiFi authentication on desktop, top RH corner, dual monitors icon<br />
#If WiFi connects, a signal strength indicator will replace the monitors icon, it will be necessary to enter the security key<br />
<br />
'''You are now ready to configure Hivetool. http://hivetool.org/w/index.php?title=Configure_Hivetool'''</div>Adrianhttp://wiki.hivetool.org/index.php?title=Create_SD_Image_Version_0.7.4&diff=3091Create SD Image Version 0.7.42017-03-25T14:55:48Z<p>Adrian: </p>
<hr />
<div><br />
'''Hivetool 0.7.4 image is now available'''<br />
<br />
Download it here;<br />
https://drive.google.com/file/d/0B_3xqxGS2psWWHhyMUNjbW4tSHc/view?usp=sharing<br />
<br />
It does not include HiveControl like the HiveConTool version.<br />
<br />
hivetool074.img 5856092672 bytes<br />
hivetool074.img.zip 2474147900 bytes<br />
<br />
md5sum hivetool074.img 2e26e8f266870cebcd51bf365d861559<br />
sha1sum hivetool074.img c855c8c1175866bd52ed8143490d320011323108<br />
<br />
md5sum hivetool074.img.zip 7cdca1e73a5d81e3c70909961c6ea4b9<br />
sha1sum hivetool074.img.zip ff504657257fdf13905a1ad24fd2f2eab5af1562<br />
<br />
<br />
'''Important Notes:'''<br />
#May not unzip on Apple Mac using Unarchiver.<br />
#Image is greater than 4 gig so it will not fit on FAT32 formatted memory device.<br />
#It doesn't automatically expand to fit the memory card.<br />
<br />
'''BUGS'''<br />
#The HX711 python driver based on PIGPIO library (HX711py) doesn't work on the model A+ or B+. Use the old HX711 driver based on the wiringPI library.<br />
<br />
<br />
<br />
<br />
== 0.7.4 ==<br />
=== Bug Fixes ===<br />
1. Set GPU_MEM, GPU_MEM_256, GPU_MEM_512, and GPU_MEM_1024 for different Pi models in config.txt. Maybe:<br />
GPU_MEM=64<br />
GPU_MEM_256=64<br />
GPU_MEM_512=128<br />
GPU_MEM_1024=256<br />
<br />
2. Put sanity checks, retrying, and error logging in dht22.sh to prevent bad readings from DHT22. See http://hivetool.org/d/comment/151#comment-151 for details.<br />
<br />
3, Update the SQL database creation scripts to reflect the new schema with battery voltage.<br />
<br />
4. Use hive_stats3wDownload.pl and NOT hive_stats4wDownload.<br />
<br />
5. Fix hive config.pl so it will insert a NULL instead on nothing in the hive_parameters table if hive elevation is left blank.<br />
<br />
6. Change DHT22 code to Adafruit<br />
<br />
7. Fix error at end of hivetool.log if hive_command.pl is not executable.<br />
<br />
=== Feature Request ===<br />
#add latest HiveControl software, debug HTML conflicts, restrict both apps from uploading<br />
#implement battery voltage monitoring using channel B of HX711, send it to hivetool.net and display it.<br />
#add ability to upgrade & update, github installer like hivecontrol, log & display current version & rev.<br />
#send host IP and MAC addresses to hivetool.net, use MAC for registration<br />
#add scale calibration layman wizard (accept current zero weight, accept known weight)<br />
#add ability to auto register with online hivetool.net database, minimize server blacklisting<br />
<br />
== 0.7.3 ==<br />
<br />
=== Bug Fixes ===<br />
#'''''Done''''' replace hx711 and dth22 code with fixed versions.<br />
#'''''Done''''' add export LC_NUMERIC="en_US.UTF-8" to hive.sh<br />
#'''''Done''''' don't remove python tools when removing bloatware. Keep: wolfram-engine - a scientific platform, Idle and Idle3 - python language editors<br />
<br />
<br />
=== Feature Request ===<br />
<br />
#'''''Done''''' add Ryans Hive Controller code, not yet available in 074<br />
#'''''Done''''' add xrdp, open62541 packages<br />
#'''''Done''''' add Data Acquisition Daemon (DAD) code<br />
<br />
Dad supports battery voltage monitoring and the rain gauge.<br />
<br />
== 0.7.2 ==<br />
#'''''Done''''' Test most recent raspbian distro Jessie (4.1 Kernel)<br />
#'''''Done''''' Removal of bloatware from Raspbian (games, educational, etc.)<br />
#'''''Done''''' Hivetool Support Pi & Pi2 (auto detect preferred)<br />
#Automatic removal of erroneous data from sensors<br />
#'''''Done''''' Basic navigation from webserver index.html, especially config.pl and Hivestats with download.<br />
#Menu driven selection & configuration of sensors (gpio 2,3 for DHT22s preassigned by menu default)<br />
#Menu driven setup of essential parameters with choices that don't crash app when saving, grey out unused.<br />
#'''''Done''''' Sensor calibration provisions (gain, offset)<br />
#Display instantaneous sensor readings from config screen with read button<br />
#Preload & configure Apache Webserver and database, Hivetool, sensor drivers for proven sensors.<br />
#Update local & online hivestats graphs to display lux trend pen, (use latest hivestats with enhanced autoscaling for local)<br />
#Network / wifi support out of the box seems to work well now, handle configuration on router side with DHCP reservation as may be needed. <br />
#Add configuration menu item for naming pi, same as hivestats name?<br />
#Minimize need to enter Raspiconfig, can timezone and time all be handled in hivetool config? <br />
#'''''Done''''' Enable i2c & serial.<br />
<br />
<br />
<br />
==How the image was created==<br />
=== Get latest Jessie image ===<br />
Download, verify the SHA-1 checksum, unzip, burn image.<br />
<br />
Verify the checksum:<br />
sha1sum 2016-05-10-raspbian-jessie.zip<br />
66a50545358e80229d77ebba89ab01f1c0fb4a02<br />
<br />
Unzip the image and copy it to the SD card <br />
unzip 2016-05-10-raspbian-jessie.zip<br />
dd bs=4M if=2016-05-10-raspbian-jessie.img of=/dev/sdb<br />
Boot<br />
<br />
Jessie boots directly into the window system.<br />
Menu -> Preferences->Raspberry Pi Configuration<br />
<br />
=== Set up Wi-Fi ===<br />
<br />
1. Add your network information to /etc/wpa_supplicant/wpa_supplicant.conf. For an unencrypted open network with an ESSID of dlink:<br />
<br />
vi /etc/wpa_supplicant/wpa_supplicant.conf<br />
<br />
network={<br />
ssid="dlink"<br />
key_mgmt=NONE<br />
auth_alg=OPEN } <br />
<br />
2. Wi-Fi auto reconnect to AP<br />
<br />
Go to /etc/ifplugd/action.d/ and copy the ifupdown file to ifupdown.org<br />
cp /etc/ifplugd/action.d/ifupdown /etc/ifplugd/action.d/ifupdown.org<br />
Then copy the ifupdown.sh script provided with wpa supplicant to /etc/ifplugd/action.d/<br />
cp /etc/wpa_supplicant/ifupdown.sh /etc/ifplugd/action.d/ifupdown<br />
<br />
http://raspberrypi.stackexchange.com/questions/4120/how-to-automatically-reconnect-wifi<br />
<br />
=== Update, upgrade ===<br />
update your system's package list and then upgrade all your installed packages to their latest versions:<br />
sudo apt-get update<br />
sudo apt-get dist-upgrade<br />
<br />
Update the GPU firmware<br />
sudo apt-get install rpi-update<br />
sudo rpi-update<br />
<br />
<br />
=== Remove packages we don't need ===<br />
<br />
sudo apt-get remove --purge penguinspuzzle scratch dillo squeak-vm squeak-plugins-scratch sonic-pi netsurf-gtk netsurf-common<br />
sudo apt-get autoremove<br />
sudo apt-get clean<br />
rm -rf /home/pi/python_games<br />
sudo rm -rf /opt/minecraft-pi<br />
<br />
https://project.altservice.com/issues/418<br />
NO! Don't do this if you want to use the video camera: sudo rm -rf /opt/vc<br />
<br />
<br />
<br />
<br />
=== Install packages we need ===<br />
<br />
<br />
sudo apt-get -y install gawk bc apache2 libusb-dev libgd-graph-perl libexpat1-dev sqlite3<br />
sudo apt-get install dh-autoreconf libudev-dev libusb-1<br />
<br />
pi@raspberrypi:~ $ sudo apt-get install dh-autoreconf libudev-dev libusb-1<br />
Reading package lists... Done<br />
Building dependency tree <br />
Reading state information... Done<br />
E: Unable to locate package libusb-1<br />
<br />
Oops. What happened to libusb-1? Hope it is not needed ... <br />
OK, We'll go on without it ...<br />
<br />
sudo apt-get install dh-autoreconf libudev-dev <br />
<br />
=== Install perl modules ===<br />
sudo cpan GD::Text GD::Graph Date::Format XML::Simple DBI DBD::SQLite<br />
<br />
=== Install HiveTool software ===<br />
Create symbolic links to the hivetool log files:<br />
<br />
sudo ln -s /home/hivetool/hivetool_raw.db /var/www/html<br />
sudo ln -s /home/hivetool/hive.conf /var/www/html<br />
sudo ln -s /home/hivetool/hivetool.log /var/www/html<br />
<br />
===Patch perl module GD::Graph===<br />
<br />
The Perl Module, GD::Graph needs a patch to correctly draw a graph with two y axes. Note that the target directory changes with each new perl version. This time it is 5.20.2. Copy the patched file to it's proper location:<br />
<br />
sudo cp /home/downloads/axestype.pm /usr/local/share/perl/5.20.2/GD/Graph/<br />
<br />
===Web Server===<br />
====Configure apache====<br />
#Link the cgi.load and include.load module to mods-enabled<br />
#:ln -s /etc/apache2/mods-available/cgi.load /etc/apache2/mods-enabled<br />
#:ln -s /etc/apache2/mods-available/include.load /etc/apache2/mods-enabled<br />
#Add .pl to AddHandler cgi-script<br />
#:sudo vi /etc/apache2/mods-enabled/mime.conf<br />
#:uncomment #AddHandler cgi-script .cgi (around line 219) and add .pl so it looks like:<br />
#:AddHandler cgi-script .cgi .pl<br />
#add Includes and +ExecCGI to Options:<br />
#:sudo vi /etc/apache2/apache2.conf<br />
#:In stanza <Directory /var/www/> <br />
#:change<br />
#: Options Indexes FollowSymLinks <br />
#:to<br />
#: Options Indexes FollowSymLinks Includes ExecCGI<br />
#Add index.shtml to DirectoryIndex:<br />
#:sudo vi /etc/apache2/mods-enabled/dir.conf <br />
#:Change<br />
#:DirectoryIndex index.html index.cgi index.pl index.php index.xhtml index.htm <br />
#:to<br />
#:DirectoryIndex index.html index.cgi index.pl index.php index.xhtml index.htm index.shtml <br />
# Set up apache to listen on port 8080 if using port forwarding:<br />
#:sudo vi /etc/apache2/ports.conf<br />
#:add Listen 8080<br />
#Restart Apache<br />
sudo apachectl restart or sudo/etc/rc4.d/S02apache2 restart<br />
<br />
====Set sudo user privileges for Apache====<br />
This is necessary to allow config.pl to read the sensors. Run visudo to edit the sudo config file:<br />
<br />
sudo visudo<br />
<br />
and insert this line in the "User privilege specification" section:<br />
<br />
www-data ALL=NOPASSWD: /home/hivetool/hive.sh, /home/hivetool/hx711pyB.sh, /home/hivetool/hx711.sh, /home/hivetool/HX711a128.py, /home/hivetool/hx711py.sh, /usr/local/bin/2591, /usr/local/bin/2561, /usr/bin/nice, /home/hivetool/temperhum.sh, /usr/local/bin/hx711, /usr/local/bin/Seeed_DHT22<br />
<br />
===Create SQLite database===<br />
cd /home/hivetool<br />
sqlite3 hivetool_raw.db<br />
sqlite> .read create_hivetool_sqlite.sql<br />
sqlite> .quit<br />
<br />
Make it writable or config.pl will fail to save to the database.<br />
sudo chmod a+w /home/hivetool/hivetool_raw.db<br />
sudo chmod a+w /home/hivetool<br />
<br />
Create a symbolic link to /home/hivetool/hivetool_raw.db from /var/www/html<br />
so hive_stats.pl and hive_graphX.pl can access the database:<br />
sudo ln -s /home/hivetool/hivetool_raw.db /var/www/html/<br />
<br />
===phpLiteAdmin ver 1.9.6===<br />
Install SQLite database administration tools.<br />
https://www.phpliteadmin.org/download/<br />
<br />
sudo apt-get install php5 php5-sqlite<br />
cd /var/www/html<br />
sudo mkdir admin<br />
cd admin<br />
sudo cp /home/downloads/phpLiteAdmin_v1-9-6.zip .<br />
sudo unzip phpLiteAdmin_v1-9-6.zip<br />
<br />
http://www.raspitux.de/en/using-phpliteadmin-with-raspberry-pi/#respond<br />
<br />
sudo cp phpliteadmin.config.sample.php phpliteadmin.config.php<br />
vi phpliteadmin.config.php<br />
<br />
change <br />
$directory = '.'; <br />
to <br />
$directory = '..';<br />
<br />
===Install TEMPerHUM software===<br />
sudo apt-get update<br />
sudo apt-get install dh-autoreconf libudev-dev libusb-1.0-0-dev cmake-curses-gui<br />
<br />
cd /home/downloads<br />
sudo git clone git://github.com/signal11/hidapi<br />
cd hidapi<br />
sudo ./bootstrap<br />
sudo ./configure<br />
sudo make<br />
sudo make install<br />
<br />
cd ..<br />
<br />
#sudo git clone git://github.com/edorfaus/TEMPered<br />
#cd TEMPered<br />
<br />
#sudo git clone https://github.com/rcrum003/TEMPered-v6-2015<br />
#cd TEMPered-v6-2015<br />
<br />
git clone git://github.com/mushisushi/TEMPered/<br />
<br />
sudo ccmake .<br />
Then the sub commands: "c" to configure then "g" to save and go<br />
sudo make<br />
sudo make install<br />
<br />
Add /usr/local/lib/arm-linux-gnueabihf/ to /etc/ld.so.conf<br />
sudo vi /etc/ld.so.conf<br />
<br />
So it looks like this:<br />
include /etc/ld.so.conf.d/*.conf<br />
/usr/local/lib/arm-linux-gnueabihf/<br />
<br />
<br />
Run ldconfig to pick up the new libraries<br />
sudo ldconfig<br />
<br />
===Install Broadcom 2835 Library ver 1.5===<br />
Download and install the bcm2835 library: https://gist.github.com/annem/3183536<br />
<br />
cd /home/downloads<br />
wget http://67.192.60.197/mikem/bcm2835/bcm2835-1.5.tar.gz<br />
tar xvfz bcm2835-1.5.tar.gz<br />
cd bcm2835-1.5<br />
./configure<br />
make<br />
sudo make check<br />
sudo make install<br />
<br />
=== Install i2c support===<br />
#Install i2c tools<br />
#: apt-get install i2c-tools<br />
#run raspi-config and turn on i2c<br />
<br />
=== Install wiringPi library ver 2.32===<br />
#get wiringPi code from github and compile it<br />
#: cd /home/downloads<br />
#: git clone git://git.drogon.net/wiringPi<br />
#: cd wiringPi<br />
#: ./build<br />
#Test<br />
#: gpio -v<br />
#: gpio readall<br />
<br />
gpio -v<br />
gpio version: 2.32<br />
Copyright (c) 2012-2015 Gordon Henderson<br />
<br />
http://wiringpi.com/download-and-install/<br />
<br />
===DHT22 Temperature/Humidity Sensor===<br />
Groove Seeed - DHT22 with modified code. Note that the code has been modified to return the <br />
temperature and humidity in floating point instead of having to divide it by 10, and a few other<br />
"improvements".<br />
<br />
#Install wiringPi libraries<br />
#Get the DHT22 software<br />
#: cd /home/downloads<br />
#: sudo git clone https://github.com/Seeed-Studio/Grove-RaspberryPi.git<br><br />
#: cd Grove-RaspberryPi/Grove\ -\ Temperature\ and\ Humidity\ Sensor\ Pro<br />
#: make<br />
#: sudo cp Seeed_DHT22 /usr/local/bin<br />
<br />
Python DHT22 code from Adafruit<br />
<br />
sudo apt-get install python-dev<br />
cd /home/downloads<br />
git clone https://github.com/adafruit/Adafruit_Python_DHT.git<br />
cd Adafruit_Python_DHT<br />
sudo python setup.py install<br />
cd examples<br />
python AdafruitDHT.py<br />
<br />
<br />
===DHTxx Temperature/Humidity Sensor===<br />
This code uses the PiGPIO libraries (pigpiod).<br />
<br />
#Download the DHT11/21/22/33/44 Sensor code from http://abyz.co.uk/rpi/pigpio/code/DHTXXD.zip<br />
#Unzip<br />
#compile<br />
<br />
Note that this code uses the Broadcom GPIO numbering so <br />
Ras Pi GPIO 2 <=> Broadcom GPIO 27<br />
Ras Pi GPIO 3 <=> Broadcom GPIO 22<br />
<br />
<br />
===HX711 weight ADC===<br />
hx711wp<br />
<br />
Note: The original hx711 code has been modified to use the wiringPi library and a bug fixed.<br />
<br />
#Download the software from gitHub<br />
#: cd /home/downloads<br />
#: sudo git clone https://github.com/ggurov/hx711<br />
#replace hx711.c with hx711wp.c and add locking.h<br />
#compile<br />
#:gcc -o hx711wp hx711wp.c -lwiringPi<br />
#Copy hx711 command to /usr/local/bin:<br />
#: sudo cp hx711wp /usr/local/bin/hx711<br />
#To read the battery voltage, copy hx711wp_chanB command to /usr/local/bin:<br />
#: sudo cp hx711wp_chanB /usr/local/bin/hx711wp_chanB<br />
<br />
<br />
===TLS2591 Lux Sensor===<br />
2591 Adafruit with modified code.<br />
<br />
-rw-r--r-- 1 root root 10439 Aug 3 01:36 2591a.cpp<br />
-rw-r--r-- 1 root root 3303 Aug 3 01:36 2591a.h<br />
-rw-r--r-- 1 root root 1509 Aug 3 01:36 2591_pi_2.cpp<br />
<br />
gcc 2591_pi_2.cpp 2591a.cpp -lwiringPi -o 2591 <br />
cp 2591 /usr/local/bin<br />
<br />
=== Add crontab entries===<br />
Edit crontab:<br />
sudo crontab -e<br />
Add to crontab:<br />
# Check hive instruments every 5 minutes. Kill process after 3 1/2 minutes.<br />
0,5,10,15,20,25,30,35,40,45,50,55 * * * * timeout -s KILL 3.5m /home/hivetool/hive.sh<br />
#<br />
# Check the server status. Kill process after 1 minute.<br />
4,9,14,19,24,29,34,39,44,49,54,59 * * * * timeout -s KILL 1m /home/hivetool/server_status.sh > /var/www/server_status.txt<br />
<br />
===Video===<br />
Install VLC media software. '''Note that for the camera to work, it must be enabled by running raspi-config.'''<br />
sudo apt-get install vlc<br />
<br />
To automatically start the video streaming using Real Time Streaming Protocol to port 8554, add to /etc/rc.local<br />
# start video stream<br />
su pi /home/hivetool/stream_video.sh<br />
<br />
/home/hivetool/stream_video.sh should be:<br />
raspivid -n -o - -t 0 -w 800 -h 400 -fps 24 |cvlc -vvv stream:///dev/stdin --sout '#rtp{sdp=rtsp://:8554}' :demux=h264<br />
<br />
This method uses raspivid to streams video from the PiCam to vlc where is can be accessed with [http://www.videolan.org/vlc/index.html videoLAN], a free and open souce media player for Apple, Linux, Microsoft platforms at port 8554 using RTSP://hive.ip:8554<br />
<br />
===Access Point===<br />
<br />
sudo apt-get install hostapd isc-dhcp-server<br />
<br />
https://learn.adafruit.com/setting-up-a-raspberry-pi-as-a-wifi-access-point/install-software<br />
<br />
===gEDA Schematic/PCB layout software===<br />
<br />
sudo apt-get update<br />
sudo apt-get install geda<br />
sudo apt-get install pcb<br />
sudo apt-get install gerbv<br />
sudo apt-get install zip<br />
<br />
<br />
===xrdp===<br />
<br />
uninstall RealVNC (This is a work around as now realvnc-vnc-server comes installed and breaks xrdp. xrdp is currently favored over realvnc as xrdp works with Microsoft Windows.)<br />
<br />
uninstall RealVNC and install xrdp<br />
<br />
apt-get purge realvnc-vnc-server<br />
sudo apt-get install xrdp<br />
<br />
fix mouse pointer<br />
vi .xsessionrc<br />
xsetroot -cursor_name left_ptr&<br />
<br />
http://raspberrypi.stackexchange.com/questions/56413/error-problem-connecting-to-raspberry-pi-3-with-xrdp<br />
<br />
===open62541===<br />
<br />
sudo git clone git://github.com/open62541/open62541<br />
# ### sudo apt-get install git build-essential gcc pkg-config cmake python python-lxml<br />
sudo apt-get install cmake cmake-data python-lxml<br />
# enable additional features<br />
sudo apt-get install libexpat1-dev # for XML-encodingi ### already done<br />
sudo apt-get install liburcu-dev # for multithreading<br />
sudo apt-get install check # for unit tests<br />
sudo apt-get install graphviz doxygen # for documentation generation <br />
<br />
sudo cd open62541<br />
sudo mkdir build<br />
sudo cd build<br />
sudo cmake ..<br />
sudo make<br />
<br />
# select additional features<br />
sudo ccmake .. # enter g to build and exit<br />
sudo make<br />
<br />
===Install touchscreen pop up keyboard support===<br />
<br />
sudo apt-get install matchbox<br />
<br />
===Install I2S support===<br />
<br />
sudo apt-get install raspberrypi-kernel-header<br />
cd /home/downloads<br />
git clone https://github.com/skakri/asoc-i2s-loader<br />
cd asoc-i2s-loade<br />
make<br />
... to be continued ...<br />
<br />
<br />
in /boot/config.txt<br />
# Uncomment to enable I2S MEMs microphone 6-9-16 AO<br />
dtparam=i2s=on<br />
<br />
in /sys/kernel/debug/asoc/platforms get the platform and device name. Change in the asoc-i2s-loader.c<br />
<br />
3f203000.i2s<br />
snd-soc-dummy<br />
<br />
in /etc/modprobe.d/raspi-blacklist.conf<br />
blacklist snd_soc_wm8804<br />
blacklist snd_soc_pcm512x<br />
blacklist snd_soc_tas5713<br />
<br />
<br />
To record:<br />
arecord -D hw:0 -c2 -r 48000 -f S32_LE -t wav -v file.wav<br />
<br />
===Install Hivecontrol===<br />
#Download<br />
#Unzip in /home/hivetool2.<br />
#Copy /home/hivetool2/www/public_html/ files to /var/www/html/hivecontrol<br />
#Set up virtual host on port 81<br />
#Add path to phpSQLiteadmin to database file.<br />
hive-data.db -> /home/HiveControl-master/data/hive-data.db<br />
<br />
'''''This may not be right, should link to /home/hivetool2?'''''<br />
<br />
===Install Desktop Background and Icons===<br />
<br />
==Write Image==<br />
Copy the image to another computer: <br />
<br />
1. Remove the SD card from the Pi and on another computer, copy the image to a file: <br />
dd bs=4M if=/dev/sdb of=/home/downloads/hivetool074.img<br />
2. Shrink the image:<br />
http://sirlagz.net/2013/03/10/script-automatic-rpi-image-downsizer/<br />
3. Compress the image using zip:<br />
zip hivetool074.img.zip hivetool074.img<br />
<br />
<br />
bash-4.2# dd bs=40M if=/dev/sdb of=/home/downloads/hivetool074.img<br />
379+1 records in<br />
379+1 records out<br />
15931539456 bytes (16 GB) copied, 596.492 s, 26.7 MB/s<br />
<br />
./autosizer.sh hivetool074.img <br />
e2fsck 1.42.6 (21-Sep-2012)<br />
Pass 1: Checking inodes, blocks, and sizes<br />
Inodes that were part of a corrupted orphan linked list found. Fix<y>? yes<br />
Inode 13283 was part of the orphaned inode list. FIXED.<br />
...<br />
Inode 392946 was part of the orphaned inode list. FIXED.<br />
Pass 2: Checking directory structure<br />
Pass 3: Checking directory connectivity<br />
Pass 4: Checking reference counts<br />
Pass 5: Checking group summary information<br />
<br />
/dev/loop0: ***** FILE SYSTEM WAS MODIFIED *****<br />
/dev/loop0: 141123/971040 files (0.2% non-contiguous), 1308188/3872384 blocks<br />
resize2fs 1.42.6 (21-Sep-2012)<br />
resize2fs 1.42.6 (21-Sep-2012)<br />
Resizing the filesystem on /dev/loop0 to 1412558 (4k) blocks.<br />
Begin pass 2 (max = 420793)<br />
Relocating blocks XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX<br />
Begin pass 3 (max = 119)<br />
Scanning inode table XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX<br />
Begin pass 4 (max = 14259)<br />
Updating inode references XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX<br />
The filesystem on /dev/loop0 is now 1412558 blocks long.<br />
<br />
# zip hivetool074.img.zip hivetool074.img <br />
adding: hivetool074.img<br />
<br />
(deflated 58%)<br />
<br />
bash-4.2# md5sum hivetool074.img.zip <br />
7cdca1e73a5d81e3c70909961c6ea4b9 hivetool074.img.zip<br />
<br />
bash-4.2# sha1sum hivetool074.img.zip <br />
ff504657257fdf13905a1ad24fd2f2eab5af1562 hivetool074.img.zip<br />
<br />
$ md5sum hivetool074.img<br />
2e26e8f266870cebcd51bf365d861559 hivetool074.img<br />
<br />
$ sha1sum hivetool074.img<br />
c855c8c1175866bd52ed8143490d320011323108 hivetool074.img<br />
<br />
$ ls -l hivetool074*<br />
-rw-r--r-- 1 root root 5856092672 Feb 21 20:01 hivetool074.img<br />
-rw-r--r-- 1 root root 2474147900 Feb 21 20:07 hivetool074.img.zip</div>Adrianhttp://wiki.hivetool.org/index.php?title=Create_SD_Image_Version_0.7.4&diff=3090Create SD Image Version 0.7.42017-03-25T14:54:37Z<p>Adrian: </p>
<hr />
<div><br />
''''Hivetool 0.7.4 image is now available''''<br />
<br />
Download it here;<br />
https://drive.google.com/file/d/0B_3xqxGS2psWWHhyMUNjbW4tSHc/view?usp=sharing<br />
<br />
It does not include HiveControl like the HiveConTool version.<br />
<br />
hivetool074.img 5856092672 bytes<br />
hivetool074.img.zip 2474147900 bytes<br />
<br />
md5sum hivetool074.img 2e26e8f266870cebcd51bf365d861559<br />
sha1sum hivetool074.img c855c8c1175866bd52ed8143490d320011323108<br />
<br />
md5sum hivetool074.img.zip 7cdca1e73a5d81e3c70909961c6ea4b9<br />
sha1sum hivetool074.img.zip ff504657257fdf13905a1ad24fd2f2eab5af1562<br />
<br />
<br />
'''Important Notes:'''<br />
#May not unzip on Apple Mac using Unarchiver.<br />
#Image is greater than 4 gig so it will not fit on FAT32 formatted memory device.<br />
#It doesn't automatically expand to fit the memory card.<br />
<br />
'''BUGS'''<br />
#The HX711 python driver based on PIGPIO library (HX711py) doesn't work on the model A+ or B+. Use the old HX711 driver based on the wiringPI library.<br />
<br />
<br />
<br />
<br />
== 0.7.4 ==<br />
=== Bug Fixes ===<br />
1. Set GPU_MEM, GPU_MEM_256, GPU_MEM_512, and GPU_MEM_1024 for different Pi models in config.txt. Maybe:<br />
GPU_MEM=64<br />
GPU_MEM_256=64<br />
GPU_MEM_512=128<br />
GPU_MEM_1024=256<br />
<br />
2. Put sanity checks, retrying, and error logging in dht22.sh to prevent bad readings from DHT22. See http://hivetool.org/d/comment/151#comment-151 for details.<br />
<br />
3, Update the SQL database creation scripts to reflect the new schema with battery voltage.<br />
<br />
4. Use hive_stats3wDownload.pl and NOT hive_stats4wDownload.<br />
<br />
5. Fix hive config.pl so it will insert a NULL instead on nothing in the hive_parameters table if hive elevation is left blank.<br />
<br />
6. Change DHT22 code to Adafruit<br />
<br />
7. Fix error at end of hivetool.log if hive_command.pl is not executable.<br />
<br />
=== Feature Request ===<br />
#add latest HiveControl software, debug HTML conflicts, restrict both apps from uploading<br />
#implement battery voltage monitoring using channel B of HX711, send it to hivetool.net and display it.<br />
#add ability to upgrade & update, github installer like hivecontrol, log & display current version & rev.<br />
#send host IP and MAC addresses to hivetool.net, use MAC for registration<br />
#add scale calibration layman wizard (accept current zero weight, accept known weight)<br />
#add ability to auto register with online hivetool.net database, minimize server blacklisting<br />
<br />
== 0.7.3 ==<br />
<br />
=== Bug Fixes ===<br />
#'''''Done''''' replace hx711 and dth22 code with fixed versions.<br />
#'''''Done''''' add export LC_NUMERIC="en_US.UTF-8" to hive.sh<br />
#'''''Done''''' don't remove python tools when removing bloatware. Keep: wolfram-engine - a scientific platform, Idle and Idle3 - python language editors<br />
<br />
<br />
=== Feature Request ===<br />
<br />
#'''''Done''''' add Ryans Hive Controller code, not yet available in 074<br />
#'''''Done''''' add xrdp, open62541 packages<br />
#'''''Done''''' add Data Acquisition Daemon (DAD) code<br />
<br />
Dad supports battery voltage monitoring and the rain gauge.<br />
<br />
== 0.7.2 ==<br />
#'''''Done''''' Test most recent raspbian distro Jessie (4.1 Kernel)<br />
#'''''Done''''' Removal of bloatware from Raspbian (games, educational, etc.)<br />
#'''''Done''''' Hivetool Support Pi & Pi2 (auto detect preferred)<br />
#Automatic removal of erroneous data from sensors<br />
#'''''Done''''' Basic navigation from webserver index.html, especially config.pl and Hivestats with download.<br />
#Menu driven selection & configuration of sensors (gpio 2,3 for DHT22s preassigned by menu default)<br />
#Menu driven setup of essential parameters with choices that don't crash app when saving, grey out unused.<br />
#'''''Done''''' Sensor calibration provisions (gain, offset)<br />
#Display instantaneous sensor readings from config screen with read button<br />
#Preload & configure Apache Webserver and database, Hivetool, sensor drivers for proven sensors.<br />
#Update local & online hivestats graphs to display lux trend pen, (use latest hivestats with enhanced autoscaling for local)<br />
#Network / wifi support out of the box seems to work well now, handle configuration on router side with DHCP reservation as may be needed. <br />
#Add configuration menu item for naming pi, same as hivestats name?<br />
#Minimize need to enter Raspiconfig, can timezone and time all be handled in hivetool config? <br />
#'''''Done''''' Enable i2c & serial.<br />
<br />
<br />
<br />
==How the image was created==<br />
=== Get latest Jessie image ===<br />
Download, verify the SHA-1 checksum, unzip, burn image.<br />
<br />
Verify the checksum:<br />
sha1sum 2016-05-10-raspbian-jessie.zip<br />
66a50545358e80229d77ebba89ab01f1c0fb4a02<br />
<br />
Unzip the image and copy it to the SD card <br />
unzip 2016-05-10-raspbian-jessie.zip<br />
dd bs=4M if=2016-05-10-raspbian-jessie.img of=/dev/sdb<br />
Boot<br />
<br />
Jessie boots directly into the window system.<br />
Menu -> Preferences->Raspberry Pi Configuration<br />
<br />
=== Set up Wi-Fi ===<br />
<br />
1. Add your network information to /etc/wpa_supplicant/wpa_supplicant.conf. For an unencrypted open network with an ESSID of dlink:<br />
<br />
vi /etc/wpa_supplicant/wpa_supplicant.conf<br />
<br />
network={<br />
ssid="dlink"<br />
key_mgmt=NONE<br />
auth_alg=OPEN } <br />
<br />
2. Wi-Fi auto reconnect to AP<br />
<br />
Go to /etc/ifplugd/action.d/ and copy the ifupdown file to ifupdown.org<br />
cp /etc/ifplugd/action.d/ifupdown /etc/ifplugd/action.d/ifupdown.org<br />
Then copy the ifupdown.sh script provided with wpa supplicant to /etc/ifplugd/action.d/<br />
cp /etc/wpa_supplicant/ifupdown.sh /etc/ifplugd/action.d/ifupdown<br />
<br />
http://raspberrypi.stackexchange.com/questions/4120/how-to-automatically-reconnect-wifi<br />
<br />
=== Update, upgrade ===<br />
update your system's package list and then upgrade all your installed packages to their latest versions:<br />
sudo apt-get update<br />
sudo apt-get dist-upgrade<br />
<br />
Update the GPU firmware<br />
sudo apt-get install rpi-update<br />
sudo rpi-update<br />
<br />
<br />
=== Remove packages we don't need ===<br />
<br />
sudo apt-get remove --purge penguinspuzzle scratch dillo squeak-vm squeak-plugins-scratch sonic-pi netsurf-gtk netsurf-common<br />
sudo apt-get autoremove<br />
sudo apt-get clean<br />
rm -rf /home/pi/python_games<br />
sudo rm -rf /opt/minecraft-pi<br />
<br />
https://project.altservice.com/issues/418<br />
NO! Don't do this if you want to use the video camera: sudo rm -rf /opt/vc<br />
<br />
<br />
<br />
<br />
=== Install packages we need ===<br />
<br />
<br />
sudo apt-get -y install gawk bc apache2 libusb-dev libgd-graph-perl libexpat1-dev sqlite3<br />
sudo apt-get install dh-autoreconf libudev-dev libusb-1<br />
<br />
pi@raspberrypi:~ $ sudo apt-get install dh-autoreconf libudev-dev libusb-1<br />
Reading package lists... Done<br />
Building dependency tree <br />
Reading state information... Done<br />
E: Unable to locate package libusb-1<br />
<br />
Oops. What happened to libusb-1? Hope it is not needed ... <br />
OK, We'll go on without it ...<br />
<br />
sudo apt-get install dh-autoreconf libudev-dev <br />
<br />
=== Install perl modules ===<br />
sudo cpan GD::Text GD::Graph Date::Format XML::Simple DBI DBD::SQLite<br />
<br />
=== Install HiveTool software ===<br />
Create symbolic links to the hivetool log files:<br />
<br />
sudo ln -s /home/hivetool/hivetool_raw.db /var/www/html<br />
sudo ln -s /home/hivetool/hive.conf /var/www/html<br />
sudo ln -s /home/hivetool/hivetool.log /var/www/html<br />
<br />
===Patch perl module GD::Graph===<br />
<br />
The Perl Module, GD::Graph needs a patch to correctly draw a graph with two y axes. Note that the target directory changes with each new perl version. This time it is 5.20.2. Copy the patched file to it's proper location:<br />
<br />
sudo cp /home/downloads/axestype.pm /usr/local/share/perl/5.20.2/GD/Graph/<br />
<br />
===Web Server===<br />
====Configure apache====<br />
#Link the cgi.load and include.load module to mods-enabled<br />
#:ln -s /etc/apache2/mods-available/cgi.load /etc/apache2/mods-enabled<br />
#:ln -s /etc/apache2/mods-available/include.load /etc/apache2/mods-enabled<br />
#Add .pl to AddHandler cgi-script<br />
#:sudo vi /etc/apache2/mods-enabled/mime.conf<br />
#:uncomment #AddHandler cgi-script .cgi (around line 219) and add .pl so it looks like:<br />
#:AddHandler cgi-script .cgi .pl<br />
#add Includes and +ExecCGI to Options:<br />
#:sudo vi /etc/apache2/apache2.conf<br />
#:In stanza <Directory /var/www/> <br />
#:change<br />
#: Options Indexes FollowSymLinks <br />
#:to<br />
#: Options Indexes FollowSymLinks Includes ExecCGI<br />
#Add index.shtml to DirectoryIndex:<br />
#:sudo vi /etc/apache2/mods-enabled/dir.conf <br />
#:Change<br />
#:DirectoryIndex index.html index.cgi index.pl index.php index.xhtml index.htm <br />
#:to<br />
#:DirectoryIndex index.html index.cgi index.pl index.php index.xhtml index.htm index.shtml <br />
# Set up apache to listen on port 8080 if using port forwarding:<br />
#:sudo vi /etc/apache2/ports.conf<br />
#:add Listen 8080<br />
#Restart Apache<br />
sudo apachectl restart or sudo/etc/rc4.d/S02apache2 restart<br />
<br />
====Set sudo user privileges for Apache====<br />
This is necessary to allow config.pl to read the sensors. Run visudo to edit the sudo config file:<br />
<br />
sudo visudo<br />
<br />
and insert this line in the "User privilege specification" section:<br />
<br />
www-data ALL=NOPASSWD: /home/hivetool/hive.sh, /home/hivetool/hx711pyB.sh, /home/hivetool/hx711.sh, /home/hivetool/HX711a128.py, /home/hivetool/hx711py.sh, /usr/local/bin/2591, /usr/local/bin/2561, /usr/bin/nice, /home/hivetool/temperhum.sh, /usr/local/bin/hx711, /usr/local/bin/Seeed_DHT22<br />
<br />
===Create SQLite database===<br />
cd /home/hivetool<br />
sqlite3 hivetool_raw.db<br />
sqlite> .read create_hivetool_sqlite.sql<br />
sqlite> .quit<br />
<br />
Make it writable or config.pl will fail to save to the database.<br />
sudo chmod a+w /home/hivetool/hivetool_raw.db<br />
sudo chmod a+w /home/hivetool<br />
<br />
Create a symbolic link to /home/hivetool/hivetool_raw.db from /var/www/html<br />
so hive_stats.pl and hive_graphX.pl can access the database:<br />
sudo ln -s /home/hivetool/hivetool_raw.db /var/www/html/<br />
<br />
===phpLiteAdmin ver 1.9.6===<br />
Install SQLite database administration tools.<br />
https://www.phpliteadmin.org/download/<br />
<br />
sudo apt-get install php5 php5-sqlite<br />
cd /var/www/html<br />
sudo mkdir admin<br />
cd admin<br />
sudo cp /home/downloads/phpLiteAdmin_v1-9-6.zip .<br />
sudo unzip phpLiteAdmin_v1-9-6.zip<br />
<br />
http://www.raspitux.de/en/using-phpliteadmin-with-raspberry-pi/#respond<br />
<br />
sudo cp phpliteadmin.config.sample.php phpliteadmin.config.php<br />
vi phpliteadmin.config.php<br />
<br />
change <br />
$directory = '.'; <br />
to <br />
$directory = '..';<br />
<br />
===Install TEMPerHUM software===<br />
sudo apt-get update<br />
sudo apt-get install dh-autoreconf libudev-dev libusb-1.0-0-dev cmake-curses-gui<br />
<br />
cd /home/downloads<br />
sudo git clone git://github.com/signal11/hidapi<br />
cd hidapi<br />
sudo ./bootstrap<br />
sudo ./configure<br />
sudo make<br />
sudo make install<br />
<br />
cd ..<br />
<br />
#sudo git clone git://github.com/edorfaus/TEMPered<br />
#cd TEMPered<br />
<br />
#sudo git clone https://github.com/rcrum003/TEMPered-v6-2015<br />
#cd TEMPered-v6-2015<br />
<br />
git clone git://github.com/mushisushi/TEMPered/<br />
<br />
sudo ccmake .<br />
Then the sub commands: "c" to configure then "g" to save and go<br />
sudo make<br />
sudo make install<br />
<br />
Add /usr/local/lib/arm-linux-gnueabihf/ to /etc/ld.so.conf<br />
sudo vi /etc/ld.so.conf<br />
<br />
So it looks like this:<br />
include /etc/ld.so.conf.d/*.conf<br />
/usr/local/lib/arm-linux-gnueabihf/<br />
<br />
<br />
Run ldconfig to pick up the new libraries<br />
sudo ldconfig<br />
<br />
===Install Broadcom 2835 Library ver 1.5===<br />
Download and install the bcm2835 library: https://gist.github.com/annem/3183536<br />
<br />
cd /home/downloads<br />
wget http://67.192.60.197/mikem/bcm2835/bcm2835-1.5.tar.gz<br />
tar xvfz bcm2835-1.5.tar.gz<br />
cd bcm2835-1.5<br />
./configure<br />
make<br />
sudo make check<br />
sudo make install<br />
<br />
=== Install i2c support===<br />
#Install i2c tools<br />
#: apt-get install i2c-tools<br />
#run raspi-config and turn on i2c<br />
<br />
=== Install wiringPi library ver 2.32===<br />
#get wiringPi code from github and compile it<br />
#: cd /home/downloads<br />
#: git clone git://git.drogon.net/wiringPi<br />
#: cd wiringPi<br />
#: ./build<br />
#Test<br />
#: gpio -v<br />
#: gpio readall<br />
<br />
gpio -v<br />
gpio version: 2.32<br />
Copyright (c) 2012-2015 Gordon Henderson<br />
<br />
http://wiringpi.com/download-and-install/<br />
<br />
===DHT22 Temperature/Humidity Sensor===<br />
Groove Seeed - DHT22 with modified code. Note that the code has been modified to return the <br />
temperature and humidity in floating point instead of having to divide it by 10, and a few other<br />
"improvements".<br />
<br />
#Install wiringPi libraries<br />
#Get the DHT22 software<br />
#: cd /home/downloads<br />
#: sudo git clone https://github.com/Seeed-Studio/Grove-RaspberryPi.git<br><br />
#: cd Grove-RaspberryPi/Grove\ -\ Temperature\ and\ Humidity\ Sensor\ Pro<br />
#: make<br />
#: sudo cp Seeed_DHT22 /usr/local/bin<br />
<br />
Python DHT22 code from Adafruit<br />
<br />
sudo apt-get install python-dev<br />
cd /home/downloads<br />
git clone https://github.com/adafruit/Adafruit_Python_DHT.git<br />
cd Adafruit_Python_DHT<br />
sudo python setup.py install<br />
cd examples<br />
python AdafruitDHT.py<br />
<br />
<br />
===DHTxx Temperature/Humidity Sensor===<br />
This code uses the PiGPIO libraries (pigpiod).<br />
<br />
#Download the DHT11/21/22/33/44 Sensor code from http://abyz.co.uk/rpi/pigpio/code/DHTXXD.zip<br />
#Unzip<br />
#compile<br />
<br />
Note that this code uses the Broadcom GPIO numbering so <br />
Ras Pi GPIO 2 <=> Broadcom GPIO 27<br />
Ras Pi GPIO 3 <=> Broadcom GPIO 22<br />
<br />
<br />
===HX711 weight ADC===<br />
hx711wp<br />
<br />
Note: The original hx711 code has been modified to use the wiringPi library and a bug fixed.<br />
<br />
#Download the software from gitHub<br />
#: cd /home/downloads<br />
#: sudo git clone https://github.com/ggurov/hx711<br />
#replace hx711.c with hx711wp.c and add locking.h<br />
#compile<br />
#:gcc -o hx711wp hx711wp.c -lwiringPi<br />
#Copy hx711 command to /usr/local/bin:<br />
#: sudo cp hx711wp /usr/local/bin/hx711<br />
#To read the battery voltage, copy hx711wp_chanB command to /usr/local/bin:<br />
#: sudo cp hx711wp_chanB /usr/local/bin/hx711wp_chanB<br />
<br />
<br />
===TLS2591 Lux Sensor===<br />
2591 Adafruit with modified code.<br />
<br />
-rw-r--r-- 1 root root 10439 Aug 3 01:36 2591a.cpp<br />
-rw-r--r-- 1 root root 3303 Aug 3 01:36 2591a.h<br />
-rw-r--r-- 1 root root 1509 Aug 3 01:36 2591_pi_2.cpp<br />
<br />
gcc 2591_pi_2.cpp 2591a.cpp -lwiringPi -o 2591 <br />
cp 2591 /usr/local/bin<br />
<br />
=== Add crontab entries===<br />
Edit crontab:<br />
sudo crontab -e<br />
Add to crontab:<br />
# Check hive instruments every 5 minutes. Kill process after 3 1/2 minutes.<br />
0,5,10,15,20,25,30,35,40,45,50,55 * * * * timeout -s KILL 3.5m /home/hivetool/hive.sh<br />
#<br />
# Check the server status. Kill process after 1 minute.<br />
4,9,14,19,24,29,34,39,44,49,54,59 * * * * timeout -s KILL 1m /home/hivetool/server_status.sh > /var/www/server_status.txt<br />
<br />
===Video===<br />
Install VLC media software. '''Note that for the camera to work, it must be enabled by running raspi-config.'''<br />
sudo apt-get install vlc<br />
<br />
To automatically start the video streaming using Real Time Streaming Protocol to port 8554, add to /etc/rc.local<br />
# start video stream<br />
su pi /home/hivetool/stream_video.sh<br />
<br />
/home/hivetool/stream_video.sh should be:<br />
raspivid -n -o - -t 0 -w 800 -h 400 -fps 24 |cvlc -vvv stream:///dev/stdin --sout '#rtp{sdp=rtsp://:8554}' :demux=h264<br />
<br />
This method uses raspivid to streams video from the PiCam to vlc where is can be accessed with [http://www.videolan.org/vlc/index.html videoLAN], a free and open souce media player for Apple, Linux, Microsoft platforms at port 8554 using RTSP://hive.ip:8554<br />
<br />
===Access Point===<br />
<br />
sudo apt-get install hostapd isc-dhcp-server<br />
<br />
https://learn.adafruit.com/setting-up-a-raspberry-pi-as-a-wifi-access-point/install-software<br />
<br />
===gEDA Schematic/PCB layout software===<br />
<br />
sudo apt-get update<br />
sudo apt-get install geda<br />
sudo apt-get install pcb<br />
sudo apt-get install gerbv<br />
sudo apt-get install zip<br />
<br />
<br />
===xrdp===<br />
<br />
uninstall RealVNC (This is a work around as now realvnc-vnc-server comes installed and breaks xrdp. xrdp is currently favored over realvnc as xrdp works with Microsoft Windows.)<br />
<br />
uninstall RealVNC and install xrdp<br />
<br />
apt-get purge realvnc-vnc-server<br />
sudo apt-get install xrdp<br />
<br />
fix mouse pointer<br />
vi .xsessionrc<br />
xsetroot -cursor_name left_ptr&<br />
<br />
http://raspberrypi.stackexchange.com/questions/56413/error-problem-connecting-to-raspberry-pi-3-with-xrdp<br />
<br />
===open62541===<br />
<br />
sudo git clone git://github.com/open62541/open62541<br />
# ### sudo apt-get install git build-essential gcc pkg-config cmake python python-lxml<br />
sudo apt-get install cmake cmake-data python-lxml<br />
# enable additional features<br />
sudo apt-get install libexpat1-dev # for XML-encodingi ### already done<br />
sudo apt-get install liburcu-dev # for multithreading<br />
sudo apt-get install check # for unit tests<br />
sudo apt-get install graphviz doxygen # for documentation generation <br />
<br />
sudo cd open62541<br />
sudo mkdir build<br />
sudo cd build<br />
sudo cmake ..<br />
sudo make<br />
<br />
# select additional features<br />
sudo ccmake .. # enter g to build and exit<br />
sudo make<br />
<br />
===Install touchscreen pop up keyboard support===<br />
<br />
sudo apt-get install matchbox<br />
<br />
===Install I2S support===<br />
<br />
sudo apt-get install raspberrypi-kernel-header<br />
cd /home/downloads<br />
git clone https://github.com/skakri/asoc-i2s-loader<br />
cd asoc-i2s-loade<br />
make<br />
... to be continued ...<br />
<br />
<br />
in /boot/config.txt<br />
# Uncomment to enable I2S MEMs microphone 6-9-16 AO<br />
dtparam=i2s=on<br />
<br />
in /sys/kernel/debug/asoc/platforms get the platform and device name. Change in the asoc-i2s-loader.c<br />
<br />
3f203000.i2s<br />
snd-soc-dummy<br />
<br />
in /etc/modprobe.d/raspi-blacklist.conf<br />
blacklist snd_soc_wm8804<br />
blacklist snd_soc_pcm512x<br />
blacklist snd_soc_tas5713<br />
<br />
<br />
To record:<br />
arecord -D hw:0 -c2 -r 48000 -f S32_LE -t wav -v file.wav<br />
<br />
===Install Hivecontrol===<br />
#Download<br />
#Unzip in /home/hivetool2.<br />
#Copy /home/hivetool2/www/public_html/ files to /var/www/html/hivecontrol<br />
#Set up virtual host on port 81<br />
#Add path to phpSQLiteadmin to database file.<br />
hive-data.db -> /home/HiveControl-master/data/hive-data.db<br />
<br />
'''''This may not be right, should link to /home/hivetool2?'''''<br />
<br />
===Install Desktop Background and Icons===<br />
<br />
==Write Image==<br />
Copy the image to another computer: <br />
<br />
1. Remove the SD card from the Pi and on another computer, copy the image to a file: <br />
dd bs=4M if=/dev/sdb of=/home/downloads/hivetool074.img<br />
2. Shrink the image:<br />
http://sirlagz.net/2013/03/10/script-automatic-rpi-image-downsizer/<br />
3. Compress the image using zip:<br />
zip hivetool074.img.zip hivetool074.img<br />
<br />
<br />
bash-4.2# dd bs=40M if=/dev/sdb of=/home/downloads/hivetool074.img<br />
379+1 records in<br />
379+1 records out<br />
15931539456 bytes (16 GB) copied, 596.492 s, 26.7 MB/s<br />
<br />
./autosizer.sh hivetool074.img <br />
e2fsck 1.42.6 (21-Sep-2012)<br />
Pass 1: Checking inodes, blocks, and sizes<br />
Inodes that were part of a corrupted orphan linked list found. Fix<y>? yes<br />
Inode 13283 was part of the orphaned inode list. FIXED.<br />
...<br />
Inode 392946 was part of the orphaned inode list. FIXED.<br />
Pass 2: Checking directory structure<br />
Pass 3: Checking directory connectivity<br />
Pass 4: Checking reference counts<br />
Pass 5: Checking group summary information<br />
<br />
/dev/loop0: ***** FILE SYSTEM WAS MODIFIED *****<br />
/dev/loop0: 141123/971040 files (0.2% non-contiguous), 1308188/3872384 blocks<br />
resize2fs 1.42.6 (21-Sep-2012)<br />
resize2fs 1.42.6 (21-Sep-2012)<br />
Resizing the filesystem on /dev/loop0 to 1412558 (4k) blocks.<br />
Begin pass 2 (max = 420793)<br />
Relocating blocks XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX<br />
Begin pass 3 (max = 119)<br />
Scanning inode table XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX<br />
Begin pass 4 (max = 14259)<br />
Updating inode references XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX<br />
The filesystem on /dev/loop0 is now 1412558 blocks long.<br />
<br />
# zip hivetool074.img.zip hivetool074.img <br />
adding: hivetool074.img<br />
<br />
(deflated 58%)<br />
<br />
bash-4.2# md5sum hivetool074.img.zip <br />
7cdca1e73a5d81e3c70909961c6ea4b9 hivetool074.img.zip<br />
<br />
bash-4.2# sha1sum hivetool074.img.zip <br />
ff504657257fdf13905a1ad24fd2f2eab5af1562 hivetool074.img.zip<br />
<br />
$ md5sum hivetool074.img<br />
2e26e8f266870cebcd51bf365d861559 hivetool074.img<br />
<br />
$ sha1sum hivetool074.img<br />
c855c8c1175866bd52ed8143490d320011323108 hivetool074.img<br />
<br />
$ ls -l hivetool074*<br />
-rw-r--r-- 1 root root 5856092672 Feb 21 20:01 hivetool074.img<br />
-rw-r--r-- 1 root root 2474147900 Feb 21 20:07 hivetool074.img.zip</div>Adrianhttp://wiki.hivetool.org/index.php?title=Create_SD_Image_Version_0.7.4&diff=2974Create SD Image Version 0.7.42017-02-25T03:18:46Z<p>Adrian: /* Feature Request */</p>
<hr />
<div>This page describes how the bootable Raspian-HiveTool image was created. This is for information only. '''''The easiest and best way to install Hivetool is to [[Software:_Install_Hivetool_Pi_image|download the latest image.]]'''''<br />
<br />
The Hivetool 0.7.4 image is available:<br />
<br />
https://drive.google.com/file/d/0B_3xqxGS2psWWHhyMUNjbW4tSHc/view?usp=sharing<br />
<br />
It does not have HiveControl installed yet.<br />
<br />
hivetool074.img 5856092672 bytes<br />
hivetool074.img.zip 2474147900 bytes<br />
<br />
md5sum hivetool074.img 2e26e8f266870cebcd51bf365d861559<br />
sha1sum hivetool074.img c855c8c1175866bd52ed8143490d320011323108<br />
<br />
md5sum hivetool074.img.zip 7cdca1e73a5d81e3c70909961c6ea4b9<br />
sha1sum hivetool074.img.zip ff504657257fdf13905a1ad24fd2f2eab5af1562<br />
<br />
<br />
'''Important Notes:'''<br />
#May not unzip on Apple Mac using Unarchiver.<br />
#Image is greater than 4 gig so it will not fit on FAT32 formatted memory device.<br />
#It doesn't automatically expand to fit the memory card.<br />
<br />
'''BUGS'''<br />
#The HX711 python driver based on PIGPIO library (HX711py) doesn't work on the model A+ or B+. Use the old HX711 driver based on the wiringPI library.<br />
<br />
<br />
<br />
<br />
== 0.7.4 ==<br />
=== Bug Fixes ===<br />
1. Set GPU_MEM, GPU_MEM_256, GPU_MEM_512, and GPU_MEM_1024 for different Pi models in config.txt. Maybe:<br />
GPU_MEM=64<br />
GPU_MEM_256=64<br />
GPU_MEM_512=128<br />
GPU_MEM_1024=256<br />
<br />
2. Put sanity checks, retrying, and error logging in dht22.sh to prevent bad readings from DHT22. See http://hivetool.org/d/comment/151#comment-151 for details.<br />
<br />
3, Update the SQL database creation scripts to reflect the new schema with battery voltage.<br />
<br />
4. Use hive_stats3wDownload.pl and NOT hive_stats4wDownload.<br />
<br />
5. Fix hive config.pl so it will insert a NULL instead on nothing in the hive_parameters table if hive elevation is left blank.<br />
<br />
6. Change DHT22 code to Adafruit<br />
<br />
7. Fix error at end of hivetool.log if hive_command.pl is not executable.<br />
<br />
=== Feature Request ===<br />
#add latest HiveControl software, debug HTML conflicts, restrict both apps from uploading<br />
#implement battery voltage monitoring using channel B of HX711, send it to hivetool.net and display it.<br />
#add ability to upgrade & update, github installer like hivecontrol, log & display current version & rev.<br />
#send host IP and MAC addresses to hivetool.net, use MAC for registration<br />
#add scale calibration layman wizard (accept current zero weight, accept known weight)<br />
#add ability to auto register with online hivetool.net database, minimize server blacklisting<br />
<br />
== 0.7.3 ==<br />
<br />
=== Bug Fixes ===<br />
#'''''Done''''' replace hx711 and dth22 code with fixed versions.<br />
#'''''Done''''' add export LC_NUMERIC="en_US.UTF-8" to hive.sh<br />
#'''''Done''''' don't remove python tools when removing bloatware. Keep: wolfram-engine - a scientific platform, Idle and Idle3 - python language editors<br />
<br />
<br />
=== Feature Request ===<br />
<br />
#'''''Done''''' add Ryans Hive Controller code, not yet available in 074<br />
#'''''Done''''' add xrdp, open62541 packages<br />
#'''''Done''''' add Data Acquisition Daemon (DAD) code<br />
<br />
Dad supports battery voltage monitoring and the rain gauge.<br />
<br />
== 0.7.2 ==<br />
#'''''Done''''' Test most recent raspbian distro Jessie (4.1 Kernel)<br />
#'''''Done''''' Removal of bloatware from Raspbian (games, educational, etc.)<br />
#'''''Done''''' Hivetool Support Pi & Pi2 (auto detect preferred)<br />
#Automatic removal of erroneous data from sensors<br />
#'''''Done''''' Basic navigation from webserver index.html, especially config.pl and Hivestats with download.<br />
#Menu driven selection & configuration of sensors (gpio 2,3 for DHT22s preassigned by menu default)<br />
#Menu driven setup of essential parameters with choices that don't crash app when saving, grey out unused.<br />
#'''''Done''''' Sensor calibration provisions (gain, offset)<br />
#Display instantaneous sensor readings from config screen with read button<br />
#Preload & configure Apache Webserver and database, Hivetool, sensor drivers for proven sensors.<br />
#Update local & online hivestats graphs to display lux trend pen, (use latest hivestats with enhanced autoscaling for local)<br />
#Network / wifi support out of the box seems to work well now, handle configuration on router side with DHCP reservation as may be needed. <br />
#Add configuration menu item for naming pi, same as hivestats name?<br />
#Minimize need to enter Raspiconfig, can timezone and time all be handled in hivetool config? <br />
#'''''Done''''' Enable i2c & serial.<br />
<br />
<br />
<br />
==How the image was created==<br />
=== Get latest Jessie image ===<br />
Download, verify the SHA-1 checksum, unzip, burn image.<br />
<br />
Verify the checksum:<br />
sha1sum 2016-05-10-raspbian-jessie.zip<br />
66a50545358e80229d77ebba89ab01f1c0fb4a02<br />
<br />
Unzip the image and copy it to the SD card <br />
unzip 2016-05-10-raspbian-jessie.zip<br />
dd bs=4M if=2016-05-10-raspbian-jessie.img of=/dev/sdb<br />
Boot<br />
<br />
Jessie boots directly into the window system.<br />
Menu -> Preferences->Raspberry Pi Configuration<br />
<br />
=== Set up Wi-Fi ===<br />
<br />
1. Add your network information to /etc/wpa_supplicant/wpa_supplicant.conf. For an unencrypted open network with an ESSID of dlink:<br />
<br />
vi /etc/wpa_supplicant/wpa_supplicant.conf<br />
<br />
network={<br />
ssid="dlink"<br />
key_mgmt=NONE<br />
auth_alg=OPEN } <br />
<br />
2. Wi-Fi auto reconnect to AP<br />
<br />
Go to /etc/ifplugd/action.d/ and copy the ifupdown file to ifupdown.org<br />
cp /etc/ifplugd/action.d/ifupdown /etc/ifplugd/action.d/ifupdown.org<br />
Then copy the ifupdown.sh script provided with wpa supplicant to /etc/ifplugd/action.d/<br />
cp /etc/wpa_supplicant/ifupdown.sh /etc/ifplugd/action.d/ifupdown<br />
<br />
http://raspberrypi.stackexchange.com/questions/4120/how-to-automatically-reconnect-wifi<br />
<br />
=== Update, upgrade ===<br />
update your system's package list and then upgrade all your installed packages to their latest versions:<br />
sudo apt-get update<br />
sudo apt-get dist-upgrade<br />
<br />
Update the GPU firmware<br />
sudo apt-get install rpi-update<br />
sudo rpi-update<br />
<br />
<br />
=== Remove packages we don't need ===<br />
<br />
sudo apt-get remove --purge penguinspuzzle scratch dillo squeak-vm squeak-plugins-scratch sonic-pi netsurf-gtk netsurf-common<br />
sudo apt-get autoremove<br />
sudo apt-get clean<br />
rm -rf /home/pi/python_games<br />
sudo rm -rf /opt/minecraft-pi<br />
<br />
https://project.altservice.com/issues/418<br />
NO! Don't do this if you want to use the video camera: sudo rm -rf /opt/vc<br />
<br />
<br />
<br />
<br />
=== Install packages we need ===<br />
<br />
<br />
sudo apt-get -y install gawk bc apache2 libusb-dev libgd-graph-perl libexpat1-dev sqlite3<br />
sudo apt-get install dh-autoreconf libudev-dev libusb-1<br />
<br />
pi@raspberrypi:~ $ sudo apt-get install dh-autoreconf libudev-dev libusb-1<br />
Reading package lists... Done<br />
Building dependency tree <br />
Reading state information... Done<br />
E: Unable to locate package libusb-1<br />
<br />
Oops. What happened to libusb-1? Hope it is not needed ... <br />
OK, We'll go on without it ...<br />
<br />
sudo apt-get install dh-autoreconf libudev-dev <br />
<br />
=== Install perl modules ===<br />
sudo cpan GD::Text GD::Graph Date::Format XML::Simple DBI DBD::SQLite<br />
<br />
=== Install HiveTool software ===<br />
Create symbolic links to the hivetool log files:<br />
<br />
sudo ln -s /home/hivetool/hivetool_raw.db /var/www/html<br />
sudo ln -s /home/hivetool/hive.conf /var/www/html<br />
sudo ln -s /home/hivetool/hivetool.log /var/www/html<br />
<br />
===Patch perl module GD::Graph===<br />
<br />
The Perl Module, GD::Graph needs a patch to correctly draw a graph with two y axes. Note that the target directory changes with each new perl version. This time it is 5.20.2. Copy the patched file to it's proper location:<br />
<br />
sudo cp /home/downloads/axestype.pm /usr/local/share/perl/5.20.2/GD/Graph/<br />
<br />
===Web Server===<br />
====Configure apache====<br />
#Link the cgi.load and include.load module to mods-enabled<br />
#:ln -s /etc/apache2/mods-available/cgi.load /etc/apache2/mods-enabled<br />
#:ln -s /etc/apache2/mods-available/include.load /etc/apache2/mods-enabled<br />
#Add .pl to AddHandler cgi-script<br />
#:sudo vi /etc/apache2/mods-enabled/mime.conf<br />
#:uncomment #AddHandler cgi-script .cgi (around line 219) and add .pl so it looks like:<br />
#:AddHandler cgi-script .cgi .pl<br />
#add Includes and +ExecCGI to Options:<br />
#:sudo vi /etc/apache2/apache2.conf<br />
#:In stanza <Directory /var/www/> <br />
#:change<br />
#: Options Indexes FollowSymLinks <br />
#:to<br />
#: Options Indexes FollowSymLinks Includes ExecCGI<br />
#Add index.shtml to DirectoryIndex:<br />
#:sudo vi /etc/apache2/mods-enabled/dir.conf <br />
#:Change<br />
#:DirectoryIndex index.html index.cgi index.pl index.php index.xhtml index.htm <br />
#:to<br />
#:DirectoryIndex index.html index.cgi index.pl index.php index.xhtml index.htm index.shtml <br />
# Set up apache to listen on port 8080 if using port forwarding:<br />
#:sudo vi /etc/apache2/ports.conf<br />
#:add Listen 8080<br />
#Restart Apache<br />
sudo apachectl restart or sudo/etc/rc4.d/S02apache2 restart<br />
<br />
====Set sudo user privileges for Apache====<br />
This is necessary to allow config.pl to read the sensors. Run visudo to edit the sudo config file:<br />
<br />
sudo visudo<br />
<br />
and insert this line in the "User privilege specification" section:<br />
<br />
www-data ALL=NOPASSWD: /home/hivetool/hive.sh, /home/hivetool/hx711pyB.sh, /home/hivetool/hx711.sh, /home/hivetool/HX711a128.py, /home/hivetool/hx711py.sh, /usr/local/bin/2591, /usr/local/bin/2561, /usr/bin/nice, /home/hivetool/temperhum.sh, /usr/local/bin/hx711, /usr/local/bin/Seeed_DHT22<br />
<br />
===Create SQLite database===<br />
cd /home/hivetool<br />
sqlite3 hivetool_raw.db<br />
sqlite> .read create_hivetool_sqlite.sql<br />
sqlite> .quit<br />
<br />
Make it writable or config.pl will fail to save to the database.<br />
sudo chmod a+w /home/hivetool/hivetool_raw.db<br />
sudo chmod a+w /home/hivetool<br />
<br />
Create a symbolic link to /home/hivetool/hivetool_raw.db from /var/www/html<br />
so hive_stats.pl and hive_graphX.pl can access the database:<br />
sudo ln -s /home/hivetool/hivetool_raw.db /var/www/html/<br />
<br />
===phpLiteAdmin ver 1.9.6===<br />
Install SQLite database administration tools.<br />
https://www.phpliteadmin.org/download/<br />
<br />
sudo apt-get install php5 php5-sqlite<br />
cd /var/www/html<br />
sudo mkdir admin<br />
cd admin<br />
sudo cp /home/downloads/phpLiteAdmin_v1-9-6.zip .<br />
sudo unzip phpLiteAdmin_v1-9-6.zip<br />
<br />
http://www.raspitux.de/en/using-phpliteadmin-with-raspberry-pi/#respond<br />
<br />
sudo cp phpliteadmin.config.sample.php phpliteadmin.config.php<br />
vi phpliteadmin.config.php<br />
<br />
change <br />
$directory = '.'; <br />
to <br />
$directory = '..';<br />
<br />
===Install TEMPerHUM software===<br />
sudo apt-get update<br />
sudo apt-get install dh-autoreconf libudev-dev libusb-1.0-0-dev cmake-curses-gui<br />
<br />
cd /home/downloads<br />
sudo git clone git://github.com/signal11/hidapi<br />
cd hidapi<br />
sudo ./bootstrap<br />
sudo ./configure<br />
sudo make<br />
sudo make install<br />
<br />
cd ..<br />
<br />
#sudo git clone git://github.com/edorfaus/TEMPered<br />
#cd TEMPered<br />
<br />
#sudo git clone https://github.com/rcrum003/TEMPered-v6-2015<br />
#cd TEMPered-v6-2015<br />
<br />
git clone git://github.com/mushisushi/TEMPered/<br />
<br />
sudo ccmake .<br />
Then the sub commands: "c" to configure then "g" to save and go<br />
sudo make<br />
sudo make install<br />
<br />
Add /usr/local/lib/arm-linux-gnueabihf/ to /etc/ld.so.conf<br />
sudo vi /etc/ld.so.conf<br />
<br />
So it looks like this:<br />
include /etc/ld.so.conf.d/*.conf<br />
/usr/local/lib/arm-linux-gnueabihf/<br />
<br />
<br />
Run ldconfig to pick up the new libraries<br />
sudo ldconfig<br />
<br />
===Install Broadcom 2835 Library ver 1.5===<br />
Download and install the bcm2835 library: https://gist.github.com/annem/3183536<br />
<br />
cd /home/downloads<br />
wget http://67.192.60.197/mikem/bcm2835/bcm2835-1.5.tar.gz<br />
tar xvfz bcm2835-1.5.tar.gz<br />
cd bcm2835-1.5<br />
./configure<br />
make<br />
sudo make check<br />
sudo make install<br />
<br />
=== Install i2c support===<br />
#Install i2c tools<br />
#: apt-get install i2c-tools<br />
#run raspi-config and turn on i2c<br />
<br />
=== Install wiringPi library ver 2.32===<br />
#get wiringPi code from github and compile it<br />
#: cd /home/downloads<br />
#: git clone git://git.drogon.net/wiringPi<br />
#: cd wiringPi<br />
#: ./build<br />
#Test<br />
#: gpio -v<br />
#: gpio readall<br />
<br />
gpio -v<br />
gpio version: 2.32<br />
Copyright (c) 2012-2015 Gordon Henderson<br />
<br />
http://wiringpi.com/download-and-install/<br />
<br />
===DHT22 Temperature/Humidity Sensor===<br />
Groove Seeed - DHT22 with modified code. Note that the code has been modified to return the <br />
temperature and humidity in floating point instead of having to divide it by 10, and a few other<br />
"improvements".<br />
<br />
#Install wiringPi libraries<br />
#Get the DHT22 software<br />
#: cd /home/downloads<br />
#: sudo git clone https://github.com/Seeed-Studio/Grove-RaspberryPi.git<br><br />
#: cd Grove-RaspberryPi/Grove\ -\ Temperature\ and\ Humidity\ Sensor\ Pro<br />
#: make<br />
#: sudo cp Seeed_DHT22 /usr/local/bin<br />
<br />
Python DHT22 code from Adafruit<br />
<br />
sudo apt-get install python-dev<br />
cd /home/downloads<br />
git clone https://github.com/adafruit/Adafruit_Python_DHT.git<br />
cd Adafruit_Python_DHT<br />
sudo python setup.py install<br />
cd examples<br />
python AdafruitDHT.py<br />
<br />
<br />
===DHTxx Temperature/Humidity Sensor===<br />
This code uses the PiGPIO libraries (pigpiod).<br />
<br />
#Download the DHT11/21/22/33/44 Sensor code from http://abyz.co.uk/rpi/pigpio/code/DHTXXD.zip<br />
#Unzip<br />
#compile<br />
<br />
Note that this code uses the Broadcom GPIO numbering so <br />
Ras Pi GPIO 2 <=> Broadcom GPIO 27<br />
Ras Pi GPIO 3 <=> Broadcom GPIO 22<br />
<br />
<br />
===HX711 weight ADC===<br />
hx711wp<br />
<br />
Note: The original hx711 code has been modified to use the wiringPi library and a bug fixed.<br />
<br />
#Download the software from gitHub<br />
#: cd /home/downloads<br />
#: sudo git clone https://github.com/ggurov/hx711<br />
#replace hx711.c with hx711wp.c and add locking.h<br />
#compile<br />
#:gcc -o hx711wp hx711wp.c -lwiringPi<br />
#Copy hx711 command to /usr/local/bin:<br />
#: sudo cp hx711wp /usr/local/bin/hx711<br />
#To read the battery voltage, copy hx711wp_chanB command to /usr/local/bin:<br />
#: sudo cp hx711wp_chanB /usr/local/bin/hx711wp_chanB<br />
<br />
<br />
===TLS2591 Lux Sensor===<br />
2591 Adafruit with modified code.<br />
<br />
-rw-r--r-- 1 root root 10439 Aug 3 01:36 2591a.cpp<br />
-rw-r--r-- 1 root root 3303 Aug 3 01:36 2591a.h<br />
-rw-r--r-- 1 root root 1509 Aug 3 01:36 2591_pi_2.cpp<br />
<br />
gcc 2591_pi_2.cpp 2591a.cpp -lwiringPi -o 2591 <br />
cp 2591 /usr/local/bin<br />
<br />
=== Add crontab entries===<br />
Edit crontab:<br />
sudo crontab -e<br />
Add to crontab:<br />
# Check hive instruments every 5 minutes. Kill process after 3 1/2 minutes.<br />
0,5,10,15,20,25,30,35,40,45,50,55 * * * * timeout -s KILL 3.5m /home/hivetool/hive.sh<br />
#<br />
# Check the server status. Kill process after 1 minute.<br />
4,9,14,19,24,29,34,39,44,49,54,59 * * * * timeout -s KILL 1m /home/hivetool/server_status.sh > /var/www/server_status.txt<br />
<br />
===Video===<br />
Install VLC media software. '''Note that for the camera to work, it must be enabled by running raspi-config.'''<br />
sudo apt-get install vlc<br />
<br />
To automatically start the video streaming using Real Time Streaming Protocol to port 8554, add to /etc/rc.local<br />
# start video stream<br />
su pi /home/hivetool/stream_video.sh<br />
<br />
/home/hivetool/stream_video.sh should be:<br />
raspivid -n -o - -t 0 -w 800 -h 400 -fps 24 |cvlc -vvv stream:///dev/stdin --sout '#rtp{sdp=rtsp://:8554}' :demux=h264<br />
<br />
This method uses raspivid to streams video from the PiCam to vlc where is can be accessed with [http://www.videolan.org/vlc/index.html videoLAN], a free and open souce media player for Apple, Linux, Microsoft platforms at port 8554 using RTSP://hive.ip:8554<br />
<br />
===Access Point===<br />
<br />
sudo apt-get install hostapd isc-dhcp-server<br />
<br />
https://learn.adafruit.com/setting-up-a-raspberry-pi-as-a-wifi-access-point/install-software<br />
<br />
===gEDA Schematic/PCB layout software===<br />
<br />
sudo apt-get update<br />
sudo apt-get install geda<br />
sudo apt-get install pcb<br />
sudo apt-get install gerbv<br />
sudo apt-get install zip<br />
<br />
<br />
===xrdp===<br />
<br />
uninstall RealVNC (This is a work around as now realvnc-vnc-server comes installed and breaks xrdp. xrdp is currently favored over realvnc as xrdp works with Microsoft Windows.)<br />
<br />
uninstall RealVNC and install xrdp<br />
<br />
apt-get purge realvnc-vnc-server<br />
sudo apt-get install xrdp<br />
<br />
fix mouse pointer<br />
vi .xsessionrc<br />
xsetroot -cursor_name left_ptr&<br />
<br />
http://raspberrypi.stackexchange.com/questions/56413/error-problem-connecting-to-raspberry-pi-3-with-xrdp<br />
<br />
===open62541===<br />
<br />
sudo git clone git://github.com/open62541/open62541<br />
# ### sudo apt-get install git build-essential gcc pkg-config cmake python python-lxml<br />
sudo apt-get install cmake cmake-data python-lxml<br />
# enable additional features<br />
sudo apt-get install libexpat1-dev # for XML-encodingi ### already done<br />
sudo apt-get install liburcu-dev # for multithreading<br />
sudo apt-get install check # for unit tests<br />
sudo apt-get install graphviz doxygen # for documentation generation <br />
<br />
sudo cd open62541<br />
sudo mkdir build<br />
sudo cd build<br />
sudo cmake ..<br />
sudo make<br />
<br />
# select additional features<br />
sudo ccmake .. # enter g to build and exit<br />
sudo make<br />
<br />
===Install touchscreen pop up keyboard support===<br />
<br />
sudo apt-get install matchbox<br />
<br />
===Install I2S support===<br />
<br />
sudo apt-get install raspberrypi-kernel-header<br />
cd /home/downloads<br />
git clone https://github.com/skakri/asoc-i2s-loader<br />
cd asoc-i2s-loade<br />
make<br />
... to be continued ...<br />
<br />
<br />
in /boot/config.txt<br />
# Uncomment to enable I2S MEMs microphone 6-9-16 AO<br />
dtparam=i2s=on<br />
<br />
in /sys/kernel/debug/asoc/platforms get the platform and device name. Change in the asoc-i2s-loader.c<br />
<br />
3f203000.i2s<br />
snd-soc-dummy<br />
<br />
in /etc/modprobe.d/raspi-blacklist.conf<br />
blacklist snd_soc_wm8804<br />
blacklist snd_soc_pcm512x<br />
blacklist snd_soc_tas5713<br />
<br />
<br />
To record:<br />
arecord -D hw:0 -c2 -r 48000 -f S32_LE -t wav -v file.wav<br />
<br />
===Install Hivecontrol===<br />
#Download<br />
#Unzip in /home/hivetool2.<br />
#Copy /home/hivetool2/www/public_html/ files to /var/www/html/hivecontrol<br />
#Set up virtual host on port 81<br />
#Add path to phpSQLiteadmin to database file.<br />
hive-data.db -> /home/HiveControl-master/data/hive-data.db<br />
<br />
'''''This may not be right, should link to /home/hivetool2?'''''<br />
<br />
===Install Desktop Background and Icons===<br />
<br />
==Write Image==<br />
Copy the image to another computer: <br />
<br />
1. Remove the SD card from the Pi and on another computer, copy the image to a file: <br />
dd bs=4M if=/dev/sdb of=/home/downloads/hivetool074.img<br />
2. Shrink the image:<br />
http://sirlagz.net/2013/03/10/script-automatic-rpi-image-downsizer/<br />
3. Compress the image using zip:<br />
zip hivetool074.img.zip hivetool074.img<br />
<br />
<br />
bash-4.2# dd bs=40M if=/dev/sdb of=/home/downloads/hivetool074.img<br />
379+1 records in<br />
379+1 records out<br />
15931539456 bytes (16 GB) copied, 596.492 s, 26.7 MB/s<br />
<br />
./autosizer.sh hivetool074.img <br />
e2fsck 1.42.6 (21-Sep-2012)<br />
Pass 1: Checking inodes, blocks, and sizes<br />
Inodes that were part of a corrupted orphan linked list found. Fix<y>? yes<br />
Inode 13283 was part of the orphaned inode list. FIXED.<br />
...<br />
Inode 392946 was part of the orphaned inode list. FIXED.<br />
Pass 2: Checking directory structure<br />
Pass 3: Checking directory connectivity<br />
Pass 4: Checking reference counts<br />
Pass 5: Checking group summary information<br />
<br />
/dev/loop0: ***** FILE SYSTEM WAS MODIFIED *****<br />
/dev/loop0: 141123/971040 files (0.2% non-contiguous), 1308188/3872384 blocks<br />
resize2fs 1.42.6 (21-Sep-2012)<br />
resize2fs 1.42.6 (21-Sep-2012)<br />
Resizing the filesystem on /dev/loop0 to 1412558 (4k) blocks.<br />
Begin pass 2 (max = 420793)<br />
Relocating blocks XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX<br />
Begin pass 3 (max = 119)<br />
Scanning inode table XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX<br />
Begin pass 4 (max = 14259)<br />
Updating inode references XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX<br />
The filesystem on /dev/loop0 is now 1412558 blocks long.<br />
<br />
# zip hivetool074.img.zip hivetool074.img <br />
adding: hivetool074.img<br />
<br />
(deflated 58%)<br />
<br />
bash-4.2# md5sum hivetool074.img.zip <br />
7cdca1e73a5d81e3c70909961c6ea4b9 hivetool074.img.zip<br />
<br />
bash-4.2# sha1sum hivetool074.img.zip <br />
ff504657257fdf13905a1ad24fd2f2eab5af1562 hivetool074.img.zip<br />
<br />
$ md5sum hivetool074.img<br />
2e26e8f266870cebcd51bf365d861559 hivetool074.img<br />
<br />
$ sha1sum hivetool074.img<br />
c855c8c1175866bd52ed8143490d320011323108 hivetool074.img<br />
<br />
$ ls -l hivetool074*<br />
-rw-r--r-- 1 root root 5856092672 Feb 21 20:01 hivetool074.img<br />
-rw-r--r-- 1 root root 2474147900 Feb 21 20:07 hivetool074.img.zip</div>Adrianhttp://wiki.hivetool.org/index.php?title=Create_SD_Image_Version_0.7.4&diff=2973Create SD Image Version 0.7.42017-02-25T03:16:46Z<p>Adrian: /* Feature Request */</p>
<hr />
<div>This page describes how the bootable Raspian-HiveTool image was created. This is for information only. '''''The easiest and best way to install Hivetool is to [[Software:_Install_Hivetool_Pi_image|download the latest image.]]'''''<br />
<br />
The Hivetool 0.7.4 image is available:<br />
<br />
https://drive.google.com/file/d/0B_3xqxGS2psWWHhyMUNjbW4tSHc/view?usp=sharing<br />
<br />
It does not have HiveControl installed yet.<br />
<br />
hivetool074.img 5856092672 bytes<br />
hivetool074.img.zip 2474147900 bytes<br />
<br />
md5sum hivetool074.img 2e26e8f266870cebcd51bf365d861559<br />
sha1sum hivetool074.img c855c8c1175866bd52ed8143490d320011323108<br />
<br />
md5sum hivetool074.img.zip 7cdca1e73a5d81e3c70909961c6ea4b9<br />
sha1sum hivetool074.img.zip ff504657257fdf13905a1ad24fd2f2eab5af1562<br />
<br />
<br />
'''Important Notes:'''<br />
#May not unzip on Apple Mac using Unarchiver.<br />
#Image is greater than 4 gig so it will not fit on FAT32 formatted memory device.<br />
#It doesn't automatically expand to fit the memory card.<br />
<br />
'''BUGS'''<br />
#The HX711 python driver based on PIGPIO library (HX711py) doesn't work on the model A+ or B+. Use the old HX711 driver based on the wiringPI library.<br />
<br />
<br />
<br />
<br />
== 0.7.4 ==<br />
=== Bug Fixes ===<br />
1. Set GPU_MEM, GPU_MEM_256, GPU_MEM_512, and GPU_MEM_1024 for different Pi models in config.txt. Maybe:<br />
GPU_MEM=64<br />
GPU_MEM_256=64<br />
GPU_MEM_512=128<br />
GPU_MEM_1024=256<br />
<br />
2. Put sanity checks, retrying, and error logging in dht22.sh to prevent bad readings from DHT22. See http://hivetool.org/d/comment/151#comment-151 for details.<br />
<br />
3, Update the SQL database creation scripts to reflect the new schema with battery voltage.<br />
<br />
4. Use hive_stats3wDownload.pl and NOT hive_stats4wDownload.<br />
<br />
5. Fix hive config.pl so it will insert a NULL instead on nothing in the hive_parameters table if hive elevation is left blank.<br />
<br />
6. Change DHT22 code to Adafruit<br />
<br />
7. Fix error at end of hivetool.log if hive_command.pl is not executable.<br />
<br />
=== Feature Request ===<br />
#add latest HiveControl software, debug HTML conflicts, restrict both apps from uploading<br />
#implement battery voltage monitoring using channel B of HX711, send it to hivetool.net and display it.<br />
#add ability to upgrade & update, github installer like hivecontrol, log & display current version & rev.<br />
#send host IP and MAC addresses to hivetool.net, use MAC for registration<br />
#add scale calibration layman wizard (accept current zero weight, accept known weight)<br />
#add ability to auto register with online hivetool.net database, minimize server blacklisting<br />
<br />
== 0.7.3 ==<br />
<br />
=== Bug Fixes ===<br />
#'''''Done''''' replace hx711 and dth22 code with fixed versions.<br />
#'''''Done''''' add export LC_NUMERIC="en_US.UTF-8" to hive.sh<br />
#'''''Done''''' don't remove python tools when removing bloatware. Keep: wolfram-engine - a scientific platform, Idle and Idle3 - python language editors<br />
<br />
<br />
=== Feature Request ===<br />
<br />
#'''''Done''''' add Ryans Hive Controller code<br />
#'''''Done''''' add xrdp, open62541 packages<br />
#'''''Done''''' add Data Acquisition Daemon (DAD) code<br />
<br />
Dad supports battery voltage monitoring and the rain gauge.<br />
<br />
<br />
== 0.7.2 ==<br />
#'''''Done''''' Test most recent raspbian distro Jessie (4.1 Kernel)<br />
#'''''Done''''' Removal of bloatware from Raspbian (games, educational, etc.)<br />
#'''''Done''''' Hivetool Support Pi & Pi2 (auto detect preferred)<br />
#Automatic removal of erroneous data from sensors<br />
#'''''Done''''' Basic navigation from webserver index.html, especially config.pl and Hivestats with download.<br />
#Menu driven selection & configuration of sensors (gpio 2,3 for DHT22s preassigned by menu default)<br />
#Menu driven setup of essential parameters with choices that don't crash app when saving, grey out unused.<br />
#'''''Done''''' Sensor calibration provisions (gain, offset)<br />
#Display instantaneous sensor readings from config screen with read button<br />
#Preload & configure Apache Webserver and database, Hivetool, sensor drivers for proven sensors.<br />
#Update local & online hivestats graphs to display lux trend pen, (use latest hivestats with enhanced autoscaling for local)<br />
#Network / wifi support out of the box seems to work well now, handle configuration on router side with DHCP reservation as may be needed. <br />
#Add configuration menu item for naming pi, same as hivestats name?<br />
#Minimize need to enter Raspiconfig, can timezone and time all be handled in hivetool config? <br />
#'''''Done''''' Enable i2c & serial.<br />
<br />
<br />
<br />
==How the image was created==<br />
=== Get latest Jessie image ===<br />
Download, verify the SHA-1 checksum, unzip, burn image.<br />
<br />
Verify the checksum:<br />
sha1sum 2016-05-10-raspbian-jessie.zip<br />
66a50545358e80229d77ebba89ab01f1c0fb4a02<br />
<br />
Unzip the image and copy it to the SD card <br />
unzip 2016-05-10-raspbian-jessie.zip<br />
dd bs=4M if=2016-05-10-raspbian-jessie.img of=/dev/sdb<br />
Boot<br />
<br />
Jessie boots directly into the window system.<br />
Menu -> Preferences->Raspberry Pi Configuration<br />
<br />
=== Set up Wi-Fi ===<br />
<br />
1. Add your network information to /etc/wpa_supplicant/wpa_supplicant.conf. For an unencrypted open network with an ESSID of dlink:<br />
<br />
vi /etc/wpa_supplicant/wpa_supplicant.conf<br />
<br />
network={<br />
ssid="dlink"<br />
key_mgmt=NONE<br />
auth_alg=OPEN } <br />
<br />
2. Wi-Fi auto reconnect to AP<br />
<br />
Go to /etc/ifplugd/action.d/ and copy the ifupdown file to ifupdown.org<br />
cp /etc/ifplugd/action.d/ifupdown /etc/ifplugd/action.d/ifupdown.org<br />
Then copy the ifupdown.sh script provided with wpa supplicant to /etc/ifplugd/action.d/<br />
cp /etc/wpa_supplicant/ifupdown.sh /etc/ifplugd/action.d/ifupdown<br />
<br />
http://raspberrypi.stackexchange.com/questions/4120/how-to-automatically-reconnect-wifi<br />
<br />
=== Update, upgrade ===<br />
update your system's package list and then upgrade all your installed packages to their latest versions:<br />
sudo apt-get update<br />
sudo apt-get dist-upgrade<br />
<br />
Update the GPU firmware<br />
sudo apt-get install rpi-update<br />
sudo rpi-update<br />
<br />
<br />
=== Remove packages we don't need ===<br />
<br />
sudo apt-get remove --purge penguinspuzzle scratch dillo squeak-vm squeak-plugins-scratch sonic-pi netsurf-gtk netsurf-common<br />
sudo apt-get autoremove<br />
sudo apt-get clean<br />
rm -rf /home/pi/python_games<br />
sudo rm -rf /opt/minecraft-pi<br />
<br />
https://project.altservice.com/issues/418<br />
NO! Don't do this if you want to use the video camera: sudo rm -rf /opt/vc<br />
<br />
<br />
<br />
<br />
=== Install packages we need ===<br />
<br />
<br />
sudo apt-get -y install gawk bc apache2 libusb-dev libgd-graph-perl libexpat1-dev sqlite3<br />
sudo apt-get install dh-autoreconf libudev-dev libusb-1<br />
<br />
pi@raspberrypi:~ $ sudo apt-get install dh-autoreconf libudev-dev libusb-1<br />
Reading package lists... Done<br />
Building dependency tree <br />
Reading state information... Done<br />
E: Unable to locate package libusb-1<br />
<br />
Oops. What happened to libusb-1? Hope it is not needed ... <br />
OK, We'll go on without it ...<br />
<br />
sudo apt-get install dh-autoreconf libudev-dev <br />
<br />
=== Install perl modules ===<br />
sudo cpan GD::Text GD::Graph Date::Format XML::Simple DBI DBD::SQLite<br />
<br />
=== Install HiveTool software ===<br />
Create symbolic links to the hivetool log files:<br />
<br />
sudo ln -s /home/hivetool/hivetool_raw.db /var/www/html<br />
sudo ln -s /home/hivetool/hive.conf /var/www/html<br />
sudo ln -s /home/hivetool/hivetool.log /var/www/html<br />
<br />
===Patch perl module GD::Graph===<br />
<br />
The Perl Module, GD::Graph needs a patch to correctly draw a graph with two y axes. Note that the target directory changes with each new perl version. This time it is 5.20.2. Copy the patched file to it's proper location:<br />
<br />
sudo cp /home/downloads/axestype.pm /usr/local/share/perl/5.20.2/GD/Graph/<br />
<br />
===Web Server===<br />
====Configure apache====<br />
#Link the cgi.load and include.load module to mods-enabled<br />
#:ln -s /etc/apache2/mods-available/cgi.load /etc/apache2/mods-enabled<br />
#:ln -s /etc/apache2/mods-available/include.load /etc/apache2/mods-enabled<br />
#Add .pl to AddHandler cgi-script<br />
#:sudo vi /etc/apache2/mods-enabled/mime.conf<br />
#:uncomment #AddHandler cgi-script .cgi (around line 219) and add .pl so it looks like:<br />
#:AddHandler cgi-script .cgi .pl<br />
#add Includes and +ExecCGI to Options:<br />
#:sudo vi /etc/apache2/apache2.conf<br />
#:In stanza <Directory /var/www/> <br />
#:change<br />
#: Options Indexes FollowSymLinks <br />
#:to<br />
#: Options Indexes FollowSymLinks Includes ExecCGI<br />
#Add index.shtml to DirectoryIndex:<br />
#:sudo vi /etc/apache2/mods-enabled/dir.conf <br />
#:Change<br />
#:DirectoryIndex index.html index.cgi index.pl index.php index.xhtml index.htm <br />
#:to<br />
#:DirectoryIndex index.html index.cgi index.pl index.php index.xhtml index.htm index.shtml <br />
# Set up apache to listen on port 8080 if using port forwarding:<br />
#:sudo vi /etc/apache2/ports.conf<br />
#:add Listen 8080<br />
#Restart Apache<br />
sudo apachectl restart or sudo/etc/rc4.d/S02apache2 restart<br />
<br />
====Set sudo user privileges for Apache====<br />
This is necessary to allow config.pl to read the sensors. Run visudo to edit the sudo config file:<br />
<br />
sudo visudo<br />
<br />
and insert this line in the "User privilege specification" section:<br />
<br />
www-data ALL=NOPASSWD: /home/hivetool/hive.sh, /home/hivetool/hx711pyB.sh, /home/hivetool/hx711.sh, /home/hivetool/HX711a128.py, /home/hivetool/hx711py.sh, /usr/local/bin/2591, /usr/local/bin/2561, /usr/bin/nice, /home/hivetool/temperhum.sh, /usr/local/bin/hx711, /usr/local/bin/Seeed_DHT22<br />
<br />
===Create SQLite database===<br />
cd /home/hivetool<br />
sqlite3 hivetool_raw.db<br />
sqlite> .read create_hivetool_sqlite.sql<br />
sqlite> .quit<br />
<br />
Make it writable or config.pl will fail to save to the database.<br />
sudo chmod a+w /home/hivetool/hivetool_raw.db<br />
sudo chmod a+w /home/hivetool<br />
<br />
Create a symbolic link to /home/hivetool/hivetool_raw.db from /var/www/html<br />
so hive_stats.pl and hive_graphX.pl can access the database:<br />
sudo ln -s /home/hivetool/hivetool_raw.db /var/www/html/<br />
<br />
===phpLiteAdmin ver 1.9.6===<br />
Install SQLite database administration tools.<br />
https://www.phpliteadmin.org/download/<br />
<br />
sudo apt-get install php5 php5-sqlite<br />
cd /var/www/html<br />
sudo mkdir admin<br />
cd admin<br />
sudo cp /home/downloads/phpLiteAdmin_v1-9-6.zip .<br />
sudo unzip phpLiteAdmin_v1-9-6.zip<br />
<br />
http://www.raspitux.de/en/using-phpliteadmin-with-raspberry-pi/#respond<br />
<br />
sudo cp phpliteadmin.config.sample.php phpliteadmin.config.php<br />
vi phpliteadmin.config.php<br />
<br />
change <br />
$directory = '.'; <br />
to <br />
$directory = '..';<br />
<br />
===Install TEMPerHUM software===<br />
sudo apt-get update<br />
sudo apt-get install dh-autoreconf libudev-dev libusb-1.0-0-dev cmake-curses-gui<br />
<br />
cd /home/downloads<br />
sudo git clone git://github.com/signal11/hidapi<br />
cd hidapi<br />
sudo ./bootstrap<br />
sudo ./configure<br />
sudo make<br />
sudo make install<br />
<br />
cd ..<br />
<br />
#sudo git clone git://github.com/edorfaus/TEMPered<br />
#cd TEMPered<br />
<br />
#sudo git clone https://github.com/rcrum003/TEMPered-v6-2015<br />
#cd TEMPered-v6-2015<br />
<br />
git clone git://github.com/mushisushi/TEMPered/<br />
<br />
sudo ccmake .<br />
Then the sub commands: "c" to configure then "g" to save and go<br />
sudo make<br />
sudo make install<br />
<br />
Add /usr/local/lib/arm-linux-gnueabihf/ to /etc/ld.so.conf<br />
sudo vi /etc/ld.so.conf<br />
<br />
So it looks like this:<br />
include /etc/ld.so.conf.d/*.conf<br />
/usr/local/lib/arm-linux-gnueabihf/<br />
<br />
<br />
Run ldconfig to pick up the new libraries<br />
sudo ldconfig<br />
<br />
===Install Broadcom 2835 Library ver 1.5===<br />
Download and install the bcm2835 library: https://gist.github.com/annem/3183536<br />
<br />
cd /home/downloads<br />
wget http://67.192.60.197/mikem/bcm2835/bcm2835-1.5.tar.gz<br />
tar xvfz bcm2835-1.5.tar.gz<br />
cd bcm2835-1.5<br />
./configure<br />
make<br />
sudo make check<br />
sudo make install<br />
<br />
=== Install i2c support===<br />
#Install i2c tools<br />
#: apt-get install i2c-tools<br />
#run raspi-config and turn on i2c<br />
<br />
=== Install wiringPi library ver 2.32===<br />
#get wiringPi code from github and compile it<br />
#: cd /home/downloads<br />
#: git clone git://git.drogon.net/wiringPi<br />
#: cd wiringPi<br />
#: ./build<br />
#Test<br />
#: gpio -v<br />
#: gpio readall<br />
<br />
gpio -v<br />
gpio version: 2.32<br />
Copyright (c) 2012-2015 Gordon Henderson<br />
<br />
http://wiringpi.com/download-and-install/<br />
<br />
===DHT22 Temperature/Humidity Sensor===<br />
Groove Seeed - DHT22 with modified code. Note that the code has been modified to return the <br />
temperature and humidity in floating point instead of having to divide it by 10, and a few other<br />
"improvements".<br />
<br />
#Install wiringPi libraries<br />
#Get the DHT22 software<br />
#: cd /home/downloads<br />
#: sudo git clone https://github.com/Seeed-Studio/Grove-RaspberryPi.git<br><br />
#: cd Grove-RaspberryPi/Grove\ -\ Temperature\ and\ Humidity\ Sensor\ Pro<br />
#: make<br />
#: sudo cp Seeed_DHT22 /usr/local/bin<br />
<br />
Python DHT22 code from Adafruit<br />
<br />
sudo apt-get install python-dev<br />
cd /home/downloads<br />
git clone https://github.com/adafruit/Adafruit_Python_DHT.git<br />
cd Adafruit_Python_DHT<br />
sudo python setup.py install<br />
cd examples<br />
python AdafruitDHT.py<br />
<br />
<br />
===DHTxx Temperature/Humidity Sensor===<br />
This code uses the PiGPIO libraries (pigpiod).<br />
<br />
#Download the DHT11/21/22/33/44 Sensor code from http://abyz.co.uk/rpi/pigpio/code/DHTXXD.zip<br />
#Unzip<br />
#compile<br />
<br />
Note that this code uses the Broadcom GPIO numbering so <br />
Ras Pi GPIO 2 <=> Broadcom GPIO 27<br />
Ras Pi GPIO 3 <=> Broadcom GPIO 22<br />
<br />
<br />
===HX711 weight ADC===<br />
hx711wp<br />
<br />
Note: The original hx711 code has been modified to use the wiringPi library and a bug fixed.<br />
<br />
#Download the software from gitHub<br />
#: cd /home/downloads<br />
#: sudo git clone https://github.com/ggurov/hx711<br />
#replace hx711.c with hx711wp.c and add locking.h<br />
#compile<br />
#:gcc -o hx711wp hx711wp.c -lwiringPi<br />
#Copy hx711 command to /usr/local/bin:<br />
#: sudo cp hx711wp /usr/local/bin/hx711<br />
#To read the battery voltage, copy hx711wp_chanB command to /usr/local/bin:<br />
#: sudo cp hx711wp_chanB /usr/local/bin/hx711wp_chanB<br />
<br />
<br />
===TLS2591 Lux Sensor===<br />
2591 Adafruit with modified code.<br />
<br />
-rw-r--r-- 1 root root 10439 Aug 3 01:36 2591a.cpp<br />
-rw-r--r-- 1 root root 3303 Aug 3 01:36 2591a.h<br />
-rw-r--r-- 1 root root 1509 Aug 3 01:36 2591_pi_2.cpp<br />
<br />
gcc 2591_pi_2.cpp 2591a.cpp -lwiringPi -o 2591 <br />
cp 2591 /usr/local/bin<br />
<br />
=== Add crontab entries===<br />
Edit crontab:<br />
sudo crontab -e<br />
Add to crontab:<br />
# Check hive instruments every 5 minutes. Kill process after 3 1/2 minutes.<br />
0,5,10,15,20,25,30,35,40,45,50,55 * * * * timeout -s KILL 3.5m /home/hivetool/hive.sh<br />
#<br />
# Check the server status. Kill process after 1 minute.<br />
4,9,14,19,24,29,34,39,44,49,54,59 * * * * timeout -s KILL 1m /home/hivetool/server_status.sh > /var/www/server_status.txt<br />
<br />
===Video===<br />
Install VLC media software. '''Note that for the camera to work, it must be enabled by running raspi-config.'''<br />
sudo apt-get install vlc<br />
<br />
To automatically start the video streaming using Real Time Streaming Protocol to port 8554, add to /etc/rc.local<br />
# start video stream<br />
su pi /home/hivetool/stream_video.sh<br />
<br />
/home/hivetool/stream_video.sh should be:<br />
raspivid -n -o - -t 0 -w 800 -h 400 -fps 24 |cvlc -vvv stream:///dev/stdin --sout '#rtp{sdp=rtsp://:8554}' :demux=h264<br />
<br />
This method uses raspivid to streams video from the PiCam to vlc where is can be accessed with [http://www.videolan.org/vlc/index.html videoLAN], a free and open souce media player for Apple, Linux, Microsoft platforms at port 8554 using RTSP://hive.ip:8554<br />
<br />
===Access Point===<br />
<br />
sudo apt-get install hostapd isc-dhcp-server<br />
<br />
https://learn.adafruit.com/setting-up-a-raspberry-pi-as-a-wifi-access-point/install-software<br />
<br />
===gEDA Schematic/PCB layout software===<br />
<br />
sudo apt-get update<br />
sudo apt-get install geda<br />
sudo apt-get install pcb<br />
sudo apt-get install gerbv<br />
sudo apt-get install zip<br />
<br />
<br />
===xrdp===<br />
<br />
uninstall RealVNC (This is a work around as now realvnc-vnc-server comes installed and breaks xrdp. xrdp is currently favored over realvnc as xrdp works with Microsoft Windows.)<br />
<br />
uninstall RealVNC and install xrdp<br />
<br />
apt-get purge realvnc-vnc-server<br />
sudo apt-get install xrdp<br />
<br />
fix mouse pointer<br />
vi .xsessionrc<br />
xsetroot -cursor_name left_ptr&<br />
<br />
http://raspberrypi.stackexchange.com/questions/56413/error-problem-connecting-to-raspberry-pi-3-with-xrdp<br />
<br />
===open62541===<br />
<br />
sudo git clone git://github.com/open62541/open62541<br />
# ### sudo apt-get install git build-essential gcc pkg-config cmake python python-lxml<br />
sudo apt-get install cmake cmake-data python-lxml<br />
# enable additional features<br />
sudo apt-get install libexpat1-dev # for XML-encodingi ### already done<br />
sudo apt-get install liburcu-dev # for multithreading<br />
sudo apt-get install check # for unit tests<br />
sudo apt-get install graphviz doxygen # for documentation generation <br />
<br />
sudo cd open62541<br />
sudo mkdir build<br />
sudo cd build<br />
sudo cmake ..<br />
sudo make<br />
<br />
# select additional features<br />
sudo ccmake .. # enter g to build and exit<br />
sudo make<br />
<br />
===Install touchscreen pop up keyboard support===<br />
<br />
sudo apt-get install matchbox<br />
<br />
===Install I2S support===<br />
<br />
sudo apt-get install raspberrypi-kernel-header<br />
cd /home/downloads<br />
git clone https://github.com/skakri/asoc-i2s-loader<br />
cd asoc-i2s-loade<br />
make<br />
... to be continued ...<br />
<br />
<br />
in /boot/config.txt<br />
# Uncomment to enable I2S MEMs microphone 6-9-16 AO<br />
dtparam=i2s=on<br />
<br />
in /sys/kernel/debug/asoc/platforms get the platform and device name. Change in the asoc-i2s-loader.c<br />
<br />
3f203000.i2s<br />
snd-soc-dummy<br />
<br />
in /etc/modprobe.d/raspi-blacklist.conf<br />
blacklist snd_soc_wm8804<br />
blacklist snd_soc_pcm512x<br />
blacklist snd_soc_tas5713<br />
<br />
<br />
To record:<br />
arecord -D hw:0 -c2 -r 48000 -f S32_LE -t wav -v file.wav<br />
<br />
===Install Hivecontrol===<br />
#Download<br />
#Unzip in /home/hivetool2.<br />
#Copy /home/hivetool2/www/public_html/ files to /var/www/html/hivecontrol<br />
#Set up virtual host on port 81<br />
#Add path to phpSQLiteadmin to database file.<br />
hive-data.db -> /home/HiveControl-master/data/hive-data.db<br />
<br />
'''''This may not be right, should link to /home/hivetool2?'''''<br />
<br />
===Install Desktop Background and Icons===<br />
<br />
==Write Image==<br />
Copy the image to another computer: <br />
<br />
1. Remove the SD card from the Pi and on another computer, copy the image to a file: <br />
dd bs=4M if=/dev/sdb of=/home/downloads/hivetool074.img<br />
2. Shrink the image:<br />
http://sirlagz.net/2013/03/10/script-automatic-rpi-image-downsizer/<br />
3. Compress the image using zip:<br />
zip hivetool074.img.zip hivetool074.img<br />
<br />
<br />
bash-4.2# dd bs=40M if=/dev/sdb of=/home/downloads/hivetool074.img<br />
379+1 records in<br />
379+1 records out<br />
15931539456 bytes (16 GB) copied, 596.492 s, 26.7 MB/s<br />
<br />
./autosizer.sh hivetool074.img <br />
e2fsck 1.42.6 (21-Sep-2012)<br />
Pass 1: Checking inodes, blocks, and sizes<br />
Inodes that were part of a corrupted orphan linked list found. Fix<y>? yes<br />
Inode 13283 was part of the orphaned inode list. FIXED.<br />
...<br />
Inode 392946 was part of the orphaned inode list. FIXED.<br />
Pass 2: Checking directory structure<br />
Pass 3: Checking directory connectivity<br />
Pass 4: Checking reference counts<br />
Pass 5: Checking group summary information<br />
<br />
/dev/loop0: ***** FILE SYSTEM WAS MODIFIED *****<br />
/dev/loop0: 141123/971040 files (0.2% non-contiguous), 1308188/3872384 blocks<br />
resize2fs 1.42.6 (21-Sep-2012)<br />
resize2fs 1.42.6 (21-Sep-2012)<br />
Resizing the filesystem on /dev/loop0 to 1412558 (4k) blocks.<br />
Begin pass 2 (max = 420793)<br />
Relocating blocks XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX<br />
Begin pass 3 (max = 119)<br />
Scanning inode table XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX<br />
Begin pass 4 (max = 14259)<br />
Updating inode references XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX<br />
The filesystem on /dev/loop0 is now 1412558 blocks long.<br />
<br />
# zip hivetool074.img.zip hivetool074.img <br />
adding: hivetool074.img<br />
<br />
(deflated 58%)<br />
<br />
bash-4.2# md5sum hivetool074.img.zip <br />
7cdca1e73a5d81e3c70909961c6ea4b9 hivetool074.img.zip<br />
<br />
bash-4.2# sha1sum hivetool074.img.zip <br />
ff504657257fdf13905a1ad24fd2f2eab5af1562 hivetool074.img.zip<br />
<br />
$ md5sum hivetool074.img<br />
2e26e8f266870cebcd51bf365d861559 hivetool074.img<br />
<br />
$ sha1sum hivetool074.img<br />
c855c8c1175866bd52ed8143490d320011323108 hivetool074.img<br />
<br />
$ ls -l hivetool074*<br />
-rw-r--r-- 1 root root 5856092672 Feb 21 20:01 hivetool074.img<br />
-rw-r--r-- 1 root root 2474147900 Feb 21 20:07 hivetool074.img.zip</div>Adrianhttp://wiki.hivetool.org/index.php?title=Hardware:_Hive_Interface_Board_0.3&diff=2944Hardware: Hive Interface Board 0.32017-01-02T21:03:34Z<p>Adrian: </p>
<hr />
<div><br />
<br clear=all><br />
<br />
[[File:P1010016c.jpg|thumb|700px|Dev Kit PCB installed on a Pi 2.]]<br />
<br />
'''A hive sensor interface board rev 0.3 for the Pi is now available.''' This is an essential component of the Developers Kit hardware. This solution is one step further towards the goal of a complete turnkey system. <br />
<br />
Rev 0.3 has proven to be a stable design. See [[Change: Interface PCB]] for the proposed design.<br />
<br />
<br />
==Features==<br />
<br />
*Plug and Play - all the sensors plug in.<br />
*12 VDC power supply with battery voltage monitoring<br />
*Supports <br />
**HX711 24 bit ADC and 4 load cells in parallel.<br />
**two DHT22 temperature/humidity sensors.<br />
**TSL2591 Lux sensor<br />
**Rain Gauge<br />
<br />
<br />
Plug and Play. Telco RJ14 (6P4C) connectors are used for all sensors. These are gold plated, reliable, self wiping, inexpensive, readily available, crimp on with an inexpensive crimping tool, lock in place (latch) and as anyone who has tripped over a phone cord can attest, very strong.<br />
<br />
Two different power supplies are optional. These are 12 to 5 volt step down highly efficient switching regulators.<br />
<br />
The next step will be to split this board into two boards. One will be a general purpose IO board and contain at least a 4 channel ADC so each load cell will be individually measured instead of being summed, a real time clock, and power supply. The second board will contain the sensor connectors.<br />
<br />
The interface board and software works with the A+. B+ and Pi2 models. The board will work with the original A or B if a 26 pin header extension is used although the lack of mounting holes in the original Pi is a problem.<br />
<br />
<br />
This board was designed on the Pi using the [http://www.geda-project.org/index.html gEDA] programs gschem and pcb. The programs, schematic and layout files are included on the latest image.<br />
<br />
==Sensor Connectors and Wiring==<br />
<br />
<br />
The Developers Kit uses RJ14 (6p4c) connectors for the sensors. Eventually, the load cells will be supplied with the connector attached. Cables will be provided for the other sensors. Until then, here are [[Sensor Wiring|'''detailed sensor connector and wiring instructions''']]<br />
<br />
==Assembly Instructions==<br />
<div style="background-color: yellow; font-weight: bold; font-family:arial;color:#FF0000;font-size:14px;text-align:center;">'''WARNING: If you use the 12 volt power supply it must be adjusted before you plug the board into the Pi!'''<br>*** Failure to set the output of the 12 volt supply to 5 volts will fry the Pi, SD card, USB peripherals. ***</div><br />
We hope to provide this board assembled and tested as part of the Developers Kit. Until then here are the [[Hardware: PCB Assembly|'''assembly instructions''']].<br />
<br />
==User Guide==<br />
===Connectors===<br />
=== Version 0.3===<br />
<br />
[[File:Shot0055.03.jpg|thumb|right|640px|Figure2. Connectors.'''''Version 0.3 image for connector assignment purpose only''''']]<br />
<br />
43+ of these boards were released. The rain gauge was moved to a different GPIO pin. The 1-Wire bus was brought out to spare pins on the DHT22 and rain gauge connectors. The DHT22 and rain gauge connectors were moved. The order of the signals on H6, the I2S connector and was changed.<br />
<br />
<br />
<br clear=all><br />
<br />
=== Version 0.2===<br />
<br />
[[File:Shot0055.jpg|thumb|right|640px|Figure1. Connectors.'''''Note this applies to Ver 0.2 only, NOT 0.3''''']]<br />
<br />
The commonly used connectors on the interface board are shown in Figure 1. '''''Note this is Ver 0.2 of the Hive Interface board. The connectors have changed in [[Hardware:_PCB_Assembly#Version_0.3|Version 0.3]]''''' Additional optional headers not installed provide access to other GPIO signals for developers.<br />
<br />
<br />
H4 provides access to the serial IO TxD and RxD signals used for the console. A TTL to USB adapter can be used to log into a command line interface from a terminal program such as PuTTY, terminal or minicom. The Pi and interface can be powered through this header.<br />
<br />
The top row of RJ14 jacks are for digital sensors. The assignment of sensors is the default HiveTool software setup. These connectors may have unused GPIO signals and can be used for different purposes depending on the software.<br />
<br />
The bottom row of RJ14 jacks are analog inputs for load cells. These signals are summed together and read by the high gain channel of the HX711.<br />
<br />
<br clear=all><br />
<br />
[[File:Shot0054.jpg|thumb|right|640px|Serial IO (console) and 12 V power supply option 1.]]<br />
<br />
Left side of board showing H4 serial IO (console) and power supply connections.<br />
<br />
<br />
{| class="wikitable"<br />
! scope="row" colspan="2"| H4 Serial IO<br />
|-<br />
! scope="col"| Pin<br />
! scope="col"| Signal<br />
|-<br />
| 1<br />
| +5<br />
|-<br />
| 2<br />
| TxD<br />
|-<br />
| 3<br />
| RxD<br />
|-<br />
|-<br />
| 4<br />
| Ground<br />
|}<br />
<br clear=all><br />
<br />
[[File:Shot0001.jpg|thumb|right|640px|H7 SPI, H2 I2C, H6 I2S]]<br />
<br />
Right side of board showing spare SPI, I2C, and I2S connections.<br />
<br />
<br />
{| class="wikitable"<br />
! scope="row" colspan="2"| H7 SPI ver 0.2<br />
|-<br />
! scope="col"| Pin<br />
! scope="col"| Signal<br />
|-<br />
| 1<br />
| +5 <br />
|-<br />
| 2<br />
| +3.3<br />
|-<br />
| 3<br />
| GPIO 11<br />
|-<br />
| 4<br />
| GPIO 13<br />
|-<br />
| 5<br />
| Ground<br />
|}<br />
<br />
<br />
{| class="wikitable"<br />
! scope="row" colspan="2"| H7 SPI ver 0.3<br />
|-<br />
! scope="col"| Pin<br />
! scope="col"| Signal<br />
|-<br />
| 1<br />
| +3.3<br />
|-<br />
| 2<br />
| SPI0 11 SPI0 CLK<br />
|-<br />
| 3<br />
| GPIO 13 SPI0 MISO<br />
|-<br />
| 4<br />
| GPIO 12 SPI0 MOSI<br />
|-<br />
| 5<br />
| Ground<br />
|}<br />
<br />
{| class="wikitable"<br />
! scope="row" colspan="2"| H2 I2C Bus<br />
|-<br />
! scope="col"| Pin<br />
! scope="col"| Signal<br />
|-<br />
| 1<br />
| +5<br />
|-<br />
| 2<br />
| +3.3<br />
|-<br />
| 3<br />
| I2C<br />
|-<br />
| 4<br />
| I2C<br />
|-<br />
| 5<br />
| Ground<br />
|}<br />
<br />
<br />
{| class="wikitable"<br />
! scope="row" colspan="2"| H6 I2S Bus<br />
|-<br />
! scope="col"| Pin<br />
! scope="col"| Signal<br />
|-<br />
| 1<br />
| +5<br />
|-<br />
| 2<br />
| +3.3<br />
|-<br />
| 3<br />
| I2S PCM CLK<br />
|-<br />
| 4<br />
| I2S PCM FS<br />
|-<br />
| 5<br />
| I2S PCM DIN<br />
|-<br />
| 6<br />
| I2S PCM DIO<br />
|-<br />
| 7<br />
| Ground<br />
|}<br />
<br />
===Power Supplies===<br />
<br />
The interface board can be powered from the Pi (this is the safest), or the interface board can power the Pi from a 12 VDC source (battery). One power supply used on the interface board is adjustable. They come from the factory set to 10V. <br />
<br />
<br />
====Operation from 12VDC====<br />
<br />
The current versions of the Hive Interface Board will accept two different 12V power supplies:<br><br />
=====D-SUN variable power supply.=====<br />
<br />
<div style="background-color: yellow; font-weight: bold; font-family:arial;color:#FF0000;font-size:16px;text-align:center;">'''This power supply must be adjusted to 5 volts output or the Pi, HX711 board and anything plugged into the Pi will be destroyed.'''</div><br />
<br />
<div style="background-color: yellow; font-weight: bold; font-family:arial;color:#FF0000;font-size:16px;text-align:center;">'''There is a small trim pot on the power supply board to adjust the supply. This must be adjusted before plugging the interface board into the Pi''' </div><br />
<br />
#Unplug the HX711 board and Pi from the hive interface board. <br />
#Connect a volt meter to the output of the power supply (this is available on the power supply board, the TTL/USB connector, the 5 volt pins on the Pi header, the Vcc pin where the HX711 would plug in.<br />
#Power the interface board from a 12V source.<br />
#With a jewelers screwdriver adjust the trim pot so the out is set between 5.0 and 5.1 volts.<br />
<br />
=====Fullree fixed power supply module.=====<br />
Hivetool support for the Furlee power supply module has been discontinued<br />
<br />
===Trouble Shooting===</div>Adrianhttp://wiki.hivetool.org/index.php?title=Hardware:_Hive_Interface_Board_0.3&diff=2943Hardware: Hive Interface Board 0.32017-01-02T20:55:49Z<p>Adrian: /* Fullree fixed power supply module. */</p>
<hr />
<div><br />
<br clear=all><br />
<br />
[[File:P1010016c.jpg|thumb|700px|Dev Kit PCB installed on a Pi 2.]]<br />
<br />
'''A hive sensor interface board for the Pi is now available.''' This will be part of the Developers Kit hardware. This interim solution is one step further towards the goal of a complete turnkey system. <br />
<br />
We hope to have the final version by the end of 2016. See [[Change: Interface PCB]] for the proposed design.<br />
<br />
<br />
==Features==<br />
<br />
*Plug and Play - all the sensors plug in.<br />
*12 VDC power supply with battery voltage monitoring<br />
*Supports <br />
**HX711 24 bit ADC and 4 load cells in parallel.<br />
**two DHT22 temperature/humidity sensors.<br />
**TSL2591 Lux sensor<br />
**Rain Gauge<br />
<br />
<br />
Plug and Play. Telco RJ14 (6P4C) connectors are used for all sensors. These are gold plated, reliable, self wiping, inexpensive, readily available, crimp on with an inexpensive crimping tool, lock in place (latch) and as anyone who has tripped over a phone cord can attest, very strong.<br />
<br />
Two different power supplies are optional. These are 12 to 5 volt step down highly efficient switching regulators.<br />
<br />
The next step will be to split this board into two boards. One will be a general purpose IO board and contain at least a 4 channel ADC so each load cell will be individually measured instead of being summed, a real time clock, and power supply. The second board will contain the sensor connectors.<br />
<br />
The interface board and software works with the A+. B+ and Pi2 models. The board will work with the original A or B if a 26 pin header extension is used although the lack of mounting holes in the original Pi is a problem.<br />
<br />
<br />
This board was designed on the Pi using the [http://www.geda-project.org/index.html gEDA] programs gschem and pcb. The programs, schematic and layout files are included on the latest image.<br />
<br />
==Sensor Connectors and Wiring==<br />
<br />
<br />
The Developers Kit uses RJ14 (6p4c) connectors for the sensors. Eventually, the load cells will be supplied with the connector attached. Cables will be provided for the other sensors. Until then, here are [[Sensor Wiring|'''detailed sensor connector and wiring instructions''']]<br />
<br />
==Assembly Instructions==<br />
<div style="background-color: yellow; font-weight: bold; font-family:arial;color:#FF0000;font-size:14px;text-align:center;">'''WARNING: If you use the 12 volt power supply it must be adjusted before you plug the board into the Pi!'''<br>*** Failure to set the output of the 12 volt supply to 5 volts will fry the Pi, SD card, USB peripherals. ***</div><br />
We hope to provide this board assembled and tested as part of the Developers Kit. Until then here are the [[Hardware: PCB Assembly|'''assembly instructions''']].<br />
<br />
==User Guide==<br />
===Connectors===<br />
=== Version 0.3===<br />
<br />
[[File:Shot0055.03.jpg|thumb|right|640px|Figure2. Connectors.'''''Version 0.3 image for connector assignment purpose only''''']]<br />
<br />
43+ of these boards were released. The rain gauge was moved to a different GPIO pin. The 1-Wire bus was brought out to spare pins on the DHT22 and rain gauge connectors. The DHT22 and rain gauge connectors were moved. The order of the signals on H6, the I2S connector and was changed.<br />
<br />
<br />
<br clear=all><br />
<br />
=== Version 0.2===<br />
<br />
[[File:Shot0055.jpg|thumb|right|640px|Figure1. Connectors.'''''Note this applies to Ver 0.2 only, NOT 0.3''''']]<br />
<br />
The commonly used connectors on the interface board are shown in Figure 1. '''''Note this is Ver 0.2 of the Hive Interface board. The connectors have changed in [[Hardware:_PCB_Assembly#Version_0.3|Version 0.3]]''''' Additional optional headers not installed provide access to other GPIO signals for developers.<br />
<br />
<br />
H4 provides access to the serial IO TxD and RxD signals used for the console. A TTL to USB adapter can be used to log into a command line interface from a terminal program such as PuTTY, terminal or minicom. The Pi and interface can be powered through this header.<br />
<br />
The top row of RJ14 jacks are for digital sensors. The assignment of sensors is the default HiveTool software setup. These connectors may have unused GPIO signals and can be used for different purposes depending on the software.<br />
<br />
The bottom row of RJ14 jacks are analog inputs for load cells. These signals are summed together and read by the high gain channel of the HX711.<br />
<br />
<br clear=all><br />
<br />
[[File:Shot0054.jpg|thumb|right|640px|Serial IO (console) and 12 V power supply option 1.]]<br />
<br />
Left side of board showing H4 serial IO (console) and power supply connections.<br />
<br />
<br />
{| class="wikitable"<br />
! scope="row" colspan="2"| H4 Serial IO<br />
|-<br />
! scope="col"| Pin<br />
! scope="col"| Signal<br />
|-<br />
| 1<br />
| +5<br />
|-<br />
| 2<br />
| TxD<br />
|-<br />
| 3<br />
| RxD<br />
|-<br />
|-<br />
| 4<br />
| Ground<br />
|}<br />
<br clear=all><br />
<br />
[[File:Shot0001.jpg|thumb|right|640px|H7 SPI, H2 I2C, H6 I2S]]<br />
<br />
Right side of board showing spare SPI, I2C, and I2S connections.<br />
<br />
<br />
{| class="wikitable"<br />
! scope="row" colspan="2"| H7 SPI ver 0.2<br />
|-<br />
! scope="col"| Pin<br />
! scope="col"| Signal<br />
|-<br />
| 1<br />
| +5 <br />
|-<br />
| 2<br />
| +3.3<br />
|-<br />
| 3<br />
| GPIO 11<br />
|-<br />
| 4<br />
| GPIO 13<br />
|-<br />
| 5<br />
| Ground<br />
|}<br />
<br />
<br />
{| class="wikitable"<br />
! scope="row" colspan="2"| H7 SPI ver 0.3<br />
|-<br />
! scope="col"| Pin<br />
! scope="col"| Signal<br />
|-<br />
| 1<br />
| +3.3<br />
|-<br />
| 2<br />
| SPI0 11 SPI0 CLK<br />
|-<br />
| 3<br />
| GPIO 13 SPI0 MISO<br />
|-<br />
| 4<br />
| GPIO 12 SPI0 MOSI<br />
|-<br />
| 5<br />
| Ground<br />
|}<br />
<br />
{| class="wikitable"<br />
! scope="row" colspan="2"| H2 I2C Bus<br />
|-<br />
! scope="col"| Pin<br />
! scope="col"| Signal<br />
|-<br />
| 1<br />
| +5<br />
|-<br />
| 2<br />
| +3.3<br />
|-<br />
| 3<br />
| I2C<br />
|-<br />
| 4<br />
| I2C<br />
|-<br />
| 5<br />
| Ground<br />
|}<br />
<br />
<br />
{| class="wikitable"<br />
! scope="row" colspan="2"| H6 I2S Bus<br />
|-<br />
! scope="col"| Pin<br />
! scope="col"| Signal<br />
|-<br />
| 1<br />
| +5<br />
|-<br />
| 2<br />
| +3.3<br />
|-<br />
| 3<br />
| I2S PCM CLK<br />
|-<br />
| 4<br />
| I2S PCM FS<br />
|-<br />
| 5<br />
| I2S PCM DIN<br />
|-<br />
| 6<br />
| I2S PCM DIO<br />
|-<br />
| 7<br />
| Ground<br />
|}<br />
<br />
===Power Supplies===<br />
<br />
The interface board can be powered from the Pi (this is the safest), or the interface board can power the Pi from a 12 VDC source (battery). One power supply used on the interface board is adjustable. They come from the factory set to 10V. <br />
<br />
<br />
====Operation from 12VDC====<br />
<br />
The current versions of the Hive Interface Board will accept two different 12V power supplies:<br><br />
=====D-SUN variable power supply.=====<br />
<br />
<div style="background-color: yellow; font-weight: bold; font-family:arial;color:#FF0000;font-size:16px;text-align:center;">'''This power supply must be adjusted to 5 volts output or the Pi, HX711 board and anything plugged into the Pi will be destroyed.'''</div><br />
<br />
<div style="background-color: yellow; font-weight: bold; font-family:arial;color:#FF0000;font-size:16px;text-align:center;">'''There is a small trim pot on the power supply board to adjust the supply. This must be adjusted before plugging the interface board into the Pi''' </div><br />
<br />
#Unplug the HX711 board and Pi from the hive interface board. <br />
#Connect a volt meter to the output of the power supply (this is available on the power supply board, the TTL/USB connector, the 5 volt pins on the Pi header, the Vcc pin where the HX711 would plug in.<br />
#Power the interface board from a 12V source.<br />
#With a jewelers screwdriver adjust the trim pot so the out is set between 5.0 and 5.1 volts.<br />
<br />
=====Fullree fixed power supply module.=====<br />
Hivetool support for the Furlee power supply module has been discontinued<br />
<br />
===Trouble Shooting===</div>Adrianhttp://wiki.hivetool.org/index.php?title=Hardware:_Hive_Interface_Board_0.3&diff=2942Hardware: Hive Interface Board 0.32017-01-02T20:40:17Z<p>Adrian: /* User Guide */</p>
<hr />
<div><br />
<br clear=all><br />
<br />
[[File:P1010016c.jpg|thumb|700px|Dev Kit PCB installed on a Pi 2.]]<br />
<br />
'''A hive sensor interface board for the Pi is now available.''' This will be part of the Developers Kit hardware. This interim solution is one step further towards the goal of a complete turnkey system. <br />
<br />
We hope to have the final version by the end of 2016. See [[Change: Interface PCB]] for the proposed design.<br />
<br />
<br />
==Features==<br />
<br />
*Plug and Play - all the sensors plug in.<br />
*12 VDC power supply with battery voltage monitoring<br />
*Supports <br />
**HX711 24 bit ADC and 4 load cells in parallel.<br />
**two DHT22 temperature/humidity sensors.<br />
**TSL2591 Lux sensor<br />
**Rain Gauge<br />
<br />
<br />
Plug and Play. Telco RJ14 (6P4C) connectors are used for all sensors. These are gold plated, reliable, self wiping, inexpensive, readily available, crimp on with an inexpensive crimping tool, lock in place (latch) and as anyone who has tripped over a phone cord can attest, very strong.<br />
<br />
Two different power supplies are optional. These are 12 to 5 volt step down highly efficient switching regulators.<br />
<br />
The next step will be to split this board into two boards. One will be a general purpose IO board and contain at least a 4 channel ADC so each load cell will be individually measured instead of being summed, a real time clock, and power supply. The second board will contain the sensor connectors.<br />
<br />
The interface board and software works with the A+. B+ and Pi2 models. The board will work with the original A or B if a 26 pin header extension is used although the lack of mounting holes in the original Pi is a problem.<br />
<br />
<br />
This board was designed on the Pi using the [http://www.geda-project.org/index.html gEDA] programs gschem and pcb. The programs, schematic and layout files are included on the latest image.<br />
<br />
==Sensor Connectors and Wiring==<br />
<br />
<br />
The Developers Kit uses RJ14 (6p4c) connectors for the sensors. Eventually, the load cells will be supplied with the connector attached. Cables will be provided for the other sensors. Until then, here are [[Sensor Wiring|'''detailed sensor connector and wiring instructions''']]<br />
<br />
==Assembly Instructions==<br />
<div style="background-color: yellow; font-weight: bold; font-family:arial;color:#FF0000;font-size:14px;text-align:center;">'''WARNING: If you use the 12 volt power supply it must be adjusted before you plug the board into the Pi!'''<br>*** Failure to set the output of the 12 volt supply to 5 volts will fry the Pi, SD card, USB peripherals. ***</div><br />
We hope to provide this board assembled and tested as part of the Developers Kit. Until then here are the [[Hardware: PCB Assembly|'''assembly instructions''']].<br />
<br />
==User Guide==<br />
===Connectors===<br />
=== Version 0.3===<br />
<br />
[[File:Shot0055.03.jpg|thumb|right|640px|Figure2. Connectors.'''''Version 0.3 image for connector assignment purpose only''''']]<br />
<br />
43+ of these boards were released. The rain gauge was moved to a different GPIO pin. The 1-Wire bus was brought out to spare pins on the DHT22 and rain gauge connectors. The DHT22 and rain gauge connectors were moved. The order of the signals on H6, the I2S connector and was changed.<br />
<br />
<br />
<br clear=all><br />
<br />
=== Version 0.2===<br />
<br />
[[File:Shot0055.jpg|thumb|right|640px|Figure1. Connectors.'''''Note this applies to Ver 0.2 only, NOT 0.3''''']]<br />
<br />
The commonly used connectors on the interface board are shown in Figure 1. '''''Note this is Ver 0.2 of the Hive Interface board. The connectors have changed in [[Hardware:_PCB_Assembly#Version_0.3|Version 0.3]]''''' Additional optional headers not installed provide access to other GPIO signals for developers.<br />
<br />
<br />
H4 provides access to the serial IO TxD and RxD signals used for the console. A TTL to USB adapter can be used to log into a command line interface from a terminal program such as PuTTY, terminal or minicom. The Pi and interface can be powered through this header.<br />
<br />
The top row of RJ14 jacks are for digital sensors. The assignment of sensors is the default HiveTool software setup. These connectors may have unused GPIO signals and can be used for different purposes depending on the software.<br />
<br />
The bottom row of RJ14 jacks are analog inputs for load cells. These signals are summed together and read by the high gain channel of the HX711.<br />
<br />
<br clear=all><br />
<br />
[[File:Shot0054.jpg|thumb|right|640px|Serial IO (console) and 12 V power supply option 1.]]<br />
<br />
Left side of board showing H4 serial IO (console) and power supply connections.<br />
<br />
<br />
{| class="wikitable"<br />
! scope="row" colspan="2"| H4 Serial IO<br />
|-<br />
! scope="col"| Pin<br />
! scope="col"| Signal<br />
|-<br />
| 1<br />
| +5<br />
|-<br />
| 2<br />
| TxD<br />
|-<br />
| 3<br />
| RxD<br />
|-<br />
|-<br />
| 4<br />
| Ground<br />
|}<br />
<br clear=all><br />
<br />
[[File:Shot0001.jpg|thumb|right|640px|H7 SPI, H2 I2C, H6 I2S]]<br />
<br />
Right side of board showing spare SPI, I2C, and I2S connections.<br />
<br />
<br />
{| class="wikitable"<br />
! scope="row" colspan="2"| H7 SPI ver 0.2<br />
|-<br />
! scope="col"| Pin<br />
! scope="col"| Signal<br />
|-<br />
| 1<br />
| +5 <br />
|-<br />
| 2<br />
| +3.3<br />
|-<br />
| 3<br />
| GPIO 11<br />
|-<br />
| 4<br />
| GPIO 13<br />
|-<br />
| 5<br />
| Ground<br />
|}<br />
<br />
<br />
{| class="wikitable"<br />
! scope="row" colspan="2"| H7 SPI ver 0.3<br />
|-<br />
! scope="col"| Pin<br />
! scope="col"| Signal<br />
|-<br />
| 1<br />
| +3.3<br />
|-<br />
| 2<br />
| SPI0 11 SPI0 CLK<br />
|-<br />
| 3<br />
| GPIO 13 SPI0 MISO<br />
|-<br />
| 4<br />
| GPIO 12 SPI0 MOSI<br />
|-<br />
| 5<br />
| Ground<br />
|}<br />
<br />
{| class="wikitable"<br />
! scope="row" colspan="2"| H2 I2C Bus<br />
|-<br />
! scope="col"| Pin<br />
! scope="col"| Signal<br />
|-<br />
| 1<br />
| +5<br />
|-<br />
| 2<br />
| +3.3<br />
|-<br />
| 3<br />
| I2C<br />
|-<br />
| 4<br />
| I2C<br />
|-<br />
| 5<br />
| Ground<br />
|}<br />
<br />
<br />
{| class="wikitable"<br />
! scope="row" colspan="2"| H6 I2S Bus<br />
|-<br />
! scope="col"| Pin<br />
! scope="col"| Signal<br />
|-<br />
| 1<br />
| +5<br />
|-<br />
| 2<br />
| +3.3<br />
|-<br />
| 3<br />
| I2S PCM CLK<br />
|-<br />
| 4<br />
| I2S PCM FS<br />
|-<br />
| 5<br />
| I2S PCM DIN<br />
|-<br />
| 6<br />
| I2S PCM DIO<br />
|-<br />
| 7<br />
| Ground<br />
|}<br />
<br />
===Power Supplies===<br />
<br />
The interface board can be powered from the Pi (this is the safest), or the interface board can power the Pi from a 12 VDC source (battery). One power supply used on the interface board is adjustable. They come from the factory set to 10V. <br />
<br />
<br />
====Operation from 12VDC====<br />
<br />
The current versions of the Hive Interface Board will accept two different 12V power supplies:<br><br />
=====D-SUN variable power supply.=====<br />
<br />
<div style="background-color: yellow; font-weight: bold; font-family:arial;color:#FF0000;font-size:16px;text-align:center;">'''This power supply must be adjusted to 5 volts output or the Pi, HX711 board and anything plugged into the Pi will be destroyed.'''</div><br />
<br />
<div style="background-color: yellow; font-weight: bold; font-family:arial;color:#FF0000;font-size:16px;text-align:center;">'''There is a small trim pot on the power supply board to adjust the supply. This must be adjusted before plugging the interface board into the Pi''' </div><br />
<br />
#Unplug the HX711 board and Pi from the hive interface board. <br />
#Connect a volt meter to the output of the power supply (this is available on the power supply board, the TTL/USB connector, the 5 volt pins on the Pi header, the Vcc pin where the HX711 would plug in.<br />
#Power the interface board from a 12V source.<br />
#With a jewelers screwdriver adjust the trim pot so the out is set between 5.0 and 5.1 volts.<br />
<br />
=====Fullree fixed power supply module.=====<br />
<br />
===Trouble Shooting===</div>Adrianhttp://wiki.hivetool.org/index.php?title=Hardware:_Hive_Interface_Board_0.3&diff=2941Hardware: Hive Interface Board 0.32017-01-02T20:29:47Z<p>Adrian: /* Connectors */</p>
<hr />
<div><br />
<br clear=all><br />
<br />
[[File:P1010016c.jpg|thumb|700px|Dev Kit PCB installed on a Pi 2.]]<br />
<br />
'''A hive sensor interface board for the Pi is now available.''' This will be part of the Developers Kit hardware. This interim solution is one step further towards the goal of a complete turnkey system. <br />
<br />
We hope to have the final version by the end of 2016. See [[Change: Interface PCB]] for the proposed design.<br />
<br />
<br />
==Features==<br />
<br />
*Plug and Play - all the sensors plug in.<br />
*12 VDC power supply with battery voltage monitoring<br />
*Supports <br />
**HX711 24 bit ADC and 4 load cells in parallel.<br />
**two DHT22 temperature/humidity sensors.<br />
**TSL2591 Lux sensor<br />
**Rain Gauge<br />
<br />
<br />
Plug and Play. Telco RJ14 (6P4C) connectors are used for all sensors. These are gold plated, reliable, self wiping, inexpensive, readily available, crimp on with an inexpensive crimping tool, lock in place (latch) and as anyone who has tripped over a phone cord can attest, very strong.<br />
<br />
Two different power supplies are optional. These are 12 to 5 volt step down highly efficient switching regulators.<br />
<br />
The next step will be to split this board into two boards. One will be a general purpose IO board and contain at least a 4 channel ADC so each load cell will be individually measured instead of being summed, a real time clock, and power supply. The second board will contain the sensor connectors.<br />
<br />
The interface board and software works with the A+. B+ and Pi2 models. The board will work with the original A or B if a 26 pin header extension is used although the lack of mounting holes in the original Pi is a problem.<br />
<br />
<br />
This board was designed on the Pi using the [http://www.geda-project.org/index.html gEDA] programs gschem and pcb. The programs, schematic and layout files are included on the latest image.<br />
<br />
==Sensor Connectors and Wiring==<br />
<br />
<br />
The Developers Kit uses RJ14 (6p4c) connectors for the sensors. Eventually, the load cells will be supplied with the connector attached. Cables will be provided for the other sensors. Until then, here are [[Sensor Wiring|'''detailed sensor connector and wiring instructions''']]<br />
<br />
==Assembly Instructions==<br />
<div style="background-color: yellow; font-weight: bold; font-family:arial;color:#FF0000;font-size:14px;text-align:center;">'''WARNING: If you use the 12 volt power supply it must be adjusted before you plug the board into the Pi!'''<br>*** Failure to set the output of the 12 volt supply to 5 volts will fry the Pi, SD card, USB peripherals. ***</div><br />
We hope to provide this board assembled and tested as part of the Developers Kit. Until then here are the [[Hardware: PCB Assembly|'''assembly instructions''']].<br />
<br />
==User Guide==<br />
===Connectors===<br />
=== Version 0.3===<br />
43+ of these boards were released. The rain gauge was moved to a different GPIO pin. The 1-Wire bus was brought out to spare pins on the DHT22 and rain gauge connectors. The DHT22 and rain gauge connectors were moved. The order of the signals on H6, the I2S connector and was changed.<br />
<br />
[[File:Shot0055.03.jpg|thumb|right|640px|Figure2. Connectors.'''''Version 0.3''''']]<br />
<br clear=all><br />
<br />
=== Version 0.2===<br />
<br />
[[File:Shot0055.jpg|thumb|right|640px|Figure1. Connectors.'''''Note this is Ver 0.2 NOT 0.3''''']]<br />
<br />
The commonly used connectors on the interface board are shown in Figure 1. '''''Note this is Ver 0.2 of the Hive Interface board. The connectors have changed in [[Hardware:_PCB_Assembly#Version_0.3|Version 0.3]]''''' Additional optional headers not installed provide access to other GPIO signals for developers.<br />
<br />
<br />
H4 provides access to the serial IO TxD and RxD signals used for the console. A TTL to USB adapter can be used to log into a command line interface from a terminal program such as PuTTY, terminal or minicom. The Pi and interface can be powered through this header.<br />
<br />
The top row of RJ14 jacks are for digital sensors. The assignment of sensors is the default HiveTool software setup. These connectors may have unused GPIO signals and can be used for different purposes depending on the software.<br />
<br />
The bottom row of RJ14 jacks are analog inputs for load cells. These signals are summed together and read by the high gain channel of the HX711.<br />
<br />
<br clear=all><br />
<br />
[[File:Shot0054.jpg|thumb|right|640px|Serial IO (console) and 12 V power supply option 1.]]<br />
<br />
Left side of board showing H4 serial IO (console) and power supply connections.<br />
<br />
<br />
{| class="wikitable"<br />
! scope="row" colspan="2"| H4 Serial IO<br />
|-<br />
! scope="col"| Pin<br />
! scope="col"| Signal<br />
|-<br />
| 1<br />
| +5<br />
|-<br />
| 2<br />
| TxD<br />
|-<br />
| 3<br />
| RxD<br />
|-<br />
|-<br />
| 4<br />
| Ground<br />
|}<br />
<br clear=all><br />
<br />
[[File:Shot0001.jpg|thumb|right|640px|H7 SPI, H2 I2C, H6 I2S]]<br />
<br />
Right side of board showing spare SPI, I2C, and I2S connections.<br />
<br />
<br />
{| class="wikitable"<br />
! scope="row" colspan="2"| H7 SPI ver 0.2<br />
|-<br />
! scope="col"| Pin<br />
! scope="col"| Signal<br />
|-<br />
| 1<br />
| +5 <br />
|-<br />
| 2<br />
| +3.3<br />
|-<br />
| 3<br />
| GPIO 11<br />
|-<br />
| 4<br />
| GPIO 13<br />
|-<br />
| 5<br />
| Ground<br />
|}<br />
<br />
<br />
{| class="wikitable"<br />
! scope="row" colspan="2"| H7 SPI ver 0.3<br />
|-<br />
! scope="col"| Pin<br />
! scope="col"| Signal<br />
|-<br />
| 1<br />
| +3.3<br />
|-<br />
| 2<br />
| SPI0 11 SPI0 CLK<br />
|-<br />
| 3<br />
| GPIO 13 SPI0 MISO<br />
|-<br />
| 4<br />
| GPIO 12 SPI0 MOSI<br />
|-<br />
| 5<br />
| Ground<br />
|}<br />
<br />
{| class="wikitable"<br />
! scope="row" colspan="2"| H2 I2C Bus<br />
|-<br />
! scope="col"| Pin<br />
! scope="col"| Signal<br />
|-<br />
| 1<br />
| +5<br />
|-<br />
| 2<br />
| +3.3<br />
|-<br />
| 3<br />
| I2C<br />
|-<br />
| 4<br />
| I2C<br />
|-<br />
| 5<br />
| Ground<br />
|}<br />
<br />
<br />
{| class="wikitable"<br />
! scope="row" colspan="2"| H6 I2S Bus<br />
|-<br />
! scope="col"| Pin<br />
! scope="col"| Signal<br />
|-<br />
| 1<br />
| +5<br />
|-<br />
| 2<br />
| +3.3<br />
|-<br />
| 3<br />
| I2S PCM CLK<br />
|-<br />
| 4<br />
| I2S PCM FS<br />
|-<br />
| 5<br />
| I2S PCM DIN<br />
|-<br />
| 6<br />
| I2S PCM DIO<br />
|-<br />
| 7<br />
| Ground<br />
|}<br />
<br />
===Power Supplies===<br />
<br />
The interface board can be powered from the Pi (this is the safest), or the interface board can power the Pi from a 12 VDC source (battery). One power supply used on the interface board is adjustable. They come from the factory set to 10V. <br />
<br />
<br />
====Operation from 12VDC====<br />
<br />
The current versions of the Hive Interface Board will accept two different 12V power supplies:<br><br />
=====D-SUN variable power supply.=====<br />
<br />
<div style="background-color: yellow; font-weight: bold; font-family:arial;color:#FF0000;font-size:16px;text-align:center;">'''This power supply must be adjusted to 5 volts output or the Pi, HX711 board and anything plugged into the Pi will be destroyed.'''</div><br />
<br />
<div style="background-color: yellow; font-weight: bold; font-family:arial;color:#FF0000;font-size:16px;text-align:center;">'''There is a small trim pot on the power supply board to adjust the supply. This must be adjusted before plugging the interface board into the Pi''' </div><br />
<br />
#Unplug the HX711 board and Pi from the hive interface board. <br />
#Connect a volt meter to the output of the power supply (this is available on the power supply board, the TTL/USB connector, the 5 volt pins on the Pi header, the Vcc pin where the HX711 would plug in.<br />
#Power the interface board from a 12V source.<br />
#With a jewelers screwdriver adjust the trim pot so the out is set between 5.0 and 5.1 volts.<br />
<br />
=====Fullree fixed power supply module.=====<br />
<br />
===Trouble Shooting===</div>Adrianhttp://wiki.hivetool.org/index.php?title=HiveTool.org&diff=2799HiveTool.org2016-10-02T16:44:32Z<p>Adrian: </p>
<hr />
<div><div style="background-color: #aaaaff;"><br />
<br />
[[File:Image073 xrdp desktop 1024.jpg|thumb|750px|0.7.3 image on Window Remote Desktop.]]<br />
<div style="font-weight: bold; font-family:arial;color:#FF0000;font-size:30px;text-align:center;">'''NEWS FLASH'''</div><br />
<center><br />
Updated Sept 29th 2016<br />
</center><br />
<br />
<center><br />
'''HiveConTool includes HiveControl 1.81 alternative user interface and the familiar Hivetool 0.7.3 experience'''<br />
</center><br />
Recent Changes:<br />
*Two ways to Collect & View Data<br />
*Version 1.81 Hive Control Software<br />
*Windows Remote Desktop Using RDP<br />
*Touchscreen pop up keyboard support<br />
*Latest Raspian OS 9/29/16 4.4.21 updates<br />
*Beekeeper Friendly Desktop = Easy Navigation<br />
<br />
<br />
<center><br />
[[Software:_Overview|'''Read more about the software''']]<br><br />
<br />
[http://hivetool.org/w/index.php?title=Software:_Install_Hivetool_Pi_image '''Download The Latest Image''']<br><br />
<br />
[http://hivetool.org/d/forum '''Join our new Forums''']<br />
[http://hivetool.org/dev_kit_order.pl '''Developers Kit Order Form''']</center><br />
<br clear=all><br />
</div><br />
----<br />
<br />
[[File:XP001_20150419.gif|thumb|750px|right|frame|<div style="font-weight: bold; font-family:arial;color:#66ff66;font-size:30px;text-align:center;"><br>Links to hives have moved to [http://hivetool.net hivetool.net]<br></div>]]<br />
<br />
== HiveTool&trade; ==<br />
HiveTool&trade; is a collection of readily available, off-the-shelf [[hardware]] and free, open source [[Software:_Overview|software]] that continuously monitors a beehive. Computerized hive monitors provide real time and historic data and graphs of weight, internal and ambient temperature, humidity and light levels which give the beekeeper a noninvasive view into the hive. HiveTool won the [https://www.youtube.com/watch?v=qsKHckMX0OU2015 2015 Bayer Bee Care Community Leadership Award].<br />
<br />
*Hivetool.org - Documentation, instructions, and a forum for discussions on how to set up a bioserver to monitor a bee hive.<br />
<br />
*[http://hivetool.net Hivetool.net] - Access the network of monitored hives: status, graphs, download data, view the video feeds.<br />
<br />
==HiveControl&trade; ==<br />
HiveControl is beekeeper friendly alternative software for use with HiveTool suite of software and hardware.<br />
HiveControl may be used standalone or in conjunction with HiveTool.<br><br />
Main Features:<br />
*Sensor Drivers work with HiveTool Sensor board<br />
*Data Acquisition & Database<br />
*Menu Driven Configuration Screens<br />
*Graphical Trends and Dashboard<br />
*Uploads data to HiveTool cloud<br />
*Video Bee Counter<br><br />
More can learned about HiveControl on [https://github.com/rcrum003/HiveControl Github]<br />
<br />
== Uses ==<br />
=== [[Hive Management]] ===<br />
[[File:Hive graph 20111006 small.gif|frameless|right|260px]]<br />
Knowing what is happening in the hive is crucial to proper hive management. By knowing the beginning, end, and quantity of nectar flows, bee keepers can determine when to add and remove supers, when to move hives and where to locate hives to maximize honey production. [[Hive_Management|Read More]]<br />
<br />
=== [[Climate and Land Use Research]] ===<br />
[[File:Athens LC V5.png|frameless|right|260x100px]]<br />
Plant/pollinator interaction is used to measure the performance of the environment, instead of the performance of individual hives.<br />
[[Climate and Land Use Research|Read More]]<br />
<br />
=== [[Education and Bee Science]] ===<br />
[[File:RGNS mites.jpg|frameless|right|260px]]<br />
A program to attract students to Science Technology Engineering Math (STEM). Bee science includes agriculture, biology, botany, chemistry, computing, food, industrial arts, math, physics, programming, statistics – in short, something for everyone. [[Education and Bee Science|Read More]]<br />
<br clear=all><br />
<br />
== [[Hardware]] ==<br />
===[[New Developer Kit]]===<br />
[[File:P1010016c.jpg|thumb|130px|Dev Kit PCB installed on a Pi 2.]]<br />
An early goal of Hivetool was to develop a $50 scale. A developers kit to get beta units in the field for testing,<br />
gather user feedback, and provide a platform to foster open source community development is available at cost <br />
plus a voluntary contribution ... [[New_Developer_Kit|Read More]]<br />
<br />
===[[Hardware|Commercial Sensors]]===<br />
A scale hive (or bioserver) consists of a computer (desktop, laptop, router, SBC/SOC such as [http://en.wikipedia.org/wiki/Raspberry_Pi Raspberry Pi]), which is used to record, display, and analyze data from sensors such as scales, thermometers, hygrometers, microphones, cameras, photocells and rain gage. Listed below are readily available, commercial, off the shelf products that are currently in use or undergoing development and testing. [[Hardware|Read More]]<br />
<br />
== [[Software: Overview]] ==<br />
[[File:Software flow diagram1a.png|thumb|right|200px]]<br />
For software installation instructions, see '''[[Software:_Overview|How to load hivetool on the Pi]].''' <br />
<br />
Hivetool can be used as a:<br />
# [http://en.wikipedia.org/wiki/Data_logger Data logger] that provides data acquisition and storage.<br />
# Bioserver that displays, streams, analyzes and visualizes the data in addition to data acquisition and storage.<br />
[[Software:_Image_Details|Details of how the image is created]]<br />
<br clear=all><br />
<br />
==[[Bee Counter]]==<br />
<br />
{| align="right" <br />
| [[File:Tracks.jpg|thumb|left|300px|Tracks]]<br />
| [[File:BeeTrack1 2a.png|thumb|left|300px|BeeCounter]]<br />
|}<br />
<br />
While a scale can reveal nectar flows, orientation flight and the general health of the hive, it doesn't answer all the questions.<br />
A bee counter using low cost off-the-shelf hardware is being designed and tested. [[Bee Counter|Read More.]]<br />
<br />
<br />
Two different approaches are shown, <br />
*[http://sonic.net/~goddard/home/bees/bees.html Tracks], a video based tracking software.<br />
*[[Bee_counter_software|BeeCounter]], based on openCV libraries.<br />
<br clear=all><br />
<br />
== [[How To]] ==<br />
User manual, construction plans, solar design, troubleshooting. [[How To|Read More]]<br />
<br />
== [[Hive Selection and Manipulation]] ==<br />
Guidelines from ''Protocol for Scale Hive Measurements of the Honey Bee Nectar Flow''. [[Hive Selection and Manipulation|Read More]]<br />
<br />
== [[Data Warehouse]] ==<br />
Since HiveTool&trade; is open source/open notebook, the entire primary record is publicly available online as it is recorded. Storing, organizing and providing access to the data is necessary. [[Data_Warehouse|Read More]]<br />
<br />
== [[Hivetool:About|About]] ==<br />
This open source project is comprised of beekeepers who work in electronics and information technology. Our goal is to produce software tools to monitor, manage and research bees and honey production. [[Hivetool:About|Read More]]<br />
<br />
== [[To Do]] ==<br />
Lots to do! Whether you are a web site developer, database administrator, or programmer, there is something for you. Look over the list below - [[To Do|Read More]]<br />
<br />
== [[Why]] ==<br />
Why put a computer in a hive? [[Why|Read More]]<br />
<br />
== Projects ==<br />
*[[South Carolina Hive Instrumentation Project]]<br />
*Bioacoustics<br />
*[[Bioserver]]<br />
*[http://hivetool.org/history History]<br />
<br />
== Site Index ==<br />
[[Special:AllPages|Site Index]]<br />
== Contact==<br />
For comments, questions, or suggestions, please send an email to info at this webite, hivetool.org.</div>Adrianhttp://wiki.hivetool.org/index.php?title=Software:_Install_Hivetool_Pi_image&diff=2798Software: Install Hivetool Pi image2016-10-02T16:33:39Z<p>Adrian: /* Summary */</p>
<hr />
<div>[[File:Image073 xrdp desktop 1024.jpg|thumb|right|500px|0.7.3 image on Window Remote Desktop.]]<br />
==Summary==<br />
'''This 9/29/16 image is a bootable compilation of Hivetool and HiveControl software for the Raspberry Pi.<br> <br />
It is based the Jessie 4.4.21 v7+ release of the Raspian distribution of the Linux operating system.'''<br />
*It is a large download (~3.6 Gig) and requires some patience to manipulate, in some cases hours.<br />
*When extracting use a 16 gig or larger micro SD card with 48 mbps Class 10 or better speed.<br />
<br />
==Download Image - Recommended for non-programmers==<br />
Link to HiveConTool installation instructions document [https://docs.google.com/document/d/1SmVETV5RiaVhpCcGcc2mgPQarYQu7jtdpTaK_200Aw4/edit?usp=sharing] and download compressed SD HiveConTool image from Google Shared Folder; [https://drive.google.com/open?id=0B8ZWirzPwqHfdGgtRS03RWY3T0E]<br><br />
<br />
Download HiveConTool_073b.zip; <br />
(3,656,677,501 bytes) zipped; Contains Raspian Jessie 4.4.21 v7+ Pi OS with Hivetool 073 and HiveControl 1.81 ready for expanding on an 16 Gig or larger micro SD card. <br />
Uncompressed MD5 Hash Chechsum 1fa33de383ca026188887aa2e6f54a16 <br><br />
''' https://drive.google.com/open?id=0B8ZWirzPwqHfYzlDamlDZ0hxSE0 '''<br><br />
<br />
==Verify MD5 sum==<br />
Verify download was complete and error free. Check file integrity to ensure an exact copy of the compressed image file.<br><br />
Calculate MD5 sum and make sure it matches: <br />
<br />
<br />
==Unzip==<br />
<br />
===Linux===<br />
unzip hivetool073.zip<br />
===Windows===<br />
With Windows explorer locate hivetool073.zip (usually in download directory).<br />
Right click on file to Extract to desired location<br />
<br />
==Copy image to micro SD card==<br />
'''Proceed with caution, an incorrect setting could corrupt your PC or attached storage. REMOVE any other USB memory devices from your computer.'''<br><br />
<br />
===Linux===<br />
Detailed instructions:<br />
http://elinux.org/RPi_Easy_SD_Card_Setup#Flashing_the_SD_Card_using_Linux_.28including_on_a_Pi.21.29<br />
# REMOVE any other USB memory devices from your computer.<br />
# Determine the device for the card reader <br />
##/dev/mmcblk0 for the built in reader on my laptop.<br />
##/dev/sdb for a USB card reader<br />
# Copy the image to the SD card:<br />
dd bs=4M if=hivetool073.img of=/dev/sdb<br />
<br />
===Windows===<br />
raspberrypi.org recommends using:<br />
http://sourceforge.net/projects/win32diskimager/ <br><br />
Detailed instructions: http://elinux.org/RPi_Easy_SD_Card_Setup#Flashing_the_SD_Card_using_Windows<br />
<br />
#REMOVE any other USB memory devices from your computer.<br />
#Plug micro SD Card in adapter, confirm device letter using Windows Explorer.<br />
#Start Win32DiskImager<br />
#Browse to source file (image in downloads directory)<br />
#Make absolutely sure the drive letter (destination) to right of source file is the SD card<br />
#Check MD5 hash (TBD) this takes a few minutes<br />
#Click on Write, this takes a few more minutes<br />
#Confirm successful write then exit<br />
#The SD card image is called "boot" 25 files now visible in Windows explorer<br />
#Windows will report 40 megabytes free space on the SD card<br />
You are now ready to eject micro SD card and place into the Pi<br />
<br />
==Setup Pi Operating System==<br />
<br />
#Install micro SD card into bare Pi, power up with Ethernet or for (non windows use local terminal)<br />
#If using Ethernet determine IP address by viewing latest entry in access point<br />
#Identify IP in the DHCP table named "raspberrypi"<br />
<br />
===Windows===<br />
#On a Windows PC setup a new remote desktop connection (RDP), enter target IP address of Pi<br />
#If the Pi is found you will be prompted to enter the default user "pi" and password "raspberry"<br />
#Leave the default module as "sesmon-Xvnc"<br />
#Once connected you will see the Pi desktop, Menu to "preferences"sub "raspberry pi configuration"<br />
#Under menu "system tab" "expand file system", then OK then reboot from main menu last item<br />
#Reestablish remote desktop connection using saved RDP Windows settings, login to desktop<br />
#Under menu "localisation" tab set your timezone Local, Language preferences<br />
#Under menu "system tab", Change default Password and the Hostname to match a hive name to be monitored, Ok to save & reboot<br />
#Under menu "system tab" the remaining settings should be default unless a Pi camera is attached<br />
# Open a Terminal Window, at command prompt run; "sudo apt-get update", also "sudo apt-get upgrade" to get latest patches<br />
#Plug in WiFi dongle, configure WiFi authentication on desktop, top RH corner, dual monitors icon<br />
#If WiFi connects, a signal strength indicator will replace the monitors icon, it will be necessary to enter the security key<br />
<br />
'''You are now ready to configure Hivetool. http://hivetool.org/w/index.php?title=Configure_Hivetool'''</div>Adrianhttp://wiki.hivetool.org/index.php?title=Software:_Install_Hivetool_Pi_image&diff=2797Software: Install Hivetool Pi image2016-10-02T16:24:10Z<p>Adrian: /* Download Image */</p>
<hr />
<div>[[File:Image073 xrdp desktop 1024.jpg|thumb|right|500px|0.7.3 image on Window Remote Desktop.]]<br />
==Summary==<br />
'''This 9/29/16 image is a bootable compilation of Hivetool software for the Raspberry Pi. It is based the Jessie 4.4.13 v7+ release of the Raspian distribution of the Linux operating system.'''<br />
*It is a large download (~3.6 Gig) and requires some patience to manipulate, in some cases hours.<br />
*When extracting use an 16 gig or larger micro SD card with 48 mbps Class 10 or better speed.<br />
<br />
==Download Image - Recommended for non-programmers==<br />
Link to HiveConTool installation instructions document [https://docs.google.com/document/d/1SmVETV5RiaVhpCcGcc2mgPQarYQu7jtdpTaK_200Aw4/edit?usp=sharing] and download compressed SD HiveConTool image from Google Shared Folder; [https://drive.google.com/open?id=0B8ZWirzPwqHfdGgtRS03RWY3T0E]<br><br />
<br />
Download HiveConTool_073b.zip; <br />
(3,656,677,501 bytes) zipped; Contains Raspian Jessie 4.4.21 v7+ Pi OS with Hivetool 073 and HiveControl 1.81 ready for expanding on an 16 Gig or larger micro SD card. <br />
Uncompressed MD5 Hash Chechsum 1fa33de383ca026188887aa2e6f54a16 <br><br />
''' https://drive.google.com/open?id=0B8ZWirzPwqHfYzlDamlDZ0hxSE0 '''<br><br />
<br />
==Verify MD5 sum==<br />
Verify download was complete and error free. Check file integrity to ensure an exact copy of the compressed image file.<br><br />
Calculate MD5 sum and make sure it matches: <br />
<br />
<br />
==Unzip==<br />
<br />
===Linux===<br />
unzip hivetool073.zip<br />
===Windows===<br />
With Windows explorer locate hivetool073.zip (usually in download directory).<br />
Right click on file to Extract to desired location<br />
<br />
==Copy image to micro SD card==<br />
'''Proceed with caution, an incorrect setting could corrupt your PC or attached storage. REMOVE any other USB memory devices from your computer.'''<br><br />
<br />
===Linux===<br />
Detailed instructions:<br />
http://elinux.org/RPi_Easy_SD_Card_Setup#Flashing_the_SD_Card_using_Linux_.28including_on_a_Pi.21.29<br />
# REMOVE any other USB memory devices from your computer.<br />
# Determine the device for the card reader <br />
##/dev/mmcblk0 for the built in reader on my laptop.<br />
##/dev/sdb for a USB card reader<br />
# Copy the image to the SD card:<br />
dd bs=4M if=hivetool073.img of=/dev/sdb<br />
<br />
===Windows===<br />
raspberrypi.org recommends using:<br />
http://sourceforge.net/projects/win32diskimager/ <br><br />
Detailed instructions: http://elinux.org/RPi_Easy_SD_Card_Setup#Flashing_the_SD_Card_using_Windows<br />
<br />
#REMOVE any other USB memory devices from your computer.<br />
#Plug micro SD Card in adapter, confirm device letter using Windows Explorer.<br />
#Start Win32DiskImager<br />
#Browse to source file (image in downloads directory)<br />
#Make absolutely sure the drive letter (destination) to right of source file is the SD card<br />
#Check MD5 hash (TBD) this takes a few minutes<br />
#Click on Write, this takes a few more minutes<br />
#Confirm successful write then exit<br />
#The SD card image is called "boot" 25 files now visible in Windows explorer<br />
#Windows will report 40 megabytes free space on the SD card<br />
You are now ready to eject micro SD card and place into the Pi<br />
<br />
==Setup Pi Operating System==<br />
<br />
#Install micro SD card into bare Pi, power up with Ethernet or for (non windows use local terminal)<br />
#If using Ethernet determine IP address by viewing latest entry in access point<br />
#Identify IP in the DHCP table named "raspberrypi"<br />
<br />
===Windows===<br />
#On a Windows PC setup a new remote desktop connection (RDP), enter target IP address of Pi<br />
#If the Pi is found you will be prompted to enter the default user "pi" and password "raspberry"<br />
#Leave the default module as "sesmon-Xvnc"<br />
#Once connected you will see the Pi desktop, Menu to "preferences"sub "raspberry pi configuration"<br />
#Under menu "system tab" "expand file system", then OK then reboot from main menu last item<br />
#Reestablish remote desktop connection using saved RDP Windows settings, login to desktop<br />
#Under menu "localisation" tab set your timezone Local, Language preferences<br />
#Under menu "system tab", Change default Password and the Hostname to match a hive name to be monitored, Ok to save & reboot<br />
#Under menu "system tab" the remaining settings should be default unless a Pi camera is attached<br />
# Open a Terminal Window, at command prompt run; "sudo apt-get update", also "sudo apt-get upgrade" to get latest patches<br />
#Plug in WiFi dongle, configure WiFi authentication on desktop, top RH corner, dual monitors icon<br />
#If WiFi connects, a signal strength indicator will replace the monitors icon, it will be necessary to enter the security key<br />
<br />
'''You are now ready to configure Hivetool. http://hivetool.org/w/index.php?title=Configure_Hivetool'''</div>Adrianhttp://wiki.hivetool.org/index.php?title=Software:_Install_Hivetool_Pi_image&diff=2796Software: Install Hivetool Pi image2016-10-02T16:06:17Z<p>Adrian: /* Windows */</p>
<hr />
<div>[[File:Image073 xrdp desktop 1024.jpg|thumb|right|500px|0.7.3 image on Window Remote Desktop.]]<br />
==Summary==<br />
'''This 9/29/16 image is a bootable compilation of Hivetool software for the Raspberry Pi. It is based the Jessie 4.4.13 v7+ release of the Raspian distribution of the Linux operating system.'''<br />
*It is a large download (~3.6 Gig) and requires some patience to manipulate, in some cases hours.<br />
*When extracting use an 16 gig or larger micro SD card with 48 mbps Class 10 or better speed.<br />
<br />
==Download Image==<br />
Folder link to instructions and download from Google Shared Folder: '''https://drive.google.com/open?id=0B8ZWirzPwqHfdGgtRS03RWY3T0E'''<br><br />
<br />
Download HiveConTool_073b.zip; <br />
(3,656,677,501 bytes) zipped; Contains Raspian Jessie 4.4.21 v7+ Pi OS with Hivetool 073 and HiveControl 1.81 ready for expanding on an 16 Gig or larger micro SD card. <br />
MD5 Hash Chechsum 1fa33de383ca026188887aa2e6f54a16 <br><br />
''' https://drive.google.com/open?id=0B8ZWirzPwqHfYzlDamlDZ0hxSE0 '''<br><br />
<br />
==Verify MD5 sum==<br />
Verify download was complete and error free. Check file integrity to ensure an exact copy of the compressed image file.<br><br />
Calculate MD5 sum and make sure it matches: <br />
<br />
<br />
==Unzip==<br />
<br />
===Linux===<br />
unzip hivetool073.zip<br />
===Windows===<br />
With Windows explorer locate hivetool073.zip (usually in download directory).<br />
Right click on file to Extract to desired location<br />
<br />
==Copy image to micro SD card==<br />
'''Proceed with caution, an incorrect setting could corrupt your PC or attached storage. REMOVE any other USB memory devices from your computer.'''<br><br />
<br />
===Linux===<br />
Detailed instructions:<br />
http://elinux.org/RPi_Easy_SD_Card_Setup#Flashing_the_SD_Card_using_Linux_.28including_on_a_Pi.21.29<br />
# REMOVE any other USB memory devices from your computer.<br />
# Determine the device for the card reader <br />
##/dev/mmcblk0 for the built in reader on my laptop.<br />
##/dev/sdb for a USB card reader<br />
# Copy the image to the SD card:<br />
dd bs=4M if=hivetool073.img of=/dev/sdb<br />
<br />
===Windows===<br />
raspberrypi.org recommends using:<br />
http://sourceforge.net/projects/win32diskimager/ <br><br />
Detailed instructions: http://elinux.org/RPi_Easy_SD_Card_Setup#Flashing_the_SD_Card_using_Windows<br />
<br />
#REMOVE any other USB memory devices from your computer.<br />
#Plug micro SD Card in adapter, confirm device letter using Windows Explorer.<br />
#Start Win32DiskImager<br />
#Browse to source file (image in downloads directory)<br />
#Make absolutely sure the drive letter (destination) to right of source file is the SD card<br />
#Check MD5 hash (TBD) this takes a few minutes<br />
#Click on Write, this takes a few more minutes<br />
#Confirm successful write then exit<br />
#The SD card image is called "boot" 25 files now visible in Windows explorer<br />
#Windows will report 40 megabytes free space on the SD card<br />
You are now ready to eject micro SD card and place into the Pi<br />
<br />
==Setup Pi Operating System==<br />
<br />
#Install micro SD card into bare Pi, power up with Ethernet or for (non windows use local terminal)<br />
#If using Ethernet determine IP address by viewing latest entry in access point<br />
#Identify IP in the DHCP table named "raspberrypi"<br />
<br />
===Windows===<br />
#On a Windows PC setup a new remote desktop connection (RDP), enter target IP address of Pi<br />
#If the Pi is found you will be prompted to enter the default user "pi" and password "raspberry"<br />
#Leave the default module as "sesmon-Xvnc"<br />
#Once connected you will see the Pi desktop, Menu to "preferences"sub "raspberry pi configuration"<br />
#Under menu "system tab" "expand file system", then OK then reboot from main menu last item<br />
#Reestablish remote desktop connection using saved RDP Windows settings, login to desktop<br />
#Under menu "localisation" tab set your timezone Local, Language preferences<br />
#Under menu "system tab", Change default Password and the Hostname to match a hive name to be monitored, Ok to save & reboot<br />
#Under menu "system tab" the remaining settings should be default unless a Pi camera is attached<br />
# Open a Terminal Window, at command prompt run; "sudo apt-get update", also "sudo apt-get upgrade" to get latest patches<br />
#Plug in WiFi dongle, configure WiFi authentication on desktop, top RH corner, dual monitors icon<br />
#If WiFi connects, a signal strength indicator will replace the monitors icon, it will be necessary to enter the security key<br />
<br />
'''You are now ready to configure Hivetool. http://hivetool.org/w/index.php?title=Configure_Hivetool'''</div>Adrianhttp://wiki.hivetool.org/index.php?title=Software:_Install_Hivetool_Pi_image&diff=2795Software: Install Hivetool Pi image2016-09-30T13:19:14Z<p>Adrian: /* Summary */</p>
<hr />
<div>[[File:Image073 xrdp desktop 1024.jpg|thumb|right|500px|0.7.3 image on Window Remote Desktop.]]<br />
==Summary==<br />
'''This 9/29/16 image is a bootable compilation of Hivetool software for the Raspberry Pi. It is based the Jessie 4.4.13 v7+ release of the Raspian distribution of the Linux operating system.'''<br />
*It is a large download (~3.6 Gig) and requires some patience to manipulate, in some cases hours.<br />
*When extracting use an 16 gig or larger micro SD card with 48 mbps Class 10 or better speed.<br />
<br />
==Download Image==<br />
Folder link to instructions and download from Google Shared Folder: '''https://drive.google.com/open?id=0B8ZWirzPwqHfdGgtRS03RWY3T0E'''<br><br />
<br />
Download HiveConTool_073b.zip; <br />
(3,656,677,501 bytes) zipped; Contains Raspian Jessie 4.4.21 v7+ Pi OS with Hivetool 073 and HiveControl 1.81 ready for expanding on an 16 Gig or larger micro SD card. <br />
MD5 Hash Chechsum 1fa33de383ca026188887aa2e6f54a16 <br><br />
''' https://drive.google.com/open?id=0B8ZWirzPwqHfYzlDamlDZ0hxSE0 '''<br><br />
<br />
==Verify MD5 sum==<br />
Verify download was complete and error free. Check file integrity to ensure an exact copy of the compressed image file.<br><br />
Calculate MD5 sum and make sure it matches: <br />
<br />
<br />
===Windows===<br />
<br />
==Unzip==<br />
<br />
===Linux===<br />
unzip hivetool073.zip<br />
===Windows===<br />
With Windows explorer locate hivetool073.zip (usually in download directory).<br />
Right click on file to Extract to desired location<br />
<br />
==Copy image to micro SD card==<br />
'''Proceed with caution, an incorrect setting could corrupt your PC or attached storage. REMOVE any other USB memory devices from your computer.'''<br><br />
<br />
===Linux===<br />
Detailed instructions:<br />
http://elinux.org/RPi_Easy_SD_Card_Setup#Flashing_the_SD_Card_using_Linux_.28including_on_a_Pi.21.29<br />
# REMOVE any other USB memory devices from your computer.<br />
# Determine the device for the card reader <br />
##/dev/mmcblk0 for the built in reader on my laptop.<br />
##/dev/sdb for a USB card reader<br />
# Copy the image to the SD card:<br />
dd bs=4M if=hivetool073.img of=/dev/sdb<br />
<br />
===Windows===<br />
raspberrypi.org recommends using:<br />
http://sourceforge.net/projects/win32diskimager/ <br><br />
Detailed instructions: http://elinux.org/RPi_Easy_SD_Card_Setup#Flashing_the_SD_Card_using_Windows<br />
<br />
#REMOVE any other USB memory devices from your computer.<br />
#Plug micro SD Card in adapter, confirm device letter using Windows Explorer.<br />
#Start Win32DiskImager<br />
#Browse to source file (image in downloads directory)<br />
#Make absolutely sure the drive letter (destination) to right of source file is the SD card<br />
#Check MD5 hash (TBD) this takes a few minutes<br />
#Click on Write, this takes a few more minutes<br />
#Confirm successful write then exit<br />
#The SD card image is called "boot" 25 files now visible in Windows explorer<br />
#Windows will report 40 megabytes free space on the SD card<br />
You are now ready to eject micro SD card and place into the Pi<br />
<br />
==Setup Pi Operating System==<br />
<br />
#Install micro SD card into bare Pi, power up with Ethernet or for (non windows use local terminal)<br />
#If using Ethernet determine IP address by viewing latest entry in access point<br />
#Identify IP in the DHCP table named "raspberrypi"<br />
<br />
===Windows===<br />
#On a Windows PC setup a new remote desktop connection (RDP), enter target IP address of Pi<br />
#If the Pi is found you will be prompted to enter the default user "pi" and password "raspberry"<br />
#Leave the default module as "sesmon-Xvnc"<br />
#Once connected you will see the Pi desktop, Menu to "preferences"sub "raspberry pi configuration"<br />
#Under menu "system tab" "expand file system", then OK then reboot from main menu last item<br />
#Reestablish remote desktop connection using saved RDP Windows settings, login to desktop<br />
#Under menu "localisation" tab set your timezone Local, Language preferences<br />
#Under menu "system tab", Change default Password and the Hostname to match a hive name to be monitored, Ok to save & reboot<br />
#Under menu "system tab" the remaining settings should be default unless a Pi camera is attached<br />
# Open a Terminal Window, at command prompt run; "sudo apt-get update", also "sudo apt-get upgrade" to get latest patches<br />
#Plug in WiFi dongle, configure WiFi authentication on desktop, top RH corner, dual monitors icon<br />
#If WiFi connects, a signal strength indicator will replace the monitors icon, it will be necessary to enter the security key<br />
<br />
'''You are now ready to configure Hivetool. http://hivetool.org/w/index.php?title=Configure_Hivetool'''</div>Adrianhttp://wiki.hivetool.org/index.php?title=Software:_Install_Hivetool_Pi_image&diff=2794Software: Install Hivetool Pi image2016-09-30T13:17:04Z<p>Adrian: /* Summary */</p>
<hr />
<div>[[File:Image073 xrdp desktop 1024.jpg|thumb|right|500px|0.7.3 image on Window Remote Desktop.]]<br />
==Summary==<br />
'''This image is a bootable compilation of Hivetool software for the Raspberry Pi. It is based the Jessie 4.4.13 v7+ release of the Raspian distribution of the Linux operating system.'''<br />
*It is a large download (~3.6 Gig) and requires some patience to manipulate, in some cases hours.<br />
*When extracting use an 16 gig or larger micro SD card with 48 mbps Class 10 or better speed.<br />
<br />
==Download Image==<br />
Folder link to instructions and download from Google Shared Folder: '''https://drive.google.com/open?id=0B8ZWirzPwqHfdGgtRS03RWY3T0E'''<br><br />
<br />
Download HiveConTool_073b.zip; <br />
(3,656,677,501 bytes) zipped; Contains Raspian Jessie 4.4.21 v7+ Pi OS with Hivetool 073 and HiveControl 1.81 ready for expanding on an 16 Gig or larger micro SD card. <br />
MD5 Hash Chechsum 1fa33de383ca026188887aa2e6f54a16 <br><br />
''' https://drive.google.com/open?id=0B8ZWirzPwqHfYzlDamlDZ0hxSE0 '''<br><br />
<br />
==Verify MD5 sum==<br />
Verify download was complete and error free. Check file integrity to ensure an exact copy of the compressed image file.<br><br />
Calculate MD5 sum and make sure it matches: <br />
<br />
<br />
===Windows===<br />
<br />
==Unzip==<br />
<br />
===Linux===<br />
unzip hivetool073.zip<br />
===Windows===<br />
With Windows explorer locate hivetool073.zip (usually in download directory).<br />
Right click on file to Extract to desired location<br />
<br />
==Copy image to micro SD card==<br />
'''Proceed with caution, an incorrect setting could corrupt your PC or attached storage. REMOVE any other USB memory devices from your computer.'''<br><br />
<br />
===Linux===<br />
Detailed instructions:<br />
http://elinux.org/RPi_Easy_SD_Card_Setup#Flashing_the_SD_Card_using_Linux_.28including_on_a_Pi.21.29<br />
# REMOVE any other USB memory devices from your computer.<br />
# Determine the device for the card reader <br />
##/dev/mmcblk0 for the built in reader on my laptop.<br />
##/dev/sdb for a USB card reader<br />
# Copy the image to the SD card:<br />
dd bs=4M if=hivetool073.img of=/dev/sdb<br />
<br />
===Windows===<br />
raspberrypi.org recommends using:<br />
http://sourceforge.net/projects/win32diskimager/ <br><br />
Detailed instructions: http://elinux.org/RPi_Easy_SD_Card_Setup#Flashing_the_SD_Card_using_Windows<br />
<br />
#REMOVE any other USB memory devices from your computer.<br />
#Plug micro SD Card in adapter, confirm device letter using Windows Explorer.<br />
#Start Win32DiskImager<br />
#Browse to source file (image in downloads directory)<br />
#Make absolutely sure the drive letter (destination) to right of source file is the SD card<br />
#Check MD5 hash (TBD) this takes a few minutes<br />
#Click on Write, this takes a few more minutes<br />
#Confirm successful write then exit<br />
#The SD card image is called "boot" 25 files now visible in Windows explorer<br />
#Windows will report 40 megabytes free space on the SD card<br />
You are now ready to eject micro SD card and place into the Pi<br />
<br />
==Setup Pi Operating System==<br />
<br />
#Install micro SD card into bare Pi, power up with Ethernet or for (non windows use local terminal)<br />
#If using Ethernet determine IP address by viewing latest entry in access point<br />
#Identify IP in the DHCP table named "raspberrypi"<br />
<br />
===Windows===<br />
#On a Windows PC setup a new remote desktop connection (RDP), enter target IP address of Pi<br />
#If the Pi is found you will be prompted to enter the default user "pi" and password "raspberry"<br />
#Leave the default module as "sesmon-Xvnc"<br />
#Once connected you will see the Pi desktop, Menu to "preferences"sub "raspberry pi configuration"<br />
#Under menu "system tab" "expand file system", then OK then reboot from main menu last item<br />
#Reestablish remote desktop connection using saved RDP Windows settings, login to desktop<br />
#Under menu "localisation" tab set your timezone Local, Language preferences<br />
#Under menu "system tab", Change default Password and the Hostname to match a hive name to be monitored, Ok to save & reboot<br />
#Under menu "system tab" the remaining settings should be default unless a Pi camera is attached<br />
# Open a Terminal Window, at command prompt run; "sudo apt-get update", also "sudo apt-get upgrade" to get latest patches<br />
#Plug in WiFi dongle, configure WiFi authentication on desktop, top RH corner, dual monitors icon<br />
#If WiFi connects, a signal strength indicator will replace the monitors icon, it will be necessary to enter the security key<br />
<br />
'''You are now ready to configure Hivetool. http://hivetool.org/w/index.php?title=Configure_Hivetool'''</div>Adrianhttp://wiki.hivetool.org/index.php?title=Software:_Install_Hivetool_Pi_image&diff=2793Software: Install Hivetool Pi image2016-09-30T13:16:05Z<p>Adrian: /* Download Image */</p>
<hr />
<div>[[File:Image073 xrdp desktop 1024.jpg|thumb|right|500px|0.7.3 image on Window Remote Desktop.]]<br />
==Summary==<br />
'''This image is a bootable compilation of Hivetool software for the Raspberry Pi. It is based the Jessie 4.4.13 v7+ release of the Raspian distribution of the Linux operating system.'''<br />
*It is a large download (~2 Gig) and requires some patience to manipulate.<br />
*When extracting use an 16 gig or larger micro SD card with 48 mbps Class 10 or better speed.<br />
<br />
==Download Image==<br />
Folder link to instructions and download from Google Shared Folder: '''https://drive.google.com/open?id=0B8ZWirzPwqHfdGgtRS03RWY3T0E'''<br><br />
<br />
Download HiveConTool_073b.zip; <br />
(3,656,677,501 bytes) zipped; Contains Raspian Jessie 4.4.21 v7+ Pi OS with Hivetool 073 and HiveControl 1.81 ready for expanding on an 16 Gig or larger micro SD card. <br />
MD5 Hash Chechsum 1fa33de383ca026188887aa2e6f54a16 <br><br />
''' https://drive.google.com/open?id=0B8ZWirzPwqHfYzlDamlDZ0hxSE0 '''<br><br />
<br />
==Verify MD5 sum==<br />
Verify download was complete and error free. Check file integrity to ensure an exact copy of the compressed image file.<br><br />
Calculate MD5 sum and make sure it matches: <br />
<br />
<br />
===Windows===<br />
<br />
==Unzip==<br />
<br />
===Linux===<br />
unzip hivetool073.zip<br />
===Windows===<br />
With Windows explorer locate hivetool073.zip (usually in download directory).<br />
Right click on file to Extract to desired location<br />
<br />
==Copy image to micro SD card==<br />
'''Proceed with caution, an incorrect setting could corrupt your PC or attached storage. REMOVE any other USB memory devices from your computer.'''<br><br />
<br />
===Linux===<br />
Detailed instructions:<br />
http://elinux.org/RPi_Easy_SD_Card_Setup#Flashing_the_SD_Card_using_Linux_.28including_on_a_Pi.21.29<br />
# REMOVE any other USB memory devices from your computer.<br />
# Determine the device for the card reader <br />
##/dev/mmcblk0 for the built in reader on my laptop.<br />
##/dev/sdb for a USB card reader<br />
# Copy the image to the SD card:<br />
dd bs=4M if=hivetool073.img of=/dev/sdb<br />
<br />
===Windows===<br />
raspberrypi.org recommends using:<br />
http://sourceforge.net/projects/win32diskimager/ <br><br />
Detailed instructions: http://elinux.org/RPi_Easy_SD_Card_Setup#Flashing_the_SD_Card_using_Windows<br />
<br />
#REMOVE any other USB memory devices from your computer.<br />
#Plug micro SD Card in adapter, confirm device letter using Windows Explorer.<br />
#Start Win32DiskImager<br />
#Browse to source file (image in downloads directory)<br />
#Make absolutely sure the drive letter (destination) to right of source file is the SD card<br />
#Check MD5 hash (TBD) this takes a few minutes<br />
#Click on Write, this takes a few more minutes<br />
#Confirm successful write then exit<br />
#The SD card image is called "boot" 25 files now visible in Windows explorer<br />
#Windows will report 40 megabytes free space on the SD card<br />
You are now ready to eject micro SD card and place into the Pi<br />
<br />
==Setup Pi Operating System==<br />
<br />
#Install micro SD card into bare Pi, power up with Ethernet or for (non windows use local terminal)<br />
#If using Ethernet determine IP address by viewing latest entry in access point<br />
#Identify IP in the DHCP table named "raspberrypi"<br />
<br />
===Windows===<br />
#On a Windows PC setup a new remote desktop connection (RDP), enter target IP address of Pi<br />
#If the Pi is found you will be prompted to enter the default user "pi" and password "raspberry"<br />
#Leave the default module as "sesmon-Xvnc"<br />
#Once connected you will see the Pi desktop, Menu to "preferences"sub "raspberry pi configuration"<br />
#Under menu "system tab" "expand file system", then OK then reboot from main menu last item<br />
#Reestablish remote desktop connection using saved RDP Windows settings, login to desktop<br />
#Under menu "localisation" tab set your timezone Local, Language preferences<br />
#Under menu "system tab", Change default Password and the Hostname to match a hive name to be monitored, Ok to save & reboot<br />
#Under menu "system tab" the remaining settings should be default unless a Pi camera is attached<br />
# Open a Terminal Window, at command prompt run; "sudo apt-get update", also "sudo apt-get upgrade" to get latest patches<br />
#Plug in WiFi dongle, configure WiFi authentication on desktop, top RH corner, dual monitors icon<br />
#If WiFi connects, a signal strength indicator will replace the monitors icon, it will be necessary to enter the security key<br />
<br />
'''You are now ready to configure Hivetool. http://hivetool.org/w/index.php?title=Configure_Hivetool'''</div>Adrianhttp://wiki.hivetool.org/index.php?title=Software:_Install_Hivetool_Pi_image&diff=2792Software: Install Hivetool Pi image2016-09-30T07:12:29Z<p>Adrian: /* Download Image */</p>
<hr />
<div>[[File:Image073 xrdp desktop 1024.jpg|thumb|right|500px|0.7.3 image on Window Remote Desktop.]]<br />
==Summary==<br />
'''This image is a bootable compilation of Hivetool software for the Raspberry Pi. It is based the Jessie 4.4.13 v7+ release of the Raspian distribution of the Linux operating system.'''<br />
*It is a large download (~2 Gig) and requires some patience to manipulate.<br />
*When extracting use an 16 gig or larger micro SD card with 48 mbps Class 10 or better speed.<br />
<br />
==Download Image==<br />
Folder link to instructions and download from Google Shared Folder: '''https://drive.google.com/open?id=0B8ZWirzPwqHfdGgtRS03RWY3T0E'''<br><br />
<br />
Download HiveConTool; <br />
(TBD bytes) zipped; Raspian Jessie 4.4.21 v7+ Pi OS with Hivetool 073 and HiveControl 1.81 ready for expanding on an 16 Gig or larger micro SD card. <br />
MD5 Hash Chechsum 1fa33de383ca026188887aa2e6f54a16<br />
''' Upload Pending '''<br><br />
<br />
==Verify MD5 sum==<br />
Verify download was complete and error free. Check file integrity to ensure an exact copy of the compressed image file.<br><br />
Calculate MD5 sum and make sure it matches: <br />
<br />
<br />
===Windows===<br />
<br />
==Unzip==<br />
<br />
===Linux===<br />
unzip hivetool073.zip<br />
===Windows===<br />
With Windows explorer locate hivetool073.zip (usually in download directory).<br />
Right click on file to Extract to desired location<br />
<br />
==Copy image to micro SD card==<br />
'''Proceed with caution, an incorrect setting could corrupt your PC or attached storage. REMOVE any other USB memory devices from your computer.'''<br><br />
<br />
===Linux===<br />
Detailed instructions:<br />
http://elinux.org/RPi_Easy_SD_Card_Setup#Flashing_the_SD_Card_using_Linux_.28including_on_a_Pi.21.29<br />
# REMOVE any other USB memory devices from your computer.<br />
# Determine the device for the card reader <br />
##/dev/mmcblk0 for the built in reader on my laptop.<br />
##/dev/sdb for a USB card reader<br />
# Copy the image to the SD card:<br />
dd bs=4M if=hivetool073.img of=/dev/sdb<br />
<br />
===Windows===<br />
raspberrypi.org recommends using:<br />
http://sourceforge.net/projects/win32diskimager/ <br><br />
Detailed instructions: http://elinux.org/RPi_Easy_SD_Card_Setup#Flashing_the_SD_Card_using_Windows<br />
<br />
#REMOVE any other USB memory devices from your computer.<br />
#Plug micro SD Card in adapter, confirm device letter using Windows Explorer.<br />
#Start Win32DiskImager<br />
#Browse to source file (image in downloads directory)<br />
#Make absolutely sure the drive letter (destination) to right of source file is the SD card<br />
#Check MD5 hash (TBD) this takes a few minutes<br />
#Click on Write, this takes a few more minutes<br />
#Confirm successful write then exit<br />
#The SD card image is called "boot" 25 files now visible in Windows explorer<br />
#Windows will report 40 megabytes free space on the SD card<br />
You are now ready to eject micro SD card and place into the Pi<br />
<br />
==Setup Pi Operating System==<br />
<br />
#Install micro SD card into bare Pi, power up with Ethernet or for (non windows use local terminal)<br />
#If using Ethernet determine IP address by viewing latest entry in access point<br />
#Identify IP in the DHCP table named "raspberrypi"<br />
<br />
===Windows===<br />
#On a Windows PC setup a new remote desktop connection (RDP), enter target IP address of Pi<br />
#If the Pi is found you will be prompted to enter the default user "pi" and password "raspberry"<br />
#Leave the default module as "sesmon-Xvnc"<br />
#Once connected you will see the Pi desktop, Menu to "preferences"sub "raspberry pi configuration"<br />
#Under menu "system tab" "expand file system", then OK then reboot from main menu last item<br />
#Reestablish remote desktop connection using saved RDP Windows settings, login to desktop<br />
#Under menu "localisation" tab set your timezone Local, Language preferences<br />
#Under menu "system tab", Change default Password and the Hostname to match a hive name to be monitored, Ok to save & reboot<br />
#Under menu "system tab" the remaining settings should be default unless a Pi camera is attached<br />
# Open a Terminal Window, at command prompt run; "sudo apt-get update", also "sudo apt-get upgrade" to get latest patches<br />
#Plug in WiFi dongle, configure WiFi authentication on desktop, top RH corner, dual monitors icon<br />
#If WiFi connects, a signal strength indicator will replace the monitors icon, it will be necessary to enter the security key<br />
<br />
'''You are now ready to configure Hivetool. http://hivetool.org/w/index.php?title=Configure_Hivetool'''</div>Adrianhttp://wiki.hivetool.org/index.php?title=Software:_Install_Hivetool_Pi_image&diff=2791Software: Install Hivetool Pi image2016-09-30T07:11:37Z<p>Adrian: /* Windows */</p>
<hr />
<div>[[File:Image073 xrdp desktop 1024.jpg|thumb|right|500px|0.7.3 image on Window Remote Desktop.]]<br />
==Summary==<br />
'''This image is a bootable compilation of Hivetool software for the Raspberry Pi. It is based the Jessie 4.4.13 v7+ release of the Raspian distribution of the Linux operating system.'''<br />
*It is a large download (~2 Gig) and requires some patience to manipulate.<br />
*When extracting use an 16 gig or larger micro SD card with 48 mbps Class 10 or better speed.<br />
<br />
==Download Image==<br />
Folder link to instructions and download from Google Shared Folder: '''https://drive.google.com/open?id=0B8ZWirzPwqHfdGgtRS03RWY3T0E'''<br><br />
<br />
Download HiveConTool; <br />
(TBD bytes) zipped; Raspian Jessie 4.4.21 v7+ Pi OS with Hivetool 073 and HiveControl 1.81 ready for expanding on an 8 Gig or larger micro SD card. <br />
MD5 Hash Chechsum 1fa33de383ca026188887aa2e6f54a16<br />
''' Upload Pending '''<br><br />
<br />
==Verify MD5 sum==<br />
Verify download was complete and error free. Check file integrity to ensure an exact copy of the compressed image file.<br><br />
Calculate MD5 sum and make sure it matches: <br />
<br />
<br />
===Windows===<br />
<br />
==Unzip==<br />
<br />
===Linux===<br />
unzip hivetool073.zip<br />
===Windows===<br />
With Windows explorer locate hivetool073.zip (usually in download directory).<br />
Right click on file to Extract to desired location<br />
<br />
==Copy image to micro SD card==<br />
'''Proceed with caution, an incorrect setting could corrupt your PC or attached storage. REMOVE any other USB memory devices from your computer.'''<br><br />
<br />
===Linux===<br />
Detailed instructions:<br />
http://elinux.org/RPi_Easy_SD_Card_Setup#Flashing_the_SD_Card_using_Linux_.28including_on_a_Pi.21.29<br />
# REMOVE any other USB memory devices from your computer.<br />
# Determine the device for the card reader <br />
##/dev/mmcblk0 for the built in reader on my laptop.<br />
##/dev/sdb for a USB card reader<br />
# Copy the image to the SD card:<br />
dd bs=4M if=hivetool073.img of=/dev/sdb<br />
<br />
===Windows===<br />
raspberrypi.org recommends using:<br />
http://sourceforge.net/projects/win32diskimager/ <br><br />
Detailed instructions: http://elinux.org/RPi_Easy_SD_Card_Setup#Flashing_the_SD_Card_using_Windows<br />
<br />
#REMOVE any other USB memory devices from your computer.<br />
#Plug micro SD Card in adapter, confirm device letter using Windows Explorer.<br />
#Start Win32DiskImager<br />
#Browse to source file (image in downloads directory)<br />
#Make absolutely sure the drive letter (destination) to right of source file is the SD card<br />
#Check MD5 hash (TBD) this takes a few minutes<br />
#Click on Write, this takes a few more minutes<br />
#Confirm successful write then exit<br />
#The SD card image is called "boot" 25 files now visible in Windows explorer<br />
#Windows will report 40 megabytes free space on the SD card<br />
You are now ready to eject micro SD card and place into the Pi<br />
<br />
==Setup Pi Operating System==<br />
<br />
#Install micro SD card into bare Pi, power up with Ethernet or for (non windows use local terminal)<br />
#If using Ethernet determine IP address by viewing latest entry in access point<br />
#Identify IP in the DHCP table named "raspberrypi"<br />
<br />
===Windows===<br />
#On a Windows PC setup a new remote desktop connection (RDP), enter target IP address of Pi<br />
#If the Pi is found you will be prompted to enter the default user "pi" and password "raspberry"<br />
#Leave the default module as "sesmon-Xvnc"<br />
#Once connected you will see the Pi desktop, Menu to "preferences"sub "raspberry pi configuration"<br />
#Under menu "system tab" "expand file system", then OK then reboot from main menu last item<br />
#Reestablish remote desktop connection using saved RDP Windows settings, login to desktop<br />
#Under menu "localisation" tab set your timezone Local, Language preferences<br />
#Under menu "system tab", Change default Password and the Hostname to match a hive name to be monitored, Ok to save & reboot<br />
#Under menu "system tab" the remaining settings should be default unless a Pi camera is attached<br />
# Open a Terminal Window, at command prompt run; "sudo apt-get update", also "sudo apt-get upgrade" to get latest patches<br />
#Plug in WiFi dongle, configure WiFi authentication on desktop, top RH corner, dual monitors icon<br />
#If WiFi connects, a signal strength indicator will replace the monitors icon, it will be necessary to enter the security key<br />
<br />
'''You are now ready to configure Hivetool. http://hivetool.org/w/index.php?title=Configure_Hivetool'''</div>Adrianhttp://wiki.hivetool.org/index.php?title=Software:_Install_Hivetool_Pi_image&diff=2790Software: Install Hivetool Pi image2016-09-30T07:09:46Z<p>Adrian: /* Verify MD5 sum */</p>
<hr />
<div>[[File:Image073 xrdp desktop 1024.jpg|thumb|right|500px|0.7.3 image on Window Remote Desktop.]]<br />
==Summary==<br />
'''This image is a bootable compilation of Hivetool software for the Raspberry Pi. It is based the Jessie 4.4.13 v7+ release of the Raspian distribution of the Linux operating system.'''<br />
*It is a large download (~2 Gig) and requires some patience to manipulate.<br />
*When extracting use an 16 gig or larger micro SD card with 48 mbps Class 10 or better speed.<br />
<br />
==Download Image==<br />
Folder link to instructions and download from Google Shared Folder: '''https://drive.google.com/open?id=0B8ZWirzPwqHfdGgtRS03RWY3T0E'''<br><br />
<br />
Download HiveConTool; <br />
(TBD bytes) zipped; Raspian Jessie 4.4.21 v7+ Pi OS with Hivetool 073 and HiveControl 1.81 ready for expanding on an 8 Gig or larger micro SD card. <br />
MD5 Hash Chechsum 1fa33de383ca026188887aa2e6f54a16<br />
''' Upload Pending '''<br><br />
<br />
==Verify MD5 sum==<br />
Verify download was complete and error free. Check file integrity to ensure an exact copy of the compressed image file.<br><br />
Calculate MD5 sum and make sure it matches: <br />
<br />
<br />
===Windows===<br />
<br />
==Unzip==<br />
<br />
===Linux===<br />
unzip hivetool073.zip<br />
===Windows===<br />
With Windows explorer locate hivetool073.zip (usually in download directory).<br />
Right click on file to Extract to desired location<br />
<br />
==Copy image to micro SD card==<br />
'''Proceed with caution, an incorrect setting could corrupt your PC or attached storage. REMOVE any other USB memory devices from your computer.'''<br><br />
<br />
===Linux===<br />
Detailed instructions:<br />
http://elinux.org/RPi_Easy_SD_Card_Setup#Flashing_the_SD_Card_using_Linux_.28including_on_a_Pi.21.29<br />
# REMOVE any other USB memory devices from your computer.<br />
# Determine the device for the card reader <br />
##/dev/mmcblk0 for the built in reader on my laptop.<br />
##/dev/sdb for a USB card reader<br />
# Copy the image to the SD card:<br />
dd bs=4M if=hivetool073.img of=/dev/sdb<br />
<br />
===Windows===<br />
raspberrypi.org recommends using:<br />
http://sourceforge.net/projects/win32diskimager/ <br><br />
Detailed instructions: http://elinux.org/RPi_Easy_SD_Card_Setup#Flashing_the_SD_Card_using_Windows<br />
<br />
#REMOVE any other USB memory devices from your computer.<br />
#Plug micro SD Card in adapter, confirm device letter using Windows Explorer.<br />
#Start Win32DiskImager<br />
#Browse to source file (image in downloads directory)<br />
#Make absolutely sure the drive letter (destination) to right of source file is the SD card<br />
#Check MD5 hash (0c1f26195db2f1a158bd88e95448fedb) this takes a few minutes<br />
#Click on Write, this takes a few more minutes<br />
#Confirm successful write then exit<br />
#The SD card image is called "boot" 25 files now visible in Windows explorer<br />
#Windows will report 40 megabytes free space on the SD card<br />
You are now ready to eject micro SD card and place into the Pi<br />
<br />
==Setup Pi Operating System==<br />
<br />
#Install micro SD card into bare Pi, power up with Ethernet or for (non windows use local terminal)<br />
#If using Ethernet determine IP address by viewing latest entry in access point<br />
#Identify IP in the DHCP table named "raspberrypi"<br />
<br />
===Windows===<br />
#On a Windows PC setup a new remote desktop connection (RDP), enter target IP address of Pi<br />
#If the Pi is found you will be prompted to enter the default user "pi" and password "raspberry"<br />
#Leave the default module as "sesmon-Xvnc"<br />
#Once connected you will see the Pi desktop, Menu to "preferences"sub "raspberry pi configuration"<br />
#Under menu "system tab" "expand file system", then OK then reboot from main menu last item<br />
#Reestablish remote desktop connection using saved RDP Windows settings, login to desktop<br />
#Under menu "localisation" tab set your timezone Local, Language preferences<br />
#Under menu "system tab", Change default Password and the Hostname to match a hive name to be monitored, Ok to save & reboot<br />
#Under menu "system tab" the remaining settings should be default unless a Pi camera is attached<br />
# Open a Terminal Window, at command prompt run; "sudo apt-get update", also "sudo apt-get upgrade" to get latest patches<br />
#Plug in WiFi dongle, configure WiFi authentication on desktop, top RH corner, dual monitors icon<br />
#If WiFi connects, a signal strength indicator will replace the monitors icon, it will be necessary to enter the security key<br />
<br />
'''You are now ready to configure Hivetool. http://hivetool.org/w/index.php?title=Configure_Hivetool'''</div>Adrianhttp://wiki.hivetool.org/index.php?title=Software:_Install_Hivetool_Pi_image&diff=2789Software: Install Hivetool Pi image2016-09-30T07:09:04Z<p>Adrian: /* Download Image */</p>
<hr />
<div>[[File:Image073 xrdp desktop 1024.jpg|thumb|right|500px|0.7.3 image on Window Remote Desktop.]]<br />
==Summary==<br />
'''This image is a bootable compilation of Hivetool software for the Raspberry Pi. It is based the Jessie 4.4.13 v7+ release of the Raspian distribution of the Linux operating system.'''<br />
*It is a large download (~2 Gig) and requires some patience to manipulate.<br />
*When extracting use an 16 gig or larger micro SD card with 48 mbps Class 10 or better speed.<br />
<br />
==Download Image==<br />
Folder link to instructions and download from Google Shared Folder: '''https://drive.google.com/open?id=0B8ZWirzPwqHfdGgtRS03RWY3T0E'''<br><br />
<br />
Download HiveConTool; <br />
(TBD bytes) zipped; Raspian Jessie 4.4.21 v7+ Pi OS with Hivetool 073 and HiveControl 1.81 ready for expanding on an 8 Gig or larger micro SD card. <br />
MD5 Hash Chechsum 1fa33de383ca026188887aa2e6f54a16<br />
''' Upload Pending '''<br><br />
<br />
==Verify MD5 sum==<br />
Verify download was complete and error free. Check file integrity to ensure an exact copy of the compressed image file.<br><br />
Calculate MD5 sum and make sure it matches: <br />
OBSOLETE <br />
OBSOLETE <br />
<br />
===Windows===<br />
<br />
==Unzip==<br />
<br />
===Linux===<br />
unzip hivetool073.zip<br />
===Windows===<br />
With Windows explorer locate hivetool073.zip (usually in download directory).<br />
Right click on file to Extract to desired location<br />
<br />
==Copy image to micro SD card==<br />
'''Proceed with caution, an incorrect setting could corrupt your PC or attached storage. REMOVE any other USB memory devices from your computer.'''<br><br />
<br />
===Linux===<br />
Detailed instructions:<br />
http://elinux.org/RPi_Easy_SD_Card_Setup#Flashing_the_SD_Card_using_Linux_.28including_on_a_Pi.21.29<br />
# REMOVE any other USB memory devices from your computer.<br />
# Determine the device for the card reader <br />
##/dev/mmcblk0 for the built in reader on my laptop.<br />
##/dev/sdb for a USB card reader<br />
# Copy the image to the SD card:<br />
dd bs=4M if=hivetool073.img of=/dev/sdb<br />
<br />
===Windows===<br />
raspberrypi.org recommends using:<br />
http://sourceforge.net/projects/win32diskimager/ <br><br />
Detailed instructions: http://elinux.org/RPi_Easy_SD_Card_Setup#Flashing_the_SD_Card_using_Windows<br />
<br />
#REMOVE any other USB memory devices from your computer.<br />
#Plug micro SD Card in adapter, confirm device letter using Windows Explorer.<br />
#Start Win32DiskImager<br />
#Browse to source file (image in downloads directory)<br />
#Make absolutely sure the drive letter (destination) to right of source file is the SD card<br />
#Check MD5 hash (0c1f26195db2f1a158bd88e95448fedb) this takes a few minutes<br />
#Click on Write, this takes a few more minutes<br />
#Confirm successful write then exit<br />
#The SD card image is called "boot" 25 files now visible in Windows explorer<br />
#Windows will report 40 megabytes free space on the SD card<br />
You are now ready to eject micro SD card and place into the Pi<br />
<br />
==Setup Pi Operating System==<br />
<br />
#Install micro SD card into bare Pi, power up with Ethernet or for (non windows use local terminal)<br />
#If using Ethernet determine IP address by viewing latest entry in access point<br />
#Identify IP in the DHCP table named "raspberrypi"<br />
<br />
===Windows===<br />
#On a Windows PC setup a new remote desktop connection (RDP), enter target IP address of Pi<br />
#If the Pi is found you will be prompted to enter the default user "pi" and password "raspberry"<br />
#Leave the default module as "sesmon-Xvnc"<br />
#Once connected you will see the Pi desktop, Menu to "preferences"sub "raspberry pi configuration"<br />
#Under menu "system tab" "expand file system", then OK then reboot from main menu last item<br />
#Reestablish remote desktop connection using saved RDP Windows settings, login to desktop<br />
#Under menu "localisation" tab set your timezone Local, Language preferences<br />
#Under menu "system tab", Change default Password and the Hostname to match a hive name to be monitored, Ok to save & reboot<br />
#Under menu "system tab" the remaining settings should be default unless a Pi camera is attached<br />
# Open a Terminal Window, at command prompt run; "sudo apt-get update", also "sudo apt-get upgrade" to get latest patches<br />
#Plug in WiFi dongle, configure WiFi authentication on desktop, top RH corner, dual monitors icon<br />
#If WiFi connects, a signal strength indicator will replace the monitors icon, it will be necessary to enter the security key<br />
<br />
'''You are now ready to configure Hivetool. http://hivetool.org/w/index.php?title=Configure_Hivetool'''</div>Adrianhttp://wiki.hivetool.org/index.php?title=HiveTool.org&diff=2788HiveTool.org2016-09-30T06:40:08Z<p>Adrian: updated latest Raspian os 9/29/16</p>
<hr />
<div><div style="background-color: #aaaaff;"><br />
<br />
[[File:Image073 xrdp desktop 1024.jpg|thumb|750px|0.7.3 image on Window Remote Desktop.]]<br />
<div style="font-weight: bold; font-family:arial;color:#FF0000;font-size:30px;text-align:center;">'''NEWS FLASH'''</div><br />
<center><br />
Updated Sept 29th 2016<br />
</center><br />
<br />
<center><br />
'''Updated to Linux Raspian Jessie 4.4.21 V7+'''<br />
</center><br />
<br />
<center><br />
'''HiveConTool is new Hive Control 1.81 and Hivetool 0.7.3 wrapped up into one download'''<br />
</center><br />
<br />
Recent Changes:<br />
*Two ways to Collect & View Data<br />
*Version 1.81 Hive Control Software<br />
*Windows Remote Desktop Using RDP<br />
*Touchscreen pop up keyboard support<br />
*Including the latest Raspian 9/29/16 4.4.21 updates<br />
*Beekeeper Friendly Desktop Links = Easy Navigation<br />
<br />
<br />
<center><br />
[[Software:_Overview|'''Read more about the software''']]<br><br />
<br />
[http://hivetool.org/w/index.php?title=Software:_Install_Hivetool_Pi_image '''Download The Latest Image''']<br><br />
<br />
[http://hivetool.org/d/forum '''Join our new Forums''']<br />
[http://hivetool.org/dev_kit_order.pl '''Developers Kit Order Form''']</center><br />
<br clear=all><br />
</div><br />
----<br />
<br />
[[File:XP001_20150419.gif|thumb|750px|right|frame|<div style="font-weight: bold; font-family:arial;color:#66ff66;font-size:30px;text-align:center;"><br>Links to hives have moved to [http://hivetool.net hivetool.net]<br></div>]]<br />
<br />
== HiveTool&trade; ==<br />
HiveTool&trade; is a collection of readily available, off-the-shelf [[hardware]] and free, open source [[Software:_Overview|software]] that continuously monitors a beehive. Computerized hive monitors provide real time and historic data and graphs of weight, internal and ambient temperature, humidity and light levels which give the beekeeper a noninvasive view into the hive. HiveTool won the [https://www.youtube.com/watch?v=qsKHckMX0OU2015 2015 Bayer Bee Care Community Leadership Award].<br />
<br />
*Hivetool.org - Documentation, instructions, and a forum for discussions on how to set up a bioserver to monitor a bee hive.<br />
<br />
*[http://hivetool.net Hivetool.net] - Access the network of monitored hives: status, graphs, download data, view the video feeds.<br />
<br />
==HiveControl&trade; ==<br />
HiveControl is beekeeper friendly alternative software for use with HiveTool suite of software and hardware.<br />
HiveControl may be used standalone or in conjunction with HiveTool.<br><br />
Main Features:<br />
*Sensor Drivers work with HiveTool Sensor board<br />
*Data Acquisition & Database<br />
*Menu Driven Configuration Screens<br />
*Graphical Trends and Dashboard<br />
*Uploads data to HiveTool cloud<br />
*Video Bee Counter<br><br />
More can learned about HiveControl on [https://github.com/rcrum003/HiveControl Github]<br />
<br />
== Uses ==<br />
=== [[Hive Management]] ===<br />
[[File:Hive graph 20111006 small.gif|frameless|right|260px]]<br />
Knowing what is happening in the hive is crucial to proper hive management. By knowing the beginning, end, and quantity of nectar flows, bee keepers can determine when to add and remove supers, when to move hives and where to locate hives to maximize honey production. [[Hive_Management|Read More]]<br />
<br />
=== [[Climate and Land Use Research]] ===<br />
[[File:Athens LC V5.png|frameless|right|260x100px]]<br />
Plant/pollinator interaction is used to measure the performance of the environment, instead of the performance of individual hives.<br />
[[Climate and Land Use Research|Read More]]<br />
<br />
=== [[Education and Bee Science]] ===<br />
[[File:RGNS mites.jpg|frameless|right|260px]]<br />
A program to attract students to Science Technology Engineering Math (STEM). Bee science includes agriculture, biology, botany, chemistry, computing, food, industrial arts, math, physics, programming, statistics – in short, something for everyone. [[Education and Bee Science|Read More]]<br />
<br clear=all><br />
<br />
== [[Hardware]] ==<br />
===[[New Developer Kit]]===<br />
[[File:P1010016c.jpg|thumb|130px|Dev Kit PCB installed on a Pi 2.]]<br />
An early goal of Hivetool was to develop a $50 scale. A developers kit to get beta units in the field for testing,<br />
gather user feedback, and provide a platform to foster open source community development is available at cost <br />
plus a voluntary contribution ... [[New_Developer_Kit|Read More]]<br />
<br />
===[[Hardware|Commercial Sensors]]===<br />
A scale hive (or bioserver) consists of a computer (desktop, laptop, router, SBC/SOC such as [http://en.wikipedia.org/wiki/Raspberry_Pi Raspberry Pi]), which is used to record, display, and analyze data from sensors such as scales, thermometers, hygrometers, microphones, cameras, photocells and rain gage. Listed below are readily available, commercial, off the shelf products that are currently in use or undergoing development and testing. [[Hardware|Read More]]<br />
<br />
== [[Software: Overview]] ==<br />
[[File:Software flow diagram1a.png|thumb|right|200px]]<br />
For software installation instructions, see '''[[Software:_Overview|How to load hivetool on the Pi]].''' <br />
<br />
Hivetool can be used as a:<br />
# [http://en.wikipedia.org/wiki/Data_logger Data logger] that provides data acquisition and storage.<br />
# Bioserver that displays, streams, analyzes and visualizes the data in addition to data acquisition and storage.<br />
[[Software:_Image_Details|Details of how the image is created]]<br />
<br clear=all><br />
<br />
==[[Bee Counter]]==<br />
<br />
{| align="right" <br />
| [[File:Tracks.jpg|thumb|left|300px|Tracks]]<br />
| [[File:BeeTrack1 2a.png|thumb|left|300px|BeeCounter]]<br />
|}<br />
<br />
While a scale can reveal nectar flows, orientation flight and the general health of the hive, it doesn't answer all the questions.<br />
A bee counter using low cost off-the-shelf hardware is being designed and tested. [[Bee Counter|Read More.]]<br />
<br />
<br />
Two different approaches are shown, <br />
*[http://sonic.net/~goddard/home/bees/bees.html Tracks], a video based tracking software.<br />
*[[Bee_counter_software|BeeCounter]], based on openCV libraries.<br />
<br clear=all><br />
<br />
== [[How To]] ==<br />
User manual, construction plans, solar design, troubleshooting. [[How To|Read More]]<br />
<br />
== [[Hive Selection and Manipulation]] ==<br />
Guidelines from ''Protocol for Scale Hive Measurements of the Honey Bee Nectar Flow''. [[Hive Selection and Manipulation|Read More]]<br />
<br />
== [[Data Warehouse]] ==<br />
Since HiveTool&trade; is open source/open notebook, the entire primary record is publicly available online as it is recorded. Storing, organizing and providing access to the data is necessary. [[Data_Warehouse|Read More]]<br />
<br />
== [[Hivetool:About|About]] ==<br />
This open source project is comprised of beekeepers who work in electronics and information technology. Our goal is to produce software tools to monitor, manage and research bees and honey production. [[Hivetool:About|Read More]]<br />
<br />
== [[To Do]] ==<br />
Lots to do! Whether you are a web site developer, database administrator, or programmer, there is something for you. Look over the list below - [[To Do|Read More]]<br />
<br />
== [[Why]] ==<br />
Why put a computer in a hive? [[Why|Read More]]<br />
<br />
== Projects ==<br />
*[[South Carolina Hive Instrumentation Project]]<br />
*Bioacoustics<br />
*[[Bioserver]]<br />
*[http://hivetool.org/history History]<br />
<br />
== Site Index ==<br />
[[Special:AllPages|Site Index]]<br />
== Contact==<br />
For comments, questions, or suggestions, please send an email to info at this webite, hivetool.org.</div>Adrianhttp://wiki.hivetool.org/index.php?title=User_talk:Adrian&diff=2777User talk:Adrian2016-09-11T19:10:56Z<p>Adrian: Sensor Developments, V.48 Sensor Board, Bluetooth, Bee Counter</p>
<hr />
<div>9-11-16 <br />
== Sensor Developments, V.48 Sensor Board, Bluetooth, Bee Counter ==<br />
<br />
I have been involved with a number of emergent monitoring technologies of late; Paul (with some contributions) has designed a prototype V.48 sensor interface circuit board including Bluetooth low energy. It is a combination Pi sensor board with four channel load cell A/D and familiar connectors and a breakaway Bluetoooth communications & processor module that, once programmed may be broken off and deployed in a number of sensor configurations.<br />
The V.48 development board has a lot of potential, it even has provisions a I2S precision digital microphone.<br />
<br />
I have been tinkering with optical bee counter sensors for awhile, I believe we have a circuit that will work while not consuming too much battery power. The intent is to use an array of IR gap sensors to discern the direction and number of bees leaving and entering the hive with reasonable precision (+/-5%). A single gate prototype has been made now I need to the assistance from a PCB designer to lay out the components. I have a design and have selected components.<br />
<br />
A Cautionary Note; As we install sensors in close proximity to bees it's anticipated that there will be some impact, not purely physical but electrical and optical. The degree of behavioral impact is not quantifiable at this point. There is ongoing research that may one day provide greater insight. It is my educated projection that the impacts are small given the very low voltages, currents and emissions we are dealing with. In designing we should consider reasonable efforts to shield the bees from contact from emissions, it's not practical to shield bees from all potentials.<br />
<br />
On another note, I am excited to learn of David Hawa's plastic scale frame, I think it holds great promise if it can be produced cost effectively.<br />
<br />
I hope we can employ a better means to communicate our work and support others. I have established a Google mail forum but it's not rolled out, I'd like to test it before committing, you can reach me at NapaOgden at Gmail dot com. Assistance in this and others areas is always welcome.<br />
<br />
And finally a big Thank You, Paul for the circuit work, David for the scale frame, all unspecified efforts and Ryan for the Hive Control GUI [https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&uact=8&ved=0ahUKEwjKg43R_4fPAhURxmMKHUOTCw8QFgggMAA&url=https%3A%2F%2Fgithub.com%2Frcrum003%2FHiveControl&usg=AFQjCNEeoGfzbisghOTiWnqLCA2oAzGxbg&sig2=vhbyTMjy3iNDujW_gPFv9w].<br />
<br />
Adrian <br />
<br />
== VB Code Development ==<br />
Paul here:<br />
Awesome! Beautiful frame. It looks like the sides bolt together but I assume there is some welding?<br />
<br />
Are you using the code from the Visual Basic 6.0 link on the Phidget website?<br />
In the archive there is PhidgetBridgeExamples that I think might produce Bridge-full.exe?<br />
<br />
From the code it looks like some sliders where you can set the gain, offset, etc?<br />
I assume you have that working?<br />
<br />
I guess I need to get access to a Window machine. Hmm - but I don't have the phidget board ...<br />
If I have a Windows box, can I remotely access your machine with the phidet? Like remote desktop?<br />
Sorry, I haven't done any windows development in about 12 years.<br />
<br />
Can you please describe exactly what you want VB to do and maybe post part of what you have done?</div>Adrianhttp://wiki.hivetool.org/index.php?title=Software:_Install_Hivetool_Pi_image&diff=2776Software: Install Hivetool Pi image2016-08-24T07:09:04Z<p>Adrian: /* Summary */</p>
<hr />
<div>[[File:Image073 xrdp desktop 1024.jpg|thumb|right|500px|0.7.3 image on Window Remote Desktop.]]<br />
==Summary==<br />
'''This image is a bootable compilation of Hivetool software for the Raspberry Pi. It is based the Jessie 4.4.13 v7+ release of the Raspian distribution of the Linux operating system.'''<br />
*It is a large download (~2 Gig) and requires some patience to manipulate.<br />
*When extracting use an 16 gig or larger micro SD card with 48 mbps Class 10 or better speed.<br />
<br />
==Download Image==<br />
Folder link to instructions and download from Google Shared Folder: '''https://drive.google.com/open?id=0B8ZWirzPwqHfdGgtRS03RWY3T0E'''<br><br />
<br />
Download HiveConTool; <br />
2 GB (2,027,344,786 bytes) zipped; Raspian Jessie 4.4.13 v7+ Pi OS with Hivetool 073 and HiveControl 1.81 ready for expanding on an 8 Gig or larger micro SD card. '''https://drive.google.com/file/d/0B8ZWirzPwqHfbzlRVHA0b3Vib1U/view?usp=sharing'''<br><br />
<br />
==Verify MD5 sum==<br />
Verify download was complete and error free. Check file integrity to ensure an exact copy of the compressed image file.<br><br />
Calculate MD5 sum and make sure it matches: <br />
OBSOLETE <br />
OBSOLETE <br />
<br />
===Windows===<br />
<br />
==Unzip==<br />
<br />
===Linux===<br />
unzip hivetool073.zip<br />
===Windows===<br />
With Windows explorer locate hivetool073.zip (usually in download directory).<br />
Right click on file to Extract to desired location<br />
<br />
==Copy image to micro SD card==<br />
'''Proceed with caution, an incorrect setting could corrupt your PC or attached storage. REMOVE any other USB memory devices from your computer.'''<br><br />
<br />
===Linux===<br />
Detailed instructions:<br />
http://elinux.org/RPi_Easy_SD_Card_Setup#Flashing_the_SD_Card_using_Linux_.28including_on_a_Pi.21.29<br />
# REMOVE any other USB memory devices from your computer.<br />
# Determine the device for the card reader <br />
##/dev/mmcblk0 for the built in reader on my laptop.<br />
##/dev/sdb for a USB card reader<br />
# Copy the image to the SD card:<br />
dd bs=4M if=hivetool073.img of=/dev/sdb<br />
<br />
===Windows===<br />
raspberrypi.org recommends using:<br />
http://sourceforge.net/projects/win32diskimager/ <br><br />
Detailed instructions: http://elinux.org/RPi_Easy_SD_Card_Setup#Flashing_the_SD_Card_using_Windows<br />
<br />
#REMOVE any other USB memory devices from your computer.<br />
#Plug micro SD Card in adapter, confirm device letter using Windows Explorer.<br />
#Start Win32DiskImager<br />
#Browse to source file (image in downloads directory)<br />
#Make absolutely sure the drive letter (destination) to right of source file is the SD card<br />
#Check MD5 hash (0c1f26195db2f1a158bd88e95448fedb) this takes a few minutes<br />
#Click on Write, this takes a few more minutes<br />
#Confirm successful write then exit<br />
#The SD card image is called "boot" 25 files now visible in Windows explorer<br />
#Windows will report 40 megabytes free space on the SD card<br />
You are now ready to eject micro SD card and place into the Pi<br />
<br />
==Setup Pi Operating System==<br />
<br />
#Install micro SD card into bare Pi, power up with Ethernet or for (non windows use local terminal)<br />
#If using Ethernet determine IP address by viewing latest entry in access point<br />
#Identify IP in the DHCP table named "raspberrypi"<br />
<br />
===Windows===<br />
#On a Windows PC setup a new remote desktop connection (RDP), enter target IP address of Pi<br />
#If the Pi is found you will be prompted to enter the default user "pi" and password "raspberry"<br />
#Leave the default module as "sesmon-Xvnc"<br />
#Once connected you will see the Pi desktop, Menu to "preferences"sub "raspberry pi configuration"<br />
#Under menu "system tab" "expand file system", then OK then reboot from main menu last item<br />
#Reestablish remote desktop connection using saved RDP Windows settings, login to desktop<br />
#Under menu "localisation" tab set your timezone Local, Language preferences<br />
#Under menu "system tab", Change default Password and the Hostname to match a hive name to be monitored, Ok to save & reboot<br />
#Under menu "system tab" the remaining settings should be default unless a Pi camera is attached<br />
# Open a Terminal Window, at command prompt run; "sudo apt-get update", also "sudo apt-get upgrade" to get latest patches<br />
#Plug in WiFi dongle, configure WiFi authentication on desktop, top RH corner, dual monitors icon<br />
#If WiFi connects, a signal strength indicator will replace the monitors icon, it will be necessary to enter the security key<br />
<br />
'''You are now ready to configure Hivetool. http://hivetool.org/w/index.php?title=Configure_Hivetool'''</div>Adrianhttp://wiki.hivetool.org/index.php?title=Software:_Install_Hivetool_Pi_image&diff=2775Software: Install Hivetool Pi image2016-08-24T07:05:56Z<p>Adrian: /* Verify MD5 sum */</p>
<hr />
<div>[[File:Image073 xrdp desktop 1024.jpg|thumb|right|500px|0.7.3 image on Window Remote Desktop.]]<br />
==Summary==<br />
'''This image is a bootable compilation of Hivetool software for the Raspberry Pi. It is based the Jessie release of the Raspian distribution of the Linux operating system.'''<br />
*It is large (4.2 Gig) and requires some patience to manipulate.<br />
*Use an 8 gig minimum microSD with 48 mbps Class 10 or better speed.<br />
<br />
==Download Image==<br />
Folder link to instructions and download from Google Shared Folder: '''https://drive.google.com/open?id=0B8ZWirzPwqHfdGgtRS03RWY3T0E'''<br><br />
<br />
Download HiveConTool; <br />
2 GB (2,027,344,786 bytes) zipped; Raspian Jessie 4.4.13 v7+ Pi OS with Hivetool 073 and HiveControl 1.81 ready for expanding on an 8 Gig or larger micro SD card. '''https://drive.google.com/file/d/0B8ZWirzPwqHfbzlRVHA0b3Vib1U/view?usp=sharing'''<br><br />
<br />
==Verify MD5 sum==<br />
Verify download was complete and error free. Check file integrity to ensure an exact copy of the compressed image file.<br><br />
Calculate MD5 sum and make sure it matches: <br />
OBSOLETE <br />
OBSOLETE <br />
<br />
===Windows===<br />
<br />
==Unzip==<br />
<br />
===Linux===<br />
unzip hivetool073.zip<br />
===Windows===<br />
With Windows explorer locate hivetool073.zip (usually in download directory).<br />
Right click on file to Extract to desired location<br />
<br />
==Copy image to micro SD card==<br />
'''Proceed with caution, an incorrect setting could corrupt your PC or attached storage. REMOVE any other USB memory devices from your computer.'''<br><br />
<br />
===Linux===<br />
Detailed instructions:<br />
http://elinux.org/RPi_Easy_SD_Card_Setup#Flashing_the_SD_Card_using_Linux_.28including_on_a_Pi.21.29<br />
# REMOVE any other USB memory devices from your computer.<br />
# Determine the device for the card reader <br />
##/dev/mmcblk0 for the built in reader on my laptop.<br />
##/dev/sdb for a USB card reader<br />
# Copy the image to the SD card:<br />
dd bs=4M if=hivetool073.img of=/dev/sdb<br />
<br />
===Windows===<br />
raspberrypi.org recommends using:<br />
http://sourceforge.net/projects/win32diskimager/ <br><br />
Detailed instructions: http://elinux.org/RPi_Easy_SD_Card_Setup#Flashing_the_SD_Card_using_Windows<br />
<br />
#REMOVE any other USB memory devices from your computer.<br />
#Plug micro SD Card in adapter, confirm device letter using Windows Explorer.<br />
#Start Win32DiskImager<br />
#Browse to source file (image in downloads directory)<br />
#Make absolutely sure the drive letter (destination) to right of source file is the SD card<br />
#Check MD5 hash (0c1f26195db2f1a158bd88e95448fedb) this takes a few minutes<br />
#Click on Write, this takes a few more minutes<br />
#Confirm successful write then exit<br />
#The SD card image is called "boot" 25 files now visible in Windows explorer<br />
#Windows will report 40 megabytes free space on the SD card<br />
You are now ready to eject micro SD card and place into the Pi<br />
<br />
==Setup Pi Operating System==<br />
<br />
#Install micro SD card into bare Pi, power up with Ethernet or for (non windows use local terminal)<br />
#If using Ethernet determine IP address by viewing latest entry in access point<br />
#Identify IP in the DHCP table named "raspberrypi"<br />
<br />
===Windows===<br />
#On a Windows PC setup a new remote desktop connection (RDP), enter target IP address of Pi<br />
#If the Pi is found you will be prompted to enter the default user "pi" and password "raspberry"<br />
#Leave the default module as "sesmon-Xvnc"<br />
#Once connected you will see the Pi desktop, Menu to "preferences"sub "raspberry pi configuration"<br />
#Under menu "system tab" "expand file system", then OK then reboot from main menu last item<br />
#Reestablish remote desktop connection using saved RDP Windows settings, login to desktop<br />
#Under menu "localisation" tab set your timezone Local, Language preferences<br />
#Under menu "system tab", Change default Password and the Hostname to match a hive name to be monitored, Ok to save & reboot<br />
#Under menu "system tab" the remaining settings should be default unless a Pi camera is attached<br />
# Open a Terminal Window, at command prompt run; "sudo apt-get update", also "sudo apt-get upgrade" to get latest patches<br />
#Plug in WiFi dongle, configure WiFi authentication on desktop, top RH corner, dual monitors icon<br />
#If WiFi connects, a signal strength indicator will replace the monitors icon, it will be necessary to enter the security key<br />
<br />
'''You are now ready to configure Hivetool. http://hivetool.org/w/index.php?title=Configure_Hivetool'''</div>Adrianhttp://wiki.hivetool.org/index.php?title=Software:_Install_Hivetool_Pi_image&diff=2774Software: Install Hivetool Pi image2016-08-24T07:05:03Z<p>Adrian: /* Verify MD5 sum */</p>
<hr />
<div>[[File:Image073 xrdp desktop 1024.jpg|thumb|right|500px|0.7.3 image on Window Remote Desktop.]]<br />
==Summary==<br />
'''This image is a bootable compilation of Hivetool software for the Raspberry Pi. It is based the Jessie release of the Raspian distribution of the Linux operating system.'''<br />
*It is large (4.2 Gig) and requires some patience to manipulate.<br />
*Use an 8 gig minimum microSD with 48 mbps Class 10 or better speed.<br />
<br />
==Download Image==<br />
Folder link to instructions and download from Google Shared Folder: '''https://drive.google.com/open?id=0B8ZWirzPwqHfdGgtRS03RWY3T0E'''<br><br />
<br />
Download HiveConTool; <br />
2 GB (2,027,344,786 bytes) zipped; Raspian Jessie 4.4.13 v7+ Pi OS with Hivetool 073 and HiveControl 1.81 ready for expanding on an 8 Gig or larger micro SD card. '''https://drive.google.com/file/d/0B8ZWirzPwqHfbzlRVHA0b3Vib1U/view?usp=sharing'''<br><br />
<br />
==Verify MD5 sum==<br />
Verify download was complete and error free. Check file integrity to ensure an exact copy of the compressed image file.<br><br />
Calculate MD5 sum and make sure it matches: <br />
OBSOLETE HiveTool073.zip MD5 sum: f1618e26ff1b03dfc2fae722e537b6d2.<br />
OBSOLETE HiveContTool_173_157.img Unzipped MD5 Checksum by WinDiskImager32: acef0265865dbe7634a27de944ec9a01.<br><br />
<br />
===Windows===<br />
<br />
OBSOLETE FCIV -md5 hivetool073.zip<br />
<br />
==Unzip==<br />
<br />
===Linux===<br />
unzip hivetool073.zip<br />
===Windows===<br />
With Windows explorer locate hivetool073.zip (usually in download directory).<br />
Right click on file to Extract to desired location<br />
<br />
==Copy image to micro SD card==<br />
'''Proceed with caution, an incorrect setting could corrupt your PC or attached storage. REMOVE any other USB memory devices from your computer.'''<br><br />
<br />
===Linux===<br />
Detailed instructions:<br />
http://elinux.org/RPi_Easy_SD_Card_Setup#Flashing_the_SD_Card_using_Linux_.28including_on_a_Pi.21.29<br />
# REMOVE any other USB memory devices from your computer.<br />
# Determine the device for the card reader <br />
##/dev/mmcblk0 for the built in reader on my laptop.<br />
##/dev/sdb for a USB card reader<br />
# Copy the image to the SD card:<br />
dd bs=4M if=hivetool073.img of=/dev/sdb<br />
<br />
===Windows===<br />
raspberrypi.org recommends using:<br />
http://sourceforge.net/projects/win32diskimager/ <br><br />
Detailed instructions: http://elinux.org/RPi_Easy_SD_Card_Setup#Flashing_the_SD_Card_using_Windows<br />
<br />
#REMOVE any other USB memory devices from your computer.<br />
#Plug micro SD Card in adapter, confirm device letter using Windows Explorer.<br />
#Start Win32DiskImager<br />
#Browse to source file (image in downloads directory)<br />
#Make absolutely sure the drive letter (destination) to right of source file is the SD card<br />
#Check MD5 hash (0c1f26195db2f1a158bd88e95448fedb) this takes a few minutes<br />
#Click on Write, this takes a few more minutes<br />
#Confirm successful write then exit<br />
#The SD card image is called "boot" 25 files now visible in Windows explorer<br />
#Windows will report 40 megabytes free space on the SD card<br />
You are now ready to eject micro SD card and place into the Pi<br />
<br />
==Setup Pi Operating System==<br />
<br />
#Install micro SD card into bare Pi, power up with Ethernet or for (non windows use local terminal)<br />
#If using Ethernet determine IP address by viewing latest entry in access point<br />
#Identify IP in the DHCP table named "raspberrypi"<br />
<br />
===Windows===<br />
#On a Windows PC setup a new remote desktop connection (RDP), enter target IP address of Pi<br />
#If the Pi is found you will be prompted to enter the default user "pi" and password "raspberry"<br />
#Leave the default module as "sesmon-Xvnc"<br />
#Once connected you will see the Pi desktop, Menu to "preferences"sub "raspberry pi configuration"<br />
#Under menu "system tab" "expand file system", then OK then reboot from main menu last item<br />
#Reestablish remote desktop connection using saved RDP Windows settings, login to desktop<br />
#Under menu "localisation" tab set your timezone Local, Language preferences<br />
#Under menu "system tab", Change default Password and the Hostname to match a hive name to be monitored, Ok to save & reboot<br />
#Under menu "system tab" the remaining settings should be default unless a Pi camera is attached<br />
# Open a Terminal Window, at command prompt run; "sudo apt-get update", also "sudo apt-get upgrade" to get latest patches<br />
#Plug in WiFi dongle, configure WiFi authentication on desktop, top RH corner, dual monitors icon<br />
#If WiFi connects, a signal strength indicator will replace the monitors icon, it will be necessary to enter the security key<br />
<br />
'''You are now ready to configure Hivetool. http://hivetool.org/w/index.php?title=Configure_Hivetool'''</div>Adrianhttp://wiki.hivetool.org/index.php?title=Software:_Install_Hivetool_Pi_image&diff=2773Software: Install Hivetool Pi image2016-08-24T07:00:42Z<p>Adrian: /* Download Image */</p>
<hr />
<div>[[File:Image073 xrdp desktop 1024.jpg|thumb|right|500px|0.7.3 image on Window Remote Desktop.]]<br />
==Summary==<br />
'''This image is a bootable compilation of Hivetool software for the Raspberry Pi. It is based the Jessie release of the Raspian distribution of the Linux operating system.'''<br />
*It is large (4.2 Gig) and requires some patience to manipulate.<br />
*Use an 8 gig minimum microSD with 48 mbps Class 10 or better speed.<br />
<br />
==Download Image==<br />
Folder link to instructions and download from Google Shared Folder: '''https://drive.google.com/open?id=0B8ZWirzPwqHfdGgtRS03RWY3T0E'''<br><br />
<br />
Download HiveConTool; <br />
2 GB (2,027,344,786 bytes) zipped; Raspian Jessie 4.4.13 v7+ Pi OS with Hivetool 073 and HiveControl 1.81 ready for expanding on an 8 Gig or larger micro SD card. '''https://drive.google.com/file/d/0B8ZWirzPwqHfbzlRVHA0b3Vib1U/view?usp=sharing'''<br><br />
<br />
==Verify MD5 sum==<br />
Verify download was complete and error free. Check file integrity to ensure an exact copy of the compressed image file.<br><br />
Calculate MD5 sum and make sure it matches: <br />
HiveTool073.zip MD5 sum: f1618e26ff1b03dfc2fae722e537b6d2.<br />
HiveContTool_173_157.img Unzipped MD5 Checksum by WinDiskImager32: acef0265865dbe7634a27de944ec9a01.<br><br />
<br />
===Windows===<br />
<br />
FCIV -md5 hivetool073.zip<br />
<br />
==Unzip==<br />
<br />
===Linux===<br />
unzip hivetool073.zip<br />
===Windows===<br />
With Windows explorer locate hivetool073.zip (usually in download directory).<br />
Right click on file to Extract to desired location<br />
<br />
==Copy image to micro SD card==<br />
'''Proceed with caution, an incorrect setting could corrupt your PC or attached storage. REMOVE any other USB memory devices from your computer.'''<br><br />
<br />
===Linux===<br />
Detailed instructions:<br />
http://elinux.org/RPi_Easy_SD_Card_Setup#Flashing_the_SD_Card_using_Linux_.28including_on_a_Pi.21.29<br />
# REMOVE any other USB memory devices from your computer.<br />
# Determine the device for the card reader <br />
##/dev/mmcblk0 for the built in reader on my laptop.<br />
##/dev/sdb for a USB card reader<br />
# Copy the image to the SD card:<br />
dd bs=4M if=hivetool073.img of=/dev/sdb<br />
<br />
===Windows===<br />
raspberrypi.org recommends using:<br />
http://sourceforge.net/projects/win32diskimager/ <br><br />
Detailed instructions: http://elinux.org/RPi_Easy_SD_Card_Setup#Flashing_the_SD_Card_using_Windows<br />
<br />
#REMOVE any other USB memory devices from your computer.<br />
#Plug micro SD Card in adapter, confirm device letter using Windows Explorer.<br />
#Start Win32DiskImager<br />
#Browse to source file (image in downloads directory)<br />
#Make absolutely sure the drive letter (destination) to right of source file is the SD card<br />
#Check MD5 hash (0c1f26195db2f1a158bd88e95448fedb) this takes a few minutes<br />
#Click on Write, this takes a few more minutes<br />
#Confirm successful write then exit<br />
#The SD card image is called "boot" 25 files now visible in Windows explorer<br />
#Windows will report 40 megabytes free space on the SD card<br />
You are now ready to eject micro SD card and place into the Pi<br />
<br />
==Setup Pi Operating System==<br />
<br />
#Install micro SD card into bare Pi, power up with Ethernet or for (non windows use local terminal)<br />
#If using Ethernet determine IP address by viewing latest entry in access point<br />
#Identify IP in the DHCP table named "raspberrypi"<br />
<br />
===Windows===<br />
#On a Windows PC setup a new remote desktop connection (RDP), enter target IP address of Pi<br />
#If the Pi is found you will be prompted to enter the default user "pi" and password "raspberry"<br />
#Leave the default module as "sesmon-Xvnc"<br />
#Once connected you will see the Pi desktop, Menu to "preferences"sub "raspberry pi configuration"<br />
#Under menu "system tab" "expand file system", then OK then reboot from main menu last item<br />
#Reestablish remote desktop connection using saved RDP Windows settings, login to desktop<br />
#Under menu "localisation" tab set your timezone Local, Language preferences<br />
#Under menu "system tab", Change default Password and the Hostname to match a hive name to be monitored, Ok to save & reboot<br />
#Under menu "system tab" the remaining settings should be default unless a Pi camera is attached<br />
# Open a Terminal Window, at command prompt run; "sudo apt-get update", also "sudo apt-get upgrade" to get latest patches<br />
#Plug in WiFi dongle, configure WiFi authentication on desktop, top RH corner, dual monitors icon<br />
#If WiFi connects, a signal strength indicator will replace the monitors icon, it will be necessary to enter the security key<br />
<br />
'''You are now ready to configure Hivetool. http://hivetool.org/w/index.php?title=Configure_Hivetool'''</div>Adrianhttp://wiki.hivetool.org/index.php?title=Hardware:_Frame_Assembly&diff=2727Hardware: Frame Assembly2016-05-18T01:03:31Z<p>Adrian: /* Mount Load Cells */</p>
<hr />
<div>[[File:Chesick4.jpg|thumb|600px|Finished rails (load cell mounts). Two go under the hive, one on each side.]]<br />
[[File:Chesick5.jpg|thumb|600px|End view of rail with end cap and closure strip removed.]]<br />
==Goals, Features, and Flaws==<br />
For design goals, features and flaws, see the [[Frameless_Scale|Frameless Scale Design]]<br />
<br />
==Parts List==<br />
Part numbers, suppliers and prices are on the [[Media:Chesick scale costs.pdf|Parts List]].<br />
<br />
==Tools==<br />
#Tape Measure<br />
#Pencil<br />
#Layout or speed square<br />
#Hacksaw<br />
#Drill<br />
#1/4" drill bit<br />
#Center Punch<br />
#File<br />
#10 mm wrench<br />
#13 mm open end wrench<br />
#7/16" [http://www.amazon.com/SE-7909LP-9-Piece-Hollow-Leather/dp/B0002964CC/ hollow punch]<br />
#Feeler Gauge <br />
#Small straight blade jewelers screwdriver.<br />
<br />
Optional tools:<br />
#Metal cutting band saw or cut off saw<br />
#Drill press<br />
#Stationary disk sander<br />
<br />
<br clear=all><br />
<br />
==Fabricate Rails==<br />
[[File:Chesick2.jpg|thumb|600px|Parts Detail]] <br />
===Cut Strut===<br />
Cut the strut in 20" lengths. Three can be cut from 5' strut, six can be cut from 10 foot lengths. The rails may be slightly less than 20" after losing the width of the saw kerf. Two 20" lengths will be needed to build one scale.<br />
<br />
#Mark the strut using a tape measure, If using a hack saw, transfer the marks around the strut using a layout square.<br />
#Carefully cut the strut on the lines, trying to keep as straight and square as possible.<br />
<br />
===Transfer Layout===<br />
Method 1:<br />
# Place a load cell on the top of the rail. It should be about 4 mm (1/4") from the end. '''NOTE: If it is more than 4 mm from the end you will not be able to tighten the lock nut on the foot and the end cap will not cover the closure strip.'''<br />
#Using a transfer punch, mark the two 8 mm mounting holes.<br />
#Repeat on the other end.<br />
#Check the punch marks to make sure they are in a straight line.<br />
#Punch the marks deeper using the center punch.<br />
<br />
===Drill and Debur===<br />
Drill the four 1/4 holes in each rail to mount the load cells.<br />
Use a file, deburring tool, or stationary disk sander to clean up the ends. They will be covered by the End Caps so they don't have to be perfect.<br />
Use a file or deburring tool to debur the holes.<br />
<br />
<br clear=all><br />
<br />
==Assemble Rails==<br />
<br />
===Mount Load Cells===<br />
[[File:Chesick1.jpg|thumb|600px|Exploded parts diagram.]]<br />
<br />
<br />
Turn a rail upside down with the open side up. Place a spacer over the holes. <br />
Carefully position the load cell over spacer. Align the holes without shifting the spacer.<br />
<br />
<div style="background-color: yellow; font-weight: bold; font-family:arial;color:#FF0000;font-size:14px;text-align:center;">'''NOTE: The green arrow on the end of the load cell should point in the direction force will cause the load cell to flex.'''</div><br />
<br />
Place a lock washer and flat washer on a M6x30mm bolt. While holding the load cell and spacer in place with one hand, start the bolt in one of the holes. Do the same for the other bolt. <br />
Make sure the load cell is centered in the strut and not touching the sides. When you tighten the bolts, the end of the load cell will want to shift a little and could end up touching the sides. You may need to hold the load cell in the center of the strut while you tighten.<br />
<br />
Tighten the bolts.<br />
<br />
Thread an 8 mm hex nut on each leveling foot. <br />
<br />
Screw the leveling feet all the way into the load cells. The leveling foot should go all the way through the load cell, but not touch the strut.<br />
<br />
<div style="background-color: yellow; font-weight: bold; font-family:arial;color:#FF0000;font-size:14px;text-align:center;">'''NOTE: having the leveling leg too close to the strut may result in errant readings.'''</div><br />
<br />
===Cut Closure Strips===<br />
Measure the distance between the leveling feet. <br />
<br />
Using the hacksaw, cut the closure strip to fit between the leveling feet. '''The closure strips should not contact the threaded portion of the leveling feet.''' If the strip is cut too long, a rat tailed file or rasp can be use to cut a semicircle in the ends.<br />
<br />
===Punch End Caps===<br />
[[File:Punch endcap1.jpg|thumb|400px|Punch End Caps]]<br />
<br clear=all><br />
<br />
===Set Overload Limits===<br />
[[File:Loadcell overlimit.jpg|thumb|600px|Setting the overload limit.]]<br />
<br />
<div style="background-color: yellow; font-weight: bold; font-family:arial;color:#FF0000;font-size:14px;text-align:center;">'''NOTE: This load cell is installed upside down! The green arrow on the end of the load cell should point in the direction force will cause the load cell to flex.'''</div><br />
<br />
Mechanical overlimit protection is not essential, but is a good idea. Overloading load cells beyond their capacity may damage them. They are typically rated at 120% to 150% overload capacity. See the Safe Overload rating on the [[Media:CZL602X.pdf|CZL602X Spec Sheet]]. Dropping a full super on top of the hive or forcing a frame into a super is usually not a problem, the wood will absorb most of the shock. <br />
<br />
'''If the scale is dropped onto a cement floor and hits on one corner or if not properly packed for shipping the load cells may be damaged.'''<br />
<br />
Mechanical overlimit protection consists of some method of limiting the travel (bending) when an overload is applied.<br />
<br />
#Insert a feeler gauge between the load cell and the top of the mounting rail. <br />
#Adjust the leveling foot until it contacts the feeler gauge.<br />
#Tighten the lock nut so the leveling foot cannot move.<br />
<br />
<br />
If the gap is set too narrow, the scale will not correctly record increases in weight.<br />
<br />
The size of the gap can be measured by attaching a dial gauge to the scale and loading it to capacity.<br />
<br />
For the CZL602X load cells, the proper gap appears to be about .002 inches.</div>Adrianhttp://wiki.hivetool.org/index.php?title=Software:_Install_Hivetool_Pi_image&diff=2726Software: Install Hivetool Pi image2016-05-16T08:17:25Z<p>Adrian: /* Verify MD5 sum */</p>
<hr />
<div>[[File:Image073 xrdp desktop 1024.jpg|thumb|right|500px|0.7.3 image on Window Remote Desktop.]]<br />
==Summary==<br />
'''This image is a bootable compilation of Hivetool software for the Raspberry Pi. It is based the Jessie release of the Raspian distribution of the Linux operating system.'''<br />
*It is large (4.2 Gig) and requires some patience to manipulate.<br />
*Use an 8 gig minimum microSD with 48 mbps Class 10 or better speed.<br />
<br />
==Download Image==<br />
<br />
Download latest Hivetool image, hivetool_073_RC3.zip (1.8 Gig): '''https://drive.google.com/open?id=0B_3xqxGS2psWN1hTSmk5SldJSms'''<br><br />
<br />
Download HiveConTool; All zipped up; Raspian Jessie 4.1 Pi OS with Hivetool and HiveControl ready for loading on an 8 Gig micro SD card.<br><br />
Folder link to instructions and download from Google Shared Folder: '''https://drive.google.com/open?id=0B8ZWirzPwqHfdGgtRS03RWY3T0E'''<br><br />
<br />
==Verify MD5 sum==<br />
Verify download was complete and error free. Check file integrity to ensure an exact copy of the compressed image file.<br><br />
Calculate MD5 sum and make sure it matches: <br />
HiveTool073.zip MD5 sum: f1618e26ff1b03dfc2fae722e537b6d2.<br />
HiveContTool_173_157.img Unzipped MD5 Checksum by WinDiskImager32: acef0265865dbe7634a27de944ec9a01.<br><br />
<br />
===Windows===<br />
<br />
FCIV -md5 hivetool073.zip<br />
<br />
==Unzip==<br />
<br />
===Linux===<br />
unzip hivetool073.zip<br />
===Windows===<br />
With Windows explorer locate hivetool073.zip (usually in download directory).<br />
Right click on file to Extract to desired location<br />
<br />
==Copy image to micro SD card==<br />
'''Proceed with caution, an incorrect setting could corrupt your PC or attached storage. REMOVE any other USB memory devices from your computer.'''<br><br />
<br />
===Linux===<br />
Detailed instructions:<br />
http://elinux.org/RPi_Easy_SD_Card_Setup#Flashing_the_SD_Card_using_Linux_.28including_on_a_Pi.21.29<br />
# REMOVE any other USB memory devices from your computer.<br />
# Determine the device for the card reader <br />
##/dev/mmcblk0 for the built in reader on my laptop.<br />
##/dev/sdb for a USB card reader<br />
# Copy the image to the SD card:<br />
dd bs=4M if=hivetool073.img of=/dev/sdb<br />
<br />
===Windows===<br />
raspberrypi.org recommends using:<br />
http://sourceforge.net/projects/win32diskimager/ <br><br />
Detailed instructions: http://elinux.org/RPi_Easy_SD_Card_Setup#Flashing_the_SD_Card_using_Windows<br />
<br />
#REMOVE any other USB memory devices from your computer.<br />
#Plug micro SD Card in adapter, confirm device letter using Windows Explorer.<br />
#Start Win32DiskImager<br />
#Browse to source file (image in downloads directory)<br />
#Make absolutely sure the drive letter (destination) to right of source file is the SD card<br />
#Check MD5 hash (0c1f26195db2f1a158bd88e95448fedb) this takes a few minutes<br />
#Click on Write, this takes a few more minutes<br />
#Confirm successful write then exit<br />
#The SD card image is called "boot" 25 files now visible in Windows explorer<br />
#Windows will report 40 megabytes free space on the SD card<br />
You are now ready to eject micro SD card and place into the Pi<br />
<br />
==Setup Pi Operating System==<br />
<br />
#Install micro SD card into bare Pi, power up with Ethernet or for (non windows use local terminal)<br />
#If using Ethernet determine IP address by viewing latest entry in access point<br />
#Identify IP in the DHCP table named "raspberrypi"<br />
<br />
===Windows===<br />
#On a Windows PC setup a new remote desktop connection (RDP), enter target IP address of Pi<br />
#If the Pi is found you will be prompted to enter the default user "pi" and password "raspberry"<br />
#Leave the default module as "sesmon-Xvnc"<br />
#Once connected you will see the Pi desktop, Menu to "preferences"sub "raspberry pi configuration"<br />
#Under menu "system tab" "expand file system", then OK then reboot from main menu last item<br />
#Reestablish remote desktop connection using saved RDP Windows settings, login to desktop<br />
#Under menu "localisation" tab set your timezone Local, Language preferences<br />
#Under menu "system tab", Change default Password and the Hostname to match a hive name to be monitored, Ok to save & reboot<br />
#Under menu "system tab" the remaining settings should be default unless a Pi camera is attached<br />
# Open a Terminal Window, at command prompt run; "sudo apt-get update", also "sudo apt-get upgrade" to get latest patches<br />
#Plug in WiFi dongle, configure WiFi authentication on desktop, top RH corner, dual monitors icon<br />
#If WiFi connects, a signal strength indicator will replace the monitors icon, it will be necessary to enter the security key<br />
<br />
'''You are now ready to configure Hivetool. http://hivetool.org/w/index.php?title=Configure_Hivetool'''</div>Adrianhttp://wiki.hivetool.org/index.php?title=HiveTool.org&diff=2725HiveTool.org2016-05-16T07:53:44Z<p>Adrian: Added HiveControl Topic</p>
<hr />
<div><div style="background-color: #aaaaff;"><br />
<br />
[[File:Image073 xrdp desktop 1024.jpg|thumb|750px|0.7.3 image on Window Remote Desktop.]]<br />
<div style="font-weight: bold; font-family:arial;color:#FF0000;font-size:30px;text-align:center;">'''NEWS FLASH'''</div><br />
<center><br />
Updated May 15th 2016<br />
</center><br />
<br />
<center><br />
'''We Have Done it Again'''<br />
</center><br />
<br />
<center><br />
'''HiveConTool is new Hive Control 1.57 and Hivetool 0.7.3 wrapped up into one download'''<br />
</center><br />
<br />
Recent Changes:<br />
*New Hive Control Software<br />
*Remote RDP Windows Access<br />
*Touchscreen pop up keyboard support<br />
*Built on the latest Raspian image<br />
*Beekeeper Friendly Desktop Icons and Easy Navigation<br />
<br />
<center><br />
[[Software:_Overview|'''Read more about the software''']]<br><br />
<br />
[http://hivetool.org/w/index.php?title=Software:_Install_Hivetool_Pi_image '''Download The Latest Image''']<br><br />
<br />
[http://hivetool.org/d/forum '''Join our new Forums''']</center><br />
<br />
<br clear=all><br />
</div><br />
----<br />
<br />
[[File:XP001_20150419.gif|thumb|750px|right|frame|<div style="font-weight: bold; font-family:arial;color:#66ff66;font-size:30px;text-align:center;"><br>Links to hives have moved to [http://hivetool.net hivetool.net]<br></div>]]<br />
<br />
== HiveTool&trade; ==<br />
HiveTool&trade; is a collection of readily available, off-the-shelf [[hardware]] and free, open source [[Software:_Overview|software]] that continuously monitors a beehive. Computerized hive monitors provide real time and historic data and graphs of weight, internal and ambient temperature, humidity and light levels which give the beekeeper a noninvasive view into the hive. HiveTool won the [https://www.youtube.com/watch?v=qsKHckMX0OU2015 2015 Bayer Bee Care Community Leadership Award].<br />
<br />
*Hivetool.org - Documentation, instructions, and a forum for discussions on how to set up a bioserver to monitor a bee hive.<br />
<br />
*[http://hivetool.net Hivetool.net] - Access the network of monitored hives: status, graphs, download data, view the video feeds.<br />
<br />
==HiveControl&trade; ==<br />
HiveControl is beekeeper friendly alternative software for use with HiveTool suite of software and hardware.<br />
HiveControl may be used standalone or in conjunction with HiveTool.<br><br />
Main Features:<br />
*Sensor Drivers work with HiveTool Sensor board<br />
*Data Acquisition & Database<br />
*Menu Driven Configuration Screens<br />
*Graphical Trends and Dashboard<br />
*Uploads data to HiveTool cloud<br />
*Video Bee Counter<br><br />
More can learned about HiveControl on [https://github.com/rcrum003/HiveControl Github]<br />
<br />
== Uses ==<br />
=== [[Hive Management]] ===<br />
[[File:Hive graph 20111006 small.gif|frameless|right|260px]]<br />
Knowing what is happening in the hive is crucial to proper hive management. By knowing the beginning, end, and quantity of nectar flows, bee keepers can determine when to add and remove supers, when to move hives and where to locate hives to maximize honey production. [[Hive_Management|Read More]]<br />
<br />
=== [[Climate and Land Use Research]] ===<br />
[[File:Athens LC V5.png|frameless|right|260x100px]]<br />
Plant/pollinator interaction is used to measure the performance of the environment, instead of the performance of individual hives.<br />
[[Climate and Land Use Research|Read More]]<br />
<br />
=== [[Education and Bee Science]] ===<br />
[[File:RGNS mites.jpg|frameless|right|260px]]<br />
A program to attract students to Science Technology Engineering Math (STEM). Bee science includes agriculture, biology, botany, chemistry, computing, food, industrial arts, math, physics, programming, statistics – in short, something for everyone. [[Education and Bee Science|Read More]]<br />
<br clear=all><br />
<br />
== [[Hardware]] ==<br />
===[[New Developer Kit]]===<br />
[[File:P1010016c.jpg|thumb|130px|Dev Kit PCB installed on a Pi 2.]]<br />
An early goal of Hivetool was to develop a $50 scale. A developers kit to get beta units in the field for testing,<br />
gather user feedback, and provide a platform to foster open source community development is available at cost <br />
plus a voluntary contribution ... [[New_Developer_Kit|Read More]]<br />
<br />
===[[Hardware|Commercial Sensors]]===<br />
A scale hive (or bioserver) consists of a computer (desktop, laptop, router, SBC/SOC such as [http://en.wikipedia.org/wiki/Raspberry_Pi Raspberry Pi]), which is used to record, display, and analyze data from sensors such as scales, thermometers, hygrometers, microphones, cameras, photocells and rain gage. Listed below are readily available, commercial, off the shelf products that are currently in use or undergoing development and testing. [[Hardware|Read More]]<br />
<br />
== [[Software: Overview]] ==<br />
[[File:Software flow diagram1a.png|thumb|right|200px]]<br />
For software installation instructions, see '''[[Software:_Overview|How to load hivetool on the Pi]].''' <br />
<br />
Hivetool can be used as a:<br />
# [http://en.wikipedia.org/wiki/Data_logger Data logger] that provides data acquisition and storage.<br />
# Bioserver that displays, streams, analyzes and visualizes the data in addition to data acquisition and storage.<br />
[[Software:_Image_Details|Details of how the image is created]]<br />
<br clear=all><br />
<br />
==[[Bee Counter]]==<br />
<br />
{| align="right" <br />
| [[File:Tracks.jpg|thumb|left|300px|Tracks]]<br />
| [[File:BeeTrack1 2a.png|thumb|left|300px|BeeCounter]]<br />
|}<br />
<br />
While a scale can reveal nectar flows, orientation flight and the general health of the hive, it doesn't answer all the questions.<br />
A bee counter using low cost off-the-shelf hardware is being designed and tested. [[Bee Counter|Read More.]]<br />
<br />
<br />
Two different approaches are shown, <br />
*[http://sonic.net/~goddard/home/bees/bees.html Tracks], a video based tracking software.<br />
*[[Bee_counter_software|BeeCounter]], based on openCV libraries.<br />
<br clear=all><br />
<br />
== [[How To]] ==<br />
User manual, construction plans, solar design, troubleshooting. [[How To|Read More]]<br />
<br />
== [[Hive Selection and Manipulation]] ==<br />
Guidelines from ''Protocol for Scale Hive Measurements of the Honey Bee Nectar Flow''. [[Hive Selection and Manipulation|Read More]]<br />
<br />
== [[Data Warehouse]] ==<br />
Since HiveTool&trade; is open source/open notebook, the entire primary record is publicly available online as it is recorded. Storing, organizing and providing access to the data is necessary. [[Data_Warehouse|Read More]]<br />
<br />
== [[Hivetool:About|About]] ==<br />
This open source project is comprised of beekeepers who work in electronics and information technology. Our goal is to produce software tools to monitor, manage and research bees and honey production. [[Hivetool:About|Read More]]<br />
<br />
== [[To Do]] ==<br />
Lots to do! Whether you are a web site developer, database administrator, or programmer, there is something for you. Look over the list below - [[To Do|Read More]]<br />
<br />
== [[Why]] ==<br />
Why put a computer in a hive? [[Why|Read More]]<br />
<br />
== Projects ==<br />
*[[South Carolina Hive Instrumentation Project]]<br />
*Bioacoustics<br />
*[[Bioserver]]<br />
*[http://hivetool.org/history History]<br />
<br />
== Site Index ==<br />
[[Special:AllPages|Site Index]]<br />
== Contact==<br />
For comments, questions, or suggestions, please send an email to info at this webite, hivetool.org.</div>Adrianhttp://wiki.hivetool.org/index.php?title=HiveTool.org&diff=2724HiveTool.org2016-05-16T06:50:11Z<p>Adrian: </p>
<hr />
<div><div style="background-color: #aaaaff;"><br />
<br />
[[File:Image073 xrdp desktop 1024.jpg|thumb|750px|0.7.3 image on Window Remote Desktop.]]<br />
<div style="font-weight: bold; font-family:arial;color:#FF0000;font-size:30px;text-align:center;">'''NEWS FLASH'''</div><br />
<center><br />
Updated May 15th 2016<br />
</center><br />
<br />
<center><br />
'''We Have Done it Again'''<br />
</center><br />
<br />
<center><br />
HiveConTool is new Hive Control 1.57 and Hivetool 0.7.3 wrapped up into one download'''''<br />
</center><br />
<br />
Features:<br />
*New Hive Control Software<br />
*Remote RDP Windows Access<br />
*Touchscreen pop up keyboard support<br />
*Open62541 support<br />
*Built on the latest Raspian image.<br />
<br />
<br />
<center><br />
[[Software:_Overview|'''Read more about the software''']]<br><br />
<br />
[http://hivetool.org/w/index.php?title=Software:_Install_Hivetool_Pi_image '''Download The Latest Image''']<br><br />
<br />
[http://hivetool.org/d/forum '''Join our new Forums''']</center><br />
<br />
<br clear=all><br />
</div><br />
----<br />
<br />
[[File:XP001_20150419.gif|thumb|750px|right|frame|<div style="font-weight: bold; font-family:arial;color:#66ff66;font-size:30px;text-align:center;"><br>Links to hives have moved to [http://hivetool.net hivetool.net]<br></div>]]<br />
<br />
== HiveTool&trade; ==<br />
HiveTool&trade; is a collection of readily available, off-the-shelf [[hardware]] and free, open source [[Software:_Overview|software]] that continuously monitors a beehive. Computerized hive monitors provide real time and historic data and graphs of weight, internal and ambient temperature, humidity and light levels which give the beekeeper a noninvasive view into the hive. HiveTool won the [https://www.youtube.com/watch?v=qsKHckMX0OU2015 2015 Bayer Bee Care Community Leadership Award].<br />
<br />
*Hivetool.org - Documentation, instructions, and a forum for discussions on how to set up a bioserver to monitor a bee hive.<br />
<br />
*[http://hivetool.net Hivetool.net] - Access the network of monitored hives: status, graphs, download data, view the video feeds.<br />
<br />
== Uses ==<br />
=== [[Hive Management]] ===<br />
[[File:Hive graph 20111006 small.gif|frameless|right|260px]]<br />
Knowing what is happening in the hive is crucial to proper hive management. By knowing the beginning, end, and quantity of nectar flows, bee keepers can determine when to add and remove supers, when to move hives and where to locate hives to maximize honey production. [[Hive_Management|Read More]]<br />
<br />
=== [[Climate and Land Use Research]] ===<br />
[[File:Athens LC V5.png|frameless|right|260x100px]]<br />
Plant/pollinator interaction is used to measure the performance of the environment, instead of the performance of individual hives.<br />
[[Climate and Land Use Research|Read More]]<br />
<br />
=== [[Education and Bee Science]] ===<br />
[[File:RGNS mites.jpg|frameless|right|260px]]<br />
A program to attract students to Science Technology Engineering Math (STEM). Bee science includes agriculture, biology, botany, chemistry, computing, food, industrial arts, math, physics, programming, statistics – in short, something for everyone. [[Education and Bee Science|Read More]]<br />
<br clear=all><br />
<br />
== [[Hardware]] ==<br />
===[[New Developer Kit]]===<br />
[[File:P1010016c.jpg|thumb|130px|Dev Kit PCB installed on a Pi 2.]]<br />
An early goal of Hivetool was to develop a $50 scale. A developers kit to get beta units in the field for testing,<br />
gather user feedback, and provide a platform to foster open source community development is available at cost <br />
plus a voluntary contribution ... [[New_Developer_Kit|Read More]]<br />
<br />
===[[Hardware|Commercial Sensors]]===<br />
A scale hive (or bioserver) consists of a computer (desktop, laptop, router, SBC/SOC such as [http://en.wikipedia.org/wiki/Raspberry_Pi Raspberry Pi]), which is used to record, display, and analyze data from sensors such as scales, thermometers, hygrometers, microphones, cameras, photocells and rain gage. Listed below are readily available, commercial, off the shelf products that are currently in use or undergoing development and testing. [[Hardware|Read More]]<br />
<br />
== [[Software: Overview]] ==<br />
[[File:Software flow diagram1a.png|thumb|right|200px]]<br />
For software installation instructions, see '''[[Software:_Overview|How to load hivetool on the Pi]].''' <br />
<br />
Hivetool can be used as a:<br />
# [http://en.wikipedia.org/wiki/Data_logger Data logger] that provides data acquisition and storage.<br />
# Bioserver that displays, streams, analyzes and visualizes the data in addition to data acquisition and storage.<br />
[[Software:_Image_Details|Details of how the image is created]]<br />
<br clear=all><br />
<br />
==[[Bee Counter]]==<br />
<br />
{| align="right" <br />
| [[File:Tracks.jpg|thumb|left|300px|Tracks]]<br />
| [[File:BeeTrack1 2a.png|thumb|left|300px|BeeCounter]]<br />
|}<br />
<br />
While a scale can reveal nectar flows, orientation flight and the general health of the hive, it doesn't answer all the questions.<br />
A bee counter using low cost off-the-shelf hardware is being designed and tested. [[Bee Counter|Read More.]]<br />
<br />
<br />
Two different approaches are shown, <br />
*[http://sonic.net/~goddard/home/bees/bees.html Tracks], a video based tracking software.<br />
*[[Bee_counter_software|BeeCounter]], based on openCV libraries.<br />
<br clear=all><br />
<br />
== [[How To]] ==<br />
User manual, construction plans, solar design, troubleshooting. [[How To|Read More]]<br />
<br />
== [[Hive Selection and Manipulation]] ==<br />
Guidelines from ''Protocol for Scale Hive Measurements of the Honey Bee Nectar Flow''. [[Hive Selection and Manipulation|Read More]]<br />
<br />
== [[Data Warehouse]] ==<br />
Since HiveTool&trade; is open source/open notebook, the entire primary record is publicly available online as it is recorded. Storing, organizing and providing access to the data is necessary. [[Data_Warehouse|Read More]]<br />
<br />
== [[Hivetool:About|About]] ==<br />
This open source project is comprised of beekeepers who work in electronics and information technology. Our goal is to produce software tools to monitor, manage and research bees and honey production. [[Hivetool:About|Read More]]<br />
<br />
== [[To Do]] ==<br />
Lots to do! Whether you are a web site developer, database administrator, or programmer, there is something for you. Look over the list below - [[To Do|Read More]]<br />
<br />
== [[Why]] ==<br />
Why put a computer in a hive? [[Why|Read More]]<br />
<br />
== Projects ==<br />
*[[South Carolina Hive Instrumentation Project]]<br />
*Bioacoustics<br />
*[[Bioserver]]<br />
*[http://hivetool.org/history History]<br />
<br />
== Site Index ==<br />
[[Special:AllPages|Site Index]]<br />
== Contact==<br />
For comments, questions, or suggestions, please send an email to info at this webite, hivetool.org.</div>Adrian