Go to advanced search

by hippy
Mon Jan 25, 2021 4:02 pm
Forum: General
Topic: Diode questions for pi hookup
Replies: 7
Views: 239

Re: Diode questions for pi hookup

Looks good to me and I would expect 1K1 resistors to be fine for the serial.

That 3V3 from the Pico should be NC / header pin. The HAT Eeprom 3V3 should come from the Pi. Don't short the two together.
by hippy
Mon Jan 25, 2021 11:18 am
Forum: General
Topic: Have I missed something...
Replies: 49
Views: 1495

Re: Have I missed something...

I would expect most educational users and many developers will be using a Base Board or breadboard which has the desired Reset button fitted rather than using just the Pico board itself. Does any know where a breadboard with a Reset button is for sale? If a user cannot figure out how to connect a b...
by hippy
Mon Jan 25, 2021 8:59 am
Forum: General
Topic: Have I missed something...
Replies: 49
Views: 1495

Re: Have I missed something...

None of this messing about with hubs, extra wires to GPIO pins or the like is needed on other microcontroller boards. My ESP32 board needs an external button added to make them usable for code development without power-cycling. I can agree it would have been nice to fit a Reset button to the board ...
by hippy
Mon Jan 25, 2021 12:46 am
Forum: MicroPython
Topic: Reading /dev/ttyACM0 outputs rubbish after reboot
Replies: 3
Views: 175

Re: Reading /dev/ttyACM0 outputs rubbish after reboot

djhuk1 wrote:
Sat Jan 23, 2021 2:08 pm
~|▶ cat /dev/ttyACM0
17.68152
I was testing my code using a Python-basd terminal emulator. When I tried "cat /dev/ttyACM0" to see my Pico's output that immediately returned to the Pi command prompt. So I am a bit intrigued why that worked for you but not for me.
by hippy
Mon Jan 25, 2021 12:36 am
Forum: General
Topic: I'm excited!
Replies: 38
Views: 1247

Re: I'm excited!

I suspect that the RPT/RPF has just done for the price of MCs with the Pico what the Model B did for the price of SBCs. I'm not sure. There are plenty of low-cost microcontroller boards out there. My Arduino Nano's were £2 each and I picked up an ESP32 thingy with WiFi and camera module for £5, fig...
by hippy
Mon Jan 25, 2021 12:24 am
Forum: General
Topic: Is the raspberry foundation flipping blue?
Replies: 65
Views: 2179

Re: Is the raspberry foundation flipping blue?

The pico is a cheap breakout board with the new mcu. Stick that together with a wireless comm of your choosing and you have a cheap solution for either industrial or personal uses. A very cheap board and quite incredible for what it is. I would rather have a cheap board I can add WiFi, Bluetooth, w...
by hippy
Mon Jan 25, 2021 12:07 am
Forum: General
Topic: Diode questions for pi hookup
Replies: 7
Views: 239

Re: Diode questions for pi hookup

I don't think it matters much about the diode given the wide operating range. I'd be tempted to leave it out unless you are planning to allow the Pico USB socket to be used, in which case a diode is necessary to prevent back-feeding. Don't forget to add a RUN / Reset push button or you won't be able...
by hippy
Sun Jan 24, 2021 6:42 pm
Forum: General
Topic: Hackspace typo
Replies: 0
Views: 65

Hackspace typo

Page 30 - "There's also 2Mb of flash for your programs and data"

Should of course be 2MB.
by hippy
Sun Jan 24, 2021 4:35 pm
Forum: General
Topic: Beginner with Pico on an R Pi 3
Replies: 7
Views: 294

Re: Beginner with Pico on an R Pi 3

Anne_Carlill wrote:
Sun Jan 24, 2021 4:15 pm
My R Pi recognises the Pico as it puts up a 'Removable medium is inserted ' box. I cancelled that and looked back at Thonny.
Don't cancel; you need to copy and drop the MicoPython .uf2 firmware file to the Pi Pico drive.
by hippy
Sun Jan 24, 2021 4:20 pm
Forum: General
Topic: Raspberry Pi Pico inputs floating
Replies: 4
Views: 178

Re: Raspberry Pi Pico inputs floating

From Page 13 of the "Pico Python SDK" - p2 = Pin(2, Pin.IN, Pin.PULL_UP) There's also a Pin.PULL_DOWN constant as well. There is no Pin.PULL_NONE so I'm not sure if there's a default and/or permanent pull which can't be disabled. Couldn't find any info on that when skimming through the dat...
by hippy
Sun Jan 24, 2021 3:58 pm
Forum: MicroPython
Topic: Reading /dev/ttyACM0 outputs rubbish after reboot
Replies: 3
Views: 175

Re: Reading /dev/ttyACM0 outputs rubbish after reboot

Could it be that after the "tim.init()" the program exits, returns to the REPL, but the 'timer interrupt' keeps on running in the background ? My 'print' commands inside a 'while True:' seem to be okay. I don't get any REPL ">>>" prompts, presumably because it never exits to the ...
by hippy
Sun Jan 24, 2021 3:48 pm
Forum: MicroPython
Topic: Is a data logging app possible in Micropython?
Replies: 12
Views: 339

Re: Is a data logging app possible in Micropython?

The W25Q16 used on the Pico has a minimum 100,000 write/erase cycles which is probably okay when logging at slow rates, but not great for higher-speed logging. One could potentially wear out a block in a couple of days by overwriting it once a second. Sequential logging should make it last longer be...
by hippy
Sun Jan 24, 2021 3:26 pm
Forum: MicroPython
Topic: Windows XP Serial Port Drivers
Replies: 0
Views: 85

Windows XP Serial Port Drivers

