Swarm robot - Remote control team - Tasks, ideas, example code

58 views
Skip to first unread message

ourstuff888

unread,
May 14, 2012, 11:46:39 PM5/14/12
to xinch...@googlegroups.com
Hi all

I thought I should give a shout out to say :

I. put some ideas, tasks, example code on the wiki - see the remote team page that links from this page http://wiki.xinchejian.com/wiki/Swarm_robots/Soccer

2. As you all know I am leaving the country, so this week is your last chance to get me face to face, after that it is web only!

3. Please also keep a close eye on what ALL the other teams are doing as we need to work closely with them to get the remote control parts working with their parts.

We really need to take care to know which team is doing what bit as a LOT of what the Remote team is doing has to be integrated into the work of **ALL** the other teams!

This even includes the design team - for example if they COVER the field with some material as seems to be in the proposal, then can we transmit IR through this material?

4. It seems like the proposal for the central controller/communications is going ahead - again see the wiki. Also Edward knows more detail on this.

5. I can probably make it to one or maybe two more sessions, but it is really up to ALL OF YOU ON THE REMOTE TEAM to organise (including when/if you need me this week) and deliver!

Spencer

萨克森气势

unread,
May 15, 2012, 12:37:14 AM5/15/12
to xinch...@googlegroups.com, swarm...@xinchejian.com
Thanks Spencer,

yes I/we will update the Wiki as soon as we find the time. 
Wednesday and Thursday (if you have time please join on one or both days) we need to nail down how to merge the teams more or less. As you mentioned, there is a demand to share all the information with each team. 

~Lutz


2012/5/15 ourstuff888 <ourst...@gmail.com>

Paul Adams

unread,
May 15, 2012, 3:21:37 AM5/15/12
to xinch...@googlegroups.com, swarm...@xinchejian.com, 萨克森气势
let myself or ricky know if you have a github account and are not in
the xinchejian github group

On Tue May 15 12:37:14 2012, 萨克森气势 wrote:
> Thanks Spencer,
>
> yes I/we will update the Wiki as soon as we find the time.
> Wednesday and Thursday (if you have time please join on one or both
> days) we need to nail down how to merge the teams more or less. As you
> mentioned, there is a demand to share all the information with each team.
>
> ~Lutz
>
>
> 2012/5/15 ourstuff888 <ourst...@gmail.com
> <mailto:ourst...@gmail.com>>
>
> Hi all
>
> I thought I should give a shout out to say :
>
> I. put some ideas, tasks, example code on the wiki - see the
> remote team page that links from this page
> http://wiki.xinchejian.com/wiki/Swarm_robots/Soccer
>
> 2. As you all know I am leaving the country, so this week is your
> last chance to get me face to face, after that it is web only!
>
> 3. Please also keep a close eye on what ALL the other teams are
> doing as we need to work closely with them to get the remote
> control parts working with their parts.
>
> We really need to take care to know which team is doing what bit
> as a LOT of what the Remote team is doing has to be integrated
> into the work of ***ALL*** the other teams!

Lutz

unread,
May 15, 2012, 3:30:44 AM5/15/12
to Paul Adams, xinch...@googlegroups.com, swarm...@xinchejian.com, 萨克森气势
I got one and I am also in the XCJ group...i guess ;-)
However, I never got the system running smoothly, so I abandoned it ;-) 
I will install it again on my machine if we're going to use it more often.

~Lutz


From: Paul Adams <niha...@gmail.com>
To: xinch...@googlegroups.com
Cc: swarm...@xinchejian.com; 萨克森气势 <sachse...@gmail.com>
Sent: Tuesday, May 15, 2012 3:21 PM
Subject: Re: Swarm robot - Remote control team - Tasks, ideas, example code

Ricky Ng-Adam

unread,
May 15, 2012, 4:00:43 AM5/15/12
to xinch...@googlegroups.com, Paul Adams, swarm...@xinchejian.com, 萨克森气势
Please do! Ask for help if you need. It's a bit painful at the beginning but much better for teamwork.

I'd really like if we could put the insectbot code (for example) and maintain it there... I had to clean up the code from a copy on a USB key in Beijing and it was not fun ;-).

Pro-tip Lutz: in Arduino IDE,  CTRL-A, CTRL-T ;-)
--
伍思力 | Ricky Ng-Adam | http://xinchejian.com | (+86) 186-2126-2521

Lutz

unread,
May 15, 2012, 4:16:46 AM5/15/12
to Ricky Ng-Adam, xinch...@googlegroups.com, Paul Adams, swarm...@xinchejian.com, 萨克森气势
Ok, will try this these days.
Haha, got it!  Auto-format is not always aprecciated when I write code since it's confusing me when the machine is doing something without my permission ;-)
But you are right, some improvements could be done in my code design.

~Lutz


From: Ricky Ng-Adam <rng...@gmail.com>
To: xinch...@googlegroups.com
Cc: Paul Adams <niha...@gmail.com>; "swarm...@xinchejian.com" <swarm...@xinchejian.com>; 萨克森气势 <sachse...@gmail.com>
Sent: Tuesday, May 15, 2012 4:00 PM

hao jiang

unread,
May 15, 2012, 1:56:16 PM5/15/12
to xinch...@googlegroups.com, Ricky Ng-Adam, Paul Adams, swarm...@xinchejian.com, 萨克森气势
Hi guys,

I've manged to do a very simple IR seeker tonight, doesn't work too great yet, but good enough to reveal some problems:

1. The IR receiver modules are very good at picking up the IR signal, all 4 receiver facing all directions are all picking up the signal, I need to warp a paper over the small remote control to allow only one receiver to receive it at about 30cm.

2. Everything reflects IR, ricky's face reflects enough IR to allow the receiver to pick up the signal at a distance of 3~4meters.

Let's discuss the details tomorrow.

Regards
Edward

Lutz

unread,
May 15, 2012, 9:20:32 PM5/15/12
to hao jiang, xinch...@googlegroups.com, Ricky Ng-Adam, Paul Adams, swarm...@xinchejian.com, 萨克森气势
Well, i was not that successful last night because I do not have a device which is measuring frequencies. The setup with an IR receiver and an Arduino did work for my TV remote but not for the selfmade beacon. Probably the voltage have to be stabilized to 9V in my setup but I could not power it with others than an used 9V battery.

I got the breadboard in my bag for tonight, lets see if we can improve your setup to take the next step.

~Lutz


From: hao jiang <edwa...@gmail.com>
To: xinch...@googlegroups.com
Cc: Ricky Ng-Adam <rng...@gmail.com>; Paul Adams <niha...@gmail.com>; "swarm...@xinchejian.com" <swarm...@xinchejian.com>; 萨克森气势 <sachse...@gmail.com>
Sent: Wednesday, May 16, 2012 1:56 AM

hao jiang

unread,
May 15, 2012, 9:39:29 PM5/15/12
to xinch...@googlegroups.com, Ricky Ng-Adam, Paul Adams, swarm...@xinchejian.com, 萨克森气势
Sure, let's hack it out tonight. I need a good beacon with a good protocol to allow it to interpret the difference between different beacons.

A power supply what you need it is...

Regards
Edward

Lutz

unread,
May 15, 2012, 9:58:20 PM5/15/12
to hao jiang, xinch...@googlegroups.com, Ricky Ng-Adam, Paul Adams, swarm...@xinchejian.com, 萨克森气势
Power supply, yes that's it. Did not get the chance to setup the one i bought last weekend :-(

~Lutz

Sent: Wednesday, May 16, 2012 9:39 AM

hao jiang

unread,
May 16, 2012, 2:45:17 AM5/16/12
to Lutz, xinch...@googlegroups.com, Ricky Ng-Adam, Paul Adams, swarm...@xinchejian.com, 萨克森气势
I have an idea about how to counter the reflection, but not sure if we have enough bandwidth left for that.

We cannot measure the signal strength from the receiver side as the integrated receiver amplify the IR signal to digital signal. However, we do have control over the intensity of light we are sending out from the beacon.

So what we can do is sending increasingly stronger beacon signal (3~5 intensity levels) and there should be one level which not all sensors can pick up the signal, so the robot can make use of this info to find the direction of beacon. And we also can figure out the rough distance between the beacon and the robot.

