Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

Search found 88 matches
www.mcselec.com Forum Index
Author Message
  Topic: math INT function question
krolikbest

Replies: 4
Views: 115

PostForum: BASCOM-AVR   Posted: Sat Jan 01, 2022 9:53 pm   Subject: math INT function question
FIX() function did the trick.

Regards,
Martin
  Topic: math INT function question
krolikbest

Replies: 4
Views: 115

PostForum: BASCOM-AVR   Posted: Sat Jan 01, 2022 9:10 pm   Subject: math INT function question
Yes, but previously I tested with Rotate_count as Single and got the same result.

Regards,
Martin
  Topic: math INT function question
krolikbest

Replies: 4
Views: 115

PostForum: BASCOM-AVR   Posted: Sat Jan 01, 2022 8:03 pm   Subject: math INT function question
Hello,
first of all I wish you good health in the New year and the rest will turn out fine!
By the way below small code

$sim
$regfile = "m328pdef.dat"
$crystal = 16000000
$baud = 192 ...
  Topic: Aluminium robot arm.
krolikbest

Replies: 16
Views: 1033

PostForum: BASCOM Project Blog   Posted: Tue Dec 14, 2021 11:55 am   Subject: Aluminium robot arm.
I ordered this: https://kamami.pl/atmel-xplain/207962-atxmegae5-xpld.html?search_query=xmega&results=17 + programmer. Ok, time to start something new...
  Topic: Aluminium robot arm.
krolikbest

Replies: 16
Views: 1033

PostForum: BASCOM Project Blog   Posted: Mon Dec 13, 2021 3:14 pm   Subject: Aluminium robot arm.
Thank you
acording to floating point operations - avoid them like plague. No, there is only integer operation in atmegas. The main calculations are made by PC, RPi actually.
  Topic: Aluminium robot arm.
krolikbest

Replies: 16
Views: 1033

PostForum: BASCOM Project Blog   Posted: Mon Dec 13, 2021 1:34 pm   Subject: Aluminium robot arm.
initially indeed it was meant as a toy but with time I decided to develop fully scaled application that I could use in my next project (I'm going to buy scrapped robotic arm, probably old Fanuc arm). ...
  Topic: Aluminium robot arm.
krolikbest

Replies: 16
Views: 1033

PostForum: BASCOM Project Blog   Posted: Sat Dec 11, 2021 6:00 pm   Subject: Aluminium robot arm.
So finally last chapter about my first robotic arm. You can see it there https://www.youtube.com/watch?v=FdPu8XA_B-Y.
Now I can say that:
- during this project, I came to the conclusion that atmega3 ...
  Topic: atmega32u4 and timer interrupt
krolikbest

Replies: 7
Views: 352

PostForum: BASCOM-AVR   Posted: Thu Jul 08, 2021 8:04 am   Subject: atmega32u4 and timer interrupt
So in the end working project. Interesting is that after changing my usb-uart converter I had no more problems with the Micro. Here you can see finished machine https://www.youtube.com/watch?v=GtmhI39 ...
  Topic: atmega32u4 and timer interrupt
krolikbest

Replies: 7
Views: 352

PostForum: BASCOM-AVR   Posted: Tue Jun 29, 2021 3:38 pm   Subject: atmega32u4 and timer interrupt
I found the cause but don't know yet why. After reseting Micro (button push) I have to disconnect usb (one as a power) and second usb where is my uart-usb converter. Also close Bascom terminal. Then c ...
  Topic: atmega32u4 and timer interrupt
krolikbest

Replies: 7
Views: 352

PostForum: BASCOM-AVR   Posted: Tue Jun 29, 2021 1:42 pm   Subject: atmega32u4 and timer interrupt
Hi,

MWS - absolutely righ Smile I had to mix something during copy-paste
EDC - both versions work in simulation, but on real hardware somehow don't. I use avrdude with params
-p atmega32u4 -c avr1 ...
  Topic: atmega32u4 and timer interrupt
krolikbest

Replies: 7
Views: 352

PostForum: BASCOM-AVR   Posted: Tue Jun 29, 2021 10:48 am   Subject: atmega32u4 and timer interrupt
Hi,

this code is similar to code I use on Uno, except that interrupts are on different pins. On Uno this code works but on Micro it seems that timer0 interrupt is not executed or should I make it ...
  Topic: Arduino MICRO
krolikbest

Replies: 2
Views: 718

PostForum: BASCOM-ARDUINO   Posted: Fri Jun 25, 2021 6:32 pm   Subject: Arduino MICRO
Oh, I simply mixed coms up. My expectation was that after uploading I'd see in terminal emulator incomig data via Micro usb data. wrong way. I had simply to connect to RX/TX pins of Micro to usb conve ...
  Topic: Arduino MICRO
krolikbest

Replies: 2
Views: 718

PostForum: BASCOM-ARDUINO   Posted: Fri Jun 25, 2021 12:11 pm   Subject: Arduino MICRO
A little progres, (this link: https://forum.arduino.cc/t/avrdude-cant-find-com/626194/3) :
The Arduino IDE does a special process when uploading to the Leonardo that doesn't happen when you are uploa ...
  Topic: Arduino MICRO
krolikbest

Replies: 2
Views: 718

PostForum: BASCOM-ARDUINO   Posted: Fri Jun 25, 2021 11:35 am   Subject: Arduino MICRO
Hi,

It touches barely to Bascom (exept that hex filke is done there) but need to port my project from Uno to Micro. As I've already found out from 'internet' that to upload hex file is to use avrd ...
  Topic: How set esp8266 in light sleep mode?
krolikbest

Replies: 4
Views: 529

PostForum: Various   Posted: Wed Dec 30, 2020 2:54 pm   Subject: How set esp8266 in light sleep mode?
What i've noticed that not always it works (my previous description light-sleep). Don't know why. Anyhow yesterday I've bought esp8266-12 and it has reset pin set out on pcb. Tested At command "AT+GSL ...
 
Page 1 of 6 Goto page 1, 2, 3, 4, 5, 6  Next
All times are GMT + 1 Hour
Jump to: