Now the final part of my guides showing how to create you own Live AR Pictures app. This movie explains how to add fade transitions to the animations just to give the final product a nice clean look. This is much more complicated than the other guides and pushes the boundaries of my understanding so bare with my descriptions of what is happening.
I will add further guides based around this app but it will focus on additional AR elements or how might you include this inside your main app.
In this part of the series I am going to explain how we can add to our app so that when an image is not visible on the device that the animated movie pauses. This is a nice effect that makes the overall app feel more natural.
This is Part 3 in the series for creating a Live AR Pictures App. In this movie I show how to loop the movies and add more images to be recognised in your App.
In this part of the series we will be looking at how you can access your data using Xcode and then ultimately see your temperature data on your iPhone.
Continue reading “Raspberry Pi Temp Sensor Part 4”
In this part of the series we will be looking at creating a PHP web page that will show the data logged in the database in JSON format. This format is easily readable by not only computers but also humans, so it is an excellent way to share data. So lets get on with making the changes we need.
Continue reading “Raspberry Pi Temp Sensor Part 3”
Welcome to Part 2 of this guide. To store our temperature values we will need a database, we will use MySQL for this. To access the database online we will need a web server and a script to run on it, Apache and PHP respectively.
Continue reading “Raspberry Pi Temp Sensor Part 2”
Over the last few years I have been teaching a class called Mechatronics that combines together engineering and robotics with a goal for students to build real world technology to solve a problem. In building student learning for open ended tasks, I needed a project that could combine many skills together. I had previously used Arduino’s to enable a programmable device with I/O but I was happy bring in other technologies. I had also been coding more and more with Swift and making Apps with Xcode. As my students had also begun their journey with App Development in other classes, I thought it would be a great opportunity to leverage this knowledge and see how I could show live data from a temperature sensor in an App. So this lead me to the path of using a Raspberry Pi to become the hub of the project as I could basically build a database and web server that stored and shared data collected from a temperature sensor. This data could then be shown via an iOS app.
Essentially this series of guides will cover:
Continue reading “Raspberry Pi Temp Sensor Part 1”
- Setting up a DS18B20 temperature sensor
- Writing a Python script to read the sensor
- Setup of LAMP. Linux, Apache, MySQL & PHP for the webserver
- Writing the values from the temp sensor to the MySQL database
- Writing PHP scripts to access the MySQL database from a web browser
- Outputting the results as JSON for a mobile app to read.
- An simple iOS app to read our temp sensor values and display them
This is a movie covering the fourth part of App Development with Swift Chapter 3 Section 6
This is a movie covering the third part of App Development with Swift Chapter 3 Section 6
This is a movie covering the second part of App Development with Swift Chapter 3 Section 6