|
Forum Index : Microcontroller and PC projects : tempr not working
| Author | Message | ||||
| lizby Guru Joined: 17/05/2016 Location: United StatesPosts: 3757 |
With the latest version, ?tempr isn't working for me on an RP2350-Zero. I reflashed V6.00.01 and it worked; flashed again immediately with V6.03.00RC9 and it returns 1000. It does this on all the pins I have tried. PicoMite MMBasic RP2350A Edition V6.00.01 Copyright 2011-2024 Geoff Graham Copyright 2016-2024 Peter Mather > ?tempr(gp29) 25 PicoMite MMBasic RP2350A V6.03.00RC9 Copyright 2011-2026 Geoff Graham Copyright 2016-2026 Peter Mather Formatting the A: drive > ?tempr(gp29) 1000 > ~ Edited 2026-05-21 01:04 by lizby PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on FOTS |
||||
| matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 11343 |
Haven't got a ds18b20 with me so can't really look at it for the next couple of weeks. Can you find in which version it first stopped working then I might have a chance. |
||||
| lizby Guru Joined: 17/05/2016 Location: United StatesPosts: 3757 |
It fails at RP2350A V6.01.00 PicoMite MMBasic RP2350A V6.01.00 Copyright 2011-2025 Geoff Graham Copyright 2016-2025 Peter Mather Formatting the A: drive > ?tempr(gp29) 1000 I don't have anything between RP2350A V6.00.01 and V6.01.00, and Geoff's archive doesn't contain and V6 versions. (Unfortunately, V6.00.01 doesn't contain trim$--I'll cobble a version.) PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on FOTS |
||||
| matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 11343 |
What about 6.02.01 on Geoff's site? |
||||
| mozzie Guru Joined: 15/06/2020 Location: AustraliaPosts: 323 |
G'day Lizby, Have you tried other pins? Works here on GP0 / GP28 on RP2350A V6.03.00RC9 > option list PicoMite MMBasic RP2350A V6.03.00RC9 OPTION SYSTEM SPI GP18,GP19,GP16 OPTION FLASH SIZE 4194304 OPTION COLOURCODE ON OPTION CPUSPEED (KHz) 200000 OPTION LCDPANEL ST7796S, LANDSCAPE,GP14,GP13,GP12 OPTION GUI CONTROLS 64 OPTION TOUCH GP15,GP17 GUI CALIBRATE 0, 3978, 3840, -1298, -868 > ? tempr(gp0) 26.25 > ? tempr(gp28) 26 > This is on a RPI Pico2 so no access to GP29 Regards, Lyle. Edit: Just re-read your original post and it appears you have tried other pins ![]() Edited 2026-05-21 03:03 by mozzie |
||||
| Mixtel90 Guru Joined: 05/10/2019 Location: United KingdomPosts: 8839 |
Unless MMBasic does something clever GP29 isn't an ADC input on a RP2350A or B. Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
| lizby Guru Joined: 17/05/2016 Location: United StatesPosts: 3757 |
PicoMite MMBasic RP2350A V6.03.00RC9 Copyright 2011-2026 Geoff Graham Copyright 2016-2026 Peter Mather > ?tempr(GP5) 1000 > ?tempr(GP0) 1000 > option list PicoMite MMBasic RP2350A V6.03.00RC9 OPTION FLASH SIZE 4194304 OPTION COLOURCODE ON OPTION CPUSPEED (KHz) 340000 > ?tempr(GP0) 1000 > ?tempr(GP1) 1000 > update firmware PicoMite MMBasic RP2350A Edition V6.00.01 Copyright 2011-2024 Geoff Graham Copyright 2016-2024 Peter Mather > ?tempr(gp1) 25 > update firmware PicoMite MMBasic RP2350A V6.02.01 Copyright 2011-2026 Geoff Graham Copyright 2016-2026 Peter Mather Formatting the A: drive > ?tempr(gp1) 1000 > No go for me with RP2350A V6.02.01. I don't understand why RP2350A V6.03.00RC9 worked for Lyle but not for me. PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on FOTS |
||||
| mozzie Guru Joined: 15/06/2020 Location: AustraliaPosts: 323 |
G'day Lizby, Managed to find the RP2350-Zero purchased by mistake, GP29 does work with the DS18B20: > option list PicoMite MMBasic RP2350A V6.03.00RC4 OPTION FLASH SIZE 4194304 OPTION COLOURCODE ON OPTION CPUSPEED (KHz) 200000 OPTION DISPLAY 40, 80 > ? tempr(gp29) 25.25 > This is using the "Normal Power" option as shown in the manual, I had a heap of trouble with the "Parasitic Power" system as it seems to be quite dependent on device quality. Maybe this is causing what you are seeing. Might also be worth trying TEMPR START with a long timeout, I think this helped with slow sensors. Strange it worked on the older version though Mick, the DS18B20 uses the one wire protocol so will work on any pin, the TMP37 etc is perhaps what you have in mind? Regards, Lyle. Edited 2026-05-21 03:54 by mozzie |
||||
| Mixtel90 Guru Joined: 05/10/2019 Location: United KingdomPosts: 8839 |
Sorry, brain's gone... I'm concentrating on aquarium stands at the moment, not electronics. It shows, doesn't it? :) Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
| The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2026 |