The downside is we will have to transfer multiple times of the same beacon signal which takes up valuable bandwidth.

Regards
Edward

Paul Adams

unread,
May 16, 2012, 2:51:06 AM5/16/12
to hao jiang, xinch...@googlegroups.com, Ricky Ng-Adam, swarm...@xinchejian.com, 萨克森气势, Lutz
if you increase the speed the intensity will drop, hence more bandwidth

On Wed May 16 14:45:17 2012, hao jiang wrote:
> I have an idea about how to counter the reflection, but not sure if we
> have enough bandwidth left for that.
>
> We cannot measure the signal strength from the receiver side as the
> integrated receiver amplify the IR signal to digital signal. However,
> we do have control over the intensity of light we are sending out from
> the beacon.
>
> So what we can do is sending increasingly stronger beacon signal (3~5
> intensity levels) and there should be one level which not all sensors
> can pick up the signal, so the robot can make use of this info to find
> the direction of beacon. And we also can figure out the rough distance
> between the beacon and the robot.
>
> The downside is we will have to transfer multiple times of the same
> beacon signal which takes up valuable bandwidth.
>
> Regards
> Edward
>
> On Wed, May 16, 2012 at 9:58 AM, Lutz <lumi...@yahoo.com
> <mailto:lumi...@yahoo.com>> wrote:
>
> Power supply, yes that's it. Did not get the chance to setup the
> one i bought last weekend :-(
>
> ~Lutz
>
> ------------------------------------------------------------------------
> *From:* hao jiang <edwa...@gmail.com <mailto:edwa...@gmail.com>>
> *To:* xinch...@googlegroups.com
> <mailto:xinch...@googlegroups.com>
> *Cc:* Ricky Ng-Adam <rng...@gmail.com
> <mailto:rng...@gmail.com>>; Paul Adams <niha...@gmail.com
> <mailto:niha...@gmail.com>>; "swarm...@xinchejian.com
> <mailto:swarm...@xinchejian.com>"
> <swarm...@xinchejian.com
> <mailto:swarm...@xinchejian.com>>; 萨克森气势
> <sachse...@gmail.com <mailto:sachse...@gmail.com>>
> *Sent:* Wednesday, May 16, 2012 9:39 AM
>
> *Subject:* Re: Swarm robot - Remote control team - Tasks,
> ideas, example code
>
> Sure, let's hack it out tonight. I need a good beacon with a
> good protocol to allow it to interpret the difference between
> different beacons.
>
> A power supply what you need it is...
>
> Regards
> Edward
>
> On Wed, May 16, 2012 at 9:20 AM, Lutz <lumi...@yahoo.com
> <mailto:lumi...@yahoo.com>> wrote:
>
> Well, i was not that successful last night because I do
> not have a device which is measuring frequencies. The
> setup with an IR receiver and an Arduino did work for my
> TV remote but not for the selfmade beacon. Probably the
> voltage have to be stabilized to 9V in my setup but I
> could not power it with others than an used 9V battery.
>
> I got the breadboard in my bag for tonight, lets see if we
> can improve your setup to take the next step.
>
> ~Lutz
>
> ------------------------------------------------------------------------
> *From:* hao jiang <edwa...@gmail.com
> <mailto:edwa...@gmail.com>>
> *To:* xinch...@googlegroups.com
> <mailto:xinch...@googlegroups.com>
> *Cc:* Ricky Ng-Adam <rng...@gmail.com
> <mailto:rng...@gmail.com>>; Paul Adams
> <niha...@gmail.com <mailto:niha...@gmail.com>>;
> "swarm...@xinchejian.com
> <mailto:swarm...@xinchejian.com>"
> <swarm...@xinchejian.com
> <mailto:swarm...@xinchejian.com>>; 萨克森气势
> <sachse...@gmail.com <mailto:sachse...@gmail.com>>
> *Sent:* Wednesday, May 16, 2012 1:56 AM
>
> *Subject:* Re: Swarm robot - Remote control team -
> ------------------------------------------------------------------------
> *From:* Ricky Ng-Adam <rng...@gmail.com
> <mailto:rng...@gmail.com>>
> *To:* xinch...@googlegroups.com
> <mailto:xinch...@googlegroups.com>
> *Cc:* Paul Adams <niha...@gmail.com
> <mailto:niha...@gmail.com>>;
> "swarm...@xinchejian.com
> <mailto:swarm...@xinchejian.com>"
> <swarm...@xinchejian.com
> <mailto:swarm...@xinchejian.com>>; 萨克森气
> 势 <sachse...@gmail.com
> <mailto:sachse...@gmail.com>>
> *Sent:* Tuesday, May 15, 2012 4:00 PM
>
> *Subject:* Re: Swarm robot - Remote control
> team - Tasks, ideas, example code
>
> Please do! Ask for help if you need. It's a
> bit painful at the beginning but much better
> for teamwork.
>
> I'd really like if we could put the insectbot
> code (for example) and maintain it there... I
> had to clean up the code from a copy on a USB
> key in Beijing and it was not fun ;-).
>
> Pro-tip Lutz: in Arduino IDE, CTRL-A, CTRL-T ;-)
>
> On Tue, May 15, 2012 at 3:30 PM, Lutz
> <lumi...@yahoo.com
> <mailto:lumi...@yahoo.com>> wrote:
>
> I got one and I am also in the XCJ
> group...i guess ;-)
> However, I never got the system running
> smoothly, so I abandoned it ;-)
> I will install it again on my machine if
> we're going to use it more often.
>
> ~Lutz
>
> ------------------------------------------------------------------------
> *From:* Paul Adams
> <niha...@gmail.com
> <mailto:niha...@gmail.com>>
> *To:* xinch...@googlegroups.com
> <mailto:xinch...@googlegroups.com>
> *Cc:* swarm...@xinchejian.com
> <mailto:swarm...@xinchejian.com>;
> 萨克森气势 <sachse...@gmail.com
> <mailto:sachse...@gmail.com>>
> *Sent:* Tuesday, May 15, 2012 3:21 PM
> *Subject:* Re: Swarm robot - Remote
> control team - Tasks, ideas, example code
>
> let myself or ricky know if you have a
> github account and are not in
> the xinchejian github group
>
> On Tue May 15 12:37:14 2012, 萨克森气
> 势 wrote:
> > Thanks Spencer,
> >
> > yes I/we will update the Wiki as
> soon as we find the time.
> > Wednesday and Thursday (if you have
> time please join on one or both
> > days) we need to nail down how to
> merge the teams more or less. As you
> > mentioned, there is a demand to
> share all the information with each team.
> >
> > ~Lutz
> >
> >
> > 2012/5/15 ourstuff888
> <ourst...@gmail.com
> <mailto:ourst...@gmail.com>
> > <mailto:ourst...@gmail.com

Lutz

unread,
May 16, 2012, 3:02:56 AM5/16/12
to hao jiang, xinch...@googlegroups.com, Ricky Ng-Adam, Paul Adams, swarm...@xinchejian.com, 萨克森气势
well, you have to draw me a picture to explain this tonight ;-)

~Lutz


From: hao jiang <edwa...@gmail.com>
To: Lutz <lumi...@yahoo.com>
Cc: "xinch...@googlegroups.com" <xinch...@googlegroups.com>; Ricky Ng-Adam <rng...@gmail.com>; Paul Adams <niha...@gmail.com>; "swarm...@xinchejian.com" <swarm...@xinchejian.com>; 萨克森气势 <sachse...@gmail.com>
Sent: Wednesday, May 16, 2012 2:45 PM

hao jiang

unread,
May 16, 2012, 3:08:11 AM5/16/12
to xinch...@googlegroups.com, Ricky Ng-Adam, swarm...@xinchejian.com, 萨克森气势, Lutz
We can't change the carrier frequency which is 38k... we can increase baudrate, which essentially decrease number of carrier wave per bit, which increase the error rate, which is as good as dropping the intensity maybe, i think you are right, i'll certainly try different baudrate tonight!

       <mailto:xinchejian@googlegroups.com>

       *Cc:* Ricky Ng-Adam <rng...@gmail.com
       <mailto:rng...@gmail.com>>; Paul Adams <niha...@gmail.com
       <mailto:niha...@gmail.com>>; "swarm...@xinchejian.com
       <mailto:swarmrobots@xinchejian.com>"
       <swarm...@xinchejian.com
       <mailto:swarmrobots@xinchejian.com>>; 萨克森气势
               <mailto:xinchejian@googlegroups.com>

               *Cc:* Ricky Ng-Adam <rng...@gmail.com
               <mailto:rng...@gmail.com>>; Paul Adams
               <niha...@gmail.com <mailto:niha...@gmail.com>>;
               "swarm...@xinchejian.com
               <mailto:swarmrobots@xinchejian.com>"
               <swarm...@xinchejian.com
               <mailto:swarmrobots@xinchejian.com>>; 萨克森气势
                       <mailto:xinchejian@googlegroups.com>

                       *Cc:* Paul Adams <niha...@gmail.com
                       <mailto:niha...@gmail.com>>;
                       "swarm...@xinchejian.com
                       <mailto:swarmrobots@xinchejian.com>"
                       <swarm...@xinchejian.com
                       <mailto:swarmrobots@xinchejian.com>>; 萨克森气
                               <mailto:xinchejian@googlegroups.com>
                               *Cc:* swarm...@xinchejian.com
                               <mailto:swarmrobots@xinchejian.com>;

