1 <?xml version=
"1.0" encoding=
"ISO-8859-1"?>
2 <rss version='
2.0' xmlns:lj='http://www.livejournal.org/rss/lj/
1.0/'
>
4 <title>Petter Reinholdtsen - Entries from June
2019</title>
5 <description>Entries from June
2019</description>
6 <link>http://people.skolelinux.org/pere/blog/
</link>
10 <title>The space rover coquine, or how I ended up on the dark side of the moon
</title>
11 <link>http://people.skolelinux.org/pere/blog/The_space_rover_coquine__or_how_I_ended_up_on_the_dark_side_of_the_moon.html
</link>
12 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/The_space_rover_coquine__or_how_I_ended_up_on_the_dark_side_of_the_moon.html
</guid>
13 <pubDate>Sun,
2 Jun
2019 23:
55:
00 +
0200</pubDate>
14 <description><p
>A while back a college and friend from Debian and the Skolelinux /
15 Debian Edu project approached me, asking if I knew someone that might
16 be interested in helping out with a technology project he was running
17 as a teacher at
<a href=
"https://www.ecolefrancodanoise.dk/
">L
'école
18 franco-danoise
</a
> - the Danish-French school and kindergarden. The
19 kids were building robots, rovers. The story behind it is to build a
21 <a href=
"http://blog.ecolefrancodanoise.dk/first-week-on-the-dark-side
">on
22 the dark side of the moon
</a
>, and remote control it. As travel cost
23 was a bit high for the final destination, and they wanted to test the
24 concept first, he was looking for volunteers to host a rover for the
25 kids to control in a foreign country. I ended up volunteering as a
26 host, and last week the rover arrived. It took a while to arrive
27 after
<a href=
"http://blog.ecolefrancodanoise.dk/model-moms
">it was
28 built and shipped
</a
>, because of customs confusion. Luckily we were
29 able fix it quickly with help from my colleges at work.
</p
>
31 <p
>This is what it looked like when the rover arrived. Note the cute
32 eyes looking up on me from the wrapping
</p
>
34 <img src=
"http://people.skolelinux.org/pere/blog/images/
2019-
06-
02-robot-dark-side-of-moon-esken-med-det-rare-i.jpeg
" width=
"32%
" style=
"clear:left
"/
>
35 <img src=
"http://people.skolelinux.org/pere/blog/images/
2019-
06-
02-robot-dark-side-of-moon-den-ser-meg.jpeg
" width=
"32%
" style=
"clear:left
"/
>
36 <img src=
"http://people.skolelinux.org/pere/blog/images/
2019-
06-
02-robot-dark-side-of-moon-en-skrue-loes.jpeg
" width=
"32%
" style=
"clear:left
"/
>
38 <p style=
"text-align:left
">Once the robot arrived, we needed to track
39 down batteries and figure out how to build custom firmware for it with
40 the appropriate wifi settings. I asked a friend if I could get two
41 18650 batteries from his pile of Tesla batteries (he had then from the
42 wrack of a crashed Tesla), so now the rover is running on Tesla
46 <a href=
"https://gitlab.com/ecolefrancodanoise/arduino-efd/
">the rover
47 firmware
</a
> proved a bit harder, as the code did not work out of the
48 box with the Arduino IDE package in Debian Buster. I suspect this is
50 <a href=
"https://github.com/arduino/Arduino/pull/
2703"> license problem
51 with arduino
</a
> blocking Debian from upgrading to the latest version.
52 In the end we gave up debugging why the IDE failed to find the
53 required libraries, and ended up using the Arduino Makefile from the
54 <a href=
"https://tracker.debian.org/pkg/arduino-mk
">arduino-mk Debian
55 package
</a
> instead. Unfortunately the camera library is missing from
56 the Arduino environment in Debian, so we disabled the camera support
57 for the first firmware build, to get something up and running. With
58 this reduced firmware, the robot could be controlled via the
59 controller server, driving around and measuring distance using its
60 internal acoustic sensor.
</p
>
62 <p
>Next, With some help from my friend in Denmark, which commited the
63 camera library into the gitlab repository for me to use, we were able
64 to build a new and more complete version of the firmware, and the
65 robot is now up and running. This is what the
"commander
" web page
66 look like after taking a measurement and a snapshot:
</p
>
68 <img src=
"http://people.skolelinux.org/pere/blog/images/
2019-
06-
02-robot-dark-side-of-moon-commander.png
" width=
"40%
" border=
"1" align=
"center
"/
>
70 <p
>If you want to learn more about this project, you can check out the
71 <a href=
"https://hackaday.io/project/
164082-the-dark-side-challenge
">The
72 Dark Side Challenge
</a
> Hackaday web pages.
</p
>
74 <p
>As usual, if you use Bitcoin and want to show your support of my
75 activities, please send Bitcoin donations to my address
76 <b
><a href=
"bitcoin:
15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b
">15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b
</a
></b
>.
</p
>