Main Menu
Counter
This page today ...
total: 0
unique: 0

This page ever ...
total: 220
unique: 151

Site ...
total: 4251
unique: 2436
Online
  • Guests: 1
  • Members: 0
  • Newest Member: ole
  • Most ever online: 170
    Guests: 170, Members: 0 on Sunday 15 January 2023 - 07:39:26
Chatbox
You must be logged in to post comments on this site - please either log in from the Login box or from here.If you are not registered click here to signup.


bullet Kim
5 years ago
test
Royalsystems blog

MCS Electronics Forum

  • BASCOM-AVR : Simulator strange behaviour : REPLY



    Hey Mark what I found so far is, that there is no problem with repetitions but with IO window. That slows everything. Larger portion of code is pain to run when is IO window listed, but when switched to registers or memory there is no problem at all and when switching back and forth it runs slow(IO) and then fast(REG,MEM). So probably too many values to update in IO tab.

  • BASCOM-AVR : A Celebration of BASCOM AVR : REPLY



    [img:35095fb6a5]https://www.mcselec.com/userpix/30074_20240712_081706_1.jpg[/img:35095fb6a5]Nice jobs all of you guys. I am actually playing with this: It is ATtiny3217 based controller/programmer for AC asynchrone sunshading motors's initial settings in manufacture. My task is: improving time for assembly of exteriour vertical blind. Future tasks probably gonna be something based on ZIGBEE, MATTER smarthome solutions and integrations. Not really looking forward to, becouse thath means to learn C++ confused

  • BASCOM-AVR : Lookup() - number of CPU cycles to execute seems high at 40 : REPLY



    [quote:80368eb705="begunof"]It is incorrect to consider individual statements.[/quote:80368eb705]
    Only with a rather limited understanding.

    What from my words:
    [quote:80368eb705]For sequential reading, Read() is always faster than the combination LookUp() and increment of index. [/quote:80368eb705]
    you did not understand?

    If doing a sequential read, then:
    [code:1:80368eb705]Read rslt[/code:1:80368eb705]
    is faster than its equivalent:
    [code:1:80368eb705]rslt = Lookup(idx, mydata)
    idx = idx + 1[/code:1:80368eb705]
    Frankly I wondered why you felt the need to add your oddities to a largely finished thread from February.
    But as I recognize that anyone in a forum may take part, being the posts clever or not, feel free to add some more of your wisdom. tongue tongue tongue

  • BASCOM-AVR : A Celebration of BASCOM AVR : REPLY



    ha, i was/am fascinated by remote signals. when i first saw it , it was magic to me. i know that we used to have a TV with a wire to control channel and volume and that was already a big step since i did not have to stand up to change things for my dad smile
    i also noticed the ultrasonic controls. i guess there were no IR leds yet. all controls were bulky. I also liked RC controlled toys. Where again the transmitter/receiver fascinated me. Also 3M FM transmitters with PLL had my interest. I did experiment with ready made LORA but wanted to do some experiments with bare units. a garbage alarm for example.
    but as always, just when i had some time, some other things came up. so now i look for some time to finish it.
    Finishing the new release is however more important since it has some exciting new features.

    Good old 8051. yes it will also get a make over. as there is less interest in 8051, this goes slowly.

    It is nice to see the projects made. The new AVR range will allow to make more interesting projects.
    I could not have imagined when creating BASCOM-LT for windows 3.1

  • BASCOM-AVR : A Celebration of BASCOM AVR : REPLY



    Jumping on to this thread to Celebrate BASCOM-AVR's 25'th anniversary
    Thank you Mark!
    I started out with BASCOM-8051 a long time ago. Bought it from Dontronics(Australia)
    Made a replacement for my garage door electronics, and its AT894051 still doing its job.
    Due to my age, I guess, I've allways have been facitnated by RF.
    So, a lot of my home projects turns arround this subject.
    For interfacing RF to an microcontroller, the first brakethrue was RFM12, and then LORA. Long range, they really is!
    Here is a little hasty water supply warning for a friend.

  • BASCOM-AVR : ADT7320 : REPLY



    Thanks for the help, however I already have the PCBs made, there are 4 of them, in a sandwich.
    I didn't know about this "tmp117" sensor, but it seems good, it works on I2C, which is a problem, I don't like I2C, I avoid doing anything with the I2c protocol.

    However, I have a new version, of the routine for the ADT7320, it seems to be better, and from what I measured the temperature value is correct.

    Thanks

    [img:32e6262e37]https://www.mcselec.com/userpix/690_20240711_155219_1.jpg[/img:32e6262e37]
    [img:32e6262e37]https://www.mcselec.com/userpix/690_20240711_155231_1.jpg[/img:32e6262e37]

  • BASCOM-AVR : Lookup() - number of CPU cycles to execute seems high at 40 : REPLY



    It is incorrect to consider individual statements. When it comes to execution speed or flash savings, I always make several versions of the same program block and only then choose the best one according to the selected criterion.

  • BASCOM-AVR : ADT7320 : REPLY



    Hi
    I know you do a lot of work but somme years ago, i looked at a very precise temp sensor and I found the TMP117 (same kind of result than yours)

    Ian Dobson, An expert and friend of the forum help me and do the Bascom work on it.
    have look at
    https://www.mcselec.com/index2.php?option=com_forum&Itemid=59&page=viewtopic&t=14790&highlight=tmp117

    Unfortunately, the company that had asked me for the study didn't follow up and I stopped the development.
    but the precision was unbelievable: for example, simply bringing your hand close to the sensor increased the temperature by a few hundredths.

    I hope it can help you

    JP :wink:

  • BASCOM-AVR : Lookup() - number of CPU cycles to execute seems high at 40 : REPLY



    [quote:80083ab2ea="begunof"]"lookup" perfectly replaces "read"[/quote:80083ab2ea]
    For sequential reading, Read() is always faster than the combination LookUp() and increment of index.
    As the topic is about speed, your advice is wrong.

    If you think about it as contest which Bascom functions can be avoided for the benefit of freeing up more processor registers, it may be your personal contest, not sure if others will participate.
    While you're at it, I suggest to create a comprehensive list which Bascom functions can be replaced by other Bascom functions, and finally this will make anyone love you cheesey

  • BASCOM-AVR : Lookup() - number of CPU cycles to execute seems high at 40 : REPLY



    "lookup" perfectly replaces "read"
    Also can use R12-R15 if floating point math not used.