ourstuff888

unread,
May 16, 2012, 3:23:16 AM5/16/12
to xinch...@googlegroups.com
Edward

I like your idea.

I'm not sure about your current circuit, but your first transmitter I saw was driving the LED very very hard, probably get 10-15 plus meters range, so there would certainly be room to reduce the strength!

In addition to your idea suggest it is most likely that you can reduce or even remove the extra transmit signals if the ENTIRE transmit - receive system is tested and calibrated in:
    - the actual field, with the actual paint
    - and especially any cover OVER the field as seems to be shown on the proposal (ie more chance of reflections)
    - and once again, against the ACTUAL shopping centre lighting conditions

I actually have a test PCB for changing the base & collector resistors via jumpers - I made it because I thought that breadboards might (do?) interfere with the relatively high current pulses (1-4+A) that can be sent!

Attached is my circuit and a link to the forum where I discussing testing. I can drop of this test board if you need it.
http://dangerousprototypes.com/forum/viewtopic.php?f=29&t=1518&p=14175#p14175

btw - in emails sent after the one below - changing the BAUD rate might help, but it is MUCH easier and more precise to control the the transmitter LED current!


 

On 16/05/12 14:45, hao jiang wrote:
I have an idea about how to counter the reflection, but not sure if we have enough bandwidth left for that.

We cannot measure the signal strength from the receiver side as the integrated receiver amplify the IR signal to digital signal. However, we do have control over the intensity of light we are sending out from the beacon.

So what we can do is sending increasingly stronger beacon signal (3~5 intensity levels) and there should be one level which not all sensors can pick up the signal, so the robot can make use of this info to find the direction of beacon. And we also can figure out the rough distance between the beacon and the robot.

The downside is we will have to transfer multiple times of the same beacon signal which takes up valuable bandwidth.

Regards
Edward

On Wed, May 16, 2012 at 9:58 AM, Lutz <lumi...@yahoo.com> wrote:
Power supply, yes that's it. Did not get the chance to setup the one i bought last weekend :-(

~Lutz
Cc: Ricky Ng-Adam <rng...@gmail.com>; Paul Adams <niha...@gmail.com>; "swarm...@xinchejian.com" <swarm...@xinchejian.com>; ���ɭ���� <sachse...@gmail.com>
Sent: Wednesday, May 16, 2012 9:39 AM

Subject: Re: Swarm robot - Remote control team - Tasks, ideas, example code
Sure, let's hack it out tonight. I need a good beacon with a good protocol to allow it to interpret the difference between different beacons.

A power supply what you need it is...

Regards
Edward

On Wed, May 16, 2012 at 9:20 AM, Lutz <lumi...@yahoo.com> wrote:
Well, i was not that successful last night because I do not have a device which is measuring frequencies. The setup with an IR receiver and an Arduino did work for my TV remote but not for the selfmade beacon. Probably the voltage have to be stabilized to 9V in my setup but I could not power it with others than an used 9V battery.

I got the breadboard in my bag for tonight, lets see if we can improve your setup to take the next step.

