Pi Wars 2019 Space Invaders (Remote-Controlled)

gracie abrams

⣠Chile in a Photography âŁ

PR's Tumblrdome
Fai_Ryy
Xuebing Du
RMH

bliss lane

Love Begins
Sweet Seals For You, Always

blake kathryn
đŞź

tannertan36
2025 on Tumblr: Trends That Defined the Year

Product Placement

Jar Jar Binks Fan Club
$LAYYYTER
Mike Driver
đ

â
seen from Ecuador
seen from United States

seen from China
seen from United States
seen from United States
seen from United States
seen from United States
seen from United States

seen from United States
seen from United States

seen from United States
seen from United States
seen from United States
seen from United States
seen from United States
seen from United States

seen from Australia

seen from United States
seen from TĂźrkiye

seen from Bangladesh
@pider-3
Pi Wars 2019 Space Invaders (Remote-Controlled)

Anya is live and ready to show you everything. Watch her strip, dance, and perform exclusive shows just for you. Interact in real-time and make your fantasies come true.
Free to watch ⢠No registration required ⢠HD streaming
Pi Wars 2019 Straight-ish Line Speed Test (Autonomous) Solved, but not very well.
Pi Wars 2019 The Hubble Telescope Nebula Challenge (Autonomous) solved
Pi Wars 2019Â The Canyons of Mars (Autonomous) solved
31st March 2019
The PiDER 3.0 Team. Jeff Edwards (left), Me (centre) and Josh Edwards(right)

Anya is live and ready to show you everything. Watch her strip, dance, and perform exclusive shows just for you. Interact in real-time and make your fantasies come true.
Free to watch ⢠No registration required ⢠HD streaming
31st March 2019
Me with First prize trophy in category, flanked by the two Founders/organisers of the Pi Wars competition, Mike Horne (left) and Tim Richardson (right)
20th March 2019
Final look under the hood
All the wiring is complete and not likely to change anytime soon. An attachment connector has been added to the rear motor chassis for the extra flashy surprise that I added today. It is totally unnecessary but it looks good :-)
Time to put it all together and begin a period of intensive testing leading up to the competition. There is a couple of minor tweaks to make to the code that I know of, but in general everything is looking quite promising.
16th March 2019
Colour Calibration
To make things easier for the Nebula challenge colour calibration, I have added some calibration code and extra menu screens so that colour calibration can be performed very quickly on the day. The calibration values are stored in a text file so that the data is persistent when the robotâs power is turned off.
14th March 2019
5 Barrel Nerf Shooter
This is my solution to firing five projectiles at space invaders. Sorry but the mechanism is secret until the competition, which is why there is a cloth over it. Iâm still undecided if I shall leave the mechanism exposed to view or 3D print a cover for it.Â
It is planned that a laser pointer will be incorporated to help with aiming the Nerf darts.Â
25th February 2019
Line Following with a Pi Camera
Continuous circular testing. If it didnât occasionally skew the strips of paper it would go in circles continuously until it's batteries run out. The circle is a bit faceted but it is as curved as I can make it with straight strips of paper.

Anya is live and ready to show you everything. Watch her strip, dance, and perform exclusive shows just for you. Interact in real-time and make your fantasies come true.
Free to watch ⢠No registration required ⢠HD streaming
Line Following with the Pi Camera.
Testing of my Pi Camera line following code. Itâs almost ready for Blast Off now. I keep making minor improvements to the algorithm and no doubt I will do so right up to the competition day. The remote control is my own design as it was the only way I could have a Smart remote that met my specific requirements. It is based around a PIC24 chip. My Library for driving the Nokia 5110 display module using a mbed ARM microcontroller is available here. https://os.mbed.com/users/Fenwiz/code/N_5110_Display/ It can be a good starting point to use one of these displays with other Microcontrollers with only minor modifications.
23rd February 2019
Sample Holder
I decided to make the âSample Holderâ for the Spirit of Curiosity challenge with my 3D printer. I know it is not essential to do this, but I want to practice driving over bumpy terrain with different size, weight and shape samples to see how likely it is that a sample will be lost on route. Or if my attachment panel is unable to cope with heavy samples.
The Sample holder is printed in two parts and then glued together, enabling the 3mm wire post to easily be made captive within the structure. The 3mm wire is the type that is often used to hold up chain link fencing.
My STL files for 3D printing are available from the Spirit of Curiosity web page.
21st February 2019
Automatically running your robotâs Python code at boot.
I always use an intermediate bash script to run my Python code because I find it more convenient to modify the location and file name or disable the auto load. This is a quick description of how I have set it up for my PiDER 3.0 robot. You can use this set up, but modify it to your chosen location and file name.
First of all, create a Bash script called âRunAtBoot.shâ and save it in the home folder. You can name it whatever you like but this is what I used. This is the script that it contains. Folder & file names should NOT contain spaces.
#!/bin/sh cd /home/pi/AppDir sudo python scriptname.py &
âAppDirâ is the directory of your code and âscriptname.pyâ is the name of your robotâs Python script. Now make the âRunAtBoot.shâ executable. Open the console window and enter the following line.
chmod  +x RunAtBoot.sh
Now using nano in the console, modify the boot profile
sudo nano /etc/profile
Scroll to the bottom of the script and add the following line. Remember to include the â&â at the end to allow the rest of the system processes to run as normal.
/home/pi/RunAtBoot.sh &
Save and close. Now, if you got everything right, the robot code will auto-load every time you boot up. Because the Python runs in the background it is a good idea to have a way of terminating the Robotâs Python script, by means of a combination of buttons pressed together on the controller to free the system resources. You might want to do this to enable a bug fix or colour calibration and then a re-run without the need to reboot. When my Robotâs script terminates, it runs some clean up code before it Exits. Your Python script should do something similar to the following.
output.close() Â Â Â Â Â Â Â # Close the RGB array object camera.close() Â Â Â Â Â Â # Close the Camera object exitScreen() Â Â Â Â Â Â Â Â # Send 'EXIT' message to controller screen GPIO.cleanup() Â Â Â Â Â # Clean up the GPIO exit() Â Â Â Â Â Â Â Â Â Â Â Â Â # Exit the Python interpreter
I hope this will make things easier for other Roboteers to not need a laptop every time to get their Robot operational.
20th February 2019
Peripherals board tour
Here is a tour of the peripherals board. Now that it is unlikely to undergo any more circuit updates, I thought it might make interesting reading. It is built on a piece of FR2 Matrix Stripboard, 100x160mm - E013 from CPC. I find this type of board the best and cheapest way of creating one-off circuits, with the advantage over PCBâs for evolution over time.
20th February 2019
The connector block attachment panel now complete ready for âPi Noonâ and âSpirit of Curiosityâ challenges.

Anya is live and ready to show you everything. Watch her strip, dance, and perform exclusive shows just for you. Interact in real-time and make your fantasies come true.
Free to watch ⢠No registration required ⢠HD streaming
14th February 2019
More testing. The âHubble Telescope Nebula Challengeâ in this picture. This particular arena has took quite a lot of use, as you can see by the rotation area in the centre.
I chose to reverse to the centre each time for the rotate between colours because of the width of the robot. It is easier to avoid running into the walls this way.
14th February 2019
The Canyons of Mars challenge
If you have enough room to make test arenas for the various challenges, I would recommend you do it as soon as posible and test your robot frequently, even if you are working on different parts of the code. Sometimes fixing bugs for one problem has a knock-on effect somewhere else. It is known as regression testing (re-running previous tests). It is important. Donât assume that because you tested it once before, it must still be ok. You can never do too much testing :-)