Home Blog Page 22

The amazing Raspberry Pi Camera V2 – Tutorial

In this tutorial, we see how to test and start using the Raspberry Pi Camera V2.

Below you will see different codes for the different use case in Python. Feel free to copy and past it in your own code.

raspberry pi camera tutorials
RASPBERRY PI CAMERA V2

All codes below start with:
from picamera import PiCamera
from time import sleep
however you can see few options depends on what you are looking for and your setup

Python code:

To test the camera copy the below command

from picamera import PiCamera
from time import sleep

camera = PiCamera()

camera.start_preview()
sleep(10)
camera.stop_preview()

If your preview was upside-down, you can rotate it with the following code:

To rotate the PiCamera copy the below command “//un-hash the needed rotation angel//”

You can rotate the image by 90180, or 270 degrees or you can set it to 0 to reset.

from picamera import PiCamera
from time import sleep

camera = PiCamera()

#camera.rotation = 90
camera.rotation = 180
#camera.rotation = 270

camera.start_preview()
sleep(10)
camera.stop_preview()

Save photos from the PiCamera is the most common use for the Camera Module

from picamera import PiCamera
from time import sleep

camera = PiCamera()

camera.start_preview()
sleep(5)
camera.capture('/home/pi/Desktop/image.jpg')
camera.stop_preview()

It’s important to sleep for at least 2 seconds before capturing, to give the sensor time to set its light levels.

You can find the photo on the Desktop. Double-click the photo to open it:

Save Video from the PiCamera

from picamera import PiCamera
from time import sleep

camera = PiCamera()

camera.start_preview()
camera.start_recording('/home/pi/Desktop/video.h264')
sleep(10)
camera.stop_recording()
camera.stop_preview()

Now you’ve got started with the Camera Module, I Hope you enjoy this website and its content. feel free to suggest topics you would like to be covered.

Sources

Also, Check out: Pi hole ® Network-wide Ad Blocking

Top 10 bridge cameras in 2019 that pack huge zoom lenses (Super Zoom)

Best bridge cameras 2019

 

Panasonic Lumix FZ300 / FZ330

bridge cameras

Constant f/2.8 aperture and 4K video, one of the best cameras

Sensor: 1/2.3-inch CMOS, 12.1MP | Lens: 25-600mm, f/2.8 | Monitor: 3-inch vari-angle touchscreen, 1.04m dots | Viewfinder: EVF | Continuous shooting: 10fps | Movies: 4K | User level: Beginner/intermediate

 

Sony Cyber-shot RX10 IV

bridge cameras

It is one of the expensive cameras, but it’s virtually in a league of its own

Sensor: 1-inch CMOS, 20.1MP | Lens: 24-600mm, f/2.4-4 | Monitor: 3-inch tilting touchscreen, 1.23m dots | Viewfinder: EVF | Continuous shooting: 24fps | Movies: 4K | User level: Intermediate/expert

 

Panasonic Lumix FZ2000 / FZ2500

Panasonic Lumix FZ2000 / FZ2500-bridge cameras

The FZ2000 / FZ2500 combines a bridge cameras zoom with a big 1-inch sensor

Sensor: 1-inch CMOS, 20.1MP | Lens: 24-480mm, f/2.8-4.5 | Monitor: 3.0-inch articulating display, 1,040,000 dots | Viewfinder: EVF | Maximum continuous shooting rate: 12fps | Movies: 4K | User level: Intermediate/expert

 

Panasonic Lumix FZ1000

bridge cameras

A 1-inch sensor and 4K video recording give this bridge camera the edge

Sensor: 1-inch CMOS, 20.1MP | Lens: 25-400mm, f/2.8-4 | Monitor: 3-inch articulating, 921,000 dots | Viewfinder: EVF | Maximum continuous shooting rate: 12fps | Movies: 4K | User level: Intermediate/expert

 

Sony Cyber-shot RX10 III

Sony Cyber-shot RX10 III-bridge cameras

Expensive, but highly capable cameras and offers a huge focal range

Sensor: 1-inch CMOS, 20.2MP | Lens: 24-600mm, f/2.4-4 | Monitor: 3-inch tilting, 1.23m dots | Viewfinder: EVF | Continuous shooting: 14fps | Movies: 4K | User level: Intermediate/expert

 

Canon PowerShot SX70 HS

Top 10 bridge cameras in 2019 that pack huge zoom lenses (Super Zoom) 1 Top10.Digital

This feature-packed bridge cameras has a lot to offer enthusiasts

Sensor: 1/2.3-inch CMOS, 20.3MP | Lens: 21-1365mm-equivalent, f/3.4-6.5 | Monitor: 3-inch articulating, 922,000 dots | Viewfinder: EVF | Maximum continuous shooting rate: 10fps | Movies: 4K | User level: Beginner/enthusiast

 

Panasonic Lumix FZ80 / FZ82

Top 10 bridge cameras in 2019 that pack huge zoom lenses (Super Zoom) 2 Top10.Digital

60x zoom bridge camera gets close to the action

Sensor: 1/2.3-inch CMOS, 18.1MP | Lens: 20-1200mm, f/2.8-5.9 | Monitor: 3-inch touchscreen, 1,040,000 dots | Viewfinder: EVF | Maximum continuous shooting rate: 10fps | Movies: 4K | User level: Beginner/enthusiast

 

Nikon Coolpix P900

Top 10 bridge cameras in 2019 that pack huge zoom lenses (Super Zoom) 3 Top10.Digital

Unleash your inner paparazzo with the P900’s class-leading 83x optical zoom

Sensor: 1/2.3-inch CMOS, 16MP | Lens: 24-2000mm, f/2.8-6.5 | Monitor: 3-inch articulating, 921,000 dots | Viewfinder: Yes | Maximum continuous shooting rate: 7fps | Movies: 1080p | User level: Enthusiast

 

Panasonic Lumix FZ70 / FZ72

Top 10 bridge cameras in 2019 that pack huge zoom lenses (Super Zoom) 4 Top10.Digital

It may be showing its age, but falling prices of these cameras keep it in the game

Sensor: 1/2.3-inch CMOS, 16.1MP | Lens: 20-1200mm, f/2.8-5.9 | Monitor: 3-inch fixed, 460,000 dots | Viewfinder: EVF | Maximum continuous shooting rate: 9fps | Movies: 1080p | User level: Beginner/enthusiast

 

Nikon Coolpix P1000

Top 10 bridge cameras in 2019 that pack huge zoom lenses (Super Zoom) 5 Top10.Digital

125x optical zoom and one of the best cameras

Sensor: 1/2.3-inch CMOS, 16MP | Lens: 24-3000mm, f/2.8-8 | Monitor: 3.2-inch articulating, 921,000 dots | Viewfinder: EVF | Maximum continuous shooting rate: 7fps | Movies: 4K | User level: Beginner/enthusiast

Click here to read about Raspberry Pi Camera

Sony Cyber-shot HX400V

Top 10 bridge cameras in 2019 that pack huge zoom lenses (Super Zoom) 6 Top10.Digital

A great all-rounder that’s just starting to be outclassed by newer rivals

Sensor: 1/2.3-inch CMOS, 20.4MP | Lens; 24-1200mm, f/2.8-6.3 | Monitor: 3-inch tilting, 922,000 dots | Viewfinder: Yes | Maximum continuous shooting rate: 10fps | Movies: 1080p | User level: Beginner/enthusiast

 

And not to mention where all started with:

Sony Cyber-shot RX10

Top 10 bridge cameras in 2019 that pack huge zoom lenses (Super Zoom) 7 Top10.Digital

Sensor; 1-inch CMOS, 20.2MP | Lens; 24-600mm, f/2.4-4 | Monitor; 3-inch tilting, 1.23m dots | Viewfinder: EVF | Continuous shooting; 14fps | Movies: 4K | User level; Intermediate/expert

TOP 5 Smart Door Locks 2019 + HomeKit

Top 5 Smart door locks compatible with HomeKit you can buy now in March 2019

#5 August Smart Lock Pro

Lock and unlock your door from anywhere, grant secure access to friends and family, and track who is coming and going, all from the August app. Automatically unlocks when you arrive and locks when you leave. August Smart Lock Pro works with all three voice assistants – Siri, Amazon Alexa, and the Google Assistant.

https://august.com/products/august-sm…


#4 Friday Lock

SEAMLESS INTEGRATION WITH Apple HomeKit With Apple® HomeKit smart door lock, Friday Lock becomes part of a bigger ecosystem, connecting to all of your smart accessories and integrating seamlessly with them.

https://shop.fridayhome.net/product/f…


Click here to read about Top 10 Raspberry Pi projects


#3 Schlage Sense Smart Deadbolt

Your keys. Or Your latte. Your briefcase. Your groceries. Something’s got to give. But not if you have the Schlage Sense Smart Deadbolt or August smart lock. It makes getting in the door as easy as entering an access code on a touchscreen or using your smartphone to unlock the door before you even get out of the car. And that’s only the beginning of what keyless entry can do for you when it comes to both security and convenience.

https://www.schlage.com/en/home/smart…


#2 Danalock V3 Smart Lock

