dependabot[bot] on gradle
dependabot[bot] on gradle
chore(deps): bump com.android.t… (compare)
github-actions[bot] on apk
release: build files from devel… (compare)
CloudyPadmal on development
Fixes #2360 add checks for empt… (compare)
dependabot[bot] on gradle
Good news: The basic test of the replaced power chips all function normally, including the charging, discharging, power supply with/without the battery. 10V boost circuit, -10V capacitor pump, +6V and -6V voltage source.
I add a button to control the IP5189T power bank IC. Press the button to turn it on, press 2 times to turn it off. The power bank IC will measure the current, if the current is less than 45mA, it will cut-off the output after 40 seconds.
I've replace the MCP6S21 with a MAX5400 digital potentiometer and a TL082 general operational amplifier.
I've replace the 4 channel DAC MCP4728 with 2 two channel DAC MCP4822, if there is no strong synchronization between different DAC channels. I think it's OK because the 4 amplifing circuits after DAC are pretty different, so there may be no requirement for synchronization between DAC channels.
I've add a 74HC4051 to handle the Chip-Select pins which are newly added.
Bad news: I only bought 2 pieces of IP5189 for testing, I checked there are more than 3000 pieces when I chose to test it, but now there are none left. I may need to test IP5219 instead or wait for a while.
The datasheets are here http://www.injoinic.com/product_detail/id/21.html
I need PIC24 chips and a debugger if there are some to further test with modifying the firmware.
Story of Arduino.. https://blog.arduino.cc/2021/12/09/one-board-to-rule-them-all-history-of-the-arduino-uno/
Being a engineer for years, Arduino is not my option in any of my projects. It's comparably expensive, poor-porformance, poor-designed. The true story that they use Atmega MCU is that there space have several thousands of Atmega by coincidence. Not a solid reason. To some extent, we say that Arduino saved Atmel.
The toolchain is poor. IDE is poor, even the default font is ugly for programming.
It has done some help to newbies, but the terminology they used is not accurate in software field. It will make Arduino users harder to understand the development of MCU programming, vice-versa.
They have done nearly none contribution to the electronics and software world outside of Arduino. They could have done better job to let the software community contribute to more general embedded programming.
Here's for the firmware part, looking quite interesting:
https://gill.net.in/posts/pic32-blink-led-rust/
For the love of XXX I couldn’t get it to work for me to even test if my setup is wired correctly. At that point I turned to open-source solutions.
Getting away from the not-so-well-working Microchip tools is awesome! \o/
I read through the source code of pslab-desktop, found nothing about initialization sequence in javascript or the .py scripts inside the pslab-desktop directory
Then I go a little deeper found that the pslab-desktop use python script in pslab
Then I modified the python script in the serial_handler.py to print something but found nothing showed up in my terminal. Where did all the stdout redirected?
I've removed the .pyc and tested again, nothing changed.
What shall I do next?
strace -f -F -o /dev/shm/unzip/del/pslab_strace /usr/bin/pslab
1749800 stat("/home/USER/.local/lib/python3.9/site-packages/pslab-2.4.0-py3.9.egg/pslab", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
1749800 stat("/home/USER/.local/lib/python3.9/site-packages/pslab-2.4.0-py3.9.egg/pslab/serial_handler.py", {st_mode=S_IFREG|0644, st_size=16100, ...}) = 0
1749800 stat("/home/USER/.local/lib/python3.9/site-packages/pslab-2.4.0-py3.9.egg/pslab/serial_handler.py", {st_mode=S_IFREG|0644, st_size=16100, ...}) = 0
1749800 openat(AT_FDCWD, "/home/r/.local/lib/python3.9/site-packages/pslab-2.4.0-py3.9.egg/pslab/pycache/serial_handler.cpython-39.pyc", O_RDONLY|O_CLOEXEC) = 6
1749800 fstat(6, {st_mode=S_IFREG|0644, st_size=15726, ...}) = 0