Click here to learn
about this Sponsor:
Home  |  News  |  Articles  |  Polls  |  Forum  |  Directory

Keywords: Match:
Using Windows CE in Precision Farming Systems
(Jul. 29, 2003)

Microsoft spoke with Larry Ricci, of Applied Data Systems (ADS), about the company's choice to use Windows CE in the development of a precision farming system in conjunction with MidWest Technologies.

Microsoft: What was the embedded systems project that Applied Data Systems worked on with Midwest Technologies?

ADS: Midwest Technologies needed a precision farming system rugged enough to survive installation in a farm tractor, but still powerful and real-time responsive enough to monitor and operate over 100 points of sprayer control. What's more, the system needed to support a full VGA color GUI, and maintain in memory nutrient maps profiling the chemical application and resultant crop yield of the fields. A Windows CE system running on Applied Data System's Graphics Master proved to be the answer.

By selectively building Windows CE for the Midwest application, ADS was able to keep total overhead below 5 MB, leaving Midwest with as much main memory as they wanted for field nutrient maps, and allowing precision application of chemicals to one foot accuracy in the field. ADS simply left out the browser, MFC support (Midwest was coding directly to the Windows API), third-party drivers, SQL server, ADOCE, VB support, and a few other unneeded features. The operating system build came in at under 5 MB and still included the full Windows GUI, all desktop and control panel features, support for GPS, Power Management, and support for extensive real time IO. No special methods or custom code was required, and no alternates to the standard Windows CE system were used where Windows components existed.

The resulting system is robust and real-time responsive, operating tractor-mounted sprayers and ratio controllers over direct I/O and CAN 2.0b while simultaneously giving the operator a visual indication of how to keep exactly on path within a foot or so, preventing overlap and recording exact chemical dosage.

Key Features include:
  • Full VGA/color GUI
  • Full desktop and control panel support
  • Real-time monitoring and control of ~100 points
  • CAN 2.0b
  • Validated CE BSP

Microsoft: What were the decision points that lead to your using Windows CE in your device?

ADS: The customer had what amounted to a "fast prototype" application running on a Windows 98 laptop, written directly to the Win32 API. Without too much trouble, they were able to port it over to the Windows CE platform with a limited re-code and recompile for ARM. The primary work required only dealt with the fundamentally different hardware features such as power management and sleep mode.

Even if there had not been a legacy application, Windows CE would have been a good fit. The customer needed good graphics to provide a useable HMI in the tractor cab that was driven, in part, by large databases and real time data. The combination of database, real time, and graphics is not easily found in an operating system.

Microsoft: Explain why componentization was important to this project.

ADS: This system needs to fit a lot into a basic 32MB flash, 32MB DRAM single-board computer. In particular, there is a big stack of data required to store the nutrient map of the field. In addition, the system needs full graphics and real-time components such as an interface to CAN bus. Surprisingly, however, this is one of the smaller operating system builds we have made here at ADS. How is it that such a "big system" can be supported by a small operating system? The reason is componentization. Windows CE, perhaps unjustly, has a reputation for being big. However, if you really look at the build process, item by item, you can see the size of Windows CE is really a function of all the resources it offers. For example MFC's and ADOC support, a great convenience to programmers with legacy PC code, are rather large. Leave these components out and the operating system size drops by several MBs, freeing up application and data space. Similarly, browsers, Web servers, Visual Basic support, CLI/.NET, and more can be left out. At the end, Windows CE is quite compact.

Microsoft: Beyond the core operating system features, what in-house or third-party technologies did you need to add to your device, and was integration of additional applications/drivers easy?

ADS: The system required a CAN bus driver and a GPS driver. The CAN bus driver was a standard ADS driver that was moved for this project, with minimal problem, from a prior version of the operating system running on a slightly different hardware platform. The GPS driver was sourced from the GPS supplier and similarly integrated without event.

Microsoft: How was the footprint of your device reduced using the Platform Wizard and/or catalog?

ADS: This system foot print was built down in a "subtractive" manner. We started with the standard ADS build (essentially MaxALL) and worked with the customer to select which component to drop. Then each element was installed into the CEC and the system was built.

Microsoft: Describe the tool chain used to develop your device (Platform Builder, eMbedded Visual C++, Visual Studio .NET). Did you have the same engineers working on all parts of the project, or were you also able to develop parts of the project in parallel?

ADS: Applied Data Systems used Platform Builder to create the device and the BSP. These engineers work on the system software, making the operating system application ready. ADS provided the Windows CE API to Midwest, along with full support for various Microsoft utilities, such as the control panel. Midwest took it from there, working with Visual Studio in C++ to develop their application.



Larry Ricci is a senior consultant with an extensive background in multinational business-to-business ventures, including joint ventures, partnerships, and technology transfer agreements. He is a real-time and automation specialist.



Copyright © 2003 Microsoft Corp. All rights reserved. This story was initially published here. Reproduced by WindowsForDevices.com with permission.


(Click here for further information)


Windows XP for Embedded Applications
This white paper describes the benefits of using Windows XP when developing embedded applications.

A Manager's Guide to Selecting a Mobile Device Operating System
This white paper offers a comparative review of Microsoft Windows CE and Windows Mobile.

Visual Basic 6.0 to .NET Migration
This paper focuses on the methodology and techniques which Infosys (Microsoft Technology Center) has developed for migrating VB 6.0 Applications to .NET. Our approach ensures a smooth, cost effective, and efficient migration.

