Failure to compile firmware in the Arduino IDE

2 views
Skip to first unread message

rnya...@mtu.edu

unread,
Jul 24, 2016, 12:50:05 PM7/24/16
to PV characterization project forum


I have attached a video and a few pictures showing the problems I'm experiencing with the system. The video shows the behavior of the Roll and Pitch. After powering on the system by plugging it into the pi and external power supply, both the roll and pitch start to shake in a disorderly manner and don't stabilize. I tried typing in commands for various angles of orientation for both the roll  and pitch using the Arduino IDE, but nothing happens, the system keeps behaving as shown in the video.
I checked to see if there was any problem with the soldering or wiring, but everything seems to be okay.
I also deleted the drivers on the Arduino and uploaded the ones in  this document. The document says that after installing the drivers, the COM number should be less than 9. It was 3, so I don't think there's a problem there.

The problem seems to be with the firmware. I followed all the steps for uploading the firmware using the Arduino IDE, but as shown in the attached pictures​​​​​​​​ it's not compiling. What could be the reason for this?

Tiberius Brastaviceanu

unread,
Jul 26, 2016, 1:20:38 AM7/26/16
to Ronny Nyamoga, Ahmed AKL, PV characterization project forum
Hi Ahmed

I didn't work with the firmware on the PV project. Ronny says 

"firmware using the Arduino IDE ... not compiling"

He is trying to reinstall everything to eliminate the shaking problems. 


Ronny, was your gimbal balanced when you experienced this behavior?
Did you know that balancing it was important? I'm asking because if it is not obvious, we should put that into the user manual. The weight can be screwed in and out to adjust it according to the load it carries and hot it is distributed.  

--
Go to SENSORICA's project page
http://www.sensorica.co/home/what-we-do/projects/pv-characterization
---
You received this message because you are subscribed to the Google Groups "PV characterization project forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pv-characterization-pr...@googlegroups.com.
To post to this group, send email to pv-characterizat...@googlegroups.com.
Visit this group at https://groups.google.com/group/pv-characterization-project-forum.
To view this discussion on the web visit https://groups.google.com/d/msgid/pv-characterization-project-forum/783ac77b-adda-436c-acd5-82f68adaf1b3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
t!b! 
co-founder of SENSORICAan open value network (or open enterprise)
co-founder of CAKEconsulting for the new economy
founder of Multitude Project: informing the new multitude

Ahmed AKL

unread,
Jul 26, 2016, 5:06:40 AM7/26/16
to Tiberius Brastaviceanu, Ronny Nyamoga, PV characterization project forum, Jim Anastassiou
Actually, it was Jim who mainly did the board programming 

Jim Anastassiou

unread,
Jul 26, 2016, 5:47:26 AM7/26/16
to Ahmed AKL, Tiberius Brastaviceanu, Ronny Nyamoga, PV characterization project forum
Hey everyone,
Sorry been to busy to respond. I'll try to go through the thread later today.
As for compiling the firmware, If I remember in the docs it needs to be set for an Arduino Pro Mini...


--
Jim Anastassiou


Core Affiliate of Sensorica - Profile
Administrator of ACES-CAKE 
j...@aces-cake.org 

SENSORICA Montreal LabOnline 
3485 Boul St-Laurent, 
Montréal, QC H2X 2T6 
(514) 418-8384 

Tiberius Brastaviceanu

unread,
Jul 26, 2016, 9:11:45 AM7/26/16
to Jim Anastassiou, Ahmed AKL, Ronny Nyamoga, PV characterization project forum

Yeah, that's it.

Ronny Nyamoga

