Search found 28 matches

by Bijumon
Wed Oct 29, 2025 4:16 pm
Forum: General
Topic: Arduino Uno SPI Master sending incorrect data to MAX7219
Replies: 3
Views: 767

Re: Arduino Uno SPI Master sending incorrect data to MAX7219 (Solved)

Hi BenR, I finally managed to get it working by using direct C code to initialize the SPI, instead of the SPI Initialize component macro. Now everything works fine! Here’s the code I used: // --- SPI pins setup --- DDRB |= (1 << PB3) | (1 << PB5) | (1 << PB2); // MOSI, SCK, SS as output DDRB &= ...
by Bijumon
Tue Oct 28, 2025 4:57 pm
Forum: General
Topic: Arduino Uno SPI Master sending incorrect data to MAX7219
Replies: 3
Views: 767

Re: Arduino Uno SPI Master sending incorrect data to MAX7219

Hi BenR, Thank you for your prompt reply. I first tested the program on real hardware (Arduino Uno), but it did not work. To investigate, I ran the same program in Proteus for simulation and debugging. Then I tried the exact same Flowcode program using a PIC16F18877 target, and the simulation worked...
by Bijumon
Tue Oct 28, 2025 3:31 pm
Forum: General
Topic: Arduino Uno SPI Master sending incorrect data to MAX7219
Replies: 3
Views: 767

Arduino Uno SPI Master sending incorrect data to MAX7219

Hello,

I am testing the SPI Master component with an Arduino Uno to drive a MAX7219 LED driver, But SPI bus sending incorrect data.
i have tested both hardware and software channel.
For example, when I send 0x09, the SPI debugger in Proteus shows 0x84.
Proteus debugger screenshot is attached.
by Bijumon
Sun Oct 19, 2025 5:56 pm
Forum: User Components
Topic: FC components and AI (ideas?)
Replies: 8
Views: 16350

Re: FC components and AI (ideas?)

Test Files....
by Bijumon
Sun Oct 19, 2025 5:52 pm
Forum: User Components
Topic: FC components and AI (ideas?)
Replies: 8
Views: 16350

Re: FC components and AI (ideas?)

Hi everyone, I'm excited to share a Simplest ESPNow component I've created with the significant assistance of Gemini AI, I am not a C coding expert and built this component from zero prior knowledge of C programming. The entire foundation of the C code was generated with the help of Gemini AI. I use...
by Bijumon
Wed Oct 15, 2025 9:00 pm
Forum: General
Topic: Loop While!
Replies: 25
Views: 8395

Re: Loop While!

Hi Jorgen

I hope this will be ok for you.
Please note that the reset function doesn't work correctly in the Flowcode simulation; instead, it causes the operation in the loop to freeze after the reset timer overflows. Therefore, you'll need to test this on the actual hardware.
by Bijumon
Wed Oct 15, 2025 3:25 pm
Forum: General
Topic: Loop While!
Replies: 25
Views: 8395

Re: Loop While!

Hi Jorgen I've Checked your recent modifications and have a couple of suggestions regarding the timer functionality and obstacle detection. The timer is now counting correctly, but instead of calling stop macro upon reaching the set time, it's currently only turning on an LED. My suggestion is to ca...
by Bijumon
Tue Oct 14, 2025 7:25 pm
Forum: General
Topic: Loop While!
Replies: 25
Views: 8395

Re: Loop While!

Hi Viktor and Jorgen Regarding your suggestion of safety, I've added a maximum movement timer. This timer will automatically stop the motor after a fixed duration (e.g., 10 seconds, which can be adjusted to any desired length). Over-current sensing could also be considered to protect the motor from ...
by Bijumon
Sun Oct 12, 2025 7:42 pm
Forum: General
Topic: Loop While!
Replies: 25
Views: 8395

Re: Loop While!

Hi Jorgen

I Just tried to replicate your project, but using a different approach. I did this just as a hobby, so I haven't tested it on real hardware.
Regardless, the simulation results are working the same as your project.

Bijumon
by Bijumon
Sun Jul 27, 2025 3:26 pm
Forum: Feature Requests
Topic: How can we use the esp now protocol with flowcode?
Replies: 13
Views: 20326

Re: How can we use the esp now protocol with flowcode?

Try this, it may help you.