~Lutz
Cc: Ricky Ng-Adam <rng...@gmail.com>; Paul Adams <niha...@gmail.com>; "swarm...@xinchejian.com" <swarm...@xinchejian.com>; ���ɭ���� <sachse...@gmail.com>
Sent: Wednesday, May 16, 2012 1:56 AM

Subject: Re: Swarm robot - Remote control team - Tasks, ideas, example code
Hi guys,

I've manged to do a very simple IR seeker tonight, doesn't work too great yet, but good enough to reveal some problems:

1. The IR receiver modules are very good at picking up the IR signal, all 4 receiver facing all directions are all picking up the signal, I need to warp a paper over the small remote control to allow only one receiver to receive it at about 30cm.

2. Everything reflects IR, ricky's face reflects enough IR to allow the receiver to pick up the signal at a distance of 3~4meters.

Let's discuss the details tomorrow.

Regards
Edward
On Tue, May 15, 2012 at 4:16 PM, Lutz <lumi...@yahoo.com> wrote:
Ok, will try this these days.
Haha, got it!  Auto-format is not always aprecciated when I write code since it's confusing me when the machine is doing something without my permission ;-)
But you are right, some improvements could be done in my code design.

~Lutz

From: Ricky Ng-Adam <rng...@gmail.com>
To: xinch...@googlegroups.com
Sent: Tuesday, May 15, 2012 4:00 PM

Subject: Re: Swarm robot - Remote control team - Tasks, ideas, example code
Please do! Ask for help if you need. It's a bit painful at the beginning but much better for teamwork.

I'd really like if we could put the insectbot code (for example) and maintain it there... I had to clean up the code from a copy on a USB key in Beijing and it was not fun ;-).

Pro-tip Lutz: in Arduino IDE,  CTRL-A, CTRL-T ;-)

On Tue, May 15, 2012 at 3:30 PM, Lutz <lumi...@yahoo.com> wrote:
I got one and I am also in the XCJ group...i guess ;-)
However, I never got the system running smoothly, so I abandoned it ;-) 
I will install it again on my machine if we're going to use it more often.

~Lutz
Cc: swarm...@xinchejian.com; ���ɭ���� <sachse...@gmail.com>



--
��˼�� | Ricky Ng-Adam | http://xinchejian.com | (+86) 186-2126-2521









IRT TX.brd
IRT TX.sch

hao jiang

unread,
May 16, 2012, 3:57:31 AM5/16/12
to xinch...@googlegroups.com
I didn't use my own LED signal generator this time, i used one small IR remote control i got from lutz instead, didn't get a chance to build one myself, which we may need to make tonight.

I totally agree we should have a trip down to the mall and do some on site measurement.

Nice article you've written on the IR circuit, really detailed documentation.  The circuit you saw me used the other day was actually driven by a Mosfet 2n7000, way more powerful than any transistor / darlington, basically it is hard switch on / off with little resistance, currently is only controlled by the current limiting resistor. But I need to switch back to a transistor for a better linear power control or else i'll have to design a feedback circuit.

Regards
Edward

Edward

Sent: Wednesday, May 16, 2012 9:39 AM

Subject: Re: Swarm robot - Remote control team - Tasks, ideas, example code
Sure, let's hack it out tonight. I need a good beacon with a good protocol to allow it to interpret the difference between different beacons.

A power supply what you need it is...

Regards
Edward

On Wed, May 16, 2012 at 9:20 AM, Lutz <lumi...@yahoo.com> wrote:
Well, i was not that successful last night because I do not have a device which is measuring frequencies. The setup with an IR receiver and an Arduino did work for my TV remote but not for the selfmade beacon. Probably the voltage have to be stabilized to 9V in my setup but I could not power it with others than an used 9V battery.

I got the breadboard in my bag for tonight, lets see if we can improve your setup to take the next step.

~Lutz
Sent: Wednesday, May 16, 2012 1:56 AM

Subject: Re: Swarm robot - Remote control team - Tasks, ideas, example code
Hi guys,

I've manged to do a very simple IR seeker tonight, doesn't work too great yet, but good enough to reveal some problems:

