Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

Search found 13 matches
www.mcselec.com Forum Index
Author Message
  Topic: Sample code to ADS1115 (16 bit ADC)
acjacques

Replies: 0
Views: 225

PostForum: BASCOM-AVR   Posted: Mon Dec 02, 2019 3:26 am   Subject: Sample code to ADS1115 (16 bit ADC)
Hi;

Does anyone have a sample code to ADS1115 ?

I have found very few snippets but none is working for me...

Thanks for any help.

(BASCOM-AVR version : 2.0.8.2 )
  Topic: Soft Serial UART hang after reconnect
acjacques

Replies: 2
Views: 250

PostForum: BASCOM-AVR   Posted: Fri Nov 22, 2019 3:17 pm   Subject: Soft Serial UART hang after reconnect
My 328p with bellow code works fine to receiving the serial input but if there are a momentary disconnection from this input the processor hangs then only reconnecting after a reset.

I have try ...
  Topic: (SOLVED)Programming window going to back in the 2.0.8.1 ver
acjacques

Replies: 0
Views: 199

PostForum: BASCOM-AVR   Posted: Wed Nov 20, 2019 8:00 pm   Subject: (SOLVED)Programming window going to back in the 2.0.8.1 ver
***ISSUE ALREADY SOLVED***

I have upgraded from 2.0.8.1 to 2.0.8.2 but now the programming window is not keeping on front over other windows.

There are any way to change this to keep on the t ...
  Topic: Strange behavior ADC7 ATMega328P
acjacques

Replies: 1
Views: 201

PostForum: BASCOM-AVR   Posted: Mon Jul 15, 2019 3:48 am   Subject: Strange behavior ADC7 ATMega328P
When testing the AD channels on a NANO board ATMega328p I am receiving strange values from the AD channel #7 at pin 22 just between the 5V pin and the AD #6. Trying with a potentiometer I receive va ...
  Topic: Corrupted Bootloader when programming ATmega328p
acjacques

Replies: 6
Views: 339

PostForum: BASCOM-AVR   Posted: Tue Jul 02, 2019 2:16 am   Subject: Corrupted Bootloader when programming ATmega328p
The locking fuse bits of chips were all unprogramed. The corruption was done when uploading a code thru UART to Arduino bootloader. I could not set the locking bits because I am still in development ...
  Topic: Corrupted Bootloader when programming ATmega328p
acjacques

Replies: 6
Views: 339

PostForum: BASCOM-AVR   Posted: Mon Jul 01, 2019 12:12 pm   Subject: Corrupted Bootloader when programming ATmega328p
Thanks for suggestion to use MCS Bootloader. I was using Arduino Bootloader because it already come loaded in my chips.
I am a newbie in AVR Bascom and I am in the begining of learning curve. I will ...
  Topic: Corrupted Bootloader when programming ATmega328p
acjacques

Replies: 6
Views: 339

PostForum: BASCOM-AVR   Posted: Sat Jun 29, 2019 5:29 pm   Subject: Corrupted Bootloader when programming ATmega328p
I had 2 processors ATmega328p with corrupted bootloader when programming with Bascom.

The processors were loaded with Arduino bootloader 57600 baud.

I could only recover reprogramming with US ...
  Topic: Synchronizing serial strings
acjacques

Replies: 3
Views: 299

PostForum: BASCOM-AVR   Posted: Sun Jun 23, 2019 4:21 pm   Subject: Synchronizing serial strings
What would be the best way to synchronize serial strings like GPS NMEA sentences to extract data ?
In PICBASIC PRO there are the WAIT a character and SKIP n characters commands....

I am using A ...
  Topic: Atmega 328p How reset by software ?
acjacques

Replies: 7
Views: 516

PostForum: BASCOM-AVR   Posted: Thu Jun 20, 2019 8:56 pm   Subject: Atmega 328p How reset by software ?
Dear friends;

Using

if resetcommand = 1 then

Wdtcsr = &B11111111

endif

in my code it do a reset in about 2 seconds, but it will not start again unless repowering the device. ...
  Topic: What would be faster? SHIFTOUT or Soft SPI ?
acjacques

Replies: 2
Views: 253

PostForum: BASCOM-AVR   Posted: Sun Jun 16, 2019 1:34 am   Subject: What would be faster? SHIFTOUT or Soft SPI ?
What would be faster? SHIFTOUT/SHIFTIN or Software SPI ?

Processor is AtMega 328P @ 16Mhz

(BASCOM-AVR version : 2.0.8.1 )
  Topic: Atmega 328p How reset by software ?
acjacques

Replies: 7
Views: 516

PostForum: BASCOM-AVR   Posted: Sat Jun 08, 2019 10:57 pm   Subject: Atmega 328p How reset by software ?
acjacques,

Hi my friend, I wrote one tutorial with many examples in Bascom to newbies, here in Brazil :

https://www.clubedohardware.com.br/forums/topic/937085-projetos-com-avr-design-programa%C3 ...
  Topic: Atmega 328p How reset by software ?
acjacques

Replies: 7
Views: 516

PostForum: BASCOM-AVR   Posted: Thu Jun 06, 2019 4:02 am   Subject: Atmega 328p How reset by software ?
Hi friends;

I am newbie in the AVR world... (coming from PicBasic Pro...)

Did someone have a code that could reset the ATmega 328p by software ?

Thanks for any help

(BASCOM-AVR version : 2. ...
  Topic: There are an equivalent to */ Basic Stamp or PicBasic oper
acjacques

Replies: 1
Views: 144

PostForum: BASCOM-AVR   Posted: Sat Jun 01, 2019 2:36 pm   Subject: There are an equivalent to */ Basic Stamp or PicBasic oper
Hello;

There are an equivalent to */ Basic Stamp or PicBasic operator ?

like this :

http://www.emesystems.com/OLDSITE/BS2math1.htm

(BASCOM-AVR version : 2.0.8.1 )
 
Page 1 of 1
All times are GMT + 1 Hour
Jump to: