RTC inside the case?

How do you get the case to close with things plugged in like that? I have a Pimoroni and the white receptacles are right up to the back case. I don’t think I can fit anything in there. Did you do trim down the black plastic socket somehow?

Also, I’m not sure, but since I put the pimoroni in (and flashed webmite 6.00.03) I think the batteries don’t charge; the LED in the top right doesn’t come on like it did with the original pico. I had to solder the header pins on myself and I’m a little concerned I might not have done the greatest job.

Edit: Nevermind about the second paragraph: I got the ports mixed up because the Pimoroni has a USB C connector! Charging works fine if I plug the cable in the right hole, LOL.

It just barely fits! The wire with the connector is pinched against the case when plugged into the socket, but it works. Yes, I would gratefully take just one more millimetre of clearance to be happy.

This could be tight then lol :flushed_face:

Joking aside, it’s not finished and I expect I’ll have to take some off the top….

1 Like

Hi!
I made the connection just like the one you showed in the photo, and it worked perfectly on the first try. Thanks!

1 Like

I placed the RTC at the bottom of the Pico2. The advantage is that you can’t see it and there are no changes to the PicoCalc.

4 Likes

Good job !. I still prefer my method of attaching to the Pico socket as gives the option to daisychain other modules in the (near) future and change core whenever I fancy ….

4 Likes

DS3231 V2. complete and working…

Now with two Stemma QT connectors for further modules. Three planned so far, heartrate/blood oxygen, FRAM, compass/accelerometer. Possibly 5-port passive hub, temperature/humidity, speech, some kind of light strip too. I’ll see what I can squish into the case back….

2 Likes

Seems cool! Is there any instuctions which pins shall I connect which wire?

Thx!

Hello,

Are you using PIN9,10 (GP6,7) for IC2? I read these are for the built in keyboard. Isn’t it problem?

Thx!

Yes i’m using pins 9 and 10 (GP6,7). It’s never caused any problems. Both the keyboard and the RTC work.

I2C is like a sort of small network.

each device has it’s own address. So you can “talk” do some devices that are connected to I2C.

In this case a Keyboard or the RTC.

Yes 9 and 10 with Vsys for supply (max 2A but also used for the PicoCalc). Note there are two i2c channels, each capable of addressing daisychained devices as long as they have unique addresses (this can be overcome too with an address translator).

I have 32Kb Fram installed now daisychained to my DS3231 rtc, working perfectly. It handles its own writeback so transparent to the user. Getting around 1096 bytes per second sending an integer array at 10Khz, 200 bytes per second if sent one byte at a time. Trying to figure out what I2C buses and addresses the picocalc uses for itself now as need to up the bus speed !

If I find it worthwhile I’ll stack modules to increase the size. Max 7 modules though (224Kb) as the 8th would clash with a heartrate/blood oxygen sensor going in soon :upside_down_face:.

2 Likes

I got more details about FeRAM since my last post.

Indeed FeRAM chips today have the logic to handle the rewrite and some error correction stuff.
I should give it a try someday!

1 Like

Finally got around to adding the RTC to the Pico 2W.

I soldered to the Pico 2W directly, to limit mods to the swappable part.

The cable is a Stemma QT cable with wire ends clipped, stripped, and soldered to the header pin tops.

Pico 2W side:

Blue –> pin 9 , GP6, SCA

Yellow –> pin 10, GP7, SCL

Black –> pin 38, GND

Red –> pin 36, V3V

Stemma QT side:

Black – 1 GND

Red – 2 VCC

Blue – 3 SDA

Yellow –4 SCL

And the Stemma QT plug goes right into an Adafruit DS3231 module with those convenient tiny ports.

1 Like

Allowing further i2c modules….

3 Likes