unread,
Jul 26, 2016, 12:23:39 PM7/26/16
to Jim Anastassiou, Ahmed AKL, Tiberius Brastaviceanu, PV characterization project forum
Here are the settings on the IDE. It's set to Arduino pro or mini (5V, 16MHz) w/ATmega168. In the documentation, it only says Arduino pro or mini. There's 4 different types of that 
Here are the 3 other types (5V, 16MHz) w/ ATmega 328)
(3.3V, 8MHz) w/ATmega 328) and (3.3V, 8MHz) w/ATmega168. I've tried two of these so far and it's still not compiling.  I also cleared the EEPROM.
Tiberius, yes the system was balanced before I connected it.

Tiberius Brastaviceanu

unread,
Jul 30, 2016, 3:38:35 AM7/30/16
to PV characterization project forum, jim.ana...@gmail.com, ahmed.pr...@gmail.com, tiberius.br...@gmail.com, rnya...@mtu.edu
Ronny, did this work for you? 



On Tuesday, July 26, 2016 at 12:23:39 PM UTC-4, Ronny Nyamoga wrote:
Here are the settings on the IDE. It's set to Arduino pro or mini (5V, 16MHz) w/ATmega168. In the documentation, it only says Arduino pro or mini. There's 4 different types of that 
Here are the 3 other types (5V, 16MHz) w/ ATmega 328)
(3.3V, 8MHz) w/ATmega 328) and (3.3V, 8MHz) w/ATmega168. I've tried two of these so far and it's still not compiling.  I also cleared the EEPROM.
Tiberius, yes the system was balanced before I connected it.

On Jul 26, 2016, at 5:47 AM, Jim Anastassiou  wrote:

Hey everyone,
Sorry been to busy to respond. I'll try to go through the thread later today.
As for compiling the firmware, If I remember in the docs it needs to be set for an Arduino Pro Mini...


On Tue, Jul 26, 2016 at 5:06 AM, Ahmed AKL wrote:
Actually, it was Jim who mainly did the board programming 
On Tue, Jul 26, 2016 at 1:20 AM, Tiberius Brastaviceanu wrote:
Hi Ahmed

I didn't work with the firmware on the PV project. Ronny says 

"firmware using the Arduino IDE ... not compiling"

He is trying to reinstall everything to eliminate the shaking problems. 


Ronny, was your gimbal balanced when you experienced this behavior?
Did you know that balancing it was important? I'm asking because if it is not obvious, we should put that into the user manual. The weight can be screwed in and out to adjust it according to the load it carries and hot it is distributed.  
On Sun, Jul 24, 2016 at 12:50 PM,  wrote:


I have attached a video and a few pictures showing the problems I'm experiencing with the system. The video shows the behavior of the Roll and Pitch. After powering on the system by plugging it into the pi and external power supply, both the roll and pitch start to shake in a disorderly manner and don't stabilize. I tried typing in commands for various angles of orientation for both the roll  and pitch using the Arduino IDE, but nothing happens, the system keeps behaving as shown in the video.
I checked to see if there was any problem with the soldering or wiring, but everything seems to be okay.
I also deleted the drivers on the Arduino and uploaded the ones in  this document. The document says that after installing the drivers, the COM number should be less than 9. It was 3, so I don't think there's a problem there.

The problem seems to be with the firmware. I followed all the steps for uploading the firmware using the Arduino IDE, but as shown in the attached pictures​​​​​​​​ it's not compiling. What could be the reason for this?

--
Go to SENSORICA's project page
http://www.sensorica.co/home/what-we-do/projects/pv-characterization
---
You received this message because you are subscribed to the Google Groups "PV characterization project forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pv-characterization-project-forum+unsubscribe@googlegroups.com.
To post to this group, send email to pv-characterization-project-fo...@googlegroups.com.
--
t!b! 
co-founder of SENSORICAan open value network (or open enterprise)
co-founder of CAKEconsulting for the new economy
founder of Multitude Project: informing the new multitude





--
Jim Anastassiou


Core Affiliate of Sensorica - Profile
Administrator of ACES-CAKE 

SENSORICA Montreal LabOnline 
Reply all
Reply to author
Forward
0 new messages