1. The IR receiver modules are very good at picking up the IR signal, all 4 receiver facing all directions are all picking up the signal, I need to warp a paper over the small remote control to allow only one receiver to receive it at about 30cm.

2. Everything reflects IR, ricky's face reflects enough IR to allow the receiver to pick up the signal at a distance of 3~4meters.

Let's discuss the details tomorrow.

Regards
Edward
On Tue, May 15, 2012 at 4:16 PM, Lutz <lumi...@yahoo.com> wrote:
Ok, will try this these days.
Haha, got it!  Auto-format is not always aprecciated when I write code since it's confusing me when the machine is doing something without my permission ;-)
But you are right, some improvements could be done in my code design.

~Lutz

From: Ricky Ng-Adam <rng...@gmail.com>
To: xinch...@googlegroups.com
Sent: Tuesday, May 15, 2012 4:00 PM

Subject: Re: Swarm robot - Remote control team - Tasks, ideas, example code
Please do! Ask for help if you need. It's a bit painful at the beginning but much better for teamwork.

I'd really like if we could put the insectbot code (for example) and maintain it there... I had to clean up the code from a copy on a USB key in Beijing and it was not fun ;-).

Pro-tip Lutz: in Arduino IDE,  CTRL-A, CTRL-T ;-)

On Tue, May 15, 2012 at 3:30 PM, Lutz <lumi...@yahoo.com> wrote:
I got one and I am also in the XCJ group...i guess ;-)
However, I never got the system running smoothly, so I abandoned it ;-) 
I will install it again on my machine if we're going to use it more often.

~Lutz



--
伍思力 | Ricky Ng-Adam | http://xinchejian.com | (+86) 186-2126-2521










ourstuff888

unread,
May 16, 2012, 4:10:01 AM5/16/12
to xinch...@googlegroups.com
The IRToy project has now changed to a " 100mA constant current IR transmitter with improved range". Their circuit is here: http://dangerousprototypes.com/docs/USB_IR_Toy_v2#Infrared_transmitter

Swarm robots may only need 10mA if the LEDs are similar for the smaller range and less reflections!
Edward

Edward

Cc: Ricky Ng-Adam <rng...@gmail.com>; Paul Adams <niha...@gmail.com>; "swarm...@xinchejian.com" <swarm...@xinchejian.com>; ���ɭ���� <sachse...@gmail.com>
Sent: Wednesday, May 16, 2012 9:39 AM

Subject: Re: Swarm robot - Remote control team - Tasks, ideas, example code
Sure, let's hack it out tonight. I need a good beacon with a good protocol to allow it to interpret the difference between different beacons.

A power supply what you need it is...

Regards
Edward

On Wed, May 16, 2012 at 9:20 AM, Lutz <lumi...@yahoo.com> wrote:
Well, i was not that successful last night because I do not have a device which is measuring frequencies. The setup with an IR receiver and an Arduino did work for my TV remote but not for the selfmade beacon. Probably the voltage have to be stabilized to 9V in my setup but I could not power it with others than an used 9V battery.

I got the breadboard in my bag for tonight, lets see if we can improve your setup to take the next step.

~Lutz
Cc: Ricky Ng-Adam <rng...@gmail.com>; Paul Adams <niha...@gmail.com>; "swarm...@xinchejian.com" <swarm...@xinchejian.com>; ���ɭ���� <sachse...@gmail.com>
Sent: Wednesday, May 16, 2012 1:56 AM

Subject: Re: Swarm robot - Remote control team - Tasks, ideas, example code
Hi guys,

I've manged to do a very simple IR seeker tonight, doesn't work too great yet, but good enough to reveal some problems:

1. The IR receiver modules are very good at picking up the IR signal, all 4 receiver facing all directions are all picking up the signal, I need to warp a paper over the small remote control to allow only one receiver to receive it at about 30cm.

2. Everything reflects IR, ricky's face reflects enough IR to allow the receiver to pick up the signal at a distance of 3~4meters.

Let's discuss the details tomorrow.

Regards
Edward
On Tue, May 15, 2012 at 4:16 PM, Lutz <lumi...@yahoo.com> wrote:
Ok, will try this these days.
Haha, got it!  Auto-format is not always aprecciated when I write code since it's confusing me when the machine is doing something without my permission ;-)
But you are right, some improvements could be done in my code design.