Mobile Device Security: Securing the Handheld, Securing the Enterprise
This whitepaper identifies security threats to corporate data on mobile devices and details how mobile devices can become a "backdoor" to the enterprise.

Mobile Device Security: The Eight Areas of Risk
It's common knowledge that adding mobile devices to your network increases security risks. There are multiple facets to mobile security, all of which should be paid close attention to. This E-Guide presents a more in depth look into the eight key areas of securing wireless devices.

Quality Assurance and .NET
This paper discusses best practices for functional, regression and load testing of .NET applications.

SCADA Security in Integrated Networks
As businesses leverage their SCADA systems by integrating them into the business networks, they must also assure the security of the SCADA system.

The Advantages of Small Form Factor HMI
HMIs have mutated and changed with new requirements, and they have become more flexible and capable. And while they've been doing that, they've become smaller and more useful.

9 Critical Requirements for Web Application Security
Learn why your Web applications expose dangerous security breaches and what’s required to effectively protect your Web applications and the sensitive information behind them.

 


Got a HOT tip?   please tell us!
Free weekly newsletter
Enter your email...
Click here for a profile of each sponsor:
PLATINUM SPONSORS
(Become a sponsor)

ADVERTISEMENT
(Advertise here)


Updated! The latest Windows-powered...

mobile phones!

other cool
gadgets

HOT TOPICS
Microsoft targets PNDs with new embedded OS
Microsoft tips .NET MF 3.0 highlights
Microsoft previews Windows Embedded Standard
Microsoft offers free Windows CE 6.0 textbook
Microsoft renames embedded operating systems
Microsoft unveils Windows Mobile 6.1
New Atom models target low-cost PCs
REFERENCE GUIDES
Windows Device Showcase
Intro to Windows Embedded
Intro to Shared Source
Real-time Windows Embedded
Windows Embedded books
Join our Windows Embedded discussion forums:
Windows XP Embedded
Windows CE
Windows Mobile


Windows Embedded developer newsgroups
Windows CE
XP Embedded
PocketPC
Smartphone

Microsoft's Windows Embedded resources
Embedded dev center
Mobile dev center
Windows CE tutorials
XP Embedded tutorials
Windows Embedded seminars
Windows Embedded application categories
3rd-party partners


BREAKING NEWS

• Superscalar ARM SoC runs Windows CE
• CE-based nav stack heads for CES
• Windows phone has dual displays
• Cortex-A8 SoC targets netbooks
• Palm "Nova" Linux set for CES debut?
• Editors' retrospective -- Windows-powered Devices in 2008
• Firefox mobile browser alphas released
• Box PC doubles as car computer
• Windows phone has dual active radios
• Windows PMP has dual-core CPU
• COM Express module sports Atom
• "Half-rack" network appliance runs Windows
• Cross-platform NAS runs Windows
• ARM to dominate MIDs?
• Toshiba launches first 512GB SSD


MOST POPULAR (last 90 days)
• "Netbook" uses Intel's Atom N270
• Windows CE takes on Linux in low-end netbooks
• HTC ups Touch resolution
• Microsoft unleashes new embedded OS
• Windows Mobile phone gets 800 x 480 display
• HTC spins WiMAX phone?
• Smart camera sports Atom
• Dual-core AMD netbook gets rave review
• Windows Mobile 7 "delayed"
• GPS phone uses new Marvell "Tavor" chip
MOST POPULAR (Classics from the vault)
Windows XP Embedded USB boot
Troubleshooting Windows XPe's blue screen "Stop 0x0000007B" error
Asus reveals $190 mini notebook
Windows Mobile 6 SDKs available for download
Windows Mobile VPN client plays with Cisco
HTC adds GPS to Windows Mobile Touch line
Microsoft unveils Windows Mobile 6.1
Guide to HTC's Windows Mobile smartphone platforms
• HTC releases Touch Diamond ROM upgrade
Customizing Windows XP Embedded thin clients

Also visit our sister sites:


Sign up for WindowsForDevices.com's...

news feed

Home  |  News  |  Articles  |  Polls  |  Forum  |  Directory  |  About  |  Contact
 

Ziff Davis Enterprise Home | Contact Us | Advertise | Link to Us | Reprints | Magazine Subscriptions | Newsletters
Tech RSS Feeds | White Papers | ROI Calculators | Tech Podcasts | Tech Video | VARs | Channel News

Baseline | Careers | Channel Insider | CIO Insight | DesktopLinux | DeviceForge | DevSource | eSeminars |
eWEEK | Enterprise Network Security | LinuxDevices | Linux Watch | Microsoft Watch | Mid-market | Networking | PDF Zone |
Publish | Security IT Hub | Strategic Partner | Web Buyer's Guide | Windows for Devices

Developer Shed | Dev Shed | ASP Free | Dev Articles | Dev Hardware | SEO Chat | Tutorialized | Scripts |
Code Walkers | Web Hosters | Dev Mechanic | Dev Archives | igrep

Use of this site is governed by our Terms of Service and Privacy Policy. Except where otherwise specified, the contents of this site are copyright © 1999-2008 Ziff Davis Enterprise Holdings Inc. All Rights Reserved. Reproduction in whole or in part in any form or medium without express written permission of Ziff Davis Enterprise is prohibited. Windows is a trademark or registered trademark of Microsoft Corporation in the United States and/or other countries and is used by WindowsForDevices under license from owner. All other marks are the property of their respective owners. WindowsForDevices is an independent publication not affiliated with Microsoft Corporation.