Blynk with standalone atmega

There are core packs for “non Arduino” boards too. Check for example mightyCore- lot of supported chips. Using non compatible chips might have some unexpected results- some registers are different, for example Timers and WDT…

@marvin7 you can actually run Blynk on ATTiny85 (8KB Flash, 512B RAM), via Serial connection :wink:
Not too usefull, but still…

Yes, this is true on the microcontroller side, what I meant was on the application side:

How about “Generic Board” option?

2 Likes

I was about to ask the same :slight_smile:

Thank you guys, that’s the exact answer to my question.

Hi guys, please I need help in my project. Blynk is running perfectly using arduino uno and w5500(ethernet2) module. But same code and module are not working when using standalone atmega644 instead of uno. Note that same connections are used and mightycore files are used to program atmega644. I tried two different atmegas and two different w5500 modules, with no success.
hope you can help me

Hi guys, please I need help in my project. Blynk is running perfectly using arduino uno and w5500(ethernet2) module. But same code and module are not working when using standalone atmega644 instead of uno. Note that same connections are used and mightycore files are used to program atmega644. I tried two different atmegas and two different w5500 modules, with no success.
hope you can help me

Please don’t create multiple topics for same issue. I merged you last post back here.

If no one is answering, then it is probably because no one has any answers (or uses that particular chip)… asking twice as much will not change that :stuck_out_tongue:

Dear friends, trying to run blynk on atmega644 using w5500 module, I changed w5500_cspin in ethernet2.h to 4 instead of 10, the module succeeded to get an IP but cannot connect to blynk, the serial output:

[0] Getting IP...
[7261] IP:192.168.1.72
[7261] 
    ___  __          __
   / _ )/ /_ _____  / /__
  / _  / / // / _ \/  '_/
 /____/_/\_, /_//_/_/\_\
        /___/ v0.4.7 on Arduino

[7367] Connecting to blynk-cloud.com:8442
[7636] Redirecting to 188.166.206.43:80
[7714] Login timeout
[7714] Connecting to 188.166.206.43:80
[9729] Login timeout
[12729] Connecting to 188.166.206.43:80

The latest Blynk library is 0.6.0

I think the correct port for SSL is now 422, but there is a bug in the latest version of the Blynk library that causes the wrong port to be used by default.
See this post about the issue and how to work around it:

Pete.

Thank you for your reply, discovered multiple blynk libraries installed that’s why the old version is used without attention. Regarding my issue, I erased include<SPI.h> from the sketch and changed ss_pin in w5500.h to 4 in addition to those in ethernet2.h and connection to blynk is done. I will erase old versions of libraries and try if same changes should be done. Thanks for your time

9443 or just 443 :slight_smile:

1 Like

I used 8442 and it works, will it cause a problem in future?

Well, 8080 is the new port for Hardware using TCP (formerly 8442) and 9443/443 for the App and SSL (formerly 8441). As updates occur the allowance for older ports will dissolve.

Ah, the old numerical dyslexia strikes again! :tired_face:

Pete.

Yep, between the 3 of us, you and I, we will get it right %001 of the time :smile:

:rofl::rofl::rofl:

i have been tested on atmega16, just a simple trick

  1. Flash esp8266 with arduino ide code use standalone blynk
  2. add a code for receive data over serial
  3. after receive the data, parse and send data to the blynk code,
  4. done. tested on ATMEGA16 and esp01