Author |
Message |
Topic: Atmega328pb - cannot get any LED's to turn on!? |
TSEYFARTH
Replies: 23
Views: 1520
|
Forum: BASCOM-AVR Posted: Tue Jan 26, 2021 10:15 pm Subject: Atmega328pb - cannot get any LED's to turn on!? |
Found the problem!
It was running too fast - 16MHz. The max on 3.3v is 10MHz. Using divide by 8 fuse and quick change to the code corrected the problem.
Thought I'd let everyone know...
Than ... |
Topic: Atmega328pb - cannot get any LED's to turn on!? |
TSEYFARTH
Replies: 23
Views: 1520
|
Forum: BASCOM-AVR Posted: Fri Jan 08, 2021 10:15 pm Subject: Atmega328pb - cannot get any LED's to turn on!? |
Also tried toggling a spare set of pins that are not connected to anything. According to the scope, they stayed low and never changed.
Must be something with the PCB or chip? It programs fine so th ... |
Topic: Atmega328pb - cannot get any LED's to turn on!? |
TSEYFARTH
Replies: 23
Views: 1520
|
Forum: BASCOM-AVR Posted: Fri Jan 08, 2021 10:06 pm Subject: Atmega328pb - cannot get any LED's to turn on!? |
Checked with a scope and meter. The pins at the uC stay at 1.7 Volts. They never go to a true hi (3.3) or low.
Other than what has been suggested already, anything else to look at?
Thanks all!
... |
Topic: Atmega328pb - cannot get any LED's to turn on!? |
TSEYFARTH
Replies: 23
Views: 1520
|
Forum: BASCOM-AVR Posted: Thu Jan 07, 2021 9:18 pm Subject: Atmega328pb - cannot get any LED's to turn on!? |
Hello all and THANK YOU for all of your helpful responses!
I'm trying the suggestions and will get back with you all.
Thank you again,
Tim |
Topic: Atmega328pb - cannot get any LED's to turn on!? |
TSEYFARTH
Replies: 23
Views: 1520
|
Forum: BASCOM-AVR Posted: Thu Jan 07, 2021 2:39 am Subject: Atmega328pb - cannot get any LED's to turn on!? |
I've also tried with an ATMEGA88 - which is pin compatible, at least for the pins I am using!
Still no good.
If I bypass the uC and bring ground to the LED, it does turn on, but will not turn o ... |
Topic: Atmega328pb - cannot get any LED's to turn on!? |
TSEYFARTH
Replies: 23
Views: 1520
|
Forum: BASCOM-AVR Posted: Wed Jan 06, 2021 11:36 pm Subject: Atmega328pb - cannot get any LED's to turn on!? |
Hello all.
I have a simple program and all I want to do is to turn on a couple of LED's using the Atmega328PB. Even when I use the sample program and add the code they still wont turn on.
... |
Topic: How to know limit for $hwstack, $swstack, $framesize, is it |
TSEYFARTH
Replies: 11
Views: 1328
|
Forum: BASCOM-AVR Posted: Tue Sep 15, 2020 12:06 am Subject: How to know limit for $hwstack, $swstack, $framesize, is it |
Hello all,
I am using an ATMEGA 1284.
How to find the maximum value to use to set
$hwstack, $swstack and $framesize ?
Is it bad to over allocate these?
My app cannot be simulated since ... |
Topic: Atmega328PB Programming pins? |
TSEYFARTH
Replies: 2
Views: 2121
|
Forum: AVR Posted: Mon Aug 31, 2020 3:18 am Subject: Atmega328PB Programming pins? |
Thanks Printpix52
Tim |
Topic: Atmega328PB Programming pins? |
TSEYFARTH
Replies: 2
Views: 2121
|
Forum: AVR Posted: Sun Aug 30, 2020 11:18 pm Subject: Atmega328PB Programming pins? |
Hello all,
Please help me confirm that the programming pins to use are:
MOSI PB3
MISO PB4
SCK PB5
RST PC6
Thanks,
Tim
(BASCOM-AVR version : 2.0.8.3 ) |
Topic: Smart phone programming tools - to use with HC-06 BlueTooth |
TSEYFARTH
Replies: 1
Views: 4146
|
Forum: Various Posted: Thu Aug 27, 2020 1:37 am Subject: Smart phone programming tools - to use with HC-06 BlueTooth |
Hello all,
I have to create an app for iOS and Android to connect to the HC-06 BlueTooth module. Can anyone suggest a tool set to do this?
Thank you,
Tim |
Topic: Atmega328PB UART Question |
TSEYFARTH
Replies: 2
Views: 557
|
Forum: BASCOM-AVR Posted: Tue Aug 25, 2020 5:54 pm Subject: Atmega328PB UART Question |
Hello and thank you for your reply EDC,
So nothing special then.
Great!
Thank you again.
Tim |
Topic: Atmega328PB UART Question |
TSEYFARTH
Replies: 2
Views: 557
|
Forum: BASCOM-AVR Posted: Mon Aug 24, 2020 8:39 pm Subject: Atmega328PB UART Question |
Hello all,
Is there anything special that needs to be done to use both of the USART's on the Atmega328PB?
Thanks,
Tim
(BASCOM-AVR version : 2.0.8.3 ) |
Topic: Sample code for HC-06 or similar Bluetooth module |
TSEYFARTH
Replies: 2
Views: 542
|
Forum: BASCOM-AVR Posted: Thu Jun 18, 2020 1:06 am Subject: Sample code for HC-06 or similar Bluetooth module |
Thank you Dave!
Tim |
Topic: Sample code for HC-06 or similar Bluetooth module |
TSEYFARTH
Replies: 2
Views: 542
|
Forum: BASCOM-AVR Posted: Wed Jun 17, 2020 10:23 pm Subject: Sample code for HC-06 or similar Bluetooth module |
Hello all,
Can anyone point me to sample code to use the HC-06 blue tooth module?
Thank you,
Tim
(BASCOM-AVR version : 2.0.8.2 ) |
Topic: Is there a way to differentiate on board EEPROM from off boa |
TSEYFARTH
Replies: 1
Views: 235
|
Forum: BASCOM-AVR Posted: Thu Jun 07, 2018 6:45 am Subject: Is there a way to differentiate on board EEPROM from off boa |
Hello all.
Its been a while since I posted or have done much in MCS Bascom. I was wondering if there is a way to use both on board EEPROM and off board FRAM? The on-board EEPROM i want t use as a p ... |
|