Skip to main content

This is ZX81.org.uk

Tag: Hardware

Raspberry Pi Pico: Temperature Sensor

Last time, I talked about setting up my Pi Pico by soldering on the GPIO pins and wiring up an LCD screen. Having something work is obviously no fun. I need another challenge.

I decided to update the display to show the current temperature. I’d read that the Pico has a built-in temperature sensor, so how hard could it be?

I quickly took the sample code from the Pico website and plugged it in. It ran first time, which is quite impressive, and said that it was currently… 10º.

Raspberry Pi Pico: LED Display

It’s been a productive weekend, at least if you consider doing unnecessary things productive.

For reasons that won’t become clear any time soon, I decided that I wanted to get some of my Arduino components working with my new Raspberry Pi Pico. Like the Arduino, but unlike other Pis, the Pico is a microcontroller. In practical terms – for a programmer at least – this means it doesn’t have a “proper” operating system like Linux but it does have lots of inputs and outputs, both digital and analogue.

What are Registers?

When people say that Twitter is a cesspool of conspiracy and abuse, I don’t recognise it based on my experience. My Twitter timeline is all jokes and geeky chat1, and that’s where this post takes its cue:

When I started learning assembler, no site ever mentioned what registers were good for. Wish it had said:

CPU talking to a RAM chip is slow, registers are a bit of memory built into the CPU in which you load numbers from RAM, do several calculations, and only THEN write back.

My delicious.com bookmarks for November 23rd through November 30th

  • The BBC Micro turns 30 – Pretty much every Brit around my age will remember the Model B. It felt so… professional after using the Sinclair Spectrum!
  • Thanksgiving Is Un-American – Socialism and illegal immigration… Why thanksgiving is un-American.
  • Coders are creatives too: Where’s our love? – “How did a person whose greatest educational achievement is crayoning without going over the lines get termed ‘a creative’, when the people who built our world are dismissed as geeks and bottom feeders?”