Interzona

misc

Table of Contents

Ardubroke

Phoframe

Like a digital photo frame, only analog… ;-)

1-preview.jpg

scheme.png

2-preview.jpg

3-preview.jpg

4-preview.jpg

5-preview.jpg

6-preview.jpg

7-preview.jpg

8-preview.jpg

phoframe-setup.png

Board connections.

#define UPPER_MOTOR_PIN1            2
#define UPPER_MOTOR_PIN2            3
#define UPPER_MOTOR_PIN3            4
#define UPPER_MOTOR_PIN4            5

#define LOWER_MOTOR_PIN1            8
#define LOWER_MOTOR_PIN2            9
#define LOWER_MOTOR_PIN3           10
#define LOWER_MOTOR_PIN4           11

/* IR sensor */

#define SENSOR_PIN                 12

Issues

issue-theta.png

Figure 11: This image shows the lower motor (left) and the upper (right) respectively.

In figure 11 is shown how even if the radius of the two axes is the same (misc_9936d27ba43c6d7c244773581003b332b79bf36f.png) usually misc_d72be33061a4393e13a97462adf12665e12cb4f2.png (the axe plus the wrapping paper).

Because misc_26be9a5598db149a9c72daff3dd64d3419f183a2.png (the angular velocity is the same) the linear velocity is not. So, in the figure, the quantity of paper pushed by the lower motor is more than the paper pulled by the upper motor. This is of course a problem.

But if the paper strip is short enough (tested with a strips of length misc_e5811e11a0a70a2c51ba414805420f94ccb41325.png) the difference between misc_a91a2e50a9e0f632c4e4be581c620180ea3ca651.png and misc_c4ea82f775a65a1b7cc9be6c1b95c7038251587b.png is negligible.

Floyd triangle in Monicelli

This source will print the Floyd's triangle.

unfortunately i was forced to patch the compiler a little bit to get the desired output as the default is to emit a newline for each 'a posterdati' statement.

I just commented this line to get rid of the new line.

I have also changed the compiler source here and there, just to be able to build it. As a results i could not use the bytecode compiler, only the c++ emitter worked fine to me.

There are other limitations but you can figure out them looking at the source. :-)

Thank you to the author of this language and Salvo for the idea! :)


This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Italy License.

Distribuited software and source code published are licensed under the GNU General Public License version 3.0 or later if not specified otherwise.