~Lutz

From: Ricky Ng-Adam <rng...@gmail.com>
To: xinch...@googlegroups.com
Sent: Tuesday, May 15, 2012 4:00 PM

Subject: Re: Swarm robot - Remote control team - Tasks, ideas, example code
Please do! Ask for help if you need. It's a bit painful at the beginning but much better for teamwork.

I'd really like if we could put the insectbot code (for example) and maintain it there... I had to clean up the code from a copy on a USB key in Beijing and it was not fun ;-).

Pro-tip Lutz: in Arduino IDE,  CTRL-A, CTRL-T ;-)

On Tue, May 15, 2012 at 3:30 PM, Lutz <lumi...@yahoo.com> wrote:
I got one and I am also in the XCJ group...i guess ;-)
However, I never got the system running smoothly, so I abandoned it ;-) 
I will install it again on my machine if we're going to use it more often.

~Lutz
Cc: swarm...@xinchejian.com; ���ɭ���� <sachse...@gmail.com>



--
��˼�� | Ricky Ng-Adam | http://xinchejian.com | (+86) 186-2126-2521










hao jiang

unread,
May 16, 2012, 4:17:43 AM5/16/12
to xinch...@googlegroups.com
interesting design, but makes me wonder why mosfet was not considered as a choice.

Regards
Edward

Edward

Edward

Sent: Wednesday, May 16, 2012 9:39 AM

Subject: Re: Swarm robot - Remote control team - Tasks, ideas, example code
Sure, let's hack it out tonight. I need a good beacon with a good protocol to allow it to interpret the difference between different beacons.

A power supply what you need it is...

Regards
Edward

On Wed, May 16, 2012 at 9:20 AM, Lutz <lumi...@yahoo.com> wrote:
Well, i was not that successful last night because I do not have a device which is measuring frequencies. The setup with an IR receiver and an Arduino did work for my TV remote but not for the selfmade beacon. Probably the voltage have to be stabilized to 9V in my setup but I could not power it with others than an used 9V battery.

I got the breadboard in my bag for tonight, lets see if we can improve your setup to take the next step.

~Lutz
Sent: Wednesday, May 16, 2012 1:56 AM

Subject: Re: Swarm robot - Remote control team - Tasks, ideas, example code
Hi guys,

I've manged to do a very simple IR seeker tonight, doesn't work too great yet, but good enough to reveal some problems:

1. The IR receiver modules are very good at picking up the IR signal, all 4 receiver facing all directions are all picking up the signal, I need to warp a paper over the small remote control to allow only one receiver to receive it at about 30cm.

2. Everything reflects IR, ricky's face reflects enough IR to allow the receiver to pick up the signal at a distance of 3~4meters.

Let's discuss the details tomorrow.

Regards
Edward
On Tue, May 15, 2012 at 4:16 PM, Lutz <lumi...@yahoo.com> wrote:
Ok, will try this these days.
Haha, got it!  Auto-format is not always aprecciated when I write code since it's confusing me when the machine is doing something without my permission ;-)
But you are right, some improvements could be done in my code design.

~Lutz

From: Ricky Ng-Adam <rng...@gmail.com>
To: xinch...@googlegroups.com
Sent: Tuesday, May 15, 2012 4:00 PM

Subject: Re: Swarm robot - Remote control team - Tasks, ideas, example code
Please do! Ask for help if you need. It's a bit painful at the beginning but much better for teamwork.

I'd really like if we could put the insectbot code (for example) and maintain it there... I had to clean up the code from a copy on a USB key in Beijing and it was not fun ;-).

Pro-tip Lutz: in Arduino IDE,  CTRL-A, CTRL-T ;-)

On Tue, May 15, 2012 at 3:30 PM, Lutz <lumi...@yahoo.com> wrote:
I got one and I am also in the XCJ group...i guess ;-)
However, I never got the system running smoothly, so I abandoned it ;-) 
I will install it again on my machine if we're going to use it more often.

~Lutz



--
伍思力 | Ricky Ng-Adam | http://xinchejian.com | (+86) 186-2126-2521











Reply all
Reply to author
Forward
0 new messages