I wanted to connect my Pi Pico to a Windows XP machine using the USB port so I could see 'print' output when running MicroPython but Windows XP wouldn't recognise the Pico's Virtual Serial Port. Solved that by using - https://www.microchip.com/SWLibraryWeb/product.aspx?product=SE_USB_CDC_Virtual_COM...
by hippy
Sun Jan 24, 2021 12:31 pm
Forum: MicroPython
Topic: Is reading the BOOTSEL button possible in Micropython?
Replies: 1
Views: 159

Re: Is reading the BOOTSEL button possible in Micropython?

It seems to me it would be possible but with the same caveats and limitations. A fail-safe implementation could be tricky but a brute force float the pin and read, restore as was when done, could work if you knew the Flash was not being accessed.
by hippy
Sun Jan 24, 2021 12:24 pm
Forum: MicroPython
Topic: Is a data logging app possible in Micropython?
Replies: 12
Views: 339

Re: Is a data logging app possible in Micropython?

I don't know enough about the Pico or MicroPython to know of a way to figure out if it's just powered or has a connection to a Pi/PC over USB - Some sort of 'machine.ConnectedToHost()' or similar would be ideal for that. I expect such things may come as users identify what would be useful to have an...
by hippy
Sun Jan 24, 2021 12:14 pm
Forum: MicroPython
Topic: Why no lsusb desciption ?
Replies: 10
Views: 558

Re: Why no lsusb desciption ?

Same version as yours; "lsusb (usbutils) 010". I'll see what RPD, WSL and Windows report when I get the time.
by hippy
Sun Jan 24, 2021 12:08 pm
Forum: MicroPython
Topic: numpy
Replies: 13
Views: 427

Re: numpy

That installed numpy for the Mac, but not where Thonny could pick it up for programming the Pico. The trouble is I don't understand the structure of all this, so I am typing in the dark. The package system for MicroPython is quite different to the package system for Python, especially when it comes...
by hippy
Sun Jan 24, 2021 11:49 am
Forum: MicroPython
Topic: File system size ?
Replies: 2
Views: 179

File system size ?

Page 113 of "Getting Started with MicroPython on Raspberry Pi Pico" PDF - "Warning: Your Pico’s file system is 128kB in size" Is that correct ? >>> import os >>> os.statvfs("/") (4096, 4096, 354, 349, 349, 0, 0, 0, 0, 255) I always thought the file system size was [1] *...
by hippy
Sun Jan 24, 2021 11:25 am
Forum: MicroPython
Topic: Is a data logging app possible in Micropython?
Replies: 12
Views: 339

Re: Is a data logging app possible in Micropython?

When you have done the sampling on battery power, pulled the power, reconnected to your PC; the Pico will boot and start running your program. I'm not sure exactly what happens but I can't see any guarantee that you won't have deleted your sample file and started writing new samples before Thonny co...
by hippy
Sun Jan 24, 2021 11:09 am
Forum: MicroPython
Topic: Why no lsusb desciption ?
Replies: 10
Views: 558

Re: Why no lsusb desciption ?

Noticed it's the same 'no description for lsusb' when the Pico is in MSD bootloader mode; "2e8a:0003" - [221504.746399] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [221504.746413] usb 1-1.4: Product: RP2 Boot [221504.746427] usb 1-1.4: Manufacturer: Raspberry Pi [22...
by hippy
Sat Jan 23, 2021 5:47 pm
Forum: General
Topic: Use cases for the pi pico?
Replies: 12
Views: 675

Re: Use cases for the pi pico?

However, I still wonder what resolution could be delivered on an e-paper like monochrome display. As large as one wants, if time to update isn't important and there's enough memory to store the data to build the dispalyed image from. RAM available would determine the maximum size of any frame buffe...
by hippy
Sat Jan 23, 2021 5:34 pm
Forum: MicroPython
Topic: Why no lsusb desciption ?
Replies: 10
Views: 558

Why no lsusb desciption ?

With MicroPython running on the Pico, my Pi detects it is connected, creates /dev/ttyACM0, but 'lsusb' has no human readable useful description ... pi@Pi3B:~ $ dmesg ... snip ... [158286.881924] usb 1-1.4: new full-speed USB device number 22 using dwc_otg [158287.015568] usb 1-1.4: New USB device fo...
by hippy
Sat Jan 23, 2021 4:12 pm
Forum: General
Topic: Upgrade Pico Flash ?
Replies: 2
Views: 137

Upgrade Pico Flash ?

jamesh wrote:
Fri Jan 22, 2021 8:24 pm
External flash means you can choose how much you want, and not go along with whatever the MC has.
Is it possible for those with the skill to remove the Flash on the Pico, install a larger chip, job done. Or are there issues or caveats with doing this ?
by hippy
Sat Jan 23, 2021 4:00 pm
Forum: MicroPython
Topic: Is a data logging app possible in Micropython?
Replies: 12
Views: 339

Re: Is a data logging app possible in Micropython?

Haven't tried it myself but opening, writing and closing a file should see that persist across power-cycles.

It could of course be a bug if it doesn't.
by hippy
Sat Jan 23, 2021 3:50 pm
Forum: General
Topic: Raspberry pi Pico voltmeter
Replies: 2
Views: 169

Re: Raspberry pi Pico voltmeter

Page 625 of the RP2040 datasheet - ADC Input Voltage Range : 0V min, ADC_AVDD max Page 626 - ADC_AVDD : 1.62V min, 3.3V typ, 3.63V max Page 174 - ADC_AVDD supplies the chip’s Analogue to Digital Converter (ADC). It can be powered at a nominal voltage between 1.8V and 3.3V, but the performance of the...

Go to advanced search