element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
    About the element14 Community
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      •  Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Energy Harvesting Design Challenge
  • Challenges & Projects
  • Design Challenges
  • Energy Harvesting Design Challenge
  • More
  • Cancel
Energy Harvesting Design Challenge
Blog A Very Compact Guide to Energy Harvesting - Part 007
  • Blog
  • Forum
  • Documents
  • Files
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: COMPACT
  • Date Created: 30 Apr 2013 12:45 PM Date Created
  • Views 507 views
  • Likes 0 likes
  • Comments 0 comments
  • energy_harvesting
  • energy_harvesting_challenge
Related
Recommended

A Very Compact Guide to Energy Harvesting - Part 007

COMPACT
COMPACT
30 Apr 2013

I'm feeling so remote!

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

 

 

To expedite my development, I visited the Lizard Lounge (EFM32 Community by Energy Micro) and found an IR Remote Control project that works with a Nikon D90 Camera.

http://forum.energymicro.com/topic/32-ir-remoteintervalometer-for-nikon-d90-camera/

 

This project is for a not specifically for the STK3700 so it required some work to get it fully working.

For the STK3700 the IR LED need to be connected to pins 4 (PD9-anode) and 6 (PD10-cathode).

These just happen to be located in the exact relative location on each PCB.

 

I noticed this project’s structure was a little different to that used in the STK3700 examples.

It had no BSP group and it had different configuration settings.

 

After some experimentation I have devised an easy method to import the project.

The procedure is basically taking the fully functional blink.eww template for the STK3700 and inserting the new code.

The new code may require other prerequisites such as emlib and driver files thus these too require insertion into the project.

(.h header file references magically become available upon these files’ insertion and do not require explicit insertion.)

 

image(The hard way which I also got going is to change all of the settings in the ir_remote.eww and reconfigure them for the EFM32GG990GF1024 target . This is considerably more tedious and prone to errors.)

 

imageThe easy way is as follows;

 

     1. Clone the blink example project by copying and pasting all of its files to a folder and renaming the folder with a new name.

 

     2. Replace blink.c.

a.     Open the blink.eww file (from the new folder)

b.     Remove all text from blink.c

  (You can perform a Project, Clean and confirm that all related files are removed from the project.)

c.     Insert the text from the ir_remote.c program into blink.c

 

     3. Insert any required additional emlib drivers.

a.     em_lcd.c

b.     em_rtc.c

 

     4. Create a project group in the workbench called Drivers and add any required additional drivers.

a.     Add segmentlcd.c

 

     5. Add a C compiler pre-processor include path to find the additional drivers.

a.     On project Explorer, right click blink – Debug, Options, C/C++ Compiler, Preprocessor Tab, Additional Include Libraries:, add

             $PROJ_DIR$\..\..\..\..\common\drivers

 

     6. (Optional) Rename all occurrences of blink to a more suitable label.

 

Now it is ready to build, download and test.

To check that it is all working;

 

     1. I used a red LED as a rough guide to see if any output is present.

 

     2. I pressed the buttons to ensure that their ISRs (Interrupt Service Routine) were working properly.

  • Sign in to reply
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2026 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube