Raspberry Pi Pico weather display (MicroPython)
Your first MicroPython project: temperature and humidity on an OLED.
Shop by category
Shop all componentsAn Arduino board is a microcontroller plus support parts. Building one on a breadboard shows what each part does. You will wire an ATmega8A with a crystal, burn its fuses and upload a blink sketch using an Uno as the programmer.
Double-check VCC and GND before power-up; reversed supply kills the chip.
Tick anything you already have and the total updates.
C51/AVR learning board kit to solder, with a socket for 8051 or AVR chips
Two 22 pF capacitors for the crystal and a 100 nF across the supply
Acts as the programmer (Arduino as ISP)
Next step: a 40-pin AVR on a ready board
Next step: try the PIC family with MPLAB X
Follow the colours: red is power, dark grey is ground, blue is a signal.
blink_pb0.inoVerify & upload in Electrolark// ATmega8A with MiniCore: Arduino pin 8 is PB0 (chip pin 14)
void setup() { pinMode(8, OUTPUT); }
void loop() { digitalWrite(8, HIGH); delay(500); digitalWrite(8, LOW); delay(500); }
The sketch above runs here on a simulated Arduino Uno. Move the sliders for the sensors and buttons it reads, and watch the Serial monitor, display and outputs change.
Wiring or power is wrong, or the chip has no clock: check the crystal and its capacitors.
Put a 10 µF capacitor between the Uno's RESET and GND after uploading ArduinoISP.
The fuses still select the internal 1 MHz clock; burn the bootloader again.
Yes, the pinout is the same; choose ATmega328 in MiniCore.
Settings stored in the chip, such as the clock source; wrong fuses can stop it answering until a clock is supplied.
The crystal needs a set load capacitance to start reliably at its rated frequency.
11 parts: C51 / AVR Learning Development Board Kit (DIY), ATmega8A Microcontroller IC, DIP-28, Crystal Oscillator HC-49 (Pack of 5), 3 × Ceramic Disc Capacitor, Uno R3 CH340G ATmega328p Compatible Development Board, Through-Hole LED Pack (Pack of 10), Resistor Assortment Kit (30 Values), Solderless Breadboard, Dupont Jumper Wires (40 pcs), ATmega16/32 ISP AVR Minimum System Development Board, plus 1 more. On this page you can tick the parts you already have and add only the rest to your cart.
It is a intermediate project and takes about 2 hours. The build on this page has 5 steps.
No. This page has the complete, tested code (blink_pb0.ino).
Yes. The Run it panel under the code runs this exact sketch on a simulated board. Move the sliders or press the buttons for the sensors it reads, and the Serial monitor, display and outputs react as they will on the real build. It is a simulation, so real readings depend on your parts and wiring.
About ₹2,130 for the parts at the prices on this page. Quantity price breaks lower the cost when you build several.
What a crystal and load capacitors do; In-system programming (ISP) over SPI; Fuses and clock sources.
Double-check VCC and GND before power-up; reversed supply kills the chip.
Ideas that reuse this build: STM32 first steps. They are listed under Take it further on this page.
Your first MicroPython project: temperature and humidity on an OLED.
A web page with ON and OFF buttons that switches a relay over Wi-Fi.
A warm ring light that fades up at dusk and down at dawn.
Turn a Pi and a touchscreen into a home command centre with a clock and to-do list.
Learning project. Check every circuit and the datasheet of each part before you power it up.
A simulation of the sketch above, so you know what to expect. Real readings vary with your parts and wiring.