Interzona

misc

Table of Contents

1. Ardubroke

2. Phoframe

2.1. 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

2.2. 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

2.4. Issues

issue-theta.png

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

In figure 1 is shown how even if the radius of the two axes is the same ($r_{ax}$) usually $r_{up}  \neq
r_{lo}$ (the axe plus the wrapping paper).

Because $\theta_{up} = \theta_{lo}$ (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 $\approx  2500mm$) the difference between $r_{up}$ and $r_{lo}$ is negligible.

3. 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.
🢠 fediring website 🢡
random fediring member