Infrared Task
- PM2017
- Member
- Posts: 524
- Joined: January 20th, 2017, 5:02 pm
- Division: Grad
- State: CA
- Has thanked: 23 times
- Been thanked: 13 times
Re: Infrared Task
Can something like this be used without an arduino?
https://www.amazon.com/dp/B00EFOQEUM/re ... 4521312818
I'm using my arduino for a different part of my contraption. (flipping the coin.)
https://www.amazon.com/dp/B00EFOQEUM/re ... 4521312818
I'm using my arduino for a different part of my contraption. (flipping the coin.)
West High '19
UC Berkeley '23
Go Bears!
UC Berkeley '23
Go Bears!
-
- Member
- Posts: 171
- Joined: March 16th, 2017, 3:34 pm
- Division: C
- State: CA
- Has thanked: 2 times
- Been thanked: 2 times
Re: Infrared Task
Hi,
Just want to share some listens learned about IR.
We tried the 38kHz IR receiver (3 pin). The manufacture packed a lot of stuff in it. It only detects around 38kHz carrier. It will also shut off if it detects continuous 38kHz carriers.
With TV remote, we can see the receiver is working: flashing on off patterns.
With our own 38kHz continuous signal (build with 555 timer and IR led), it only briefly on, then off and quite.
From the web, it is said that you need to add another 1kHz modulation to that 38kHz to make the 38kHz receiver work. This is not tested and we will try in a few days.
Now we plan to go plan B, use the raw IR photodiode (2 pin) to detector IR and control a relay via a comparer so we can adjust the sensitivity.
We also ordered a few special IR receiver (3 pin). They are for special purpose, like learning the code or repeater, so they output the whole thing, not checking burst headers and gaps: TSMP58000, TSMP58138, and TSMP4138. Hope we can use these to avoid ambient IR and still work after we de-modulate it by ourselves.
Merry Christmas and Happy New Year!
Jinhu
Just want to share some listens learned about IR.
We tried the 38kHz IR receiver (3 pin). The manufacture packed a lot of stuff in it. It only detects around 38kHz carrier. It will also shut off if it detects continuous 38kHz carriers.
With TV remote, we can see the receiver is working: flashing on off patterns.
With our own 38kHz continuous signal (build with 555 timer and IR led), it only briefly on, then off and quite.
From the web, it is said that you need to add another 1kHz modulation to that 38kHz to make the 38kHz receiver work. This is not tested and we will try in a few days.
Now we plan to go plan B, use the raw IR photodiode (2 pin) to detector IR and control a relay via a comparer so we can adjust the sensitivity.
We also ordered a few special IR receiver (3 pin). They are for special purpose, like learning the code or repeater, so they output the whole thing, not checking burst headers and gaps: TSMP58000, TSMP58138, and TSMP4138. Hope we can use these to avoid ambient IR and still work after we de-modulate it by ourselves.
Merry Christmas and Happy New Year!
Jinhu
Re: Infrared Task
So you probably would need an arduino or some type of micro I trolled because otherwise all the pins do is collect information and then not send it anywhere where it can be used to start the next action (the microcontrolller). However, I think the rule states you can use more than one micro controller so long as one controller doesn’t control two actions.PM2017 wrote:Can something like this be used without an arduino?
https://www.amazon.com/dp/B00EFOQEUM/re ... 4521312818
I'm using my arduino for a different part of my contraption. (flipping the coin.)
-
- Member
- Posts: 69
- Joined: November 27th, 2015, 8:26 am
- Division: B
- State: VA
- Has thanked: 0
- Been thanked: 0
Re: Infrared Task
I'm trying to use an Arduino with an IR transmitter/receiver pair to do this task. I am unsure how to transmit and receive at the same time, however, and I think it may be impossible. Anyone know how to do this or know of possible alternatives?
()_]_[___]_[_/_]..... .. .. ... . . .
()'''''''''''''''''''''
()'''''''''''''''''''''
Re: Infrared Task
As people are discussing in the main mission possible thread, It may be best to use two microcontrollers.SluffAndRuff wrote:I'm trying to use an Arduino with an IR transmitter/receiver pair to do this task. I am unsure how to transmit and receive at the same time, however, and I think it may be impossible. Anyone know how to do this or know of possible alternatives?
-
- Member
- Posts: 69
- Joined: November 27th, 2015, 8:26 am
- Division: B
- State: VA
- Has thanked: 0
- Been thanked: 0
Re: Infrared Task
Do you think it would be fine to constantly keep an IR Led on, and then begin reading it at a certain point to cause the next action?
()_]_[___]_[_/_]..... .. .. ... . . .
()'''''''''''''''''''''
()'''''''''''''''''''''
- PM2017
- Member
- Posts: 524
- Joined: January 20th, 2017, 5:02 pm
- Division: Grad
- State: CA
- Has thanked: 23 times
- Been thanked: 13 times
Re: Infrared Task
No. The rule is that an electric component can only be on for 10 seconds.SluffAndRuff wrote:Do you think it would be fine to constantly keep an IR Led on, and then begin reading it at a certain point to cause the next action?
West High '19
UC Berkeley '23
Go Bears!
UC Berkeley '23
Go Bears!
-
- Member
- Posts: 69
- Joined: November 27th, 2015, 8:26 am
- Division: B
- State: VA
- Has thanked: 0
- Been thanked: 0
Re: Infrared Task
Actually an electric component can only be USED (in the task sequence) for 10 seconds, but the ES that judges my state has had no problem with having LEDs on and removing a barrier between it and the photocell. From this there shouldn't be a problem with IR either, should there?PM2017 wrote:No. The rule is that an electric component can only be on for 10 seconds.SluffAndRuff wrote:Do you think it would be fine to constantly keep an IR Led on, and then begin reading it at a certain point to cause the next action?
()_]_[___]_[_/_]..... .. .. ... . . .
()'''''''''''''''''''''
()'''''''''''''''''''''
- PM2017
- Member
- Posts: 524
- Joined: January 20th, 2017, 5:02 pm
- Division: Grad
- State: CA
- Has thanked: 23 times
- Been thanked: 13 times
Re: Infrared Task
Ohhhh, right, I remember someone discussing this at the start of the season. It should be good, but I'd carry a copy of the rules with you on comp day, in case the ES says anything...SluffAndRuff wrote:Actually an electric component can only be USED (in the task sequence) for 10 seconds, but the ES that judges my state has had no problem with having LEDs on and removing a barrier between it and the photocell. From this there shouldn't be a problem with IR either, should there?PM2017 wrote:No. The rule is that an electric component can only be on for 10 seconds.SluffAndRuff wrote:Do you think it would be fine to constantly keep an IR Led on, and then begin reading it at a certain point to cause the next action?
On a slightly unrelated note, does that mean that I could have a UV light on for the duration of the run, and block that as an action, without penalty?
West High '19
UC Berkeley '23
Go Bears!
UC Berkeley '23
Go Bears!
Who is online
Users browsing this forum: No registered users and 1 guest