February 22, 2026, 06:21:00 PM

Recent posts

#31
PIC / Re: PIC-USB-4550 program does ...
Last post by LubOlimex - February 12, 2026, 11:58:17 AM
They are probably not set in the code, but from MPLAB. You can just change them in MPLAB. Search for "MPLAB Viewing and Setting Configuration Bits"
#32
PIC / Re: PIC-USB-4550 program does ...
Last post by emil_bbb - February 11, 2026, 07:43:33 PM
I have studied the souce code from PIC_USB_4550_BLINKING_LED and I cannot figure out where are those values are set.

//PROGRAMM FOR BLINKING LED
//
// PROCESSOR : PIC18F4550
// CLOCK    : 20MHz, EXTERNAL

#include   <p18cxxx.h>

#define      BUT         PORTBbits.RB4
#define      LED_ON      PORTDbits.RD3 = 1
#define      LED_OFF      PORTDbits.RD3 = 0
#define      TOGGLE_LED   PORTD ^= 0x08
#define      INPUT      1
#define      OUTPUT      0
#define      LED_DIR      TRISDbits.TRISD3
#define      BUT_DIR      TRISBbits.TRISB4

/** V E C T O R  R E M A P P I N G *******************************************/
extern void _startup (void);        // See c018i.c in your C18 compiler dir
#pragma code _RESET_INTERRUPT_VECTOR = 0x000800
void _reset (void)
{
    _asm goto _startup _endasm
}
#pragma code

#pragma code _HIGH_INTERRUPT_VECTOR = 0x000808
void _high_ISR (void)
{
    ;
}

#pragma code _LOW_INTERRUPT_VECTOR = 0x000818
void _low_ISR (void)
{
    ;
}
#pragma code


//Just simple delay
void Delay(unsigned long cntr) {
   while (--cntr != 0);
}

// Main function
void main(void) {
   

   INTCON    = 0x0;         // Disable inerupt
   CMCON    = 0x07;          // Comparators Off
   ADCON1  = 0x06;         // Port as Digital IO
//   RDPU    = 0;         // Disable pull ups
   PORTEbits.RDPU = 0;      // Disable pull ups   
   CCP1CON = 0;          // P1B, P1C, P1D assigned as port pins
   LED_DIR = OUTPUT;      // Led pin as output   
   BUT_DIR = INPUT;      // Button pin as insput


   // loop forever - echo
   while(1) {

      // Toggle led
      TOGGLE_LED;
      // Simple delay
      Delay(50000);
   }   
}
#33
ESP32 / Re: New ESP32-POE-ISO - was I ...
Last post by chrismacp - February 11, 2026, 06:25:35 PM
Thanks for the tips.

I am not 100% sure which is U7. I added a photo to indicate which one I think it is (yellow arrow) or could it be the white arrow?

https://drive.google.com/file/d/15eo-CIxJKTpJbuQ3NALS_mo5YdbeBfEL/view?usp=sharing

I found the part at Mouser here
 which looks more like the the component the yellow arrow is pointing at.

Once I confirm, I'll go and learn how to solder surface mount components! :)
#34
FPGA / Re: I've just updated my E80 C...
Last post by Stokpan - February 11, 2026, 10:26:26 AM
I think the main reason for the difficulty is that the OSS-CAD suite builds for Windows do not include the GHDL plugin for Yosys. But that wasn't really necessary, all I had to do was to elaborate the project folder and a single board-specific VHDL file with GHDL and output the whole thing into a single Verilog file. After that the process is typical...

...well not so typical because I also had to find the correct driver by trial and error and also discover that the openfpgaloader in the OSS-CAD suite doesn't work whereas the one in the old Gatemate suite does.

If anyone wants a helping hand understanding my synth.bat file, let me know -- I'll be watching this topic.
#35
New Products release / Making self hosted web user in...
Last post by olimex - February 10, 2026, 01:38:42 PM
Making self hosted web user interface for BME280 temperature, humidity and pressure sensor for ESP32-POE, ESP32-C6-DevKit-Lipo and ESP32-C3-Devkit-Lipo with ESPUI https://olimex.wordpress.com/2026/02/10/making-self-hosted-web-user-interface-for-bme280-temperature-humidity-and-pressure-sensor-for-esp32-poe-esp32-c6-devkit-lipo-and-esp32-c3-devkit-lipo-with-espui/ #esp32 #espui #iot #server
#36
FPGA / Re: I've just updated my E80 C...
Last post by LubOlimex - February 09, 2026, 11:53:54 AM
This is great thank you for posting it! I myself had some trouble getting the environment setup properly under Windows.
#37
ESP32 / Re: ESP32-POE-IND Rev.M
Last post by LubOlimex - February 09, 2026, 08:30:45 AM
It should be doable.

There is a lot of info online about ESPHome and HC-SR04, for ESP32-POE-IND use the ESP32-POE config:

ethernet:
  type: LAN8720
  mdc_pin: GPIO23
  mdio_pin: GPIO18
  clk:
    pin: GPIO17
    mode: CLK_OUT
  phy_addr: 0
  power_pin: GPIO12

Check here: https://esphome.io/components/ethernet/

Better check in the ESPHome forums for software help. They know their software better.
#38
PIC / Re: PIC-USB-4550 program does ...
Last post by LubOlimex - February 09, 2026, 08:27:53 AM
This is a warning that if you download that software to the chip via the bootloader it will disable the bootloader and future upload via the bootloader will not be possible (e.g. you would need to use ISP programmer for subsequent programming).

You have two options:

- Edit the configuration bits in your code so that it doesn't cause problems for the bootloader (change the bits as described in the warning - enable Table Write Protect Boot; enable USB Voltage Regulator; set Oscillator value to HS+PLL, USB-HS).
- Ignore the warnings and break the bootloader; this will require using a programmer in future programming of that chip (this might be useful for security reasons)
#39
ESP32 / ESP32-POE-IND Rev.M
Last post by PK - February 08, 2026, 02:25:55 PM
Hi,

I am not experienced on ESP32. However, I intend to use Olimex ESP32-POE-IND Rev.M for measuring distance, with e.g. HC-SR04.

Is there anyone, that could walk me through the process of making this happen? I have for instance ESPHome, running on docker. It would be great to have this device adopted into home assistant
#40
PIC / PIC-USB-4550 program does not ...
Last post by emil_bbb - February 07, 2026, 11:25:50 PM
The board works with the Blinking LED program. However when I program the F4550 with my own software, the software does not work. If I program the F4550 with my K150 the software works. Here is the message that I get when I try to execute the software after programming the F4550 with the PIC-USB-4550 board. https://ibb.co/VW4dDNrZ
What can I do in order to make my software work when I programm the F4550 with the PIC-USB-4550 board ?