December 03, 2024, 11:33:24 AM

Recent posts

#21
ESP32 / ESP32-EVB Relay rating
Last post by iredcraft@gmail.com - November 21, 2024, 12:17:02 PM
Hey there! I recently acquired a brand new Olimex ESP32-EVB-EA-IND board for a project, in which I want to switch a low-current 230v signal through one of the relays on the EVB.

The product description talks about a 15A@230V AC rating, but, having received the board, the installed RECOY LEG-5F relays only have a rating of 15A@120V AC written on them. The datasheet however suggests that 230v are possible.

I need some clarification on this so I can proceed with my project, so help is greatly appreciated. Sorry if this is a noob question!
#22
ESP32 / ESP32-PRO with arduino: using ...
Last post by valhalla - November 21, 2024, 09:48:27 AM
I'm trying to use the SD card slot on the ESP32-PRO; I'm using version 3.0.7 of the ESP package (but I've also had the same issues with previous versions).

This is the basic minimal code I'm using for these tests

#include <SPI.h>
#include <SD.h>

File logfile;

void setup() {
    Serial.begin(115200);
    Serial.println("Starting");
}

void loop() {
    Serial.println("Starting loop");
    // I'm starting the SD in the loop so that I can see the serial prints in the monitor
    if (!logfile) {
        if (!SD.begin()) {
            Serial.println("SD could not begin, do we have any error?");
        } else {
            logfile = SD.open("test.log", FILE_WRITE);
        }
    }
    if (logfile) {
        logfile.write('t');
        logfile.flush();
        Serial.println("Wrote to test.log");
    }
    delay(10000);
}

And, with Core Debug Level: Error they result in the following message:

08:21:29.645 -> Starting loop
08:21:29.942 -> [202764][E][sd_diskio.cpp:200] sdCommand(): Card Failed! cmd: 0x00
08:21:29.942 -> [202770][E][sd_diskio.cpp:761] sdcard_mount(): f_mount failed: (3) The physical drive cannot work
08:21:30.273 -> [203079][E][sd_diskio.cpp:200] sdCommand(): Card Failed! cmd: 0x00
08:21:30.273 -> SD could not begin, do we have any error?

From file:///home/valhalla/Downloads/ESP32-PRO_Rev_B1-3.pdf I believe that the SD CS pin is connected to pin 13, so I also tried to change the above code to SD.begin(13), but I had the same error, and the same happened by adding the following code to esplicitely select the pins:

SPI.begin(14, 2, 15, 13);
SPI.setDataMode(SPI_MODE0);

any hints on what I could be doing wrong?
#23
New Product Ideas / Re: ARM64 SOM for industrial a...
Last post by LubOlimex - November 21, 2024, 08:20:07 AM
You should evaluate A64-OLinuXino, it is a mature board we also release Olimage Linux image for it. The only downside of the board is that there is multiplexing between the Ethernet and the LCD, so if you want to use LCD and Ethernet at the same time it might be a deal breaker.

Additionally I believe that the A64 chip has no CAN (unlike the A20 chip which has built-in CAN support). So any CAN module should be external.

I don't think we are making A64 SOM board.
#24
New Product Ideas / Re: ARM64 SOM for industrial a...
Last post by thom_nic - November 21, 2024, 12:51:47 AM
Hey thanks for the reply!  I would consider the A64 SOC in a SOM form-factor.  It's missing CAN support unfortunately but we could use a SPI or I2C to CAN chip.  I see the A64 board is industrial temp rated which we need.  We evaluated the A13-SOM but found it had poor thermal performance (and the A13 is not industrial temp rated anyway.)

If you released an A64-SOM I would definitely purchase a couple for evaluation.
#25
A20 / Re: T2-OLinuXino-LIME2-e16Gs16...
Last post by Titomax - November 20, 2024, 06:16:23 PM
Hi Lub,
I confirm that also using ID "10234" from "T2-SOM204-1Gs16Me8G-MC-I" all is working as expected.

As workaround for my issue I'll start using this procedure.

Thank you for your support.
#26
A20 / Re: T2-OLinuXino-LIME2-e16Gs16...
Last post by Titomax - November 20, 2024, 12:54:25 PM
Quote from: LubOlimex on November 20, 2024, 12:04:47 PMBetter try with the ID of T2-SOM204-1Gs16Me8G-MC-I.

Ok, I didn't use "T2-SOM204-1Gs16Me8G-MC-I" because I thought that wasn't possible specify a configuration with a different hardware mounted.

Let's me try also with ID you suggested.

I'll give you a feedback.
#27
A20 / Re: virtual temperature measur...
Last post by LubOlimex - November 20, 2024, 12:34:59 PM
There is no true DAC (aka analog output) on Allwinner A20 chip, the only DAC is related to the audio but not sure if you can use it for task you want. I guess you need DAC for that task.
#28
A20 / Re: T2-OLinuXino-LIME2-e16Gs16...
Last post by LubOlimex - November 20, 2024, 12:04:47 PM
Better try with the ID of T2-SOM204-1Gs16Me8G-MC-I.
#29
A20 / Re: T2-OLinuXino-LIME2-e16Gs16...
Last post by LubOlimex - November 20, 2024, 12:03:45 PM
The problem is visible in the log - the board boot defaults to some generic config - this is pretty major problem.

The fast way to boot would probably be to try a workaround then, put some board that is nearly identical via the u-boot. Set is like the older board "T2-SOM204-1Gs16Me8G-MC-I". Do he following:

- run your Armbian image but interrupt u-boot

- type:

olinuxino config write 10234 C2 0002AC2C 30:1F:9A:D1:67:37

then type:

saveenv

then

reset

See if it boots.

#30
A20 / virtual temperature measuremen...
Last post by Hattes - November 20, 2024, 11:59:03 AM
Target is to use Lime2 as a "virtual temperature measurement" instead of real NTC to fool a heat pump. how to get analog output to Lime2 or other ideas how to make a virtual NTC?