element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Personal Blogs
  • Community Hub
  • More
Personal Blogs
Legacy Personal Blogs Getting started with Gertduino -  Are you serial?
  • Blog
  • Documents
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: doorknob
  • Date Created: 17 Apr 2014 12:49 AM Date Created
  • Views 1409 views
  • Likes 0 likes
  • Comments 12 comments
  • gertduino
  • all-sky
  • camera
Related
Recommended

Getting started with Gertduino -  Are you serial?

doorknob
doorknob
17 Apr 2014

Yes indeed, I'm super serial right now. Or is that supposed to be 'super cereal'?


I carefully followed the instructions for disabling login via the Pi's serial port. Then I disabled the Pi's boot messages (out to the serial port), shut down the system, set the jumpers to connect the Pi's serial transmit line to the Gertduino's serial receive line (and vice-versa), powered up the system (it booted up just fine, yay!), installed the minicom terminal emulator, installed the scrot screen capture utility, brought up the LXDE graphical environment, started minicom at 9600 bps over port /dev/ttyAMA0, started the arduino IDE, loaded, compiled, then uploaded the simple sample serial program Serial_startup.ino to the Gertduino, and this was the result: 

 

image

 

(I also tested keying into minicom and watching it echoed back, so both directions seem to be working.)

 

To set up the jumpers to let the Pi talk to the Gertduino, you need to hook them up in a criss-cross pattern. I used a hand wire-wrap tool and two short, pre-stripped lengths of #30 Kynar wire to make the connections. Here's a blurry photo (sorry) showing the jumpers:

 

image

 

I hereby declare phase 1 of my phased approach to getting the two boards talking a success. Phase 2 will involve a Python program talking to an Arduino program.

 

But before I go there, here's a really artistic photo showing the Gertduino's blue LEDs brightly lit up to celebrate the achievement:



image

  • Sign in to reply

Top Comments

  • doorknob
    doorknob over 11 years ago in reply to wegunterjr +1
    Are you using the Serial_startup.ino sample program on the Gertduino or are you using some other program? If you're not using Serial_startup.ino , then can you put together a barebones Arduino sketch using…
Parents
  • wegunterjr
    wegunterjr over 11 years ago

    I also have followed these steps:

    arefully followed the instructions for disabling login via the Pi's serial port. Then I disabled the Pi's boot messages (out to the serial port), shut down the system, set the jumpers to connect the Pi's serial transmit line to the Gertduino's serial receive line (and vice-versa), powered up the system (it booted up just fine, yay!), installed the minicom terminal emulator,


    I just can't remember if i did it manually, or if i used Gordon's script. Either way, it is complete.  I use minico to connect to the arduino (pi - 328 using the crossed wires) but all i get is gibberish in the window. Anything I Might be missing?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • doorknob
    doorknob over 11 years ago in reply to wegunterjr

    Receiving gibberish through serial communications often is a symptom of a bit rate mismatch between the sender and the receiver.

     

    I am away from my system at the moment, but IIRC both ends of the link were set for 9600 bps. Is that what you have set up?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • wegunterjr
    wegunterjr over 11 years ago in reply to doorknob

    I am trying it again, but I am pretty confident I was using 9600 for each (the arduino code, and the minicom tool) 

    minicom -b 9600 -o -D /dev/ttyAMA0

     

    I am hoping I can get this working, so that I can finish up my final. I plan to use the raspberry pi/gertduino combination to run a planned path that I have figured out in the raspberry pi.  Just a little frustrated that my outcome is not going quite as well as yours....

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
Comment
  • wegunterjr
    wegunterjr over 11 years ago in reply to doorknob

    I am trying it again, but I am pretty confident I was using 9600 for each (the arduino code, and the minicom tool) 

    minicom -b 9600 -o -D /dev/ttyAMA0

     

    I am hoping I can get this working, so that I can finish up my final. I plan to use the raspberry pi/gertduino combination to run a planned path that I have figured out in the raspberry pi.  Just a little frustrated that my outcome is not going quite as well as yours....

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
Children
No Data
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube