ok here you go - new power supplies for both the RPI and Spark based on req. specs. https://termbin.com/hhc2
I dont see any under voltage errors anymore, but now the Spark screen has a flashing green light, NOTHING on the display 0 6 blue boxes or anything else its black. It did “connect” in the GUI to tell me it needed a FW upgrade. I attempted it in the GUI, it failed so I ran it in the CMD Line Terminal and afterwards this is the current state…
Hopefully the logs will help determine what to do next.
also is there a way to go back to previous Firmware? cause since the update my controller board for the valves dont light up anymore either. and they used to…
I have this: pi@raspberrypi:~/brewblox $ brewblox-ctl particle -c flash-bootloader
Please connect a single Spark over USB, and press ENTER
INFO Starting Particle image…
INFO Type ‘exit’ and press enter to exit the shell
edge: Pulling from brewblox/firmware-flasher
Digest: sha256:1c481e82d0dd89f4a8b80ae0408000ccf381228bf7fdfb5366d85dbd8c55521c
Status: Image is up to date for brewblox/firmware-flasher:edge
No compatible USB devices found
Still get - Service not connected to controller - in the GUI
Please unplug and reconnect USB and power, and then reconnect them and run lsusb to check whether the Spark is detected as USB device. For more info, see Troubleshooting | Brewblox
pi@raspberrypi:~/brewblox $ lsusb
Bus 001 Device 005: ID 04d8:f723 Microchip Technology, Inc.
Bus 001 Device 007: ID 2b04:c008
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp. SMC9514 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
** tried diff cable** Good to go now as fas as showing up in the cmd
showing up now with diff cable - but no change in the GUI or on the screen.
pi@raspberrypi:~/brewblox $ brewblox-ctl discover-spark
INFO Discovering devices…
INFO USB 3f0026000851353532343835 P1
INFO Done!
HOLY F! Bombs stuff is showing up - still having power issues it seems with everything not lighting up but FW wise, flashing etc. things are showing up. NO IP on the Spark screen though… is that normal?
So in the GUI for configure wifi I put in my info, it said wifi settings updated. but on the spark its all 0s. I currently have the RPI connected via LAN/eth0
yeah im not too worried about the wifi I had the eth0 connected to avoid any “signal” issues in the future. update wifi now has a IP since I changed it from 5Ghz to the 2.4Ghz. I have no issues with the USB connected along with the power cable.
The main issue now seems to be power & this is still after NEW power supplies that meet/exceed the necessary specs for both devices. The 8x relays connected via data cable are all lit and a 6.98V reading off of them. the 4x relays connected directly off the spark do NOT have a light again (used too) wiring layout hasn’t changed. has 11.87V on them. The Spark green pins only seem to have 1.67V coming off of them.
Yes still under voltage alarms, but idk how to fix that when I have a working USB cable. - verified from earlier the other one didn’t work.
I have NEW PS for ea. device. - I read somewhere RPI3+ are known to be power sensitive.
Alos, what does this mean:
rpi_firmware_get_throttled**: 10 callbacks suppressed** ???
should the FW be getting throttled? what are the callbacks? just trying to figure out what it might be related to and how to fix it.
so far from rebooting service on the spark - its had 16,10,15,14 call backs and I haven’t touched a thing.
The firmware referred to here is that of the Pi. I’m not entirely sure about the rpi_firmware_get_throttled message, but some googling leads me to believe it’s probably a notification that it prevented spammy log messages with repeated warnings.
@Elco will have to get back to you for troubleshooting electrical issues - those are outside my area of expertise.
Edit: asking to be exact: what is the specs/source of the power supplies for the Pi and Spark? For the Pi, is it an integrated power supply (wall socket to micro-usb), or a wall socket plug with an USB port and a separate cable?
The SSR breakout boards are not wired as you would expect.
They are not really designed to use as a generic digital output.
Because the chip on the board is a chip that has pull-downs, the + of the grey terminal is connected to 5V directly. The - is pulled down when the SSR should turn on and otherwise is pulled up to 5V.
I wouldn’t design the board like this again, but this is how it is.
It works fine if you connect it to an SSR directly, but not if you are connecting that - to a shared ground.
So this SSR board isn’t really meant to be used the way you are using it.
To connect it in a way that is compatible with your relay board, you should not use the + terminal. It is always at 5V. The - is the one that toggles.
I think you can still use the SSR breakout board if you only connect the - terminal to the board with the relays. Connect the same GND used for the spark to the relay board, and supply power to the relay board on its VCC pin.
But I think it would be easier and more robust to actually use SSRs with the SSR breakout boards instead of mechanical relays.
The SSR board has one pin that is always 5V and one pin that toggles between 0V and 5V.
You want to control the input of the relay board with that toggling pin. The pullup however is weak and through an LED.
For 0V and 5V to mean the same thing on both boards, they have to have the same reference level, so you need to connect GND of both boards.
Do you have a schematic of the relay board so I can check whether the transistor input circuit is compatible and what would be the best workaround?