| Date published: not known
Back to newsfeed list
Welcome
Username or Email:

Password:




[ ]
[ ]
Headlines

»BASCOM-AVR : Simulator strange behaviour : REPLY
Hey Mark what I found so far is, that there is no problem with repetitions but with IO window. That slows everything. Larger porti...
»BASCOM-AVR : A Celebration of BASCOM AVR : REPLY
[img:35095fb6a5]https://www.mcselec.com/userpix/30074_20240712_081706_1.jpg[/img:35095fb6a5]Nice jobs all of you guys. I am actual...
»BASCOM-AVR : Lookup() - number of CPU cycles to execute seems high at 40 : REPLY
[quote:80368eb705="begunof"]It is incorrect to consider individual statements.[/quote:80368eb705] Only with a rather limited unde...
»BASCOM-AVR : A Celebration of BASCOM AVR : REPLY
ha, i was/am fascinated by remote signals. when i first saw it , it was magic to me. i know that we used to have a TV with a wire ...
»BASCOM-AVR : A Celebration of BASCOM AVR : REPLY
Jumping on to this thread to Celebrate BASCOM-AVR's 25'th anniversary Thank you Mark! I started out with BASCOM-8051 a long time...
»BASCOM-AVR : ADT7320 : REPLY
Thanks for the help, however I already have the PCBs made, there are 4 of them, in a sandwich. I didn't know about this "tmp117" ...
»BASCOM-AVR : Lookup() - number of CPU cycles to execute seems high at 40 : REPLY
It is incorrect to consider individual statements. When it comes to execution speed or flash savings, I always make several versio...
»BASCOM-AVR : ADT7320 : REPLY
Hi I know you do a lot of work but somme years ago, i looked at a very precise temp sensor and I found the TMP117 (same kind of ...
»BASCOM-AVR : Lookup() - number of CPU cycles to execute seems high at 40 : REPLY
[quote:80083ab2ea="begunof"]"lookup" perfectly replaces "read"[/quote:80083ab2ea] For sequential reading, Read() is always faster...
»BASCOM-AVR : Lookup() - number of CPU cycles to execute seems high at 40 : REPLY
"lookup" perfectly replaces "read" Also can use R12-R15 if floating point math not used.


Date published: not known
Details

»RGB-LED WS2812 ansteuern
Hallo, Habe einige dieser RGB-LED W2812, weis aber nicht wie diese angesteurt werden können. Es soll möglich sein verschiedene LED in Serie zu scha...
»Kommunikation mit einem Wechselrichter
Hallo zusammen, vielleicht hat der eine oder andere sich bereits dazu entschlossen, mit einem Balkonkraftwerk etwas Strom zu produzieren. Durch die...
»Radarsensor HLK-LD2410
Liebe Community, mir ist gerade ein Radarsensor (HLK-LD2410) zugestellt worden, der neben der Bewegungserkennung auch eine Präsenzerkennung bietet...
»USBASP unter Windos 11
Hallöchen, ich habe vor kurzem mein Rechner auf Windows 11 upgedatet . Eigentlich lief alles sehr gut bis ich mal wieder etwas mit Bascom progra...
»Hilfe Bootloader atXmega32E5
moinmoin hat jemand vllcht einen bootloader f. den atXmega32E5 am laufen unn kann den mir senden? i habe den original BL adaptiert (com3) und sch...
»Pin-Alias an Sub übergeben
Hallo Ich würde gerne einen Alias von einem Pin, z.B. LED1 Alias PortB.1 an eine Sub/Funktion übergeben. Etwa so Call MeineRoutine(LED1) Weiß j...


Date published: Thu, 11 Jul 2024 06:39:25 +0000
Details

»4 January 20244 January 2024
»93c46 editor programmer bascom & vb93c46 editor programmer bascom & vb
»93c46 Bascom & VB693c46 Bascom & VB6
»Analog clock on SSD1289 3.2" 240x320 lcdAnalog clock on SSD1289 3.2" 240x320 lcd
»Nextion HMI lcd with KaraDio the best webradio esp8266Nextion HMI lcd with KaraDio the best webradio esp8266
»Adding 240x320 lcd to the WifiWebRadioAdding 240x320 lcd to the WifiWebRadio


Date published: not known
Details

»Bascom Can Bus Sniffer
»R.I.P Ben Zijlstra
Remembering Ben Zijlstra We hope that people who love Ben will remember and celebrate his life. more info at MCS www.mcselec.com/index2.ph...
»KaRadio webradio ESP8266
The Dimitris board is available at https://github.com/dsaltas/WiFi-WebRadio  This is a hardware project for Ka-Radio
»93C46
small tool to edit 93C46 eeprom written in BascomAVR & VB  Bascom control the 93C46 so we sent data via comport from VB code will be added later ...
»nRF24L01+ RC Controller
This is a RC controller TX & RX unit with nRF24L01+ nRF24L01+ / with PA and LNA for longer range facts: TX 1 x potmeter for servo ...
»RAW lcd
Connecting RAW lcd to atmega8 the lcd is 6 digit + time glass LCD Hour Meter for  tractor ,air compressor, ect the lcd have 4 com pins  & 14...


Date published: not known
Details


Proudly powered by e107 which is released under the terms of the GNU GPL License.