The Danalock V3 is one of the wireless smart door locks that lets you easily control access to your home with your smartphone. So stop worrying about lost or forgotten keys, use your smartphone to lock or unlock the door.

As the owner of a Danalock V3, you can create an unlimited number of digital keys for your family members, friends, guests or helpers such as a housekeeper or contractor*. Program each user’s access level by choosing permanent or temporary access. Set up alerts, so you know exactly when the lock is used — and by whom.

http://shop.danalock.com/


#1 NUKI SMART LOCK 2.0

Nuki - Das elektronische Türschloss mit Bluetooth SMART Nuki’s smart door lock automatically unlocks your door when you get home and closes safely when you leave. Your smartphone simply remains in your pocket!

Unser Smart Lock zum Nachrüsten - Unser Nuki lässt sich einfach selbst aufsteckenSIMPLE The Nuki Smart Lock is mounted on the inside of your existing door lock and ready to be used within 3 minutes without any further assistance. No screws, no drills.

Nuki ist das sicherste elektronische Türschloss im internationalen VergleichstestSECURE Keep control over your Nuki Smart Lock and check the status at any time on your smartphone. Manage access permissions for your friends and loved ones.https://nuki.io/en/

Let us know which one you like more below in the comments

https://nuki.io/en/

Let us know which one you like more below in the comments

Five Ways a Digital Treadmill Can Improve Your Fitness

0

Treadmills have been around for a surprisingly long time. Did you know that the first US patent for a treadmill was issued as far back as 1913?

Digital treadmills are more popular than ever, you can thank an extended lockdown for that! This means that companies are bending over backwards to offer you the best product. But what makes digital treadmills so effective? Here are five ways a digital treadmill can improve your fitness.

Endurance Running

Unsurprisingly, the most effective way to use a treadmill to improve your fitness is through traditional endurance training. Nothing fancy, just set yourself a distance goal and spend your time trying to improve it. You can either try to increase your distance or increase your speed (and lower your time). A low intensity, long duration treadmill run will help to improve your fitness significantly.

Hill Sprints

While hill sprints are definitely not for beginners, they are an amazing way to turbo charge your fitness levels. To perform hill sprints, you will need a digital treadmill with a robust incline setting and a decent motor. Searching for bargain treadmills is not the answer here! The idea is to perform 10 hill sprints that last around 30 seconds (up to a minute depending on your fitness).

Set the treadmill up to a steep incline, and then set the speed to as fast as you can handle (test this out over a number of sessions to find the sweet spot). Run as fast as you can, then grab the handles and hop off the running belt safely. Turn the speed down and recover for 90 seconds. Then start your second sprint.

HIIT

This is almost exactly the same as the hill sprint method above but doesn’t use a steep incline. Some people prefer to modify this so that it isn’t a true HIIT session, which looks like this:

  • Run for 90 seconds at a medium pace
  • Sprint for 30 seconds
  • Run for 90 seconds at a medium pace

The only issue is that treadmills can’t go from slow to sprint immediately, it takes around 30 seconds to hit max speed. So, your actual run looks more like this:

  • Run for 60 seconds at a medium pace
  • Steadily increase speed for 30 seconds until you hit sprinting speed
  • Sprint for 30 seconds
  • Steadily reduce speed for 30 seconds until you hit medium speed
  • Run for 30 seconds at a medium pace
  • Steadily increase speed for 30 seconds until you hit sprinting speed
  • And so on …

This isn’t true HIIT, but it is a seriously good workout and will make a huge difference to your aerobic fitness levels.

Modified Fartlek Training

Modified Fartlek training is an amazing way to use your digital treadmill to improve your fitness. It suits treadmills better than the previous two methods (hill sprints and HIIT) because it understands the limitations of the treadmill and can suit any fitness level.

Real Fartlek training is slightly different, but modified Fartlek training resembles it closely. What you do is split your movements into three:

  • Walking
  • Jogging
  • Running

If you are fitter, then you may change it to jogging, running, sprinting. If you are less fit, then you could change it to slow walking, walking, and jogging. You get the idea. Three different speeds.

Warm up with some walking/jogging, and then start to run. Do this for as long as you can, when you get tired, drop down to walking. Stick with walking until you feel ready to increase to a jog, then jog until you feel ready to run. Repeat the process for 20-60 minutes (depending on your goals).

Alternatively, you can stick to distances. 400m run, 400m walk, 400m jog.

Low intensity Walking

This is perhaps the most boring option, but for many people walking at a low to medium intensity is a great way to burn fat and improve fitness. This is popular with bodybuilders who want to burn fat but not lose any muscle mass during a cut. But it is also great for beginners. As your fitness improves you can increase the speed, the distance, or the incline to make it harder.