Netduino home hardware projects downloads community

Jump to content


The Netduino forums have been replaced by new forums at community.wildernesslabs.co. This site has been preserved for archival purposes only and the ability to make new accounts or posts has been turned off.
Photo

Need help with converting an Fezzer application


  • Please log in to reply
4 replies to this topic

#1 Michel Tol

Michel Tol

    Member

  • Members
  • PipPip
  • 16 posts
  • LocationNL

Posted 26 December 2010 - 01:17 PM

Hi,


after doing my succesfull WOL project, I wanted to play with my 434mhz transmitter.

My plan was to remote control my KAKU devices, so I could control them via the web (in combination with the N+). After a bit of searching on the web I found that somebody already did that in combination with Fez Domino and that he posted his code on Fezzer.com. While investigation his code, I saw he was using an outputCompare object to do the real transmitting of the message the KAKU device need. I couldn't find an outputCompare class in the N+ classes. Trying I tried to investigate the outputcompare class via reflactor I didn't become any wiser.

I think my lack of electronic knownlegde holding me back but in newbie language what is an outputcompare (wikipedia didn't help me relly much)? and how can I implement such thing for the netduino? Or did somebody already implement it and is he willing to post his code?



tnx,
michel


BTW: merry christmas :D

#2 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 26 December 2010 - 08:22 PM

Hi Michel, One of the community members created a BitBanger class which will probably work nicely for what you're trying to do. They posted custom firmware here on the forums including this feature...and we're working on incorporating it into a future core firmware update as well. Chris

#3 Jan Olof

Jan Olof

    Advanced Member

  • Members
  • PipPipPip
  • 41 posts
  • LocationSweden

Posted 27 December 2010 - 02:06 PM

Hi Michel, Perhaps this explanation helps: So how does OutputCompare work? Basically, you provide the method with an array of time values between each pin toggle. The OutputCompare then goes through the array of time values and generate the signal on the requested pin. I have copied it from the following place http://www.microfram...=Output_Compare /Jan Olof

#4 Mats Karlsson

Mats Karlsson

    New Member

  • Members
  • Pip
  • 6 posts

Posted 03 January 2011 - 12:42 PM

Hello I have a similar transmitter. (433,92mhz, and Rising Sun recievers). Is it possible to use the BitBanger firmware/classes to simulate OutputCompare. What we would need is being able to set and clear a digital pin with micro second precision. Is it possible to send about 30 on/off with about 50-750us delay between each toggle?

#5 Michel Tol

Michel Tol

    Member

  • Members
  • PipPip
  • 16 posts
  • LocationNL

Posted 04 January 2011 - 08:56 PM

I totall forgot to reply on this topic...
Olaf, Chris tnx for your reply.

If I would use the bitBanger firmware I wouldn't know with the Cpu.Pin clockPin. What is it used for? Do I have to add a Real Time Clock Module to it?




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.