Search found 129 matches

by chrismas9
Tue Jan 07, 2020 1:10 pm
Forum: General Discussion and Questions
Topic: search for an inexpensive device to detect housebreaking
Replies: 18
Views: 433

Re: search for an inexpensive device to detect housebreaking

In days of old when Wi-Fi wasn't invented and nor were PIR detectors burglar alarms had reed switches on doors and mechanical vibration switches on windows. A vibration switch could wake up a device from sleep mode.
by chrismas9
Fri Dec 27, 2019 5:11 am
Forum: General Discussion and Questions
Topic: Surface mount soldering: can anyone help with two chips?
Replies: 10
Views: 347

Re: Surface mount soldering: can anyone help with two chips?

You could try adding solder bumps to the pads like a BFA. Try to get a lump of solder 1mm high on each pad of the WSON. Then tin the PCB pads with solder. Use liquid or paste flux on the pads and place the chip. With a very fine tip melt the solder bumps and that will flow into the pads and bond. Th...
by chrismas9
Sun Dec 22, 2019 3:00 am
Forum: MicroPython pyboard
Topic: [CLOSED] Custom Micropython build
Replies: 7
Views: 390

Re: Custom Micropython build

You need to install the full MSYS2, not just make. There are various utils like SED that are needed. You need to set the MSYS2 path before windows\system32 because it has to replace some Windows utilities. I find it easier to use WSL for building MicroPython with Windows tools for managing source co...
by chrismas9
Sun Dec 22, 2019 2:40 am
Forum: MicroPython pyboard
Topic: Loading Files via JTAG
Replies: 4
Views: 186

Re: Loading Files via JTAG

You can add UART REPL in mpconfigport.h. See NUCLEO_F411RE port for an example. For Linux use rshell to copy scripts to the flash. I use Thonny on Windows. There are discussions on the forum about other IDEs and plugins. For production you can use JTAG to read out a complete flash image and clone it...
by chrismas9
Sat Dec 14, 2019 5:34 am
Forum: General Discussion and Questions
Topic: Propeller Spin vs MicoPython Ideology
Replies: 4
Views: 250

Re: Propeller Spin vs MicoPython Ideology

Have a look at uasyncio cooperative multi-tasking and Peter Hinch's tutorials. There is lots of discussion on the forum and GitHub
by chrismas9
Tue Dec 03, 2019 12:44 pm
Forum: General Discussion and Questions
Topic: GPS Antennas interchangeability
Replies: 3
Views: 217

Re: GPS Antennas interchangeability

You should be able to swap antennae. They are all 50 ohm and same frequency. I have used quite a few different types. If you want to compare antennae find an app that displays all satellites in view and run both antennae at the same time using two modules. Look at the number of satellites found and ...
by chrismas9
Fri Nov 15, 2019 2:48 am
Forum: Pyboard D-series
Topic: UART on alternate pins
Replies: 4
Views: 760

Re: UART on alternate pins

Edit the pin assignment in mpconfigboard.h for your port and rebuild MicroPython
by chrismas9
Fri Nov 15, 2019 2:46 am
Forum: Programs, Libraries and Tools
Topic: New version of Thonny IDE
Replies: 7
Views: 1230

Re: New version of Thonny IDE

What i still miss: automatic sync files on device <-> local I actually use Thonny to avoid writing to local flash. I have multiple test scripts with different names that Thonny lets me run in RAM without renaming them to main.py. Only when one is tested do I download it as main.py. Also some of my ...
by chrismas9
Fri Nov 15, 2019 2:35 am
Forum: General Discussion and Questions
Topic: CAN on STM32F4xx
Replies: 12
Views: 911

Re: CAN on STM32F4xx

If the STBY is high or floating the device will sleep until it sees a dominant star on the bus. This means the transceiver at the listening end will wake up after a delay. The sending end will not wake up if you want to send. You need to either tie STBY low or drive it low before sending. It is also...
by chrismas9
Fri Nov 15, 2019 2:21 am
Forum: Development of MicroPython
Topic: [Solved]screen /dev/ttyACM0 on STM32L4R9IDISC
Replies: 17
Views: 1024

Re: screen /dev/ttyACM0 on STM32L4R9IDISC

If you can't get the green LED to flash you have a more fundamental problem than no REPL. I would review the driver and HAL interface changes you made for the MCU. On one port I did the interrupt vector table was different to most and I have also found the occassional bug in the STM32hal libraries. ...