This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[SOLVED] Can't "Engaged" Arduino
#5
Photo 
Hi,

I have changed the /boot/config.txt, from dtoverlay=pi3-disable-bt to dtoverlay=disable-bt

[pi4]
# Enable DRM VC4 V3D driver on top of the dispmanx display stack
dtoverlay=vc4-fkms-v3d
max_framebuffers=2

[all]
dtoverlay=gpio-fan,gpiopin=14,temp=80000
enable_uart=1
dtoverlay=disable-bt


Code:
pi@ladylaura:~ $ ls -l /dev/serial0
lrwxrwxrwx 1 root root 7 ott 28 08:48 /dev/serial0 -> ttyAMA0

Yellow light still not blinking and i can't engaged the motor controller.

That's an image of it:
https://www.dropbox.com/s/rbcsfzzmk0gdq2...2.png?dl=0

In the Serial window i can see ttyAMA0
https://www.dropbox.com/s/zb7ao0kp15cpco...1.png?dl=0

Code:
pi@ladylaura:~ $ dmesg | grep uart
[    0.000000] Kernel command line: coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 video=HDMI-A-1:640x480M@60,margin_left=24,margin_right=24,margin_top=16,margin_bottom=16 video=HDMI-A-2:640x480M@60,margin_left=24,margin_right=24,margin_top=16,margin_bottom=16 smsc95xx.macaddr=DC:A6:32:82:DB:F6 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  console=tty1 root=PARTUUID=389d8ea4-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait
[    1.526508] uart-pl011 fe201000.serial: there is not valid maps for state default
[    1.528368] uart-pl011 fe201000.serial: cts_event_workaround enabled
[  836.652126] uart-pl011 fe201000.serial: no DMA platform data

I have istalled Arduino IDE on raspberry. 

/dev/ttyACM0 receive or send some data (here a sample of some data):
$GPGSA,A,3,01,22,21,17,04,31,19,09,,,,,2.12,1.01,1.87*0E
$GPGSV,3,1,10,01,59,132,36,03,75,007,27,04,56,195,32,06,10,311,*7E
$GPGSV,3,2,10,09,21,214,31,17,43,273,14,19,33,302,24,21,38,138,33*79
$GPGSV,3,3,10,22,60,064,29,31,22,065,08$GPVTG,,T,,M,0.020,N,0.037,K,A*25
$GPGGA,084823.00,4354.21526,N,01$GPRMC,084824.00,A,4354.21535,N,01023.33762,E,0.069,,281021,,,A*70
$GPVTG,,T,,M,0.171,N,0.317,K,A*21


Thank you
Reply


Messages In This Thread
[SOLVED] Can't "Engaged" Arduino - by faak - 2021-10-25, 08:23 PM
RE: Can't "Engaged" Arduino - by seandepagnier - 2021-10-26, 03:40 AM
RE: Can't "Engaged" Arduino - by faak - 2021-10-26, 10:32 PM
RE: Can't "Engaged" Arduino - by seandepagnier - 2021-10-27, 12:47 AM
RE: Can't "Engaged" Arduino - by faak - 2021-10-28, 09:12 AM
RE: Can't "Engaged" Arduino - by seandepagnier - 2021-10-28, 11:50 PM
RE: Can't "Engaged" Arduino - by faak - 2021-11-01, 04:10 PM
RE: Can't "Engaged" Arduino - by seandepagnier - 2021-11-02, 08:28 AM
RE: Can't "Engaged" Arduino - by ironman - 2021-11-02, 05:18 PM
RE: Can't "Engaged" Arduino - by faak - 2021-11-02, 07:35 PM
RE: Can't "Engaged" Arduino - by ironman - 2021-11-03, 02:20 PM
RE: Can't "Engaged" Arduino - by ironman - 2021-11-03, 05:51 PM
RE: Can't "Engaged" Arduino - by faak - 2021-11-03, 06:08 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)