¿ªÔÆÌåÓý

compile error


 

Here is the compile from the Mac
--
Bob
NZ2Z


 

Bob, I don't see a complier error for you either.
Sketch uses 27840 bytes (90%) of program storage space. Maximum is 30720 bytes. Global variables use 1074 bytes (52%) of dynamic memory, leaving 974 bytes for local variables. Maximum is 2048 bytes.

However, yours does show a failure to upload the program to the nano:
avrdude: ser_open(): can't open device "/dev/cu.usbserial-1430": No such file or directory
Is there another serial port you can try?


Reed


 

here's the errors on the
mac using v 1.8.10
--
Bob
NZ2Z


 

Bob,

That log also shows a successful compile, but unsuccessful upload to the nano. Try changing the serial port the IDE is using.


Reed


Jack, W8TEE
 

I don't understand. What is the Raspberry Pi for?? Also, what is "Arduino 2.1.0.5+dfsg2-4.1". If you are compiling on a Mac, what is the emulator program?

Jack, W8TEE

On Friday, January 10, 2020, 11:00:19 PM EST, Bob Bennett via Groups.Io <bobsmacbox@...> wrote:


Jack,
Raspberry Pi 4
Arduino 2.1.0.5+dfsg2-4.1
All of the files are in /home/pi/ubitx6 (these are what I downloaded from Farhan on github)
Attached is the file from this attempt

I will send the compile error from my Mac next
--
Bob
NZ2Z

--
Jack, W8TEE


Jack, W8TEE
 

I think I see a problem...perhaps not THE problem, but a problem.

EVERYONE:

??? Whatever is the project's INO primary file name (e.g., ubitx_v6.3_code.ino),
??? which is the file that contains setup() and loop(), MUST be used for the project's
??? directory name, too.

So, if you have the project in a directory named MyProjects on drive C, the directory structure MUST look like:

??? C:\MyProjects\MyFirstProgram??????????????????????????? // Example of a previous project you tried
???????????????? \MySecondProgram????? ???????????????????? // Another example project you fried
???????????????? \ubitx_v6.3_code\morse_reader.ino????????? // Farhan's project code
???????????????????????????????? \tft_gui.ino
???????????????????????????????? \ubitx_cat.ino
???????????????????????????????? \ubitx_factory_alignment.ino
???????????????????????????????? \ubitx_font2.h
???????????????????????????????? \ubitx_keyer.ino
???????????????????????????????? \ubitx_si5351.ino
???????????????????????????????? \ubitx_ui.ino
???????????????????????????????? \ubitx_v6.3_code.ino?????? // This file holds setup() and loop()

Many of you do NOT remove the "master" part of the ZIP file name from the file when it is extracted. If you do not set things up this way, it will not work. (Farhan: This is another reason why I only have one INO file in a project with all the rest being cpp (i.e.,. C Plus Plus) or h (header) files. Plus you get the HUGE advantage of incremental compiles!)

I know everyone can't go back through two bazillion prior posts to find this stuff, but I'm sure I've posted this warning at least a half-dozen times, so I am not picking on Bob. And, truthfully, most Arduino tutorials are single-file project examples so the reader doesn't know about this. However, if you see the word "master" anywhere in a warning or error message from the compiler, the project's organization on the disk drive is the first thing to check.

Jack, W8TEE
??????????????????????????????

On Friday, January 10, 2020, 11:01:27 PM EST, Bob Bennett via Groups.Io <bobsmacbox@...> wrote:


Here is the compile from the Mac
--
Bob
NZ2Z

--
Jack, W8TEE


Jack, W8TEE
 

Also, if it's a clone, make sure you have the CH340 driver installed. If not, search "CH340 Device Driver Download" and download/install.

Jack, W8TEE

On Saturday, January 11, 2020, 3:45:14 AM EST, Reed N <greenkid336600+groupsio@...> wrote:


Bob,

That log also shows a successful compile, but unsuccessful upload to the nano. Try changing the serial port the IDE is using.


Reed

--
Jack, W8TEE


Jack, W8TEE
 

See my latest post...

Jack, W8TEE

On Saturday, January 11, 2020, 2:46:25 AM EST, Reed N <greenkid336600+groupsio@...> wrote:


Bob, I don't see a complier error for you either.
Sketch uses 27840 bytes (90%) of program storage space. Maximum is 30720 bytes. Global variables use 1074 bytes (52%) of dynamic memory, leaving 974 bytes for local variables. Maximum is 2048 bytes.

However, yours does show a failure to upload the program to the nano:
avrdude: ser_open(): can't open device "/dev/cu.usbserial-1430": No such file or directory
Is there another serial port you can try?


Reed

--
Jack, W8TEE


 

Thanks to all. I was able to update the ubitx with my Mac. I changed the usb connection from the mac and connected it direct to the Raduino card.

Again, thanks to all.

Now to work on the filters to see if I can get rid of the hash noise

And, Jack, your book came today ;-)
--
Bob
NZ2Z


Jack, W8TEE
 

Thanks...hope you enjoy it!

Jack, W8TEE

On Saturday, January 11, 2020, 10:54:57 PM EST, Bob Bennett via Groups.Io <bobsmacbox@...> wrote:


Thanks to all. I was able to update the ubitx with my Mac. I changed the usb connection from the mac and connected it direct to the Raduino card.

Again, thanks to all.

Now to work on the filters to see if I can get rid of the hash noise

And, Jack, your book came today ;-)
--
Bob
NZ2Z

--
Jack, W8TEE


GM4CID
 

Brian, to get mine to work I used 1k2 series resistors on all the data lines connected to the TFT and reduced the VCC to the TFT by connecting the 5V through a couple of series Si diodes. It would appear that some of these SPI TFTs work happily with a VCC of 5V and TTl data levels while others do not.


 

I use the Raspberry Pi as one of my main computers for projects. It¡¯s my mini-desktop
--
Bob
NZ2Z


Jack, W8TEE
 

What compiler are you using?\

Jack, W8TEE

On Sunday, January 12, 2020, 10:33:37 AM EST, Bob Bennett via Groups.Io <bobsmacbox@...> wrote:


I use the Raspberry Pi as one of my main computers for projects. It¡¯s my mini-desktop
--
Bob
NZ2Z

--
Jack, W8TEE


 

Thanks for suggestion. Im going to use the logic level shifter suggested by David G8DJM with a 3.3v regulator.
I tried 1k in series with the data lines but that was not good enough so i was going to try voltage divider with 4k7 and 10k resistors but Davids suggestion is better for me

Regards

Brian_____MM0BEF


 

going for external 3.3v regulator and external level shifter as suggested by G8DJM