Search found 11 matches
- Wed Feb 10, 2021 5:49 pm
- Forum: Raspberry Pi microcontroller boards
- Topic: PIO CANbus & ODBII on a Pico ?
- Replies: 0
- Views: 1925
PIO CANbus & ODBII on a Pico ?
Does anybody know if it is possible to implement CANbus using the RD2040 PIO? . . . clearly a CANbus transceiver such as a SN65HVD230 would be required to handle the differential voltage, but the question is can the PIO effectively replace the need for a CANbus controller such as the MCP2515 (and wi...
- Wed Feb 03, 2021 6:50 am
- Forum: Programs, Libraries and Tools
- Topic: rshell & Raspberry Pi Pico - date & time sync
- Replies: 10
- Views: 13119
Re: rshell & Raspberry Pi Pico - date & time sync
Fantastic, thanks
minor tweak, I think line 1008 should use ‘mem32’ rather than ‘mem8’ as it is a 32bit register [this was an error in the original code I supplied, but it seemed to work irrespective]
minor tweak, I think line 1008 should use ‘mem32’ rather than ‘mem8’ as it is a 32bit register [this was an error in the original code I supplied, but it seemed to work irrespective]
- Tue Feb 02, 2021 6:59 pm
- Forum: Raspberry Pi microcontroller boards
- Topic: Soft Booting not occuring on Mac Pycharm?
- Replies: 3
- Views: 3044
Re: Soft Booting not occuring on Mac Pycharm?
I picked up one of these https://shop.pimoroni.com/products/pico-omnibus and a couple of these https://shop.pimoroni.com/products/pico-proto to use with my Pico. 569CD1CD-4547-4241-A542-25DDB4078B53.gif A couple of buttons and a 4-way I2C connector later . . . 6569A742-993F-44B6-B654-C903B8F68EE1.gi...
- Tue Feb 02, 2021 10:31 am
- Forum: Programs, Libraries and Tools
- Topic: rshell & Raspberry Pi Pico - date & time sync
- Replies: 10
- Views: 13119
Re: rshell & Raspberry Pi Pico - date & time sync
more detail and a working example of how to synchronise the Raspberry Pi Pico to a host computer . . . can this now be incorporated into rshell? #!/usr/bin/env python3 # # Vendor:Product ID for Raspberry Pi Pico is 2E8A:0005 # # see section 4.8 RTC of https://datasheets.raspberrypi.org/rp2040/rp2040...
- Mon Feb 01, 2021 6:07 pm
- Forum: Programs, Libraries and Tools
- Topic: rshell & Raspberry Pi Pico - date & time sync
- Replies: 10
- Views: 13119
rshell & Raspberry Pi Pico - date & time sync
A user on the Raspberry Pi forum posted this https://www.raspberrypi.org/forums/viewtopic.php?p=1810426#p1810426 , which appears to set the Pico RTC from within MicroPython. import machine import utime print() print(" YYYY MM DD HH MM SS") dateTime = (input ("Enter current date & time: "))+' 0 0' gi...
- Wed Apr 18, 2018 3:30 pm
- Forum: ESP8266 boards
- Topic: How to get free space of internal file system?
- Replies: 13
- Views: 25251
Re: How to get free space of internal file system?
This would do it . . .
Code: Select all
import uos
fs_stat = uos.statvfs('/')
fs_size = fs_stat[0] * fs_stat[2]
fs_free = fs_stat[0] * fs_stat[3]
print("File System Size {:,} - Free Space {:,}".format(fs_size, fs_free))
- Sat Jun 04, 2016 12:15 pm
- Forum: ESP8266 boards
- Topic: ESP8266 is great (with ideas for improvement)
- Replies: 8
- Views: 8320
Re: ESP8266 is great (with ideas for improvement)
ESPlorer (http://esp8266.ru/esplorer/ solves this problem perfectly across multiple platforms (Windoze, Mac, Linux) and also provides for REPL access . . . wired rather than wireless though
- Sun May 22, 2016 10:04 pm
- Forum: WiPy and CC3200 boards
- Topic: WiPy USB connectivity and Automatic Home Network Configuration
- Replies: 1
- Views: 3157
WiPy USB connectivity and Automatic Home Network Configuration
I configured my WiPy to auto connect to my home WiFi when in range and automatically setup up its default AP when not at home using the following code in 'main.py' # # main.py -- auto connect to specified WiFi if available, otherwise fires up 'wipy-wlan-xxxx' Access Point # -- enables CTRL-D soft re...
- Tue May 17, 2016 5:45 am
- Forum: ESP8266 boards
- Topic: ESPlorer IDE supports MicroPython now
- Replies: 6
- Views: 13815
Re: ESPlorer IDE supports MicroPython now
I have ESPlorer running on both a Mac and a Windows Laptop and am using Adafruit Huzzah Feather and DOIT ESP8266 boards . . . when using on the Mac I have the ability to transfer a file to the ESP8266, but this option is grayed out and not available on Windows. Is there a reason for this?
- Mon May 16, 2016 8:13 am
- Forum: MicroPython pyboard
- Topic: NeoPixel Library
- Replies: 5
- Views: 8391
NeoPixel Library
I have both a couple of pyBoard 1.1's and a number of ESP8266 Adafruit and NodeMCU/DOIT boards . . . Having spent the weekend playing with the latest 1.8 release of MicroPython on all of these, I am a little perplexed that the ESP8266 has support for the NeoPixel library built in but the pyBoard ver...