[HeRos] IR working well, now taking care of the design

Hi,

During the end of last week, I spent most of my time improving the IR part of our project. Now everything’s working great, each frame received is sorted in order to see if it has not been already received by another receptors in the previous milliseconds. Frames are then send to the phone via Wi-fi or to the computer through the serial usb.

Today was a great day, we have been able to stream video via wi-fi to the smartphone !! It was so cool to see our little HeRos hanging out on the table and streaming video with its camera ! Soon we’ll have everything ready to start playing with our Heros 😉

I spent most of the day designing the look of our HeRos. I had to remember how to use Solidworks (I used it 2 or 3 times in preparatory school) but it was fun to imagine how our little baby’s style 😉 Here is a picture, enjoy 😉  :Capture d'écran de 2015-04-13 20-27-21

[HeRos] IR still in progress

Hello, it’s been a while since my last post (before the week-end).

So this week-end I work on the IR sensors and emitters. I finally found  a way to receive what my IR emitters was sending. I could send any 16bits frame I wanted, and command the HeRos in function.

But today when we revised the IR part in group, I saw why my code worked but why it wasn’t done the right way. In fact my emissions wasn’t correctly implemented, and my timers wasn’t precise enough. Sam explained me the right way to get IR emissions sent properly, and also how to receive them, but I have to admit I didn’t understand all the reception part, it’s been 2h that I’m trying, I still do not see how to receive the signal correctly. I’m actually having trouble deciding where to reset the timers and where to make my comparisons between time in the code.

I’m going to finish to clean the emissions part of the code, and will see tomorrow for the reception parts, I would be able to ask Sam for precisions about what he explained me this afternoon.

 

[HeRos] IR not working yet

Hi,

Today was quite difficult. I’m taking care of the IR transmission between the HeRos PCBs. Presently I have the IR emitting diodes working, but the receiving diodes are not correctly configured. I welded one of these on my STM32F407 to be able to use the analyser to understand better what signal it receives.

It’s a bit disappointing not to see his code not working, but it was cool to see new features working on our project thanks to my partners. I need to take some time to make the IR receivers work, and it will be fun to be able to shoot another one’s Heros.

First IR detection

Hello everyone,

I just made my first communication in infrared. I am now able to detect a 38 kHz modulation with my receptor. I also began to implement the RCMM protocol (http://www.sbprojects.com/knowledge/ir/rcmm.php). It seems that everybody wants to have is own IR protocol but they are usually simple and the RCMM seems to be best supported by the receptor. You can see the result of some bits encoded with this protocol as they are received by the receptor.

I now need to implement the demodulation of this signal. Which seems to be the hardest part.

IMG_20150401_193309

IR reception

 

Old memories of Solidworks

This is it, Expelliarose’s magic wand is about to be real. We have concieved with Aïmen a simplist prototype to carry the PCB, Leds, IR emitter and recievers…

It would be in 3 pieces :

– A tube around which we will put the leds (on the upper part of the wand).

– Another tube surrounding the first one (#inception) for protection and beauty.

– A handle with indications where to put your fingers.

Seems a bit abstract now, but I will publish a picture as soon as it will be printed with 3D printer from Telecom Robotics (thanks!).

While Aïmen is finishing the design, I’m now taking care of IR transmission and building debug tools to see how far the signal can reach.

Switching processor and the missing LEDs

Forget what I’ve said in my last post.

Finally, we’re not overclocking.

We’re not even using a stm32f427.

We’re switching processor for a stm32f405, which runs at 168MHz but which is smaller.

So, with Lélio we sprent the afternoon updating our routing tables, schematics, etc.

 

And tonight, we’re working in the A406. Hugues, Lélio and I are :

-re-doing the rooting from scratch, (our first aptempt was a mess)

– tring to test our IR receipter without the IR emitter (we’ve lost them !). We found some remote controller that uses IR but we are not sure of their frequency (it could be 36kHz, 38KHz, 50kHz, …) and Lélio is having a hard time…

 

But tomorow will be a brigther day! (I hope)

See you !

Caro

IR tranmission

Today, we started to look at the different components that we will need to our PCB.

For the attack, we finally decided to choose the IR technology, to aim the opponant and then launch our speel on him. So, we have chosen an IR transmitter and a receiver, that we probably will complete with lens : one converging to increase the transmitter directivity, and an other one divergent, to have a better interception of the IR light on the receiver.