Thursday, 28 November 2024

How to connect Raspberry Pi Pico to a external temperature sensor(DHT11 or DHT22)

How to connect Raspberry Pi to DHT 11 / DHT 22



 


Connect your DHT11 sensor to the Pico accordingly - 

 Left pin (Signal) - GPIO Pin 22 (or any of your choosing)                                             Middle pin (Positive) - 3v3 Out                                                                                         Right Pin (Negative) - GND pin

For DHT22 do flip position of pins mentioned on top

(NOTE: If not using a DHT breakout board, connect a 4.7K ohm resistor to signal pin)

Code - 
from machine import Pin
import dht
from time import sleep

sensor=dht.DHT11(Pin(22))
while True:
   sensor.measure()
   print(sensor.temperature())
   print(sensor.humidity())
   sleep(2)

 


Sunday, 2 June 2024

Infinix GT 20 Pro - Budget Gaming Phone?

 


Gamers, strap yourselves in! Calling all mobile warriors and esports enthusiasts, the Infinix GT 20 Pro has just entered the arena. This recently launched (May 2024) smartphone throws down the gauntlet to the mid-range gaming phone market, boasting features that promise to elevate your gameplay to the next level. But does it deliver a knockout punch, or is it more of a contender's jab? Dive into our deep dive to find out if the Infinix GT 20 Pro packs the power and performance to make you a gaming champion.

Its Dimensity 8200 Ultimate and up to 24GB of extended RAM are ready to take on any task thrown against it. Its FHD+ 144hz AMOLED screen with a dedicated display chip for gaming, along with dual speakers by JBL and has DTS, what more do you need. It also has an RGB mini-led strip at the back with four customizable options.

For those of you, who also want camera performance its 108MP rear camera along with a 32MP front camera will seal the deal. It also has 4K@60FPS(rear) and 2K@30FPS(front) video recording.

It has a 6.7" screen with a stable frame-rate engine. Running XOS 14 for GT, which is based on android 14. It also has a 5000 mAH battery which fast charges with a 45 watt charger for a day's performance.







Tuesday, 28 May 2024

Samsung Galaxy F55 vs M55 vs A55: Battle of the Mid-Rangers


In the crowded world of mid-range smartphones, Samsung has thrown a curveball with not one, not two, but three contenders for your wallet: the Galaxy F55, M55, and A55. All boasting 5G connectivity and sleek designs, they promise a powerful punch at an attractive price. But with seemingly similar specs, which one reigns supreme? We're diving deep into each phone, dissecting their performance, camera prowess, battery life, and more, to help you navigate the A-F-M confusion and pick the perfect Samsung companion for your needs.

Performance



With all of them boasting octa-core CPU's and 12GB of RAM, it invariably comes down to their CPU speeds, with the F55 and M55 having 2.4 Ghz while the A55 has 2.75 Ghz though all of them use a Snapdragon 7 Gen 1. They also have 256GB of storage which is expandible to 1 TB by microSD

Display

The Galaxy F55 and M55 Super AMOLED Plus displays with FHD+ resolution and 6.67in screen size with the A55 having Super AMOLED with FHD+ and a 6.62in screen size. All three have 120hz refresh rate with 16M colour depth.

Camera



All three feature a trio-camera setup with F55 and M55 having 50.0 MP primary, 8.0 MP ultrawide sensor and a 2.0 MP macro sensor. The A55 has a 50.0 MP primary, 12.0 MP ultrawide sensor and a 5.0 MP macro sensor. All three have 10x zoom and UHD 4K video at 30fps with slow motion at 240fps in HD with F1.8 , F2.2 , F2.4

Weight and Battery

F55 and M55 both have a weight of 180g while the A55 has 213g of weight with all featuring 5000 mAH of battery.


Software

All three phones run on One UI 6.1, with the A55 having 4 years of major updates and 5 years of security updates

Sensors

  • Accelerometer
  • Fingerprint Sensor
  • Gyro Sensor
  • Geomagnetic Sensor
  • Light Sensor
  • Proximity Sensor(M55,F55)
  • NFC
  • Wifi-Direct
  • Hall sensor(A55)
  • Virtual proximity sensing(A55)




https://amzn.to/4bTVJqe

How to connect Raspberry Pi Pico to a external temperature sensor(DHT11 or DHT22)

How to connect Raspberry Pi to DHT 11 / DHT 22   Connect your DHT11 sensor to the Pico accordingly -   Left pin (Signal) - GPIO Pin 22 (or a...