![]() A 1k and 2k Ohm resisters with some soldering equipment.They are available from lots of places for around $10 US. ![]() This isn’t strictly necessary, but it makes the experience way cooler. A remote computer (like your normal desktop PC that you can use to talk to connect to the Pi).A keyboard and monitor that you can plug into the Pi (there are a few options here, read on for details).A Raspberry Pi (I’m using a Raspberry Pi Model B 2 / 3).The list below is pretty flexible in most cases and will depend on how you want to measure the distances. By itself that’s not a bad thing, but trust me when I say that actually experimenting with physical computers is fun and rewarding. Well, you could just read the book and learn a bit. The best thing to remember is that before you learn anything new, it pretty much always appears indistinguishable from magic, but once you start having a play, the mystery quickly falls away. Having said that, it may be useful to be comfortable using the Windows operating system (I’ll be using Windows 7 for the set-up of the devices), you should be aware of Linux as an alternative operating system, but you needn’t have tried it before. Your experience level will come second place to a desire to learn. That’s the most important criteria you will want to have when trying something new. Just by virtue of taking an interest and getting hold of a copy of this book you have demonstrated a desire to learn, to explore and to challenge yourself. Write some code to interface with our ultrasonic module.Install and configure a web server and a database.Learn about networking and configure the Pi accordingly.Work out how to get software loaded onto the Pi.Look at the Raspberry Pi and its history.In this specific case we will be connecting an ultrasonic module to the Pi, measuring the values that it returns, recording them in a database and then making those values available via web a interface! Put simply, we are going to examine the wonder that is the Raspberry Pi computer and use it to accomplish something. So please be gentle with your emails :-).Įmail: photo via Good Free Photos and Acer220. I’d like to do the same, but be warned… There’s a good chance that if you ask me a technical question I may not know the answer. I’m sure most authors try to be as accessible as possible. Evolving the description as the OS versions and Raspberry Pi’s are updated. It will also form a basis for other similarly explained books (as books before this one have done). But I’m working on the principle that if I need to recreate what I have here from scratch, this guide will leave nothing out. This is ONE fairly simple project that might otherwise be described in 5 pages stretched out into a lot more. I’ve deliberately gathered together a lot of the content from other books I’ve written to create a guide that is as full of usable information as possible to help people who could conceivably be using the Pi and coding for the first time. There’s a vast amount of ‘stuff’ that people with even a passing interest in computing will find excessive. There’s a lot of information in the book. This means that some explanations are longer and more flowery than might be to everyone’s liking, but there you go, that’s my way :-). You will find that I have typically eschewed a simple “Do this approach” for more of a story telling exercise. Please feel free to provide your thoughts on ways that I can improve things. They are living documents, open to feedback, comment, expansion, change and improvement. I dare say that like other books I have written (or are in the process of writing) it will remain a work in progress. But if you’re reading this, I managed to make some headway. The hope is that by sharing the journey perhaps others can learn something from my efforts :-).Īmbitious? Maybe :-). I write books to learn and document what I’ve done. This sort of thing has been done already by others, but I have an ulterior motive. The goal is to experiment with computers and use them to know a bit more about what is happening in the physical environment. Hopefully this will be a journey of discovery for both of us. Congratulations on being interested enough in the process of learning about measuring distance using ultrasonic audio with the Raspberry Pi to have gotten your hands on this book. Recording data on a regular basis with cron.Lets run our script on a regular schedule.Reconnecting to the wireless network automatically.Make the built in WiFi IP address static.Raspberry Pi Software Configuration Tool.Writing the Operating System image to the SD Card.Why on earth did I write this rambling tome?.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |