![]() |
Holy crap, check out the Dangerous Things store! |
Toggling the autopulse pins? |
Post Reply
|
| Author | |
wolfdog1987
Groupie
Joined: 24 July 2009 Location: United States Status: Offline Points: 44 |
Post Options
Thanks(0)
Quote Reply
Topic: Toggling the autopulse pins?Posted: 31 May 2012 at 3:11pm |
|
I have the intention of buying a redbee at some point, sooner than later if this feature is included or can be added. I have been doing some looking around at the redbee documentation, and it doesnt seem that you can have the autopulse pins toggle on indefinitely with a good read, only for a timed period. I would love to use one of these in a vehicle ignition project. If it doesnt do toggling though, any reader that does momentary pulsing would work, and in that case, an 8 dollar ebay black box may be more favorable.
Does it do toggling? If not, could this feature be added in a future firmware/software revision? |
|
![]() |
|
amal
Admin Group
Joined: 22 November 2005 Location: United States Status: Offline Points: 2060 |
Post Options
Thanks(0)
Quote Reply
Posted: 11 June 2012 at 10:14pm |
|
Hey wolfdog1987,
Unfortunately I don't have the firmware source for the RedBee, and I know that it's packed to the brim with features. I worked with RoboticsConnection during development to squeeze every last byte of memory out of the PIC that's on there. I literally think there is about 14 bits of unused memory space left on the PIC with the current 1.1 firmware version. I've found that using a 7473 flip-flop IC is a very easy way to get that toggle effect, and use it in a couple projects of mine. Search this forum for mention of it (I use Google as the built-in search kinda sucks). The flipflop works by toggling two outputs for every pulse received on the input pin. A 1 second pulse goes in, output A is high for 1 second. A few seconds later (or a week later), a 5 second pulse goes in, output B is high for 5 seconds. The only requirement is that the flipflop remain powered up. If power is lost, the toggle state is lost and you will have no way to know which output will go high when your first input pulse is received.
|
|
|
Amal ;)
www.amal.net |
|
![]() |
|
amal
Admin Group
Joined: 22 November 2005 Location: United States Status: Offline Points: 2060 |
Post Options
Thanks(0)
Quote Reply
Posted: 11 June 2012 at 10:24pm |
|
oh... re-reading your post, I see you are talking about state locking, not toggling. A state lock means the output pin stays high until power is removed from the device. I normally do this with a self-feeding relay system, and a pretty intense discussion got started about it on this thread. Unfortunately, some of the images have gone 404, including some I posted (I hate that... now I upload everything to the forum rather than host images off-site)... but the main idea is that you trigger a DPDT relay that in turn feeds itself, keeping it locked in the "on" or latched state. The only way for this relay to unlatch is to break the feed loop or cut power entirely. I use this type of setup for my motorcycle.
|
|
|
Amal ;)
www.amal.net |
|
![]() |
|
wolfdog1987
Groupie
Joined: 24 July 2009 Location: United States Status: Offline Points: 44 |
Post Options
Thanks(0)
Quote Reply
Posted: 12 June 2012 at 12:20am |
|
Actually I was curious about both so you answered both questions lol, thanks!
|
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |