Author Topic: RP2040 or RPi as data logger  (Read 759 times)

0 Members and 1 Guest are viewing this topic.

Online Wilson__Topic starter

  • Contributor
  • Posts: 47
  • Country: gb
RP2040 or RPi as data logger
« on: May 01, 2024, 09:49:36 am »
Is there an product/development board (Adafruit type) or open source project that use multiple board with jumper wire

  RP2040 (or Raspberry Pi zero 2 W with Raspberry OS)
  run custom developed software (python perferred, C ok) to read I2C temperature sensor
  small display screen
  has SD card to store data
  has USB plug that charge Li ion battery
  when plug into PC, the SD card appear as a flash drive.  Data can be transfer to PC.

Many thanks
 

Offline tszaboo

  • Super Contributor
  • ***
  • Posts: 7424
  • Country: nl
  • Current job: ATEX product design
Re: RP2040 or RPi as data logger
« Reply #1 on: May 01, 2024, 09:53:10 am »
You can do that with the RPi Pico without SD card.
Just use micropython's file writing modules.
Here is an example:
https://halvorsen.blog/documents/technology/iot/pico/pico_datalogging.php
 
The following users thanked this post: Wilson__

Offline mianos

  • Contributor
  • Posts: 38
  • Country: au
Re: RP2040 or RPi as data logger
« Reply #2 on: May 01, 2024, 11:01:12 am »
One of the many esp32 boards with an SD card built in. No need to wire it up.
If you want something direct from Adadfruit, check the 'metro'.
Supports circuit python, arduino or the proper esp-idf.
There is a jst battery connector and has a charter on board.

Quite a big board to me, I have a bunch of older esp32 boards with sd cards and charging connectors and hardware but the AdaFruit one would be easy to get going.


Edit: I didn't see you wanted a display built in. In that case I would go got a lilygo. They have boards with charger, SD card and display. You won't get as good micropython support but they work without much trouble from platform.io. Even the displays are pretty easy to get to work.

I don't have one of these but they look like good fun, epaper, sdcard and charger:
https://www.lilygo.cc/products/t5-v2-3-1
« Last Edit: May 01, 2024, 11:09:34 am by mianos »
 
The following users thanked this post: Wilson__

Online Wilson__Topic starter

  • Contributor
  • Posts: 47
  • Country: gb
Re: RP2040 or RPi as data logger
« Reply #3 on: May 01, 2024, 04:32:29 pm »
Many thanks.  Any idea going beyound the size (some 7 MB by advanced RP2040 board) and add sd card?  Still need it appaers as USB flash when plug into pc.
 

Online darkspr1te

  • Frequent Contributor
  • **
  • Posts: 299
  • Country: zm
Re: RP2040 or RPi as data logger
« Reply #4 on: May 02, 2024, 06:21:08 am »
If you are looking for something already spun up then look for the "better picoboard" ,
it has sd built in along with some nice improvements over original board and yet is the same size.
There is also the Adafruit Picowbell logger which has a few more bells and wifi.


on github there is a neat bootloader that shows sdcard when plugged into pc and if you hold the bootkey it will go into dfu mode , firmware can also be pulled from sdcard in the next boot then renamed when done.


i think it was called pico-tool , i will have to check.


darkspr1te



 
The following users thanked this post: Wilson__

Offline JeanF

  • Regular Contributor
  • *
  • Posts: 143
  • Country: fr
Re: RP2040 or RPi as data logger
« Reply #5 on: May 04, 2024, 08:12:20 pm »
If you are looking for something already spun up then look for the "better picoboard" ,
it has sd built in along with some nice improvements over original board and yet is the same size.
Interesting, could you please provide a link? I couldn't find the product you are mentioning; sorry if I'm missing something obvious. Thanks!
 

Online darkspr1te

  • Frequent Contributor
  • **
  • Posts: 299
  • Country: zm
Re: RP2040 or RPi as data logger
« Reply #6 on: May 09, 2024, 11:34:56 am »
Sorry, i called the better picoboard but that was the video title, the actual product is the PicoPro (see youtube for the files and the link to order prebuilt boards from pcbway)


 

Offline robert.rozee

  • Frequent Contributor
  • **
  • Posts: 281
  • Country: nz
Re: RP2040 or RPi as data logger
« Reply #7 on: May 09, 2024, 12:38:21 pm »
hi,
    mmbasic running on the RP2040 may fulfill some of your requirements, especially if you want to keep the coding effort to a minimum:
https://geoffg.net/picomite.html

the bog standard RPi pico board will run happily on a single 18650 Li-Ion cell, and changing can be handled with a TP4056 charger module - these ones include over- and under-voltage protection:
https://www.ebay.com/itm/203837090484


cheers,
rob   :-)
 
The following users thanked this post: Wilson__


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf