Interactive web site of Télécom ParisTech's ELECINF344/ELECINF381 Robotics and Embedded Systems classes (a.k.a. ROSE, 2012 session).


SaMoRa : Bad & Good News


We have found two errors on the PCB Station, the first was just a shutdown sleep on the audio amplifier which wasn’t connected. We sussesfully patched it. The second, was on the ethernet transceiver but the patch was much more complicated and during the operation some pads were deceased. we could have made a new pcb but due to the cost and time we decided to use the old station instead.

The Two stations are linked with a serial cable and it works quite well.
Some other good news, the web server is working (Thanks to lwIP) and it communicates by http. We have begun a simple control interface.
There is some proof:

Some other good news, the buzzer works with the DMA transfer. However, it only works with raw audio files (8bits unsigned @8khz). We also made a map of the railroad. The only things missing for our railroad to work are the sensor cards.


SaMoRa’S Team

Clément Péron


Architecture choices and some theory for Ball-E

Today, we discussed with Alexis and Samuel concerning the architecture of our bot.

First choice to do, is the computing system to use. This leads to the question of the processing power needed by the various algorithms used for the control engineering. We have to search further and test actual code to be sure, but already existing ball bots use low power systems, like Pentium running at 200MHz or microcontrollers, so we are quite confident that a STM32F4 should be enough for our needs, and we need at least a STM32F4 to be able to control 3 motors and receive informations from the rotary encoders.

Another choice is the communication between the Ball-Es, and the communication with other devices, like phones. Our first choices were to use Zigbee to communicate between Ball-Es, and bluetooth to communicate with smartphones. Alexis suggested the use of WiFi, because we will most likely need high bandwidth when setting various parameters of the control. At first sight, I was afraid of the complexity of such a choice, because i thought we would have to implement a TCP/IP/Wifi stack, but there are some smart wifi chips available, which already includes those stacks, and can be talked to with simple protocols like SPI or UART, so we decided to use WiFi instead of Bluetooth for external communication.

Yesterday, Matthieu and me continued to work on the physics of Ball-E. First step we have already partially described is to establish the kinematics of the problem. The part we put here before was wrong, we were working on a case that isn’t general at all: we were asuming the wheel was in the falling plane, which is wrong. Another parameter we forgot was the fact that the angle between the robot and the vertical is not constant… Yes we want our bot to get straight back. So we did again all the maths, with a new parameter, which is the position of the wheel around the axis of the bot. With this new parameter the formulas are getting even more complicated, but we eventually found a relation between the movement of the bot on the ground, the rotation of the wheels, and the change of bot’s pitch.

The second step is to take in account the dynamics of the problem, which is quite similar to a reverse pendulum. Using the theorem of angular momentum, we can find a relation between the velocity of the bot, its acceleration, and the change of angle of the bot. Combining those two relations should give us the commands we need to give to the motors to go the way we want to.

Now is time to get ready for tomorrow’s communication challenge !

Pierre-Hugues Husson

SaMoRa : Network Design

We have finished the network design yesterday. We think this final architecture is the best choice for a lot of possibility with a low cost.

At this time, we have made a short break in order to complete the STM32 TP (PCB Design and the software development).

We will start programming at the begin of the next week.

Next important points are :

  • an easy fimrware update via the computer to Station and Sensors/Effectors.
  • quickly the possibility to control a train via DCC.



SaMoRa Project.

Clément Péron


SaMoRa : Network & PCB in progress..

Brice, Guillaume and me finished to resume respectively NMRAnet, CAN and DCC standards.

We have though about the network and make a first draft (a complete drawing is coming soon).

This week we start to design PCBs and finish network speficiations.



Clément Péron