Search found 106 matches

by chrismas9
Thu Aug 16, 2018 1:17 pm
Forum: MicroPython pyboard
Topic: pyboard doesn't show up as USB flash device on Windows 10 machine
Replies: 14
Views: 5041

Re: pyboard doesn't show up as USB flash device on Windows 10 machine

Saying it's two dead STM32's doesn't correlate with the misbehaving flash drives and camera. 1. If you reboot the PC's do the other devices work on all PC's? 2. To determine whether it's a Windows software issue try booting from a run from CD Linux distro. I the pyboards work you may have a driver p...
by chrismas9
Mon Aug 06, 2018 1:33 pm
Forum: MicroPython pyboard
Topic: Amplitude/PWM
Replies: 7
Views: 953

Re: Amplitude/PWM

You can modulate the DAC output with the PWM. 1. Connect a resistor, say 10k to the DAC pin. The other end will be your output. 2. Connect a MOSFET, say 2N700p - S to GND, G to PWM and D to output end of resistor. When the PWM is high the MOSFET will be on and drive output to 0V. When PWM is low the...
by chrismas9
Sat Jul 28, 2018 6:53 am
Forum: MicroPython pyboard
Topic: No USB HardDrive With The four main files. Help
Replies: 3
Views: 388

Re: No USB HardDrive With The four main files. Help

What brand of board is it? Is it a genuine pybV1.1 from Damien or something else? It sounds like something with a dual USB to serial chip or debugger like ST-LINK. Genuine Pyboard won't generate 2 serial ports. Anything with a USB to serial chip won't create a USB dusk drive on the host. Post a phot...
by chrismas9
Sat Jul 14, 2018 4:58 pm
Forum: MicroPython pyboard
Topic: stop() current consumption (SOLVED)
Replies: 2
Views: 463

Re: stop() current consumption

Damien did some tests before the release of pyb lite. From memory you have to set all pins to input with pulldown. The output driver had some leakage current.
by chrismas9
Sun Jul 08, 2018 7:17 am
Forum: General Discussion and Questions
Topic: Host pushing JSON config file to Pyboard
Replies: 10
Views: 997

Re: Host pushing JSON config file to Pyboard

You can get eMMC chips for under $5 but stock is limited. Search eMMC at octopart.com then search by price.
by chrismas9
Sun Jul 08, 2018 4:32 am
Forum: General Discussion and Questions
Topic: Host pushing JSON config file to Pyboard
Replies: 10
Views: 997

Re: Host pushing JSON config file to Pyboard

On further reading of data sheet and littlefs DESIGN.md the 128 kB block erase size of the NAND flash may be a problem. I believe most of the negative comments apply to large scale flash with 300 - 10,000 cycle endurance. If you want to use SPI NOR flash use the largest affordable part and wear leve...
by chrismas9
Sun Jul 08, 2018 1:59 am
Forum: General Discussion and Questions
Topic: Host pushing JSON config file to Pyboard
Replies: 10
Views: 997

Re: Host pushing JSON config file to Pyboard

Embedded flash chips with wear levelling are called eMMC memory. They are over $US10 at Digi-Key. Beagle bone uses eMMC. Alternatively you could use an SPI NAND flash chip such as Winbond W25N01GVZEIG $4 100+ at Digi-Key with a wear levelling file system. Damien is porting littlefs from mbed. See #3...
by chrismas9
Thu Jul 05, 2018 4:42 pm
Forum: General Discussion and Questions
Topic: Host pushing JSON config file to Pyboard
Replies: 10
Views: 997

Re: Host pushing JSON config file to Pyboard

If you are going to write files at high frequency (you say up to 10 per second) I strongly suggest using an SD card on the Pyboard. The STM32 flash does not have wear levelling. The largest SD card will have the longest life due to there between more sectors to share the writes. There are warnings o...
by chrismas9
Sun May 13, 2018 3:56 pm
Forum: General Discussion and Questions
Topic: USB MSC mass storage mode as devel tool
Replies: 5
Views: 613

Re: USB MSC mass storage mode as devel tool

I have not had problems copying source files to Pyboard as long as you allow a short delay after a write before a hard or soft reset. The red LED comes on during write from host. Wait for it to go out before doing anything else. What will corrupt the drive is allowing writes from Micropython while c...
by chrismas9
Sun May 13, 2018 3:38 pm
Forum: General Discussion and Questions
Topic: adhesive/insulation for electronics in soil
Replies: 8
Views: 818

Re: adhesive/insulation for electronics in soil

What about silicone roof and gutter sealer? There are many brands that are approved for potable (drinking) water. You could put the electronics in a small food grade plastic container with holes in it, then completely fill it with silicone. Make sure the wires penetrate into the silicone a good dist...