Part 9 - Lives,attract, difficulty ()
We have a lot to get through and in this article we are going to now start moving away from the nitty gritty line be line explanations as hopefully you are becoming more competent in game coding by now. I will outline the changes, present the code and, apart from highlighting any specifics, we will leave it at that. You.....
Connecting up Piezo sounders/speakers ()
Full article available here: http://www.xtronical.com/basics/audio/sound-piezo-beeper/.....
Sound - Piezo Beeper/Sounder/Speaker - whatever... ()
Micro-controllers such as Arduino's etc. are embedded computers, they are designed to run code and control/read their input/output pins. So we have to add components to them to get them to do anything useful. Whether this is a temperature sensor (see here, here and here !) or a display (see here). Â Sound is no exception, so we need to add.....
DHT11 (et al.) Humidity and temperature sensor ()
New page and video for the DHT11 (and family members) humidity and temperature sensor). Write-up: http://www.xtronical.com/basics/environmental-sensors/dht11-humidity-temp-sensor/ YouTube:.....
DHT11 Humidity and temp sensor ()
This guide also available on Youtube here: The DHT11 Humidity and temp sensor comes in a small package similar to that below In the version used here there are three connection pins but in others I've seen there have been four but one has been unused. The three connections are Vcc,Gnd and Signal. The connection diagram is shown below:.....
Space Invaders Ep.8 - Scoring now available ()
Scoring has now been added to the Space Invaders project, see this article: http://www.xtronical.com/projects/space-invaders/parts-8-15/part-8-scoring/ Also available in video format at:.....
Part 8 - Scoring ()
In this article we'll add scoring and a hi-score. A video is available also here: Here's the full code to paste into your IDE, click to expand. Let's go through it in detail. Instantly at line 3 we have this extra line #include In every processor used in the Arduino range of boards there is some memory that is.....
Adding the mystery ship to the Space Invaders project ()
Article showing the addition of the Mystery-ship to the Space Invaders build is now available: http://www.xtronical.com/projects/space-invaders/parts-1-7/part-7-mothership/ Also available as a video:.....
Part 7 - Mothership ()
In this episode we add the Mother-ship (Mystery-ship) that goes across the top of the screen. Also available as a video: In this implementation it is random, in the real arcade game it appears approximately every 25 seconds or so. The scoring for it is also random, either 50,100,150 or 300 points. In the real arcade game it appears.....
Using the BMP280 Pressure and Temp sensor ()
Article uploaded for connecting and using the BMP Pressure and Temperature sensor. http://www.xtronical.com/basics/using-bmp280-based-pressure-temperature-sensors/ Also available as a video guide :.....